inventories

package
v2.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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

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

WithContext adds the context to the inventory inventories search params

func (*InventoryInventoriesSearchParams) WithCount

WithCount adds the count to the inventory inventories search params

func (*InventoryInventoriesSearchParams) WithDateFrom

WithDateFrom adds the dateFrom to the inventory inventories search params

func (*InventoryInventoriesSearchParams) WithDateTo

WithDateTo adds the dateTo to the inventory inventories search params

func (*InventoryInventoriesSearchParams) WithFields

WithFields adds the fields to the inventory inventories search params

func (*InventoryInventoriesSearchParams) WithFrom

WithFrom adds the from to the inventory inventories search params

func (*InventoryInventoriesSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the inventory inventories search params

func (*InventoryInventoriesSearchParams) WithProductID

WithProductID adds the productID to the inventory inventories search params

func (*InventoryInventoriesSearchParams) WithSorting

WithSorting adds the sorting to the inventory inventories search params

func (*InventoryInventoriesSearchParams) WithTimeout

WithTimeout adds the timeout to the inventory inventories search params

func (*InventoryInventoriesSearchParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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