Documentation ¶
Index ¶
- type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest
- type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault
- type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK
- type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
- func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams() *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
- func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParamsWithContext(ctx context.Context) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
- func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParamsWithHTTPClient(client *http.Client) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
- func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParamsWithTimeout(timeout time.Duration) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetContext(ctx context.Context)
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetDefaults()
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetHTTPClient(client *http.Client)
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetProductSku(productSku string)
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetScopeID(scopeID *int64)
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetTimeout(timeout time.Duration)
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithContext(ctx context.Context) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithDefaults() *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithHTTPClient(client *http.Client) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithProductSku(productSku string) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithScopeID(scopeID *int64) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithTimeout(timeout time.Duration) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
- func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetReader
- type Client
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest ¶
type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest struct {
Payload *models.ErrorResponse
}
CatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest describes a response with status code 400, with default header values.
400 Bad Request
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest ¶
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest() *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest
NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest creates a CatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest with default headers values
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest) Error ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest) Error() string
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest) GetPayload ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest) GetPayload() *models.ErrorResponse
type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault ¶
type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault describes a response with status code -1, with default header values.
Unexpected error
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault ¶
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault(code int) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault
NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault creates a CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault with default headers values
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault) Code ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault) Code() int
Code gets the status code for the catalog inventory stock registry v1 get stock status by sku get default response
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault) Error ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault) Error() string
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault) GetPayload ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault) GetPayload() *models.ErrorResponse
type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK ¶
type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK struct {
Payload *models.CatalogInventoryDataStockStatusInterface
}
CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK describes a response with status code 200, with default header values.
200 Success.
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK ¶
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK() *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK
NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK creates a CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK with default headers values
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK) Error ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK) Error() string
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK) GetPayload ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK) GetPayload() *models.CatalogInventoryDataStockStatusInterface
type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams ¶
type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams struct { // ProductSku. ProductSku string // ScopeID. ScopeID *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams contains all the parameters to send to the API endpoint
for the catalog inventory stock registry v1 get stock status by sku get operation. Typically these are written to a http.Request.
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams ¶
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams() *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams creates a new CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams 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 NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParamsWithContext ¶
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParamsWithContext(ctx context.Context) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParamsWithContext creates a new CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams object with the ability to set a context for a request.
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParamsWithHTTPClient ¶
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParamsWithHTTPClient(client *http.Client) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParamsWithHTTPClient creates a new CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams object with the ability to set a custom HTTPClient for a request.
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParamsWithTimeout ¶
func NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParamsWithTimeout(timeout time.Duration) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
NewCatalogInventoryStockRegistryV1GetStockStatusBySkuGetParamsWithTimeout creates a new CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams object with the ability to set a timeout on a request.
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetContext ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetContext(ctx context.Context)
SetContext adds the context to the catalog inventory stock registry v1 get stock status by sku get params
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetDefaults ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetDefaults()
SetDefaults hydrates default values in the catalog inventory stock registry v1 get stock status by sku get params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetHTTPClient ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the catalog inventory stock registry v1 get stock status by sku get params
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetProductSku ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetProductSku(productSku string)
SetProductSku adds the productSku to the catalog inventory stock registry v1 get stock status by sku get params
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetScopeID ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetScopeID(scopeID *int64)
SetScopeID adds the scopeId to the catalog inventory stock registry v1 get stock status by sku get params
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetTimeout ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the catalog inventory stock registry v1 get stock status by sku get params
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithContext ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithContext(ctx context.Context) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
WithContext adds the context to the catalog inventory stock registry v1 get stock status by sku get params
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithDefaults ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithDefaults() *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
WithDefaults hydrates default values in the catalog inventory stock registry v1 get stock status by sku get params (not the query body).
All values with no default are reset to their zero value.
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithHTTPClient ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithHTTPClient(client *http.Client) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
WithHTTPClient adds the HTTPClient to the catalog inventory stock registry v1 get stock status by sku get params
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithProductSku ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithProductSku(productSku string) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
WithProductSku adds the productSku to the catalog inventory stock registry v1 get stock status by sku get params
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithScopeID ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithScopeID(scopeID *int64) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
WithScopeID adds the scopeID to the catalog inventory stock registry v1 get stock status by sku get params
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithTimeout ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithTimeout(timeout time.Duration) *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams
WithTimeout adds the timeout to the catalog inventory stock registry v1 get stock status by sku get params
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WriteToRequest ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetReader ¶
type CatalogInventoryStockRegistryV1GetStockStatusBySkuGetReader struct {
// contains filtered or unexported fields
}
CatalogInventoryStockRegistryV1GetStockStatusBySkuGetReader is a Reader for the CatalogInventoryStockRegistryV1GetStockStatusBySkuGet structure.
func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetReader) ReadResponse ¶
func (o *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetReader) 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 inventory stock registry v1 API
func (*Client) CatalogInventoryStockRegistryV1GetStockStatusBySkuGet ¶
func (a *Client) CatalogInventoryStockRegistryV1GetStockStatusBySkuGet(params *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams, opts ...ClientOption) (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK, error)
CatalogInventoryStockRegistryV1GetStockStatusBySkuGet catalog inventory stock registry v1 get stock status by sku get API
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 { CatalogInventoryStockRegistryV1GetStockStatusBySkuGet(params *CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams, opts ...ClientOption) (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK, 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 inventory stock registry v1 API client.