Documentation ¶
Index ¶
- type CatalogCategoryRepositoryV1GetGetBadRequest
- type CatalogCategoryRepositoryV1GetGetDefault
- type CatalogCategoryRepositoryV1GetGetOK
- type CatalogCategoryRepositoryV1GetGetParams
- func NewCatalogCategoryRepositoryV1GetGetParams() *CatalogCategoryRepositoryV1GetGetParams
- func NewCatalogCategoryRepositoryV1GetGetParamsWithContext(ctx context.Context) *CatalogCategoryRepositoryV1GetGetParams
- func NewCatalogCategoryRepositoryV1GetGetParamsWithHTTPClient(client *http.Client) *CatalogCategoryRepositoryV1GetGetParams
- func NewCatalogCategoryRepositoryV1GetGetParamsWithTimeout(timeout time.Duration) *CatalogCategoryRepositoryV1GetGetParams
- func (o *CatalogCategoryRepositoryV1GetGetParams) SetCategoryID(categoryID int64)
- func (o *CatalogCategoryRepositoryV1GetGetParams) SetContext(ctx context.Context)
- func (o *CatalogCategoryRepositoryV1GetGetParams) SetDefaults()
- func (o *CatalogCategoryRepositoryV1GetGetParams) SetHTTPClient(client *http.Client)
- func (o *CatalogCategoryRepositoryV1GetGetParams) SetStoreID(storeID *int64)
- func (o *CatalogCategoryRepositoryV1GetGetParams) SetTimeout(timeout time.Duration)
- func (o *CatalogCategoryRepositoryV1GetGetParams) WithCategoryID(categoryID int64) *CatalogCategoryRepositoryV1GetGetParams
- func (o *CatalogCategoryRepositoryV1GetGetParams) WithContext(ctx context.Context) *CatalogCategoryRepositoryV1GetGetParams
- func (o *CatalogCategoryRepositoryV1GetGetParams) WithDefaults() *CatalogCategoryRepositoryV1GetGetParams
- func (o *CatalogCategoryRepositoryV1GetGetParams) WithHTTPClient(client *http.Client) *CatalogCategoryRepositoryV1GetGetParams
- func (o *CatalogCategoryRepositoryV1GetGetParams) WithStoreID(storeID *int64) *CatalogCategoryRepositoryV1GetGetParams
- func (o *CatalogCategoryRepositoryV1GetGetParams) WithTimeout(timeout time.Duration) *CatalogCategoryRepositoryV1GetGetParams
- func (o *CatalogCategoryRepositoryV1GetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CatalogCategoryRepositoryV1GetGetReader
- type Client
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogCategoryRepositoryV1GetGetBadRequest ¶
type CatalogCategoryRepositoryV1GetGetBadRequest struct {
Payload *models.ErrorResponse
}
CatalogCategoryRepositoryV1GetGetBadRequest describes a response with status code 400, with default header values.
400 Bad Request
func NewCatalogCategoryRepositoryV1GetGetBadRequest ¶
func NewCatalogCategoryRepositoryV1GetGetBadRequest() *CatalogCategoryRepositoryV1GetGetBadRequest
NewCatalogCategoryRepositoryV1GetGetBadRequest creates a CatalogCategoryRepositoryV1GetGetBadRequest with default headers values
func (*CatalogCategoryRepositoryV1GetGetBadRequest) Error ¶
func (o *CatalogCategoryRepositoryV1GetGetBadRequest) Error() string
func (*CatalogCategoryRepositoryV1GetGetBadRequest) GetPayload ¶
func (o *CatalogCategoryRepositoryV1GetGetBadRequest) GetPayload() *models.ErrorResponse
type CatalogCategoryRepositoryV1GetGetDefault ¶
type CatalogCategoryRepositoryV1GetGetDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CatalogCategoryRepositoryV1GetGetDefault describes a response with status code -1, with default header values.
Unexpected error
func NewCatalogCategoryRepositoryV1GetGetDefault ¶
func NewCatalogCategoryRepositoryV1GetGetDefault(code int) *CatalogCategoryRepositoryV1GetGetDefault
NewCatalogCategoryRepositoryV1GetGetDefault creates a CatalogCategoryRepositoryV1GetGetDefault with default headers values
func (*CatalogCategoryRepositoryV1GetGetDefault) Code ¶
func (o *CatalogCategoryRepositoryV1GetGetDefault) Code() int
Code gets the status code for the catalog category repository v1 get get default response
func (*CatalogCategoryRepositoryV1GetGetDefault) Error ¶
func (o *CatalogCategoryRepositoryV1GetGetDefault) Error() string
func (*CatalogCategoryRepositoryV1GetGetDefault) GetPayload ¶
func (o *CatalogCategoryRepositoryV1GetGetDefault) GetPayload() *models.ErrorResponse
type CatalogCategoryRepositoryV1GetGetOK ¶
type CatalogCategoryRepositoryV1GetGetOK struct {
Payload *models.CatalogDataCategoryInterface
}
CatalogCategoryRepositoryV1GetGetOK describes a response with status code 200, with default header values.
200 Success.
func NewCatalogCategoryRepositoryV1GetGetOK ¶
func NewCatalogCategoryRepositoryV1GetGetOK() *CatalogCategoryRepositoryV1GetGetOK
NewCatalogCategoryRepositoryV1GetGetOK creates a CatalogCategoryRepositoryV1GetGetOK with default headers values
func (*CatalogCategoryRepositoryV1GetGetOK) Error ¶
func (o *CatalogCategoryRepositoryV1GetGetOK) Error() string
func (*CatalogCategoryRepositoryV1GetGetOK) GetPayload ¶
func (o *CatalogCategoryRepositoryV1GetGetOK) GetPayload() *models.CatalogDataCategoryInterface
type CatalogCategoryRepositoryV1GetGetParams ¶
type CatalogCategoryRepositoryV1GetGetParams struct { // CategoryID. CategoryID int64 // StoreID. StoreID *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CatalogCategoryRepositoryV1GetGetParams contains all the parameters to send to the API endpoint
for the catalog category repository v1 get get operation. Typically these are written to a http.Request.
func NewCatalogCategoryRepositoryV1GetGetParams ¶
func NewCatalogCategoryRepositoryV1GetGetParams() *CatalogCategoryRepositoryV1GetGetParams
NewCatalogCategoryRepositoryV1GetGetParams creates a new CatalogCategoryRepositoryV1GetGetParams 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 NewCatalogCategoryRepositoryV1GetGetParamsWithContext ¶
func NewCatalogCategoryRepositoryV1GetGetParamsWithContext(ctx context.Context) *CatalogCategoryRepositoryV1GetGetParams
NewCatalogCategoryRepositoryV1GetGetParamsWithContext creates a new CatalogCategoryRepositoryV1GetGetParams object with the ability to set a context for a request.
func NewCatalogCategoryRepositoryV1GetGetParamsWithHTTPClient ¶
func NewCatalogCategoryRepositoryV1GetGetParamsWithHTTPClient(client *http.Client) *CatalogCategoryRepositoryV1GetGetParams
NewCatalogCategoryRepositoryV1GetGetParamsWithHTTPClient creates a new CatalogCategoryRepositoryV1GetGetParams object with the ability to set a custom HTTPClient for a request.
func NewCatalogCategoryRepositoryV1GetGetParamsWithTimeout ¶
func NewCatalogCategoryRepositoryV1GetGetParamsWithTimeout(timeout time.Duration) *CatalogCategoryRepositoryV1GetGetParams
NewCatalogCategoryRepositoryV1GetGetParamsWithTimeout creates a new CatalogCategoryRepositoryV1GetGetParams object with the ability to set a timeout on a request.
func (*CatalogCategoryRepositoryV1GetGetParams) SetCategoryID ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) SetCategoryID(categoryID int64)
SetCategoryID adds the categoryId to the catalog category repository v1 get get params
func (*CatalogCategoryRepositoryV1GetGetParams) SetContext ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the catalog category repository v1 get get params
func (*CatalogCategoryRepositoryV1GetGetParams) SetDefaults ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) SetDefaults()
SetDefaults hydrates default values in the catalog category repository v1 get get params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogCategoryRepositoryV1GetGetParams) SetHTTPClient ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the catalog category repository v1 get get params
func (*CatalogCategoryRepositoryV1GetGetParams) SetStoreID ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) SetStoreID(storeID *int64)
SetStoreID adds the storeId to the catalog category repository v1 get get params
func (*CatalogCategoryRepositoryV1GetGetParams) SetTimeout ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the catalog category repository v1 get get params
func (*CatalogCategoryRepositoryV1GetGetParams) WithCategoryID ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) WithCategoryID(categoryID int64) *CatalogCategoryRepositoryV1GetGetParams
WithCategoryID adds the categoryID to the catalog category repository v1 get get params
func (*CatalogCategoryRepositoryV1GetGetParams) WithContext ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) WithContext(ctx context.Context) *CatalogCategoryRepositoryV1GetGetParams
WithContext adds the context to the catalog category repository v1 get get params
func (*CatalogCategoryRepositoryV1GetGetParams) WithDefaults ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) WithDefaults() *CatalogCategoryRepositoryV1GetGetParams
WithDefaults hydrates default values in the catalog category repository v1 get get params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogCategoryRepositoryV1GetGetParams) WithHTTPClient ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) WithHTTPClient(client *http.Client) *CatalogCategoryRepositoryV1GetGetParams
WithHTTPClient adds the HTTPClient to the catalog category repository v1 get get params
func (*CatalogCategoryRepositoryV1GetGetParams) WithStoreID ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) WithStoreID(storeID *int64) *CatalogCategoryRepositoryV1GetGetParams
WithStoreID adds the storeID to the catalog category repository v1 get get params
func (*CatalogCategoryRepositoryV1GetGetParams) WithTimeout ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) WithTimeout(timeout time.Duration) *CatalogCategoryRepositoryV1GetGetParams
WithTimeout adds the timeout to the catalog category repository v1 get get params
func (*CatalogCategoryRepositoryV1GetGetParams) WriteToRequest ¶
func (o *CatalogCategoryRepositoryV1GetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CatalogCategoryRepositoryV1GetGetReader ¶
type CatalogCategoryRepositoryV1GetGetReader struct {
// contains filtered or unexported fields
}
CatalogCategoryRepositoryV1GetGetReader is a Reader for the CatalogCategoryRepositoryV1GetGet structure.
func (*CatalogCategoryRepositoryV1GetGetReader) ReadResponse ¶
func (o *CatalogCategoryRepositoryV1GetGetReader) 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 category repository v1 API
func (*Client) CatalogCategoryRepositoryV1GetGet ¶
func (a *Client) CatalogCategoryRepositoryV1GetGet(params *CatalogCategoryRepositoryV1GetGetParams, opts ...ClientOption) (*CatalogCategoryRepositoryV1GetGetOK, error)
CatalogCategoryRepositoryV1GetGet Get info about category by category id
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 { CatalogCategoryRepositoryV1GetGet(params *CatalogCategoryRepositoryV1GetGetParams, opts ...ClientOption) (*CatalogCategoryRepositoryV1GetGetOK, 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 category repository v1 API client.