Documentation ¶
Index ¶
- type Client
- func (a *Client) InventoryStocktakingDelete(params *InventoryStocktakingDeleteParams, ...) error
- func (a *Client) InventoryStocktakingGet(params *InventoryStocktakingGetParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingGetOK, error)
- func (a *Client) InventoryStocktakingPost(params *InventoryStocktakingPostParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingPostCreated, error)
- func (a *Client) InventoryStocktakingPut(params *InventoryStocktakingPutParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingPutOK, error)
- func (a *Client) InventoryStocktakingSearch(params *InventoryStocktakingSearchParams, ...) (*InventoryStocktakingSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type InventoryStocktakingDeleteDefault
- type InventoryStocktakingDeleteParams
- func NewInventoryStocktakingDeleteParams() *InventoryStocktakingDeleteParams
- func NewInventoryStocktakingDeleteParamsWithContext(ctx context.Context) *InventoryStocktakingDeleteParams
- func NewInventoryStocktakingDeleteParamsWithHTTPClient(client *http.Client) *InventoryStocktakingDeleteParams
- func NewInventoryStocktakingDeleteParamsWithTimeout(timeout time.Duration) *InventoryStocktakingDeleteParams
- func (o *InventoryStocktakingDeleteParams) SetContext(ctx context.Context)
- func (o *InventoryStocktakingDeleteParams) SetHTTPClient(client *http.Client)
- func (o *InventoryStocktakingDeleteParams) SetID(id int32)
- func (o *InventoryStocktakingDeleteParams) SetTimeout(timeout time.Duration)
- func (o *InventoryStocktakingDeleteParams) WithContext(ctx context.Context) *InventoryStocktakingDeleteParams
- func (o *InventoryStocktakingDeleteParams) WithHTTPClient(client *http.Client) *InventoryStocktakingDeleteParams
- func (o *InventoryStocktakingDeleteParams) WithID(id int32) *InventoryStocktakingDeleteParams
- func (o *InventoryStocktakingDeleteParams) WithTimeout(timeout time.Duration) *InventoryStocktakingDeleteParams
- func (o *InventoryStocktakingDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryStocktakingDeleteReader
- type InventoryStocktakingGetOK
- type InventoryStocktakingGetParams
- func NewInventoryStocktakingGetParams() *InventoryStocktakingGetParams
- func NewInventoryStocktakingGetParamsWithContext(ctx context.Context) *InventoryStocktakingGetParams
- func NewInventoryStocktakingGetParamsWithHTTPClient(client *http.Client) *InventoryStocktakingGetParams
- func NewInventoryStocktakingGetParamsWithTimeout(timeout time.Duration) *InventoryStocktakingGetParams
- func (o *InventoryStocktakingGetParams) SetContext(ctx context.Context)
- func (o *InventoryStocktakingGetParams) SetFields(fields *string)
- func (o *InventoryStocktakingGetParams) SetHTTPClient(client *http.Client)
- func (o *InventoryStocktakingGetParams) SetID(id int32)
- func (o *InventoryStocktakingGetParams) SetTimeout(timeout time.Duration)
- func (o *InventoryStocktakingGetParams) WithContext(ctx context.Context) *InventoryStocktakingGetParams
- func (o *InventoryStocktakingGetParams) WithFields(fields *string) *InventoryStocktakingGetParams
- func (o *InventoryStocktakingGetParams) WithHTTPClient(client *http.Client) *InventoryStocktakingGetParams
- func (o *InventoryStocktakingGetParams) WithID(id int32) *InventoryStocktakingGetParams
- func (o *InventoryStocktakingGetParams) WithTimeout(timeout time.Duration) *InventoryStocktakingGetParams
- func (o *InventoryStocktakingGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryStocktakingGetReader
- type InventoryStocktakingPostCreated
- type InventoryStocktakingPostParams
- func NewInventoryStocktakingPostParams() *InventoryStocktakingPostParams
- func NewInventoryStocktakingPostParamsWithContext(ctx context.Context) *InventoryStocktakingPostParams
- func NewInventoryStocktakingPostParamsWithHTTPClient(client *http.Client) *InventoryStocktakingPostParams
- func NewInventoryStocktakingPostParamsWithTimeout(timeout time.Duration) *InventoryStocktakingPostParams
- func (o *InventoryStocktakingPostParams) SetBody(body *models.Stocktaking)
- func (o *InventoryStocktakingPostParams) SetContext(ctx context.Context)
- func (o *InventoryStocktakingPostParams) SetHTTPClient(client *http.Client)
- func (o *InventoryStocktakingPostParams) SetTimeout(timeout time.Duration)
- func (o *InventoryStocktakingPostParams) SetTypeOfStocktaking(typeOfStocktaking *string)
- func (o *InventoryStocktakingPostParams) WithBody(body *models.Stocktaking) *InventoryStocktakingPostParams
- func (o *InventoryStocktakingPostParams) WithContext(ctx context.Context) *InventoryStocktakingPostParams
- func (o *InventoryStocktakingPostParams) WithHTTPClient(client *http.Client) *InventoryStocktakingPostParams
- func (o *InventoryStocktakingPostParams) WithTimeout(timeout time.Duration) *InventoryStocktakingPostParams
- func (o *InventoryStocktakingPostParams) WithTypeOfStocktaking(typeOfStocktaking *string) *InventoryStocktakingPostParams
- func (o *InventoryStocktakingPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryStocktakingPostReader
- type InventoryStocktakingPutOK
- type InventoryStocktakingPutParams
- func NewInventoryStocktakingPutParams() *InventoryStocktakingPutParams
- func NewInventoryStocktakingPutParamsWithContext(ctx context.Context) *InventoryStocktakingPutParams
- func NewInventoryStocktakingPutParamsWithHTTPClient(client *http.Client) *InventoryStocktakingPutParams
- func NewInventoryStocktakingPutParamsWithTimeout(timeout time.Duration) *InventoryStocktakingPutParams
- func (o *InventoryStocktakingPutParams) SetBody(body *models.Stocktaking)
- func (o *InventoryStocktakingPutParams) SetContext(ctx context.Context)
- func (o *InventoryStocktakingPutParams) SetHTTPClient(client *http.Client)
- func (o *InventoryStocktakingPutParams) SetID(id int32)
- func (o *InventoryStocktakingPutParams) SetTimeout(timeout time.Duration)
- func (o *InventoryStocktakingPutParams) WithBody(body *models.Stocktaking) *InventoryStocktakingPutParams
- func (o *InventoryStocktakingPutParams) WithContext(ctx context.Context) *InventoryStocktakingPutParams
- func (o *InventoryStocktakingPutParams) WithHTTPClient(client *http.Client) *InventoryStocktakingPutParams
- func (o *InventoryStocktakingPutParams) WithID(id int32) *InventoryStocktakingPutParams
- func (o *InventoryStocktakingPutParams) WithTimeout(timeout time.Duration) *InventoryStocktakingPutParams
- func (o *InventoryStocktakingPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryStocktakingPutReader
- type InventoryStocktakingSearchOK
- type InventoryStocktakingSearchParams
- func NewInventoryStocktakingSearchParams() *InventoryStocktakingSearchParams
- func NewInventoryStocktakingSearchParamsWithContext(ctx context.Context) *InventoryStocktakingSearchParams
- func NewInventoryStocktakingSearchParamsWithHTTPClient(client *http.Client) *InventoryStocktakingSearchParams
- func NewInventoryStocktakingSearchParamsWithTimeout(timeout time.Duration) *InventoryStocktakingSearchParams
- func (o *InventoryStocktakingSearchParams) SetContext(ctx context.Context)
- func (o *InventoryStocktakingSearchParams) SetCount(count *int64)
- func (o *InventoryStocktakingSearchParams) SetFields(fields *string)
- func (o *InventoryStocktakingSearchParams) SetFrom(from *int64)
- func (o *InventoryStocktakingSearchParams) SetHTTPClient(client *http.Client)
- func (o *InventoryStocktakingSearchParams) SetID(id *string)
- func (o *InventoryStocktakingSearchParams) SetInventoryID(inventoryID *int32)
- func (o *InventoryStocktakingSearchParams) SetIsCompleted(isCompleted *bool)
- func (o *InventoryStocktakingSearchParams) SetSorting(sorting *string)
- func (o *InventoryStocktakingSearchParams) SetTimeout(timeout time.Duration)
- func (o *InventoryStocktakingSearchParams) WithContext(ctx context.Context) *InventoryStocktakingSearchParams
- func (o *InventoryStocktakingSearchParams) WithCount(count *int64) *InventoryStocktakingSearchParams
- func (o *InventoryStocktakingSearchParams) WithFields(fields *string) *InventoryStocktakingSearchParams
- func (o *InventoryStocktakingSearchParams) WithFrom(from *int64) *InventoryStocktakingSearchParams
- func (o *InventoryStocktakingSearchParams) WithHTTPClient(client *http.Client) *InventoryStocktakingSearchParams
- func (o *InventoryStocktakingSearchParams) WithID(id *string) *InventoryStocktakingSearchParams
- func (o *InventoryStocktakingSearchParams) WithInventoryID(inventoryID *int32) *InventoryStocktakingSearchParams
- func (o *InventoryStocktakingSearchParams) WithIsCompleted(isCompleted *bool) *InventoryStocktakingSearchParams
- func (o *InventoryStocktakingSearchParams) WithSorting(sorting *string) *InventoryStocktakingSearchParams
- func (o *InventoryStocktakingSearchParams) WithTimeout(timeout time.Duration) *InventoryStocktakingSearchParams
- func (o *InventoryStocktakingSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryStocktakingSearchReader
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 stocktaking API
func (*Client) InventoryStocktakingDelete ¶
func (a *Client) InventoryStocktakingDelete(params *InventoryStocktakingDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
InventoryStocktakingDelete bs e t a delete stocktaking
func (*Client) InventoryStocktakingGet ¶
func (a *Client) InventoryStocktakingGet(params *InventoryStocktakingGetParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingGetOK, error)
InventoryStocktakingGet bs e t a get stocktaking by ID
func (*Client) InventoryStocktakingPost ¶
func (a *Client) InventoryStocktakingPost(params *InventoryStocktakingPostParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingPostCreated, error)
InventoryStocktakingPost bs e t a create new stocktaking
func (*Client) InventoryStocktakingPut ¶
func (a *Client) InventoryStocktakingPut(params *InventoryStocktakingPutParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingPutOK, error)
InventoryStocktakingPut bs e t a update stocktaking
func (*Client) InventoryStocktakingSearch ¶
func (a *Client) InventoryStocktakingSearch(params *InventoryStocktakingSearchParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingSearchOK, error)
InventoryStocktakingSearch bs e t a find stocktaking 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 { InventoryStocktakingDelete(params *InventoryStocktakingDeleteParams, authInfo runtime.ClientAuthInfoWriter) error InventoryStocktakingGet(params *InventoryStocktakingGetParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingGetOK, error) InventoryStocktakingPost(params *InventoryStocktakingPostParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingPostCreated, error) InventoryStocktakingPut(params *InventoryStocktakingPutParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingPutOK, error) InventoryStocktakingSearch(params *InventoryStocktakingSearchParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingSearchOK, 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 stocktaking API client.
type InventoryStocktakingDeleteDefault ¶
type InventoryStocktakingDeleteDefault struct {
// contains filtered or unexported fields
}
InventoryStocktakingDeleteDefault handles this case with default header values.
successful operation
func NewInventoryStocktakingDeleteDefault ¶
func NewInventoryStocktakingDeleteDefault(code int) *InventoryStocktakingDeleteDefault
NewInventoryStocktakingDeleteDefault creates a InventoryStocktakingDeleteDefault with default headers values
func (*InventoryStocktakingDeleteDefault) Code ¶
func (o *InventoryStocktakingDeleteDefault) Code() int
Code gets the status code for the inventory stocktaking delete default response
func (*InventoryStocktakingDeleteDefault) Error ¶
func (o *InventoryStocktakingDeleteDefault) Error() string
type InventoryStocktakingDeleteParams ¶
type InventoryStocktakingDeleteParams struct { /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryStocktakingDeleteParams contains all the parameters to send to the API endpoint for the inventory stocktaking delete operation typically these are written to a http.Request
func NewInventoryStocktakingDeleteParams ¶
func NewInventoryStocktakingDeleteParams() *InventoryStocktakingDeleteParams
NewInventoryStocktakingDeleteParams creates a new InventoryStocktakingDeleteParams object with the default values initialized.
func NewInventoryStocktakingDeleteParamsWithContext ¶
func NewInventoryStocktakingDeleteParamsWithContext(ctx context.Context) *InventoryStocktakingDeleteParams
NewInventoryStocktakingDeleteParamsWithContext creates a new InventoryStocktakingDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryStocktakingDeleteParamsWithHTTPClient ¶
func NewInventoryStocktakingDeleteParamsWithHTTPClient(client *http.Client) *InventoryStocktakingDeleteParams
NewInventoryStocktakingDeleteParamsWithHTTPClient creates a new InventoryStocktakingDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryStocktakingDeleteParamsWithTimeout ¶
func NewInventoryStocktakingDeleteParamsWithTimeout(timeout time.Duration) *InventoryStocktakingDeleteParams
NewInventoryStocktakingDeleteParamsWithTimeout creates a new InventoryStocktakingDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryStocktakingDeleteParams) SetContext ¶
func (o *InventoryStocktakingDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory stocktaking delete params
func (*InventoryStocktakingDeleteParams) SetHTTPClient ¶
func (o *InventoryStocktakingDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory stocktaking delete params
func (*InventoryStocktakingDeleteParams) SetID ¶
func (o *InventoryStocktakingDeleteParams) SetID(id int32)
SetID adds the id to the inventory stocktaking delete params
func (*InventoryStocktakingDeleteParams) SetTimeout ¶
func (o *InventoryStocktakingDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory stocktaking delete params
func (*InventoryStocktakingDeleteParams) WithContext ¶
func (o *InventoryStocktakingDeleteParams) WithContext(ctx context.Context) *InventoryStocktakingDeleteParams
WithContext adds the context to the inventory stocktaking delete params
func (*InventoryStocktakingDeleteParams) WithHTTPClient ¶
func (o *InventoryStocktakingDeleteParams) WithHTTPClient(client *http.Client) *InventoryStocktakingDeleteParams
WithHTTPClient adds the HTTPClient to the inventory stocktaking delete params
func (*InventoryStocktakingDeleteParams) WithID ¶
func (o *InventoryStocktakingDeleteParams) WithID(id int32) *InventoryStocktakingDeleteParams
WithID adds the id to the inventory stocktaking delete params
func (*InventoryStocktakingDeleteParams) WithTimeout ¶
func (o *InventoryStocktakingDeleteParams) WithTimeout(timeout time.Duration) *InventoryStocktakingDeleteParams
WithTimeout adds the timeout to the inventory stocktaking delete params
func (*InventoryStocktakingDeleteParams) WriteToRequest ¶
func (o *InventoryStocktakingDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryStocktakingDeleteReader ¶
type InventoryStocktakingDeleteReader struct {
// contains filtered or unexported fields
}
InventoryStocktakingDeleteReader is a Reader for the InventoryStocktakingDelete structure.
func (*InventoryStocktakingDeleteReader) ReadResponse ¶
func (o *InventoryStocktakingDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InventoryStocktakingGetOK ¶
type InventoryStocktakingGetOK struct {
Payload *models.ResponseWrapperStocktaking
}
InventoryStocktakingGetOK handles this case with default header values.
successful operation
func NewInventoryStocktakingGetOK ¶
func NewInventoryStocktakingGetOK() *InventoryStocktakingGetOK
NewInventoryStocktakingGetOK creates a InventoryStocktakingGetOK with default headers values
func (*InventoryStocktakingGetOK) Error ¶
func (o *InventoryStocktakingGetOK) Error() string
func (*InventoryStocktakingGetOK) GetPayload ¶
func (o *InventoryStocktakingGetOK) GetPayload() *models.ResponseWrapperStocktaking
type InventoryStocktakingGetParams ¶
type InventoryStocktakingGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryStocktakingGetParams contains all the parameters to send to the API endpoint for the inventory stocktaking get operation typically these are written to a http.Request
func NewInventoryStocktakingGetParams ¶
func NewInventoryStocktakingGetParams() *InventoryStocktakingGetParams
NewInventoryStocktakingGetParams creates a new InventoryStocktakingGetParams object with the default values initialized.
func NewInventoryStocktakingGetParamsWithContext ¶
func NewInventoryStocktakingGetParamsWithContext(ctx context.Context) *InventoryStocktakingGetParams
NewInventoryStocktakingGetParamsWithContext creates a new InventoryStocktakingGetParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryStocktakingGetParamsWithHTTPClient ¶
func NewInventoryStocktakingGetParamsWithHTTPClient(client *http.Client) *InventoryStocktakingGetParams
NewInventoryStocktakingGetParamsWithHTTPClient creates a new InventoryStocktakingGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryStocktakingGetParamsWithTimeout ¶
func NewInventoryStocktakingGetParamsWithTimeout(timeout time.Duration) *InventoryStocktakingGetParams
NewInventoryStocktakingGetParamsWithTimeout creates a new InventoryStocktakingGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryStocktakingGetParams) SetContext ¶
func (o *InventoryStocktakingGetParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory stocktaking get params
func (*InventoryStocktakingGetParams) SetFields ¶
func (o *InventoryStocktakingGetParams) SetFields(fields *string)
SetFields adds the fields to the inventory stocktaking get params
func (*InventoryStocktakingGetParams) SetHTTPClient ¶
func (o *InventoryStocktakingGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory stocktaking get params
func (*InventoryStocktakingGetParams) SetID ¶
func (o *InventoryStocktakingGetParams) SetID(id int32)
SetID adds the id to the inventory stocktaking get params
func (*InventoryStocktakingGetParams) SetTimeout ¶
func (o *InventoryStocktakingGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory stocktaking get params
func (*InventoryStocktakingGetParams) WithContext ¶
func (o *InventoryStocktakingGetParams) WithContext(ctx context.Context) *InventoryStocktakingGetParams
WithContext adds the context to the inventory stocktaking get params
func (*InventoryStocktakingGetParams) WithFields ¶
func (o *InventoryStocktakingGetParams) WithFields(fields *string) *InventoryStocktakingGetParams
WithFields adds the fields to the inventory stocktaking get params
func (*InventoryStocktakingGetParams) WithHTTPClient ¶
func (o *InventoryStocktakingGetParams) WithHTTPClient(client *http.Client) *InventoryStocktakingGetParams
WithHTTPClient adds the HTTPClient to the inventory stocktaking get params
func (*InventoryStocktakingGetParams) WithID ¶
func (o *InventoryStocktakingGetParams) WithID(id int32) *InventoryStocktakingGetParams
WithID adds the id to the inventory stocktaking get params
func (*InventoryStocktakingGetParams) WithTimeout ¶
func (o *InventoryStocktakingGetParams) WithTimeout(timeout time.Duration) *InventoryStocktakingGetParams
WithTimeout adds the timeout to the inventory stocktaking get params
func (*InventoryStocktakingGetParams) WriteToRequest ¶
func (o *InventoryStocktakingGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryStocktakingGetReader ¶
type InventoryStocktakingGetReader struct {
// contains filtered or unexported fields
}
InventoryStocktakingGetReader is a Reader for the InventoryStocktakingGet structure.
func (*InventoryStocktakingGetReader) ReadResponse ¶
func (o *InventoryStocktakingGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InventoryStocktakingPostCreated ¶
type InventoryStocktakingPostCreated struct {
Payload *models.ResponseWrapperStocktaking
}
InventoryStocktakingPostCreated handles this case with default header values.
successfully created
func NewInventoryStocktakingPostCreated ¶
func NewInventoryStocktakingPostCreated() *InventoryStocktakingPostCreated
NewInventoryStocktakingPostCreated creates a InventoryStocktakingPostCreated with default headers values
func (*InventoryStocktakingPostCreated) Error ¶
func (o *InventoryStocktakingPostCreated) Error() string
func (*InventoryStocktakingPostCreated) GetPayload ¶
func (o *InventoryStocktakingPostCreated) GetPayload() *models.ResponseWrapperStocktaking
type InventoryStocktakingPostParams ¶
type InventoryStocktakingPostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.Stocktaking /*TypeOfStocktaking*/ TypeOfStocktaking *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryStocktakingPostParams contains all the parameters to send to the API endpoint for the inventory stocktaking post operation typically these are written to a http.Request
func NewInventoryStocktakingPostParams ¶
func NewInventoryStocktakingPostParams() *InventoryStocktakingPostParams
NewInventoryStocktakingPostParams creates a new InventoryStocktakingPostParams object with the default values initialized.
func NewInventoryStocktakingPostParamsWithContext ¶
func NewInventoryStocktakingPostParamsWithContext(ctx context.Context) *InventoryStocktakingPostParams
NewInventoryStocktakingPostParamsWithContext creates a new InventoryStocktakingPostParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryStocktakingPostParamsWithHTTPClient ¶
func NewInventoryStocktakingPostParamsWithHTTPClient(client *http.Client) *InventoryStocktakingPostParams
NewInventoryStocktakingPostParamsWithHTTPClient creates a new InventoryStocktakingPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryStocktakingPostParamsWithTimeout ¶
func NewInventoryStocktakingPostParamsWithTimeout(timeout time.Duration) *InventoryStocktakingPostParams
NewInventoryStocktakingPostParamsWithTimeout creates a new InventoryStocktakingPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryStocktakingPostParams) SetBody ¶
func (o *InventoryStocktakingPostParams) SetBody(body *models.Stocktaking)
SetBody adds the body to the inventory stocktaking post params
func (*InventoryStocktakingPostParams) SetContext ¶
func (o *InventoryStocktakingPostParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory stocktaking post params
func (*InventoryStocktakingPostParams) SetHTTPClient ¶
func (o *InventoryStocktakingPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory stocktaking post params
func (*InventoryStocktakingPostParams) SetTimeout ¶
func (o *InventoryStocktakingPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory stocktaking post params
func (*InventoryStocktakingPostParams) SetTypeOfStocktaking ¶
func (o *InventoryStocktakingPostParams) SetTypeOfStocktaking(typeOfStocktaking *string)
SetTypeOfStocktaking adds the typeOfStocktaking to the inventory stocktaking post params
func (*InventoryStocktakingPostParams) WithBody ¶
func (o *InventoryStocktakingPostParams) WithBody(body *models.Stocktaking) *InventoryStocktakingPostParams
WithBody adds the body to the inventory stocktaking post params
func (*InventoryStocktakingPostParams) WithContext ¶
func (o *InventoryStocktakingPostParams) WithContext(ctx context.Context) *InventoryStocktakingPostParams
WithContext adds the context to the inventory stocktaking post params
func (*InventoryStocktakingPostParams) WithHTTPClient ¶
func (o *InventoryStocktakingPostParams) WithHTTPClient(client *http.Client) *InventoryStocktakingPostParams
WithHTTPClient adds the HTTPClient to the inventory stocktaking post params
func (*InventoryStocktakingPostParams) WithTimeout ¶
func (o *InventoryStocktakingPostParams) WithTimeout(timeout time.Duration) *InventoryStocktakingPostParams
WithTimeout adds the timeout to the inventory stocktaking post params
func (*InventoryStocktakingPostParams) WithTypeOfStocktaking ¶
func (o *InventoryStocktakingPostParams) WithTypeOfStocktaking(typeOfStocktaking *string) *InventoryStocktakingPostParams
WithTypeOfStocktaking adds the typeOfStocktaking to the inventory stocktaking post params
func (*InventoryStocktakingPostParams) WriteToRequest ¶
func (o *InventoryStocktakingPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryStocktakingPostReader ¶
type InventoryStocktakingPostReader struct {
// contains filtered or unexported fields
}
InventoryStocktakingPostReader is a Reader for the InventoryStocktakingPost structure.
func (*InventoryStocktakingPostReader) ReadResponse ¶
func (o *InventoryStocktakingPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InventoryStocktakingPutOK ¶
type InventoryStocktakingPutOK struct {
Payload *models.ResponseWrapperStocktaking
}
InventoryStocktakingPutOK handles this case with default header values.
successful operation
func NewInventoryStocktakingPutOK ¶
func NewInventoryStocktakingPutOK() *InventoryStocktakingPutOK
NewInventoryStocktakingPutOK creates a InventoryStocktakingPutOK with default headers values
func (*InventoryStocktakingPutOK) Error ¶
func (o *InventoryStocktakingPutOK) Error() string
func (*InventoryStocktakingPutOK) GetPayload ¶
func (o *InventoryStocktakingPutOK) GetPayload() *models.ResponseWrapperStocktaking
type InventoryStocktakingPutParams ¶
type InventoryStocktakingPutParams struct { /*Body Partial object describing what should be updated */ Body *models.Stocktaking /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryStocktakingPutParams contains all the parameters to send to the API endpoint for the inventory stocktaking put operation typically these are written to a http.Request
func NewInventoryStocktakingPutParams ¶
func NewInventoryStocktakingPutParams() *InventoryStocktakingPutParams
NewInventoryStocktakingPutParams creates a new InventoryStocktakingPutParams object with the default values initialized.
func NewInventoryStocktakingPutParamsWithContext ¶
func NewInventoryStocktakingPutParamsWithContext(ctx context.Context) *InventoryStocktakingPutParams
NewInventoryStocktakingPutParamsWithContext creates a new InventoryStocktakingPutParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryStocktakingPutParamsWithHTTPClient ¶
func NewInventoryStocktakingPutParamsWithHTTPClient(client *http.Client) *InventoryStocktakingPutParams
NewInventoryStocktakingPutParamsWithHTTPClient creates a new InventoryStocktakingPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryStocktakingPutParamsWithTimeout ¶
func NewInventoryStocktakingPutParamsWithTimeout(timeout time.Duration) *InventoryStocktakingPutParams
NewInventoryStocktakingPutParamsWithTimeout creates a new InventoryStocktakingPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryStocktakingPutParams) SetBody ¶
func (o *InventoryStocktakingPutParams) SetBody(body *models.Stocktaking)
SetBody adds the body to the inventory stocktaking put params
func (*InventoryStocktakingPutParams) SetContext ¶
func (o *InventoryStocktakingPutParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory stocktaking put params
func (*InventoryStocktakingPutParams) SetHTTPClient ¶
func (o *InventoryStocktakingPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory stocktaking put params
func (*InventoryStocktakingPutParams) SetID ¶
func (o *InventoryStocktakingPutParams) SetID(id int32)
SetID adds the id to the inventory stocktaking put params
func (*InventoryStocktakingPutParams) SetTimeout ¶
func (o *InventoryStocktakingPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory stocktaking put params
func (*InventoryStocktakingPutParams) WithBody ¶
func (o *InventoryStocktakingPutParams) WithBody(body *models.Stocktaking) *InventoryStocktakingPutParams
WithBody adds the body to the inventory stocktaking put params
func (*InventoryStocktakingPutParams) WithContext ¶
func (o *InventoryStocktakingPutParams) WithContext(ctx context.Context) *InventoryStocktakingPutParams
WithContext adds the context to the inventory stocktaking put params
func (*InventoryStocktakingPutParams) WithHTTPClient ¶
func (o *InventoryStocktakingPutParams) WithHTTPClient(client *http.Client) *InventoryStocktakingPutParams
WithHTTPClient adds the HTTPClient to the inventory stocktaking put params
func (*InventoryStocktakingPutParams) WithID ¶
func (o *InventoryStocktakingPutParams) WithID(id int32) *InventoryStocktakingPutParams
WithID adds the id to the inventory stocktaking put params
func (*InventoryStocktakingPutParams) WithTimeout ¶
func (o *InventoryStocktakingPutParams) WithTimeout(timeout time.Duration) *InventoryStocktakingPutParams
WithTimeout adds the timeout to the inventory stocktaking put params
func (*InventoryStocktakingPutParams) WriteToRequest ¶
func (o *InventoryStocktakingPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryStocktakingPutReader ¶
type InventoryStocktakingPutReader struct {
// contains filtered or unexported fields
}
InventoryStocktakingPutReader is a Reader for the InventoryStocktakingPut structure.
func (*InventoryStocktakingPutReader) ReadResponse ¶
func (o *InventoryStocktakingPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InventoryStocktakingSearchOK ¶
type InventoryStocktakingSearchOK struct {
Payload *models.ListResponseStocktaking
}
InventoryStocktakingSearchOK handles this case with default header values.
successful operation
func NewInventoryStocktakingSearchOK ¶
func NewInventoryStocktakingSearchOK() *InventoryStocktakingSearchOK
NewInventoryStocktakingSearchOK creates a InventoryStocktakingSearchOK with default headers values
func (*InventoryStocktakingSearchOK) Error ¶
func (o *InventoryStocktakingSearchOK) Error() string
func (*InventoryStocktakingSearchOK) GetPayload ¶
func (o *InventoryStocktakingSearchOK) GetPayload() *models.ListResponseStocktaking
type InventoryStocktakingSearchParams ¶
type InventoryStocktakingSearchParams 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 /*InventoryID Equals */ InventoryID *int32 /*IsCompleted Equals */ IsCompleted *bool /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryStocktakingSearchParams contains all the parameters to send to the API endpoint for the inventory stocktaking search operation typically these are written to a http.Request
func NewInventoryStocktakingSearchParams ¶
func NewInventoryStocktakingSearchParams() *InventoryStocktakingSearchParams
NewInventoryStocktakingSearchParams creates a new InventoryStocktakingSearchParams object with the default values initialized.
func NewInventoryStocktakingSearchParamsWithContext ¶
func NewInventoryStocktakingSearchParamsWithContext(ctx context.Context) *InventoryStocktakingSearchParams
NewInventoryStocktakingSearchParamsWithContext creates a new InventoryStocktakingSearchParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryStocktakingSearchParamsWithHTTPClient ¶
func NewInventoryStocktakingSearchParamsWithHTTPClient(client *http.Client) *InventoryStocktakingSearchParams
NewInventoryStocktakingSearchParamsWithHTTPClient creates a new InventoryStocktakingSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryStocktakingSearchParamsWithTimeout ¶
func NewInventoryStocktakingSearchParamsWithTimeout(timeout time.Duration) *InventoryStocktakingSearchParams
NewInventoryStocktakingSearchParamsWithTimeout creates a new InventoryStocktakingSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryStocktakingSearchParams) SetContext ¶
func (o *InventoryStocktakingSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) SetCount ¶
func (o *InventoryStocktakingSearchParams) SetCount(count *int64)
SetCount adds the count to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) SetFields ¶
func (o *InventoryStocktakingSearchParams) SetFields(fields *string)
SetFields adds the fields to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) SetFrom ¶
func (o *InventoryStocktakingSearchParams) SetFrom(from *int64)
SetFrom adds the from to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) SetHTTPClient ¶
func (o *InventoryStocktakingSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) SetID ¶
func (o *InventoryStocktakingSearchParams) SetID(id *string)
SetID adds the id to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) SetInventoryID ¶
func (o *InventoryStocktakingSearchParams) SetInventoryID(inventoryID *int32)
SetInventoryID adds the inventoryId to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) SetIsCompleted ¶
func (o *InventoryStocktakingSearchParams) SetIsCompleted(isCompleted *bool)
SetIsCompleted adds the isCompleted to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) SetSorting ¶
func (o *InventoryStocktakingSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) SetTimeout ¶
func (o *InventoryStocktakingSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) WithContext ¶
func (o *InventoryStocktakingSearchParams) WithContext(ctx context.Context) *InventoryStocktakingSearchParams
WithContext adds the context to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) WithCount ¶
func (o *InventoryStocktakingSearchParams) WithCount(count *int64) *InventoryStocktakingSearchParams
WithCount adds the count to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) WithFields ¶
func (o *InventoryStocktakingSearchParams) WithFields(fields *string) *InventoryStocktakingSearchParams
WithFields adds the fields to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) WithFrom ¶
func (o *InventoryStocktakingSearchParams) WithFrom(from *int64) *InventoryStocktakingSearchParams
WithFrom adds the from to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) WithHTTPClient ¶
func (o *InventoryStocktakingSearchParams) WithHTTPClient(client *http.Client) *InventoryStocktakingSearchParams
WithHTTPClient adds the HTTPClient to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) WithID ¶
func (o *InventoryStocktakingSearchParams) WithID(id *string) *InventoryStocktakingSearchParams
WithID adds the id to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) WithInventoryID ¶
func (o *InventoryStocktakingSearchParams) WithInventoryID(inventoryID *int32) *InventoryStocktakingSearchParams
WithInventoryID adds the inventoryID to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) WithIsCompleted ¶
func (o *InventoryStocktakingSearchParams) WithIsCompleted(isCompleted *bool) *InventoryStocktakingSearchParams
WithIsCompleted adds the isCompleted to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) WithSorting ¶
func (o *InventoryStocktakingSearchParams) WithSorting(sorting *string) *InventoryStocktakingSearchParams
WithSorting adds the sorting to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) WithTimeout ¶
func (o *InventoryStocktakingSearchParams) WithTimeout(timeout time.Duration) *InventoryStocktakingSearchParams
WithTimeout adds the timeout to the inventory stocktaking search params
func (*InventoryStocktakingSearchParams) WriteToRequest ¶
func (o *InventoryStocktakingSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryStocktakingSearchReader ¶
type InventoryStocktakingSearchReader struct {
// contains filtered or unexported fields
}
InventoryStocktakingSearchReader is a Reader for the InventoryStocktakingSearch structure.
func (*InventoryStocktakingSearchReader) ReadResponse ¶
func (o *InventoryStocktakingSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- inventory_stocktaking_delete_parameters.go
- inventory_stocktaking_delete_responses.go
- inventory_stocktaking_get_parameters.go
- inventory_stocktaking_get_responses.go
- inventory_stocktaking_post_parameters.go
- inventory_stocktaking_post_responses.go
- inventory_stocktaking_put_parameters.go
- inventory_stocktaking_put_responses.go
- inventory_stocktaking_search_parameters.go
- inventory_stocktaking_search_responses.go
- stocktaking_client.go