Documentation ¶
Index ¶
- type Client
- func (a *Client) InventoryDelete(params *InventoryDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) InventoryGet(params *InventoryGetParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryGetOK, error)
- func (a *Client) InventoryPost(params *InventoryPostParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryPostCreated, error)
- func (a *Client) InventoryPut(params *InventoryPutParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryPutOK, error)
- func (a *Client) InventorySearch(params *InventorySearchParams, authInfo runtime.ClientAuthInfoWriter) (*InventorySearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type InventoryDeleteDefault
- type InventoryDeleteParams
- func NewInventoryDeleteParams() *InventoryDeleteParams
- func NewInventoryDeleteParamsWithContext(ctx context.Context) *InventoryDeleteParams
- func NewInventoryDeleteParamsWithHTTPClient(client *http.Client) *InventoryDeleteParams
- func NewInventoryDeleteParamsWithTimeout(timeout time.Duration) *InventoryDeleteParams
- func (o *InventoryDeleteParams) SetContext(ctx context.Context)
- func (o *InventoryDeleteParams) SetHTTPClient(client *http.Client)
- func (o *InventoryDeleteParams) SetID(id int32)
- func (o *InventoryDeleteParams) SetTimeout(timeout time.Duration)
- func (o *InventoryDeleteParams) WithContext(ctx context.Context) *InventoryDeleteParams
- func (o *InventoryDeleteParams) WithHTTPClient(client *http.Client) *InventoryDeleteParams
- func (o *InventoryDeleteParams) WithID(id int32) *InventoryDeleteParams
- func (o *InventoryDeleteParams) WithTimeout(timeout time.Duration) *InventoryDeleteParams
- func (o *InventoryDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryDeleteReader
- type InventoryGetOK
- type InventoryGetParams
- func (o *InventoryGetParams) SetContext(ctx context.Context)
- func (o *InventoryGetParams) SetFields(fields *string)
- func (o *InventoryGetParams) SetHTTPClient(client *http.Client)
- func (o *InventoryGetParams) SetID(id int32)
- func (o *InventoryGetParams) SetTimeout(timeout time.Duration)
- func (o *InventoryGetParams) WithContext(ctx context.Context) *InventoryGetParams
- func (o *InventoryGetParams) WithFields(fields *string) *InventoryGetParams
- func (o *InventoryGetParams) WithHTTPClient(client *http.Client) *InventoryGetParams
- func (o *InventoryGetParams) WithID(id int32) *InventoryGetParams
- func (o *InventoryGetParams) WithTimeout(timeout time.Duration) *InventoryGetParams
- func (o *InventoryGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryGetReader
- type InventoryPostCreated
- type InventoryPostParams
- func (o *InventoryPostParams) SetBody(body *models.Inventory)
- func (o *InventoryPostParams) SetContext(ctx context.Context)
- func (o *InventoryPostParams) SetHTTPClient(client *http.Client)
- func (o *InventoryPostParams) SetTimeout(timeout time.Duration)
- func (o *InventoryPostParams) WithBody(body *models.Inventory) *InventoryPostParams
- func (o *InventoryPostParams) WithContext(ctx context.Context) *InventoryPostParams
- func (o *InventoryPostParams) WithHTTPClient(client *http.Client) *InventoryPostParams
- func (o *InventoryPostParams) WithTimeout(timeout time.Duration) *InventoryPostParams
- func (o *InventoryPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryPostReader
- type InventoryPutOK
- type InventoryPutParams
- func (o *InventoryPutParams) SetBody(body *models.Inventory)
- func (o *InventoryPutParams) SetContext(ctx context.Context)
- func (o *InventoryPutParams) SetHTTPClient(client *http.Client)
- func (o *InventoryPutParams) SetID(id int32)
- func (o *InventoryPutParams) SetTimeout(timeout time.Duration)
- func (o *InventoryPutParams) WithBody(body *models.Inventory) *InventoryPutParams
- func (o *InventoryPutParams) WithContext(ctx context.Context) *InventoryPutParams
- func (o *InventoryPutParams) WithHTTPClient(client *http.Client) *InventoryPutParams
- func (o *InventoryPutParams) WithID(id int32) *InventoryPutParams
- func (o *InventoryPutParams) WithTimeout(timeout time.Duration) *InventoryPutParams
- func (o *InventoryPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryPutReader
- type InventorySearchOK
- type InventorySearchParams
- func NewInventorySearchParams() *InventorySearchParams
- func NewInventorySearchParamsWithContext(ctx context.Context) *InventorySearchParams
- func NewInventorySearchParamsWithHTTPClient(client *http.Client) *InventorySearchParams
- func NewInventorySearchParamsWithTimeout(timeout time.Duration) *InventorySearchParams
- func (o *InventorySearchParams) SetContext(ctx context.Context)
- func (o *InventorySearchParams) SetCount(count *int64)
- func (o *InventorySearchParams) SetFields(fields *string)
- func (o *InventorySearchParams) SetFrom(from *int64)
- func (o *InventorySearchParams) SetHTTPClient(client *http.Client)
- func (o *InventorySearchParams) SetID(id *string)
- func (o *InventorySearchParams) SetIsInactive(isInactive *bool)
- func (o *InventorySearchParams) SetIsMainInventory(isMainInventory *bool)
- func (o *InventorySearchParams) SetName(name *string)
- func (o *InventorySearchParams) SetSorting(sorting *string)
- func (o *InventorySearchParams) SetTimeout(timeout time.Duration)
- func (o *InventorySearchParams) WithContext(ctx context.Context) *InventorySearchParams
- func (o *InventorySearchParams) WithCount(count *int64) *InventorySearchParams
- func (o *InventorySearchParams) WithFields(fields *string) *InventorySearchParams
- func (o *InventorySearchParams) WithFrom(from *int64) *InventorySearchParams
- func (o *InventorySearchParams) WithHTTPClient(client *http.Client) *InventorySearchParams
- func (o *InventorySearchParams) WithID(id *string) *InventorySearchParams
- func (o *InventorySearchParams) WithIsInactive(isInactive *bool) *InventorySearchParams
- func (o *InventorySearchParams) WithIsMainInventory(isMainInventory *bool) *InventorySearchParams
- func (o *InventorySearchParams) WithName(name *string) *InventorySearchParams
- func (o *InventorySearchParams) WithSorting(sorting *string) *InventorySearchParams
- func (o *InventorySearchParams) WithTimeout(timeout time.Duration) *InventorySearchParams
- func (o *InventorySearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventorySearchReader
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 inventory API
func (*Client) InventoryDelete ¶
func (a *Client) InventoryDelete(params *InventoryDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
InventoryDelete bs e t a delete inventory
func (*Client) InventoryGet ¶
func (a *Client) InventoryGet(params *InventoryGetParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryGetOK, error)
InventoryGet gets inventory by ID
func (*Client) InventoryPost ¶
func (a *Client) InventoryPost(params *InventoryPostParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryPostCreated, error)
InventoryPost bs e t a create new inventory
func (*Client) InventoryPut ¶
func (a *Client) InventoryPut(params *InventoryPutParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryPutOK, error)
InventoryPut bs e t a update inventory
func (*Client) InventorySearch ¶
func (a *Client) InventorySearch(params *InventorySearchParams, authInfo runtime.ClientAuthInfoWriter) (*InventorySearchOK, error)
InventorySearch finds inventory 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 { InventoryDelete(params *InventoryDeleteParams, authInfo runtime.ClientAuthInfoWriter) error InventoryGet(params *InventoryGetParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryGetOK, error) InventoryPost(params *InventoryPostParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryPostCreated, error) InventoryPut(params *InventoryPutParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryPutOK, error) InventorySearch(params *InventorySearchParams, authInfo runtime.ClientAuthInfoWriter) (*InventorySearchOK, 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 inventory API client.
type InventoryDeleteDefault ¶
type InventoryDeleteDefault struct {
// contains filtered or unexported fields
}
InventoryDeleteDefault handles this case with default header values.
successful operation
func NewInventoryDeleteDefault ¶
func NewInventoryDeleteDefault(code int) *InventoryDeleteDefault
NewInventoryDeleteDefault creates a InventoryDeleteDefault with default headers values
func (*InventoryDeleteDefault) Code ¶
func (o *InventoryDeleteDefault) Code() int
Code gets the status code for the inventory delete default response
func (*InventoryDeleteDefault) Error ¶
func (o *InventoryDeleteDefault) Error() string
type InventoryDeleteParams ¶
type InventoryDeleteParams struct { /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryDeleteParams contains all the parameters to send to the API endpoint for the inventory delete operation typically these are written to a http.Request
func NewInventoryDeleteParams ¶
func NewInventoryDeleteParams() *InventoryDeleteParams
NewInventoryDeleteParams creates a new InventoryDeleteParams object with the default values initialized.
func NewInventoryDeleteParamsWithContext ¶
func NewInventoryDeleteParamsWithContext(ctx context.Context) *InventoryDeleteParams
NewInventoryDeleteParamsWithContext creates a new InventoryDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryDeleteParamsWithHTTPClient ¶
func NewInventoryDeleteParamsWithHTTPClient(client *http.Client) *InventoryDeleteParams
NewInventoryDeleteParamsWithHTTPClient creates a new InventoryDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryDeleteParamsWithTimeout ¶
func NewInventoryDeleteParamsWithTimeout(timeout time.Duration) *InventoryDeleteParams
NewInventoryDeleteParamsWithTimeout creates a new InventoryDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryDeleteParams) SetContext ¶
func (o *InventoryDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory delete params
func (*InventoryDeleteParams) SetHTTPClient ¶
func (o *InventoryDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory delete params
func (*InventoryDeleteParams) SetID ¶
func (o *InventoryDeleteParams) SetID(id int32)
SetID adds the id to the inventory delete params
func (*InventoryDeleteParams) SetTimeout ¶
func (o *InventoryDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory delete params
func (*InventoryDeleteParams) WithContext ¶
func (o *InventoryDeleteParams) WithContext(ctx context.Context) *InventoryDeleteParams
WithContext adds the context to the inventory delete params
func (*InventoryDeleteParams) WithHTTPClient ¶
func (o *InventoryDeleteParams) WithHTTPClient(client *http.Client) *InventoryDeleteParams
WithHTTPClient adds the HTTPClient to the inventory delete params
func (*InventoryDeleteParams) WithID ¶
func (o *InventoryDeleteParams) WithID(id int32) *InventoryDeleteParams
WithID adds the id to the inventory delete params
func (*InventoryDeleteParams) WithTimeout ¶
func (o *InventoryDeleteParams) WithTimeout(timeout time.Duration) *InventoryDeleteParams
WithTimeout adds the timeout to the inventory delete params
func (*InventoryDeleteParams) WriteToRequest ¶
func (o *InventoryDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryDeleteReader ¶
type InventoryDeleteReader struct {
// contains filtered or unexported fields
}
InventoryDeleteReader is a Reader for the InventoryDelete structure.
func (*InventoryDeleteReader) ReadResponse ¶
func (o *InventoryDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InventoryGetOK ¶
type InventoryGetOK struct {
Payload *models.ResponseWrapperInventory
}
InventoryGetOK handles this case with default header values.
successful operation
func NewInventoryGetOK ¶
func NewInventoryGetOK() *InventoryGetOK
NewInventoryGetOK creates a InventoryGetOK with default headers values
func (*InventoryGetOK) Error ¶
func (o *InventoryGetOK) Error() string
func (*InventoryGetOK) GetPayload ¶
func (o *InventoryGetOK) GetPayload() *models.ResponseWrapperInventory
type InventoryGetParams ¶
type InventoryGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryGetParams contains all the parameters to send to the API endpoint for the inventory get operation typically these are written to a http.Request
func NewInventoryGetParams ¶
func NewInventoryGetParams() *InventoryGetParams
NewInventoryGetParams creates a new InventoryGetParams object with the default values initialized.
func NewInventoryGetParamsWithContext ¶
func NewInventoryGetParamsWithContext(ctx context.Context) *InventoryGetParams
NewInventoryGetParamsWithContext creates a new InventoryGetParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryGetParamsWithHTTPClient ¶
func NewInventoryGetParamsWithHTTPClient(client *http.Client) *InventoryGetParams
NewInventoryGetParamsWithHTTPClient creates a new InventoryGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryGetParamsWithTimeout ¶
func NewInventoryGetParamsWithTimeout(timeout time.Duration) *InventoryGetParams
NewInventoryGetParamsWithTimeout creates a new InventoryGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryGetParams) SetContext ¶
func (o *InventoryGetParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory get params
func (*InventoryGetParams) SetFields ¶
func (o *InventoryGetParams) SetFields(fields *string)
SetFields adds the fields to the inventory get params
func (*InventoryGetParams) SetHTTPClient ¶
func (o *InventoryGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory get params
func (*InventoryGetParams) SetID ¶
func (o *InventoryGetParams) SetID(id int32)
SetID adds the id to the inventory get params
func (*InventoryGetParams) SetTimeout ¶
func (o *InventoryGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory get params
func (*InventoryGetParams) WithContext ¶
func (o *InventoryGetParams) WithContext(ctx context.Context) *InventoryGetParams
WithContext adds the context to the inventory get params
func (*InventoryGetParams) WithFields ¶
func (o *InventoryGetParams) WithFields(fields *string) *InventoryGetParams
WithFields adds the fields to the inventory get params
func (*InventoryGetParams) WithHTTPClient ¶
func (o *InventoryGetParams) WithHTTPClient(client *http.Client) *InventoryGetParams
WithHTTPClient adds the HTTPClient to the inventory get params
func (*InventoryGetParams) WithID ¶
func (o *InventoryGetParams) WithID(id int32) *InventoryGetParams
WithID adds the id to the inventory get params
func (*InventoryGetParams) WithTimeout ¶
func (o *InventoryGetParams) WithTimeout(timeout time.Duration) *InventoryGetParams
WithTimeout adds the timeout to the inventory get params
func (*InventoryGetParams) WriteToRequest ¶
func (o *InventoryGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryGetReader ¶
type InventoryGetReader struct {
// contains filtered or unexported fields
}
InventoryGetReader is a Reader for the InventoryGet structure.
func (*InventoryGetReader) ReadResponse ¶
func (o *InventoryGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InventoryPostCreated ¶
type InventoryPostCreated struct {
Payload *models.ResponseWrapperInventory
}
InventoryPostCreated handles this case with default header values.
successfully created
func NewInventoryPostCreated ¶
func NewInventoryPostCreated() *InventoryPostCreated
NewInventoryPostCreated creates a InventoryPostCreated with default headers values
func (*InventoryPostCreated) Error ¶
func (o *InventoryPostCreated) Error() string
func (*InventoryPostCreated) GetPayload ¶
func (o *InventoryPostCreated) GetPayload() *models.ResponseWrapperInventory
type InventoryPostParams ¶
type InventoryPostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.Inventory Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryPostParams contains all the parameters to send to the API endpoint for the inventory post operation typically these are written to a http.Request
func NewInventoryPostParams ¶
func NewInventoryPostParams() *InventoryPostParams
NewInventoryPostParams creates a new InventoryPostParams object with the default values initialized.
func NewInventoryPostParamsWithContext ¶
func NewInventoryPostParamsWithContext(ctx context.Context) *InventoryPostParams
NewInventoryPostParamsWithContext creates a new InventoryPostParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryPostParamsWithHTTPClient ¶
func NewInventoryPostParamsWithHTTPClient(client *http.Client) *InventoryPostParams
NewInventoryPostParamsWithHTTPClient creates a new InventoryPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryPostParamsWithTimeout ¶
func NewInventoryPostParamsWithTimeout(timeout time.Duration) *InventoryPostParams
NewInventoryPostParamsWithTimeout creates a new InventoryPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryPostParams) SetBody ¶
func (o *InventoryPostParams) SetBody(body *models.Inventory)
SetBody adds the body to the inventory post params
func (*InventoryPostParams) SetContext ¶
func (o *InventoryPostParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory post params
func (*InventoryPostParams) SetHTTPClient ¶
func (o *InventoryPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory post params
func (*InventoryPostParams) SetTimeout ¶
func (o *InventoryPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory post params
func (*InventoryPostParams) WithBody ¶
func (o *InventoryPostParams) WithBody(body *models.Inventory) *InventoryPostParams
WithBody adds the body to the inventory post params
func (*InventoryPostParams) WithContext ¶
func (o *InventoryPostParams) WithContext(ctx context.Context) *InventoryPostParams
WithContext adds the context to the inventory post params
func (*InventoryPostParams) WithHTTPClient ¶
func (o *InventoryPostParams) WithHTTPClient(client *http.Client) *InventoryPostParams
WithHTTPClient adds the HTTPClient to the inventory post params
func (*InventoryPostParams) WithTimeout ¶
func (o *InventoryPostParams) WithTimeout(timeout time.Duration) *InventoryPostParams
WithTimeout adds the timeout to the inventory post params
func (*InventoryPostParams) WriteToRequest ¶
func (o *InventoryPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryPostReader ¶
type InventoryPostReader struct {
// contains filtered or unexported fields
}
InventoryPostReader is a Reader for the InventoryPost structure.
func (*InventoryPostReader) ReadResponse ¶
func (o *InventoryPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InventoryPutOK ¶
type InventoryPutOK struct {
Payload *models.ResponseWrapperInventory
}
InventoryPutOK handles this case with default header values.
successful operation
func NewInventoryPutOK ¶
func NewInventoryPutOK() *InventoryPutOK
NewInventoryPutOK creates a InventoryPutOK with default headers values
func (*InventoryPutOK) Error ¶
func (o *InventoryPutOK) Error() string
func (*InventoryPutOK) GetPayload ¶
func (o *InventoryPutOK) GetPayload() *models.ResponseWrapperInventory
type InventoryPutParams ¶
type InventoryPutParams struct { /*Body Partial object describing what should be updated */ Body *models.Inventory /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryPutParams contains all the parameters to send to the API endpoint for the inventory put operation typically these are written to a http.Request
func NewInventoryPutParams ¶
func NewInventoryPutParams() *InventoryPutParams
NewInventoryPutParams creates a new InventoryPutParams object with the default values initialized.
func NewInventoryPutParamsWithContext ¶
func NewInventoryPutParamsWithContext(ctx context.Context) *InventoryPutParams
NewInventoryPutParamsWithContext creates a new InventoryPutParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryPutParamsWithHTTPClient ¶
func NewInventoryPutParamsWithHTTPClient(client *http.Client) *InventoryPutParams
NewInventoryPutParamsWithHTTPClient creates a new InventoryPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryPutParamsWithTimeout ¶
func NewInventoryPutParamsWithTimeout(timeout time.Duration) *InventoryPutParams
NewInventoryPutParamsWithTimeout creates a new InventoryPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryPutParams) SetBody ¶
func (o *InventoryPutParams) SetBody(body *models.Inventory)
SetBody adds the body to the inventory put params
func (*InventoryPutParams) SetContext ¶
func (o *InventoryPutParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory put params
func (*InventoryPutParams) SetHTTPClient ¶
func (o *InventoryPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory put params
func (*InventoryPutParams) SetID ¶
func (o *InventoryPutParams) SetID(id int32)
SetID adds the id to the inventory put params
func (*InventoryPutParams) SetTimeout ¶
func (o *InventoryPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory put params
func (*InventoryPutParams) WithBody ¶
func (o *InventoryPutParams) WithBody(body *models.Inventory) *InventoryPutParams
WithBody adds the body to the inventory put params
func (*InventoryPutParams) WithContext ¶
func (o *InventoryPutParams) WithContext(ctx context.Context) *InventoryPutParams
WithContext adds the context to the inventory put params
func (*InventoryPutParams) WithHTTPClient ¶
func (o *InventoryPutParams) WithHTTPClient(client *http.Client) *InventoryPutParams
WithHTTPClient adds the HTTPClient to the inventory put params
func (*InventoryPutParams) WithID ¶
func (o *InventoryPutParams) WithID(id int32) *InventoryPutParams
WithID adds the id to the inventory put params
func (*InventoryPutParams) WithTimeout ¶
func (o *InventoryPutParams) WithTimeout(timeout time.Duration) *InventoryPutParams
WithTimeout adds the timeout to the inventory put params
func (*InventoryPutParams) WriteToRequest ¶
func (o *InventoryPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryPutReader ¶
type InventoryPutReader struct {
// contains filtered or unexported fields
}
InventoryPutReader is a Reader for the InventoryPut structure.
func (*InventoryPutReader) ReadResponse ¶
func (o *InventoryPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InventorySearchOK ¶
type InventorySearchOK struct {
Payload *models.ListResponseInventory
}
InventorySearchOK handles this case with default header values.
successful operation
func NewInventorySearchOK ¶
func NewInventorySearchOK() *InventorySearchOK
NewInventorySearchOK creates a InventorySearchOK with default headers values
func (*InventorySearchOK) Error ¶
func (o *InventorySearchOK) Error() string
func (*InventorySearchOK) GetPayload ¶
func (o *InventorySearchOK) GetPayload() *models.ListResponseInventory
type InventorySearchParams ¶
type InventorySearchParams struct { /*Count Number of elements to return */ Count *int64 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*ID List of IDs */ ID *string /*IsInactive Equals */ IsInactive *bool /*IsMainInventory Equals */ IsMainInventory *bool /*Name Containing */ Name *string /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventorySearchParams contains all the parameters to send to the API endpoint for the inventory search operation typically these are written to a http.Request
func NewInventorySearchParams ¶
func NewInventorySearchParams() *InventorySearchParams
NewInventorySearchParams creates a new InventorySearchParams object with the default values initialized.
func NewInventorySearchParamsWithContext ¶
func NewInventorySearchParamsWithContext(ctx context.Context) *InventorySearchParams
NewInventorySearchParamsWithContext creates a new InventorySearchParams object with the default values initialized, and the ability to set a context for a request
func NewInventorySearchParamsWithHTTPClient ¶
func NewInventorySearchParamsWithHTTPClient(client *http.Client) *InventorySearchParams
NewInventorySearchParamsWithHTTPClient creates a new InventorySearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventorySearchParamsWithTimeout ¶
func NewInventorySearchParamsWithTimeout(timeout time.Duration) *InventorySearchParams
NewInventorySearchParamsWithTimeout creates a new InventorySearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventorySearchParams) SetContext ¶
func (o *InventorySearchParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory search params
func (*InventorySearchParams) SetCount ¶
func (o *InventorySearchParams) SetCount(count *int64)
SetCount adds the count to the inventory search params
func (*InventorySearchParams) SetFields ¶
func (o *InventorySearchParams) SetFields(fields *string)
SetFields adds the fields to the inventory search params
func (*InventorySearchParams) SetFrom ¶
func (o *InventorySearchParams) SetFrom(from *int64)
SetFrom adds the from to the inventory search params
func (*InventorySearchParams) SetHTTPClient ¶
func (o *InventorySearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory search params
func (*InventorySearchParams) SetID ¶
func (o *InventorySearchParams) SetID(id *string)
SetID adds the id to the inventory search params
func (*InventorySearchParams) SetIsInactive ¶
func (o *InventorySearchParams) SetIsInactive(isInactive *bool)
SetIsInactive adds the isInactive to the inventory search params
func (*InventorySearchParams) SetIsMainInventory ¶
func (o *InventorySearchParams) SetIsMainInventory(isMainInventory *bool)
SetIsMainInventory adds the isMainInventory to the inventory search params
func (*InventorySearchParams) SetName ¶
func (o *InventorySearchParams) SetName(name *string)
SetName adds the name to the inventory search params
func (*InventorySearchParams) SetSorting ¶
func (o *InventorySearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the inventory search params
func (*InventorySearchParams) SetTimeout ¶
func (o *InventorySearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory search params
func (*InventorySearchParams) WithContext ¶
func (o *InventorySearchParams) WithContext(ctx context.Context) *InventorySearchParams
WithContext adds the context to the inventory search params
func (*InventorySearchParams) WithCount ¶
func (o *InventorySearchParams) WithCount(count *int64) *InventorySearchParams
WithCount adds the count to the inventory search params
func (*InventorySearchParams) WithFields ¶
func (o *InventorySearchParams) WithFields(fields *string) *InventorySearchParams
WithFields adds the fields to the inventory search params
func (*InventorySearchParams) WithFrom ¶
func (o *InventorySearchParams) WithFrom(from *int64) *InventorySearchParams
WithFrom adds the from to the inventory search params
func (*InventorySearchParams) WithHTTPClient ¶
func (o *InventorySearchParams) WithHTTPClient(client *http.Client) *InventorySearchParams
WithHTTPClient adds the HTTPClient to the inventory search params
func (*InventorySearchParams) WithID ¶
func (o *InventorySearchParams) WithID(id *string) *InventorySearchParams
WithID adds the id to the inventory search params
func (*InventorySearchParams) WithIsInactive ¶
func (o *InventorySearchParams) WithIsInactive(isInactive *bool) *InventorySearchParams
WithIsInactive adds the isInactive to the inventory search params
func (*InventorySearchParams) WithIsMainInventory ¶
func (o *InventorySearchParams) WithIsMainInventory(isMainInventory *bool) *InventorySearchParams
WithIsMainInventory adds the isMainInventory to the inventory search params
func (*InventorySearchParams) WithName ¶
func (o *InventorySearchParams) WithName(name *string) *InventorySearchParams
WithName adds the name to the inventory search params
func (*InventorySearchParams) WithSorting ¶
func (o *InventorySearchParams) WithSorting(sorting *string) *InventorySearchParams
WithSorting adds the sorting to the inventory search params
func (*InventorySearchParams) WithTimeout ¶
func (o *InventorySearchParams) WithTimeout(timeout time.Duration) *InventorySearchParams
WithTimeout adds the timeout to the inventory search params
func (*InventorySearchParams) WriteToRequest ¶
func (o *InventorySearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventorySearchReader ¶
type InventorySearchReader struct {
// contains filtered or unexported fields
}
InventorySearchReader is a Reader for the InventorySearch structure.
func (*InventorySearchReader) ReadResponse ¶
func (o *InventorySearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- inventory_client.go
- inventory_delete_parameters.go
- inventory_delete_responses.go
- inventory_get_parameters.go
- inventory_get_responses.go
- inventory_post_parameters.go
- inventory_post_responses.go
- inventory_put_parameters.go
- inventory_put_responses.go
- inventory_search_parameters.go
- inventory_search_responses.go