catalog_inventory_stock_registry_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 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 (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetBadRequest) GetPayload

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

Code gets the status code for the catalog inventory stock registry v1 get stock status by sku get default response

func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault) Error

func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetDefault) GetPayload

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 (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetOK) GetPayload

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

SetContext adds the context to the catalog inventory stock registry v1 get stock status by sku get params

func (*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

SetHTTPClient adds the HTTPClient to the catalog inventory stock registry v1 get stock status by sku get params

func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetProductSku

SetProductSku adds the productSku to the catalog inventory stock registry v1 get stock status by sku get params

func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetScopeID

SetScopeID adds the scopeId to the catalog inventory stock registry v1 get stock status by sku get params

func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) SetTimeout

SetTimeout adds the timeout to the catalog inventory stock registry v1 get stock status by sku get params

func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithContext

WithContext adds the context to the catalog inventory stock registry v1 get stock status by sku get params

func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the catalog inventory stock registry v1 get stock status by sku get params

func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithProductSku

WithProductSku adds the productSku to the catalog inventory stock registry v1 get stock status by sku get params

func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithScopeID

WithScopeID adds the scopeID to the catalog inventory stock registry v1 get stock status by sku get params

func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WithTimeout

WithTimeout adds the timeout to the catalog inventory stock registry v1 get stock status by sku get params

func (*CatalogInventoryStockRegistryV1GetStockStatusBySkuGetParams) WriteToRequest

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

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.

Jump to

Keyboard shortcuts

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