catalog_product_repository_v1

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogProductRepositoryV1GetGetBadRequest

type CatalogProductRepositoryV1GetGetBadRequest struct {
	Payload *models.ErrorResponse
}
CatalogProductRepositoryV1GetGetBadRequest describes a response with status code 400, with default header values.

400 Bad Request

func NewCatalogProductRepositoryV1GetGetBadRequest

func NewCatalogProductRepositoryV1GetGetBadRequest() *CatalogProductRepositoryV1GetGetBadRequest

NewCatalogProductRepositoryV1GetGetBadRequest creates a CatalogProductRepositoryV1GetGetBadRequest with default headers values

func (*CatalogProductRepositoryV1GetGetBadRequest) Error

func (*CatalogProductRepositoryV1GetGetBadRequest) GetPayload

type CatalogProductRepositoryV1GetGetDefault

type CatalogProductRepositoryV1GetGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
CatalogProductRepositoryV1GetGetDefault describes a response with status code -1, with default header values.

Unexpected error

func NewCatalogProductRepositoryV1GetGetDefault

func NewCatalogProductRepositoryV1GetGetDefault(code int) *CatalogProductRepositoryV1GetGetDefault

NewCatalogProductRepositoryV1GetGetDefault creates a CatalogProductRepositoryV1GetGetDefault with default headers values

func (*CatalogProductRepositoryV1GetGetDefault) Code

Code gets the status code for the catalog product repository v1 get get default response

func (*CatalogProductRepositoryV1GetGetDefault) Error

func (*CatalogProductRepositoryV1GetGetDefault) GetPayload

type CatalogProductRepositoryV1GetGetOK

type CatalogProductRepositoryV1GetGetOK struct {
	Payload *models.CatalogDataProductInterface
}
CatalogProductRepositoryV1GetGetOK describes a response with status code 200, with default header values.

200 Success.

func NewCatalogProductRepositoryV1GetGetOK

func NewCatalogProductRepositoryV1GetGetOK() *CatalogProductRepositoryV1GetGetOK

NewCatalogProductRepositoryV1GetGetOK creates a CatalogProductRepositoryV1GetGetOK with default headers values

func (*CatalogProductRepositoryV1GetGetOK) Error

func (*CatalogProductRepositoryV1GetGetOK) GetPayload

type CatalogProductRepositoryV1GetGetParams

type CatalogProductRepositoryV1GetGetParams struct {

	// EditMode.
	EditMode *bool

	// ForceReload.
	ForceReload *bool

	// Sku.
	Sku string

	// StoreID.
	StoreID *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CatalogProductRepositoryV1GetGetParams contains all the parameters to send to the API endpoint

for the catalog product repository v1 get get operation.

Typically these are written to a http.Request.

func NewCatalogProductRepositoryV1GetGetParams

func NewCatalogProductRepositoryV1GetGetParams() *CatalogProductRepositoryV1GetGetParams

NewCatalogProductRepositoryV1GetGetParams creates a new CatalogProductRepositoryV1GetGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCatalogProductRepositoryV1GetGetParamsWithContext

func NewCatalogProductRepositoryV1GetGetParamsWithContext(ctx context.Context) *CatalogProductRepositoryV1GetGetParams

NewCatalogProductRepositoryV1GetGetParamsWithContext creates a new CatalogProductRepositoryV1GetGetParams object with the ability to set a context for a request.

func NewCatalogProductRepositoryV1GetGetParamsWithHTTPClient

func NewCatalogProductRepositoryV1GetGetParamsWithHTTPClient(client *http.Client) *CatalogProductRepositoryV1GetGetParams

NewCatalogProductRepositoryV1GetGetParamsWithHTTPClient creates a new CatalogProductRepositoryV1GetGetParams object with the ability to set a custom HTTPClient for a request.

func NewCatalogProductRepositoryV1GetGetParamsWithTimeout

func NewCatalogProductRepositoryV1GetGetParamsWithTimeout(timeout time.Duration) *CatalogProductRepositoryV1GetGetParams

NewCatalogProductRepositoryV1GetGetParamsWithTimeout creates a new CatalogProductRepositoryV1GetGetParams object with the ability to set a timeout on a request.

func (*CatalogProductRepositoryV1GetGetParams) SetContext

SetContext adds the context to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) SetDefaults

func (o *CatalogProductRepositoryV1GetGetParams) SetDefaults()

SetDefaults hydrates default values in the catalog product repository v1 get get params (not the query body).

All values with no default are reset to their zero value.

func (*CatalogProductRepositoryV1GetGetParams) SetEditMode

func (o *CatalogProductRepositoryV1GetGetParams) SetEditMode(editMode *bool)

SetEditMode adds the editMode to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) SetForceReload

func (o *CatalogProductRepositoryV1GetGetParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) SetHTTPClient

func (o *CatalogProductRepositoryV1GetGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) SetSku

SetSku adds the sku to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) SetStoreID

func (o *CatalogProductRepositoryV1GetGetParams) SetStoreID(storeID *int64)

SetStoreID adds the storeId to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) SetTimeout

func (o *CatalogProductRepositoryV1GetGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) WithContext

WithContext adds the context to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) WithDefaults

WithDefaults hydrates default values in the catalog product repository v1 get get params (not the query body).

All values with no default are reset to their zero value.

func (*CatalogProductRepositoryV1GetGetParams) WithEditMode

WithEditMode adds the editMode to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) WithForceReload

WithForceReload adds the forceReload to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) WithSku

WithSku adds the sku to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) WithStoreID

WithStoreID adds the storeID to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) WithTimeout

WithTimeout adds the timeout to the catalog product repository v1 get get params

func (*CatalogProductRepositoryV1GetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CatalogProductRepositoryV1GetGetReader

type CatalogProductRepositoryV1GetGetReader struct {
	// contains filtered or unexported fields
}

CatalogProductRepositoryV1GetGetReader is a Reader for the CatalogProductRepositoryV1GetGet structure.

func (*CatalogProductRepositoryV1GetGetReader) ReadResponse

func (o *CatalogProductRepositoryV1GetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CatalogProductRepositoryV1GetListGetDefault

type CatalogProductRepositoryV1GetListGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
CatalogProductRepositoryV1GetListGetDefault describes a response with status code -1, with default header values.

Unexpected error

func NewCatalogProductRepositoryV1GetListGetDefault

func NewCatalogProductRepositoryV1GetListGetDefault(code int) *CatalogProductRepositoryV1GetListGetDefault

NewCatalogProductRepositoryV1GetListGetDefault creates a CatalogProductRepositoryV1GetListGetDefault with default headers values

func (*CatalogProductRepositoryV1GetListGetDefault) Code

Code gets the status code for the catalog product repository v1 get list get default response

func (*CatalogProductRepositoryV1GetListGetDefault) Error

func (*CatalogProductRepositoryV1GetListGetDefault) GetPayload

type CatalogProductRepositoryV1GetListGetOK

type CatalogProductRepositoryV1GetListGetOK struct {
	Payload *models.CatalogDataProductSearchResultsInterface
}
CatalogProductRepositoryV1GetListGetOK describes a response with status code 200, with default header values.

200 Success.

func NewCatalogProductRepositoryV1GetListGetOK

func NewCatalogProductRepositoryV1GetListGetOK() *CatalogProductRepositoryV1GetListGetOK

NewCatalogProductRepositoryV1GetListGetOK creates a CatalogProductRepositoryV1GetListGetOK with default headers values

func (*CatalogProductRepositoryV1GetListGetOK) Error

func (*CatalogProductRepositoryV1GetListGetOK) GetPayload

type CatalogProductRepositoryV1GetListGetParams

type CatalogProductRepositoryV1GetListGetParams struct {

	/* SearchCriteriaCurrentPage.

	   Current page.
	*/
	SearchCriteriaCurrentPage *int64

	/* SearchCriteriaFilterGroups0Filters0ConditionType.

	   Condition type
	*/
	SearchCriteriaFilterGroups0Filters0ConditionType *string

	/* SearchCriteriaFilterGroups0Filters0Field.

	   Field
	*/
	SearchCriteriaFilterGroups0Filters0Field *string

	/* SearchCriteriaFilterGroups0Filters0Value.

	   Value
	*/
	SearchCriteriaFilterGroups0Filters0Value *string

	/* SearchCriteriaPageSize.

	   Page size.
	*/
	SearchCriteriaPageSize *int64

	/* SearchCriteriaSortOrders0Direction.

	   Sorting direction.
	*/
	SearchCriteriaSortOrders0Direction *string

	/* SearchCriteriaSortOrders0Field.

	   Sorting field.
	*/
	SearchCriteriaSortOrders0Field *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CatalogProductRepositoryV1GetListGetParams contains all the parameters to send to the API endpoint

for the catalog product repository v1 get list get operation.

Typically these are written to a http.Request.

func NewCatalogProductRepositoryV1GetListGetParams

func NewCatalogProductRepositoryV1GetListGetParams() *CatalogProductRepositoryV1GetListGetParams

NewCatalogProductRepositoryV1GetListGetParams creates a new CatalogProductRepositoryV1GetListGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCatalogProductRepositoryV1GetListGetParamsWithContext

func NewCatalogProductRepositoryV1GetListGetParamsWithContext(ctx context.Context) *CatalogProductRepositoryV1GetListGetParams

NewCatalogProductRepositoryV1GetListGetParamsWithContext creates a new CatalogProductRepositoryV1GetListGetParams object with the ability to set a context for a request.

func NewCatalogProductRepositoryV1GetListGetParamsWithHTTPClient

func NewCatalogProductRepositoryV1GetListGetParamsWithHTTPClient(client *http.Client) *CatalogProductRepositoryV1GetListGetParams

NewCatalogProductRepositoryV1GetListGetParamsWithHTTPClient creates a new CatalogProductRepositoryV1GetListGetParams object with the ability to set a custom HTTPClient for a request.

func NewCatalogProductRepositoryV1GetListGetParamsWithTimeout

func NewCatalogProductRepositoryV1GetListGetParamsWithTimeout(timeout time.Duration) *CatalogProductRepositoryV1GetListGetParams

NewCatalogProductRepositoryV1GetListGetParamsWithTimeout creates a new CatalogProductRepositoryV1GetListGetParams object with the ability to set a timeout on a request.

func (*CatalogProductRepositoryV1GetListGetParams) SetContext

SetContext adds the context to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) SetDefaults

SetDefaults hydrates default values in the catalog product repository v1 get list get params (not the query body).

All values with no default are reset to their zero value.

func (*CatalogProductRepositoryV1GetListGetParams) SetHTTPClient

func (o *CatalogProductRepositoryV1GetListGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaCurrentPage

func (o *CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaCurrentPage(searchCriteriaCurrentPage *int64)

SetSearchCriteriaCurrentPage adds the searchCriteriaCurrentPage to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaFilterGroups0Filters0ConditionType

func (o *CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaFilterGroups0Filters0ConditionType(searchCriteriaFilterGroups0Filters0ConditionType *string)

SetSearchCriteriaFilterGroups0Filters0ConditionType adds the searchCriteriaFilterGroups0Filters0ConditionType to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaFilterGroups0Filters0Field

func (o *CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaFilterGroups0Filters0Field(searchCriteriaFilterGroups0Filters0Field *string)

SetSearchCriteriaFilterGroups0Filters0Field adds the searchCriteriaFilterGroups0Filters0Field to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaFilterGroups0Filters0Value

func (o *CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaFilterGroups0Filters0Value(searchCriteriaFilterGroups0Filters0Value *string)

SetSearchCriteriaFilterGroups0Filters0Value adds the searchCriteriaFilterGroups0Filters0Value to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaPageSize

func (o *CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaPageSize(searchCriteriaPageSize *int64)

SetSearchCriteriaPageSize adds the searchCriteriaPageSize to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaSortOrders0Direction

func (o *CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaSortOrders0Direction(searchCriteriaSortOrders0Direction *string)

SetSearchCriteriaSortOrders0Direction adds the searchCriteriaSortOrders0Direction to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaSortOrders0Field

func (o *CatalogProductRepositoryV1GetListGetParams) SetSearchCriteriaSortOrders0Field(searchCriteriaSortOrders0Field *string)

SetSearchCriteriaSortOrders0Field adds the searchCriteriaSortOrders0Field to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) SetTimeout

SetTimeout adds the timeout to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) WithContext

WithContext adds the context to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) WithDefaults

WithDefaults hydrates default values in the catalog product repository v1 get list get params (not the query body).

All values with no default are reset to their zero value.

func (*CatalogProductRepositoryV1GetListGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaCurrentPage

func (o *CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaCurrentPage(searchCriteriaCurrentPage *int64) *CatalogProductRepositoryV1GetListGetParams

WithSearchCriteriaCurrentPage adds the searchCriteriaCurrentPage to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaFilterGroups0Filters0ConditionType

func (o *CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaFilterGroups0Filters0ConditionType(searchCriteriaFilterGroups0Filters0ConditionType *string) *CatalogProductRepositoryV1GetListGetParams

WithSearchCriteriaFilterGroups0Filters0ConditionType adds the searchCriteriaFilterGroups0Filters0ConditionType to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaFilterGroups0Filters0Field

func (o *CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaFilterGroups0Filters0Field(searchCriteriaFilterGroups0Filters0Field *string) *CatalogProductRepositoryV1GetListGetParams

WithSearchCriteriaFilterGroups0Filters0Field adds the searchCriteriaFilterGroups0Filters0Field to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaFilterGroups0Filters0Value

func (o *CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaFilterGroups0Filters0Value(searchCriteriaFilterGroups0Filters0Value *string) *CatalogProductRepositoryV1GetListGetParams

WithSearchCriteriaFilterGroups0Filters0Value adds the searchCriteriaFilterGroups0Filters0Value to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaPageSize

func (o *CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaPageSize(searchCriteriaPageSize *int64) *CatalogProductRepositoryV1GetListGetParams

WithSearchCriteriaPageSize adds the searchCriteriaPageSize to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaSortOrders0Direction

func (o *CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaSortOrders0Direction(searchCriteriaSortOrders0Direction *string) *CatalogProductRepositoryV1GetListGetParams

WithSearchCriteriaSortOrders0Direction adds the searchCriteriaSortOrders0Direction to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaSortOrders0Field

func (o *CatalogProductRepositoryV1GetListGetParams) WithSearchCriteriaSortOrders0Field(searchCriteriaSortOrders0Field *string) *CatalogProductRepositoryV1GetListGetParams

WithSearchCriteriaSortOrders0Field adds the searchCriteriaSortOrders0Field to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) WithTimeout

WithTimeout adds the timeout to the catalog product repository v1 get list get params

func (*CatalogProductRepositoryV1GetListGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CatalogProductRepositoryV1GetListGetReader

type CatalogProductRepositoryV1GetListGetReader struct {
	// contains filtered or unexported fields
}

CatalogProductRepositoryV1GetListGetReader is a Reader for the CatalogProductRepositoryV1GetListGet structure.

func (*CatalogProductRepositoryV1GetListGetReader) ReadResponse

func (o *CatalogProductRepositoryV1GetListGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for catalog product repository v1 API

func (*Client) CatalogProductRepositoryV1GetGet

func (a *Client) CatalogProductRepositoryV1GetGet(params *CatalogProductRepositoryV1GetGetParams, opts ...ClientOption) (*CatalogProductRepositoryV1GetGetOK, error)

CatalogProductRepositoryV1GetGet Get info about product by product SKU

func (*Client) CatalogProductRepositoryV1GetListGet

func (a *Client) CatalogProductRepositoryV1GetListGet(params *CatalogProductRepositoryV1GetListGetParams, opts ...ClientOption) (*CatalogProductRepositoryV1GetListGetOK, error)

CatalogProductRepositoryV1GetListGet Get product list

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CatalogProductRepositoryV1GetGet(params *CatalogProductRepositoryV1GetGetParams, opts ...ClientOption) (*CatalogProductRepositoryV1GetGetOK, error)

	CatalogProductRepositoryV1GetListGet(params *CatalogProductRepositoryV1GetListGetParams, opts ...ClientOption) (*CatalogProductRepositoryV1GetListGetOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new catalog product repository v1 API client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL