Documentation
¶
Index ¶
- type Client
- type ClientService
- type InventoryInventoriesSearchOK
- type InventoryInventoriesSearchParams
- func NewInventoryInventoriesSearchParams() *InventoryInventoriesSearchParams
- func NewInventoryInventoriesSearchParamsWithContext(ctx context.Context) *InventoryInventoriesSearchParams
- func NewInventoryInventoriesSearchParamsWithHTTPClient(client *http.Client) *InventoryInventoriesSearchParams
- func NewInventoryInventoriesSearchParamsWithTimeout(timeout time.Duration) *InventoryInventoriesSearchParams
- func (o *InventoryInventoriesSearchParams) SetContext(ctx context.Context)
- func (o *InventoryInventoriesSearchParams) SetCount(count *int64)
- func (o *InventoryInventoriesSearchParams) SetDateFrom(dateFrom string)
- func (o *InventoryInventoriesSearchParams) SetDateTo(dateTo string)
- func (o *InventoryInventoriesSearchParams) SetFields(fields *string)
- func (o *InventoryInventoriesSearchParams) SetFrom(from *int64)
- func (o *InventoryInventoriesSearchParams) SetHTTPClient(client *http.Client)
- func (o *InventoryInventoriesSearchParams) SetProductID(productID *int32)
- func (o *InventoryInventoriesSearchParams) SetSorting(sorting *string)
- func (o *InventoryInventoriesSearchParams) SetTimeout(timeout time.Duration)
- func (o *InventoryInventoriesSearchParams) WithContext(ctx context.Context) *InventoryInventoriesSearchParams
- func (o *InventoryInventoriesSearchParams) WithCount(count *int64) *InventoryInventoriesSearchParams
- func (o *InventoryInventoriesSearchParams) WithDateFrom(dateFrom string) *InventoryInventoriesSearchParams
- func (o *InventoryInventoriesSearchParams) WithDateTo(dateTo string) *InventoryInventoriesSearchParams
- func (o *InventoryInventoriesSearchParams) WithFields(fields *string) *InventoryInventoriesSearchParams
- func (o *InventoryInventoriesSearchParams) WithFrom(from *int64) *InventoryInventoriesSearchParams
- func (o *InventoryInventoriesSearchParams) WithHTTPClient(client *http.Client) *InventoryInventoriesSearchParams
- func (o *InventoryInventoriesSearchParams) WithProductID(productID *int32) *InventoryInventoriesSearchParams
- func (o *InventoryInventoriesSearchParams) WithSorting(sorting *string) *InventoryInventoriesSearchParams
- func (o *InventoryInventoriesSearchParams) WithTimeout(timeout time.Duration) *InventoryInventoriesSearchParams
- func (o *InventoryInventoriesSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryInventoriesSearchReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for inventories API
func (*Client) InventoryInventoriesSearch ¶
func (a *Client) InventoryInventoriesSearch(params *InventoryInventoriesSearchParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryInventoriesSearchOK, error)
InventoryInventoriesSearch bs e t a find inventories corresponding with sent data
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { InventoryInventoriesSearch(params *InventoryInventoriesSearchParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryInventoriesSearchOK, 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 inventories API client.
type InventoryInventoriesSearchOK ¶
type InventoryInventoriesSearchOK struct {
Payload *models.ListResponseInventories
}
InventoryInventoriesSearchOK handles this case with default header values.
successful operation
func NewInventoryInventoriesSearchOK ¶
func NewInventoryInventoriesSearchOK() *InventoryInventoriesSearchOK
NewInventoryInventoriesSearchOK creates a InventoryInventoriesSearchOK with default headers values
func (*InventoryInventoriesSearchOK) Error ¶
func (o *InventoryInventoriesSearchOK) Error() string
func (*InventoryInventoriesSearchOK) GetPayload ¶
func (o *InventoryInventoriesSearchOK) GetPayload() *models.ListResponseInventories
type InventoryInventoriesSearchParams ¶
type InventoryInventoriesSearchParams struct { /*Count Number of elements to return */ Count *int64 /*DateFrom Format is yyyy-MM-dd (from and incl.). */ DateFrom string /*DateTo Format is yyyy-MM-dd (to and incl.). */ DateTo string /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*ProductID Element ID */ ProductID *int32 /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryInventoriesSearchParams contains all the parameters to send to the API endpoint for the inventory inventories search operation typically these are written to a http.Request
func NewInventoryInventoriesSearchParams ¶
func NewInventoryInventoriesSearchParams() *InventoryInventoriesSearchParams
NewInventoryInventoriesSearchParams creates a new InventoryInventoriesSearchParams object with the default values initialized.
func NewInventoryInventoriesSearchParamsWithContext ¶
func NewInventoryInventoriesSearchParamsWithContext(ctx context.Context) *InventoryInventoriesSearchParams
NewInventoryInventoriesSearchParamsWithContext creates a new InventoryInventoriesSearchParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryInventoriesSearchParamsWithHTTPClient ¶
func NewInventoryInventoriesSearchParamsWithHTTPClient(client *http.Client) *InventoryInventoriesSearchParams
NewInventoryInventoriesSearchParamsWithHTTPClient creates a new InventoryInventoriesSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryInventoriesSearchParamsWithTimeout ¶
func NewInventoryInventoriesSearchParamsWithTimeout(timeout time.Duration) *InventoryInventoriesSearchParams
NewInventoryInventoriesSearchParamsWithTimeout creates a new InventoryInventoriesSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryInventoriesSearchParams) SetContext ¶
func (o *InventoryInventoriesSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory inventories search params
func (*InventoryInventoriesSearchParams) SetCount ¶
func (o *InventoryInventoriesSearchParams) SetCount(count *int64)
SetCount adds the count to the inventory inventories search params
func (*InventoryInventoriesSearchParams) SetDateFrom ¶
func (o *InventoryInventoriesSearchParams) SetDateFrom(dateFrom string)
SetDateFrom adds the dateFrom to the inventory inventories search params
func (*InventoryInventoriesSearchParams) SetDateTo ¶
func (o *InventoryInventoriesSearchParams) SetDateTo(dateTo string)
SetDateTo adds the dateTo to the inventory inventories search params
func (*InventoryInventoriesSearchParams) SetFields ¶
func (o *InventoryInventoriesSearchParams) SetFields(fields *string)
SetFields adds the fields to the inventory inventories search params
func (*InventoryInventoriesSearchParams) SetFrom ¶
func (o *InventoryInventoriesSearchParams) SetFrom(from *int64)
SetFrom adds the from to the inventory inventories search params
func (*InventoryInventoriesSearchParams) SetHTTPClient ¶
func (o *InventoryInventoriesSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory inventories search params
func (*InventoryInventoriesSearchParams) SetProductID ¶
func (o *InventoryInventoriesSearchParams) SetProductID(productID *int32)
SetProductID adds the productId to the inventory inventories search params
func (*InventoryInventoriesSearchParams) SetSorting ¶
func (o *InventoryInventoriesSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the inventory inventories search params
func (*InventoryInventoriesSearchParams) SetTimeout ¶
func (o *InventoryInventoriesSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory inventories search params
func (*InventoryInventoriesSearchParams) WithContext ¶
func (o *InventoryInventoriesSearchParams) WithContext(ctx context.Context) *InventoryInventoriesSearchParams
WithContext adds the context to the inventory inventories search params
func (*InventoryInventoriesSearchParams) WithCount ¶
func (o *InventoryInventoriesSearchParams) WithCount(count *int64) *InventoryInventoriesSearchParams
WithCount adds the count to the inventory inventories search params
func (*InventoryInventoriesSearchParams) WithDateFrom ¶
func (o *InventoryInventoriesSearchParams) WithDateFrom(dateFrom string) *InventoryInventoriesSearchParams
WithDateFrom adds the dateFrom to the inventory inventories search params
func (*InventoryInventoriesSearchParams) WithDateTo ¶
func (o *InventoryInventoriesSearchParams) WithDateTo(dateTo string) *InventoryInventoriesSearchParams
WithDateTo adds the dateTo to the inventory inventories search params
func (*InventoryInventoriesSearchParams) WithFields ¶
func (o *InventoryInventoriesSearchParams) WithFields(fields *string) *InventoryInventoriesSearchParams
WithFields adds the fields to the inventory inventories search params
func (*InventoryInventoriesSearchParams) WithFrom ¶
func (o *InventoryInventoriesSearchParams) WithFrom(from *int64) *InventoryInventoriesSearchParams
WithFrom adds the from to the inventory inventories search params
func (*InventoryInventoriesSearchParams) WithHTTPClient ¶
func (o *InventoryInventoriesSearchParams) WithHTTPClient(client *http.Client) *InventoryInventoriesSearchParams
WithHTTPClient adds the HTTPClient to the inventory inventories search params
func (*InventoryInventoriesSearchParams) WithProductID ¶
func (o *InventoryInventoriesSearchParams) WithProductID(productID *int32) *InventoryInventoriesSearchParams
WithProductID adds the productID to the inventory inventories search params
func (*InventoryInventoriesSearchParams) WithSorting ¶
func (o *InventoryInventoriesSearchParams) WithSorting(sorting *string) *InventoryInventoriesSearchParams
WithSorting adds the sorting to the inventory inventories search params
func (*InventoryInventoriesSearchParams) WithTimeout ¶
func (o *InventoryInventoriesSearchParams) WithTimeout(timeout time.Duration) *InventoryInventoriesSearchParams
WithTimeout adds the timeout to the inventory inventories search params
func (*InventoryInventoriesSearchParams) WriteToRequest ¶
func (o *InventoryInventoriesSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryInventoriesSearchReader ¶
type InventoryInventoriesSearchReader struct {
// contains filtered or unexported fields
}
InventoryInventoriesSearchReader is a Reader for the InventoryInventoriesSearch structure.
func (*InventoryInventoriesSearchReader) ReadResponse ¶
func (o *InventoryInventoriesSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.