Documentation ¶
Index ¶
- type CatalogProductAttributeRepositoryV1GetGetBadRequest
- type CatalogProductAttributeRepositoryV1GetGetDefault
- type CatalogProductAttributeRepositoryV1GetGetOK
- type CatalogProductAttributeRepositoryV1GetGetParams
- func NewCatalogProductAttributeRepositoryV1GetGetParams() *CatalogProductAttributeRepositoryV1GetGetParams
- func NewCatalogProductAttributeRepositoryV1GetGetParamsWithContext(ctx context.Context) *CatalogProductAttributeRepositoryV1GetGetParams
- func NewCatalogProductAttributeRepositoryV1GetGetParamsWithHTTPClient(client *http.Client) *CatalogProductAttributeRepositoryV1GetGetParams
- func NewCatalogProductAttributeRepositoryV1GetGetParamsWithTimeout(timeout time.Duration) *CatalogProductAttributeRepositoryV1GetGetParams
- func (o *CatalogProductAttributeRepositoryV1GetGetParams) SetAttributeCode(attributeCode string)
- func (o *CatalogProductAttributeRepositoryV1GetGetParams) SetContext(ctx context.Context)
- func (o *CatalogProductAttributeRepositoryV1GetGetParams) SetDefaults()
- func (o *CatalogProductAttributeRepositoryV1GetGetParams) SetHTTPClient(client *http.Client)
- func (o *CatalogProductAttributeRepositoryV1GetGetParams) SetTimeout(timeout time.Duration)
- func (o *CatalogProductAttributeRepositoryV1GetGetParams) WithAttributeCode(attributeCode string) *CatalogProductAttributeRepositoryV1GetGetParams
- func (o *CatalogProductAttributeRepositoryV1GetGetParams) WithContext(ctx context.Context) *CatalogProductAttributeRepositoryV1GetGetParams
- func (o *CatalogProductAttributeRepositoryV1GetGetParams) WithDefaults() *CatalogProductAttributeRepositoryV1GetGetParams
- func (o *CatalogProductAttributeRepositoryV1GetGetParams) WithHTTPClient(client *http.Client) *CatalogProductAttributeRepositoryV1GetGetParams
- func (o *CatalogProductAttributeRepositoryV1GetGetParams) WithTimeout(timeout time.Duration) *CatalogProductAttributeRepositoryV1GetGetParams
- func (o *CatalogProductAttributeRepositoryV1GetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CatalogProductAttributeRepositoryV1GetGetReader
- type Client
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogProductAttributeRepositoryV1GetGetBadRequest ¶
type CatalogProductAttributeRepositoryV1GetGetBadRequest struct {
Payload *models.ErrorResponse
}
CatalogProductAttributeRepositoryV1GetGetBadRequest describes a response with status code 400, with default header values.
400 Bad Request
func NewCatalogProductAttributeRepositoryV1GetGetBadRequest ¶
func NewCatalogProductAttributeRepositoryV1GetGetBadRequest() *CatalogProductAttributeRepositoryV1GetGetBadRequest
NewCatalogProductAttributeRepositoryV1GetGetBadRequest creates a CatalogProductAttributeRepositoryV1GetGetBadRequest with default headers values
func (*CatalogProductAttributeRepositoryV1GetGetBadRequest) Error ¶
func (o *CatalogProductAttributeRepositoryV1GetGetBadRequest) Error() string
func (*CatalogProductAttributeRepositoryV1GetGetBadRequest) GetPayload ¶
func (o *CatalogProductAttributeRepositoryV1GetGetBadRequest) GetPayload() *models.ErrorResponse
type CatalogProductAttributeRepositoryV1GetGetDefault ¶
type CatalogProductAttributeRepositoryV1GetGetDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CatalogProductAttributeRepositoryV1GetGetDefault describes a response with status code -1, with default header values.
Unexpected error
func NewCatalogProductAttributeRepositoryV1GetGetDefault ¶
func NewCatalogProductAttributeRepositoryV1GetGetDefault(code int) *CatalogProductAttributeRepositoryV1GetGetDefault
NewCatalogProductAttributeRepositoryV1GetGetDefault creates a CatalogProductAttributeRepositoryV1GetGetDefault with default headers values
func (*CatalogProductAttributeRepositoryV1GetGetDefault) Code ¶
func (o *CatalogProductAttributeRepositoryV1GetGetDefault) Code() int
Code gets the status code for the catalog product attribute repository v1 get get default response
func (*CatalogProductAttributeRepositoryV1GetGetDefault) Error ¶
func (o *CatalogProductAttributeRepositoryV1GetGetDefault) Error() string
func (*CatalogProductAttributeRepositoryV1GetGetDefault) GetPayload ¶
func (o *CatalogProductAttributeRepositoryV1GetGetDefault) GetPayload() *models.ErrorResponse
type CatalogProductAttributeRepositoryV1GetGetOK ¶
type CatalogProductAttributeRepositoryV1GetGetOK struct {
Payload *models.CatalogDataProductAttributeInterface
}
CatalogProductAttributeRepositoryV1GetGetOK describes a response with status code 200, with default header values.
200 Success.
func NewCatalogProductAttributeRepositoryV1GetGetOK ¶
func NewCatalogProductAttributeRepositoryV1GetGetOK() *CatalogProductAttributeRepositoryV1GetGetOK
NewCatalogProductAttributeRepositoryV1GetGetOK creates a CatalogProductAttributeRepositoryV1GetGetOK with default headers values
func (*CatalogProductAttributeRepositoryV1GetGetOK) Error ¶
func (o *CatalogProductAttributeRepositoryV1GetGetOK) Error() string
func (*CatalogProductAttributeRepositoryV1GetGetOK) GetPayload ¶
func (o *CatalogProductAttributeRepositoryV1GetGetOK) GetPayload() *models.CatalogDataProductAttributeInterface
type CatalogProductAttributeRepositoryV1GetGetParams ¶
type CatalogProductAttributeRepositoryV1GetGetParams struct { // AttributeCode. AttributeCode string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CatalogProductAttributeRepositoryV1GetGetParams contains all the parameters to send to the API endpoint
for the catalog product attribute repository v1 get get operation. Typically these are written to a http.Request.
func NewCatalogProductAttributeRepositoryV1GetGetParams ¶
func NewCatalogProductAttributeRepositoryV1GetGetParams() *CatalogProductAttributeRepositoryV1GetGetParams
NewCatalogProductAttributeRepositoryV1GetGetParams creates a new CatalogProductAttributeRepositoryV1GetGetParams 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 NewCatalogProductAttributeRepositoryV1GetGetParamsWithContext ¶
func NewCatalogProductAttributeRepositoryV1GetGetParamsWithContext(ctx context.Context) *CatalogProductAttributeRepositoryV1GetGetParams
NewCatalogProductAttributeRepositoryV1GetGetParamsWithContext creates a new CatalogProductAttributeRepositoryV1GetGetParams object with the ability to set a context for a request.
func NewCatalogProductAttributeRepositoryV1GetGetParamsWithHTTPClient ¶
func NewCatalogProductAttributeRepositoryV1GetGetParamsWithHTTPClient(client *http.Client) *CatalogProductAttributeRepositoryV1GetGetParams
NewCatalogProductAttributeRepositoryV1GetGetParamsWithHTTPClient creates a new CatalogProductAttributeRepositoryV1GetGetParams object with the ability to set a custom HTTPClient for a request.
func NewCatalogProductAttributeRepositoryV1GetGetParamsWithTimeout ¶
func NewCatalogProductAttributeRepositoryV1GetGetParamsWithTimeout(timeout time.Duration) *CatalogProductAttributeRepositoryV1GetGetParams
NewCatalogProductAttributeRepositoryV1GetGetParamsWithTimeout creates a new CatalogProductAttributeRepositoryV1GetGetParams object with the ability to set a timeout on a request.
func (*CatalogProductAttributeRepositoryV1GetGetParams) SetAttributeCode ¶
func (o *CatalogProductAttributeRepositoryV1GetGetParams) SetAttributeCode(attributeCode string)
SetAttributeCode adds the attributeCode to the catalog product attribute repository v1 get get params
func (*CatalogProductAttributeRepositoryV1GetGetParams) SetContext ¶
func (o *CatalogProductAttributeRepositoryV1GetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the catalog product attribute repository v1 get get params
func (*CatalogProductAttributeRepositoryV1GetGetParams) SetDefaults ¶
func (o *CatalogProductAttributeRepositoryV1GetGetParams) SetDefaults()
SetDefaults hydrates default values in the catalog product attribute repository v1 get get params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogProductAttributeRepositoryV1GetGetParams) SetHTTPClient ¶
func (o *CatalogProductAttributeRepositoryV1GetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the catalog product attribute repository v1 get get params
func (*CatalogProductAttributeRepositoryV1GetGetParams) SetTimeout ¶
func (o *CatalogProductAttributeRepositoryV1GetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the catalog product attribute repository v1 get get params
func (*CatalogProductAttributeRepositoryV1GetGetParams) WithAttributeCode ¶
func (o *CatalogProductAttributeRepositoryV1GetGetParams) WithAttributeCode(attributeCode string) *CatalogProductAttributeRepositoryV1GetGetParams
WithAttributeCode adds the attributeCode to the catalog product attribute repository v1 get get params
func (*CatalogProductAttributeRepositoryV1GetGetParams) WithContext ¶
func (o *CatalogProductAttributeRepositoryV1GetGetParams) WithContext(ctx context.Context) *CatalogProductAttributeRepositoryV1GetGetParams
WithContext adds the context to the catalog product attribute repository v1 get get params
func (*CatalogProductAttributeRepositoryV1GetGetParams) WithDefaults ¶
func (o *CatalogProductAttributeRepositoryV1GetGetParams) WithDefaults() *CatalogProductAttributeRepositoryV1GetGetParams
WithDefaults hydrates default values in the catalog product attribute repository v1 get get params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogProductAttributeRepositoryV1GetGetParams) WithHTTPClient ¶
func (o *CatalogProductAttributeRepositoryV1GetGetParams) WithHTTPClient(client *http.Client) *CatalogProductAttributeRepositoryV1GetGetParams
WithHTTPClient adds the HTTPClient to the catalog product attribute repository v1 get get params
func (*CatalogProductAttributeRepositoryV1GetGetParams) WithTimeout ¶
func (o *CatalogProductAttributeRepositoryV1GetGetParams) WithTimeout(timeout time.Duration) *CatalogProductAttributeRepositoryV1GetGetParams
WithTimeout adds the timeout to the catalog product attribute repository v1 get get params
func (*CatalogProductAttributeRepositoryV1GetGetParams) WriteToRequest ¶
func (o *CatalogProductAttributeRepositoryV1GetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CatalogProductAttributeRepositoryV1GetGetReader ¶
type CatalogProductAttributeRepositoryV1GetGetReader struct {
// contains filtered or unexported fields
}
CatalogProductAttributeRepositoryV1GetGetReader is a Reader for the CatalogProductAttributeRepositoryV1GetGet structure.
func (*CatalogProductAttributeRepositoryV1GetGetReader) ReadResponse ¶
func (o *CatalogProductAttributeRepositoryV1GetGetReader) 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 attribute repository v1 API
func (*Client) CatalogProductAttributeRepositoryV1GetGet ¶
func (a *Client) CatalogProductAttributeRepositoryV1GetGet(params *CatalogProductAttributeRepositoryV1GetGetParams, opts ...ClientOption) (*CatalogProductAttributeRepositoryV1GetGetOK, error)
CatalogProductAttributeRepositoryV1GetGet Retrieve specific attribute
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 { CatalogProductAttributeRepositoryV1GetGet(params *CatalogProductAttributeRepositoryV1GetGetParams, opts ...ClientOption) (*CatalogProductAttributeRepositoryV1GetGetOK, 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 attribute repository v1 API client.