Documentation
¶
Index ¶
- type Client
- func (a *Client) InventoryStocktakingProductlineDelete(params *InventoryStocktakingProductlineDeleteParams, ...) error
- func (a *Client) InventoryStocktakingProductlineGet(params *InventoryStocktakingProductlineGetParams, ...) (*InventoryStocktakingProductlineGetOK, error)
- func (a *Client) InventoryStocktakingProductlinePost(params *InventoryStocktakingProductlinePostParams, ...) (*InventoryStocktakingProductlinePostCreated, error)
- func (a *Client) InventoryStocktakingProductlinePut(params *InventoryStocktakingProductlinePutParams, ...) (*InventoryStocktakingProductlinePutOK, error)
- func (a *Client) InventoryStocktakingProductlineSearch(params *InventoryStocktakingProductlineSearchParams, ...) (*InventoryStocktakingProductlineSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type InventoryStocktakingProductlineDeleteDefault
- type InventoryStocktakingProductlineDeleteParams
- func NewInventoryStocktakingProductlineDeleteParams() *InventoryStocktakingProductlineDeleteParams
- func NewInventoryStocktakingProductlineDeleteParamsWithContext(ctx context.Context) *InventoryStocktakingProductlineDeleteParams
- func NewInventoryStocktakingProductlineDeleteParamsWithHTTPClient(client *http.Client) *InventoryStocktakingProductlineDeleteParams
- func NewInventoryStocktakingProductlineDeleteParamsWithTimeout(timeout time.Duration) *InventoryStocktakingProductlineDeleteParams
- func (o *InventoryStocktakingProductlineDeleteParams) SetContext(ctx context.Context)
- func (o *InventoryStocktakingProductlineDeleteParams) SetHTTPClient(client *http.Client)
- func (o *InventoryStocktakingProductlineDeleteParams) SetID(id int32)
- func (o *InventoryStocktakingProductlineDeleteParams) SetTimeout(timeout time.Duration)
- func (o *InventoryStocktakingProductlineDeleteParams) WithContext(ctx context.Context) *InventoryStocktakingProductlineDeleteParams
- func (o *InventoryStocktakingProductlineDeleteParams) WithHTTPClient(client *http.Client) *InventoryStocktakingProductlineDeleteParams
- func (o *InventoryStocktakingProductlineDeleteParams) WithID(id int32) *InventoryStocktakingProductlineDeleteParams
- func (o *InventoryStocktakingProductlineDeleteParams) WithTimeout(timeout time.Duration) *InventoryStocktakingProductlineDeleteParams
- func (o *InventoryStocktakingProductlineDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryStocktakingProductlineDeleteReader
- type InventoryStocktakingProductlineGetOK
- type InventoryStocktakingProductlineGetParams
- func NewInventoryStocktakingProductlineGetParams() *InventoryStocktakingProductlineGetParams
- func NewInventoryStocktakingProductlineGetParamsWithContext(ctx context.Context) *InventoryStocktakingProductlineGetParams
- func NewInventoryStocktakingProductlineGetParamsWithHTTPClient(client *http.Client) *InventoryStocktakingProductlineGetParams
- func NewInventoryStocktakingProductlineGetParamsWithTimeout(timeout time.Duration) *InventoryStocktakingProductlineGetParams
- func (o *InventoryStocktakingProductlineGetParams) SetContext(ctx context.Context)
- func (o *InventoryStocktakingProductlineGetParams) SetFields(fields *string)
- func (o *InventoryStocktakingProductlineGetParams) SetHTTPClient(client *http.Client)
- func (o *InventoryStocktakingProductlineGetParams) SetID(id int32)
- func (o *InventoryStocktakingProductlineGetParams) SetTimeout(timeout time.Duration)
- func (o *InventoryStocktakingProductlineGetParams) WithContext(ctx context.Context) *InventoryStocktakingProductlineGetParams
- func (o *InventoryStocktakingProductlineGetParams) WithFields(fields *string) *InventoryStocktakingProductlineGetParams
- func (o *InventoryStocktakingProductlineGetParams) WithHTTPClient(client *http.Client) *InventoryStocktakingProductlineGetParams
- func (o *InventoryStocktakingProductlineGetParams) WithID(id int32) *InventoryStocktakingProductlineGetParams
- func (o *InventoryStocktakingProductlineGetParams) WithTimeout(timeout time.Duration) *InventoryStocktakingProductlineGetParams
- func (o *InventoryStocktakingProductlineGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryStocktakingProductlineGetReader
- type InventoryStocktakingProductlinePostCreated
- type InventoryStocktakingProductlinePostParams
- func NewInventoryStocktakingProductlinePostParams() *InventoryStocktakingProductlinePostParams
- func NewInventoryStocktakingProductlinePostParamsWithContext(ctx context.Context) *InventoryStocktakingProductlinePostParams
- func NewInventoryStocktakingProductlinePostParamsWithHTTPClient(client *http.Client) *InventoryStocktakingProductlinePostParams
- func NewInventoryStocktakingProductlinePostParamsWithTimeout(timeout time.Duration) *InventoryStocktakingProductlinePostParams
- func (o *InventoryStocktakingProductlinePostParams) SetBody(body *models.ProductLine)
- func (o *InventoryStocktakingProductlinePostParams) SetContext(ctx context.Context)
- func (o *InventoryStocktakingProductlinePostParams) SetHTTPClient(client *http.Client)
- func (o *InventoryStocktakingProductlinePostParams) SetTimeout(timeout time.Duration)
- func (o *InventoryStocktakingProductlinePostParams) WithBody(body *models.ProductLine) *InventoryStocktakingProductlinePostParams
- func (o *InventoryStocktakingProductlinePostParams) WithContext(ctx context.Context) *InventoryStocktakingProductlinePostParams
- func (o *InventoryStocktakingProductlinePostParams) WithHTTPClient(client *http.Client) *InventoryStocktakingProductlinePostParams
- func (o *InventoryStocktakingProductlinePostParams) WithTimeout(timeout time.Duration) *InventoryStocktakingProductlinePostParams
- func (o *InventoryStocktakingProductlinePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryStocktakingProductlinePostReader
- type InventoryStocktakingProductlinePutOK
- type InventoryStocktakingProductlinePutParams
- func NewInventoryStocktakingProductlinePutParams() *InventoryStocktakingProductlinePutParams
- func NewInventoryStocktakingProductlinePutParamsWithContext(ctx context.Context) *InventoryStocktakingProductlinePutParams
- func NewInventoryStocktakingProductlinePutParamsWithHTTPClient(client *http.Client) *InventoryStocktakingProductlinePutParams
- func NewInventoryStocktakingProductlinePutParamsWithTimeout(timeout time.Duration) *InventoryStocktakingProductlinePutParams
- func (o *InventoryStocktakingProductlinePutParams) SetBody(body *models.ProductLine)
- func (o *InventoryStocktakingProductlinePutParams) SetContext(ctx context.Context)
- func (o *InventoryStocktakingProductlinePutParams) SetHTTPClient(client *http.Client)
- func (o *InventoryStocktakingProductlinePutParams) SetID(id int32)
- func (o *InventoryStocktakingProductlinePutParams) SetTimeout(timeout time.Duration)
- func (o *InventoryStocktakingProductlinePutParams) WithBody(body *models.ProductLine) *InventoryStocktakingProductlinePutParams
- func (o *InventoryStocktakingProductlinePutParams) WithContext(ctx context.Context) *InventoryStocktakingProductlinePutParams
- func (o *InventoryStocktakingProductlinePutParams) WithHTTPClient(client *http.Client) *InventoryStocktakingProductlinePutParams
- func (o *InventoryStocktakingProductlinePutParams) WithID(id int32) *InventoryStocktakingProductlinePutParams
- func (o *InventoryStocktakingProductlinePutParams) WithTimeout(timeout time.Duration) *InventoryStocktakingProductlinePutParams
- func (o *InventoryStocktakingProductlinePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryStocktakingProductlinePutReader
- type InventoryStocktakingProductlineSearchOK
- type InventoryStocktakingProductlineSearchParams
- func NewInventoryStocktakingProductlineSearchParams() *InventoryStocktakingProductlineSearchParams
- func NewInventoryStocktakingProductlineSearchParamsWithContext(ctx context.Context) *InventoryStocktakingProductlineSearchParams
- func NewInventoryStocktakingProductlineSearchParamsWithHTTPClient(client *http.Client) *InventoryStocktakingProductlineSearchParams
- func NewInventoryStocktakingProductlineSearchParamsWithTimeout(timeout time.Duration) *InventoryStocktakingProductlineSearchParams
- func (o *InventoryStocktakingProductlineSearchParams) SetContext(ctx context.Context)
- func (o *InventoryStocktakingProductlineSearchParams) SetCount(count *int64)
- func (o *InventoryStocktakingProductlineSearchParams) SetFields(fields *string)
- func (o *InventoryStocktakingProductlineSearchParams) SetFrom(from *int64)
- func (o *InventoryStocktakingProductlineSearchParams) SetHTTPClient(client *http.Client)
- func (o *InventoryStocktakingProductlineSearchParams) SetSorting(sorting *string)
- func (o *InventoryStocktakingProductlineSearchParams) SetStocktakingID(stocktakingID int32)
- func (o *InventoryStocktakingProductlineSearchParams) SetTimeout(timeout time.Duration)
- func (o *InventoryStocktakingProductlineSearchParams) WithContext(ctx context.Context) *InventoryStocktakingProductlineSearchParams
- func (o *InventoryStocktakingProductlineSearchParams) WithCount(count *int64) *InventoryStocktakingProductlineSearchParams
- func (o *InventoryStocktakingProductlineSearchParams) WithFields(fields *string) *InventoryStocktakingProductlineSearchParams
- func (o *InventoryStocktakingProductlineSearchParams) WithFrom(from *int64) *InventoryStocktakingProductlineSearchParams
- func (o *InventoryStocktakingProductlineSearchParams) WithHTTPClient(client *http.Client) *InventoryStocktakingProductlineSearchParams
- func (o *InventoryStocktakingProductlineSearchParams) WithSorting(sorting *string) *InventoryStocktakingProductlineSearchParams
- func (o *InventoryStocktakingProductlineSearchParams) WithStocktakingID(stocktakingID int32) *InventoryStocktakingProductlineSearchParams
- func (o *InventoryStocktakingProductlineSearchParams) WithTimeout(timeout time.Duration) *InventoryStocktakingProductlineSearchParams
- func (o *InventoryStocktakingProductlineSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InventoryStocktakingProductlineSearchReader
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 productline API
func (*Client) InventoryStocktakingProductlineDelete ¶
func (a *Client) InventoryStocktakingProductlineDelete(params *InventoryStocktakingProductlineDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
InventoryStocktakingProductlineDelete bs e t a delete product line
func (*Client) InventoryStocktakingProductlineGet ¶
func (a *Client) InventoryStocktakingProductlineGet(params *InventoryStocktakingProductlineGetParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingProductlineGetOK, error)
InventoryStocktakingProductlineGet bs e t a get product line by ID
func (*Client) InventoryStocktakingProductlinePost ¶
func (a *Client) InventoryStocktakingProductlinePost(params *InventoryStocktakingProductlinePostParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingProductlinePostCreated, error)
InventoryStocktakingProductlinePost bs e t a create product line when creating several product lines use list for better performance
func (*Client) InventoryStocktakingProductlinePut ¶
func (a *Client) InventoryStocktakingProductlinePut(params *InventoryStocktakingProductlinePutParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingProductlinePutOK, error)
InventoryStocktakingProductlinePut bs e t a update product line
func (*Client) InventoryStocktakingProductlineSearch ¶
func (a *Client) InventoryStocktakingProductlineSearch(params *InventoryStocktakingProductlineSearchParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingProductlineSearchOK, error)
InventoryStocktakingProductlineSearch bs e t a find all product lines by stocktaking ID
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { InventoryStocktakingProductlineDelete(params *InventoryStocktakingProductlineDeleteParams, authInfo runtime.ClientAuthInfoWriter) error InventoryStocktakingProductlineGet(params *InventoryStocktakingProductlineGetParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingProductlineGetOK, error) InventoryStocktakingProductlinePost(params *InventoryStocktakingProductlinePostParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingProductlinePostCreated, error) InventoryStocktakingProductlinePut(params *InventoryStocktakingProductlinePutParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingProductlinePutOK, error) InventoryStocktakingProductlineSearch(params *InventoryStocktakingProductlineSearchParams, authInfo runtime.ClientAuthInfoWriter) (*InventoryStocktakingProductlineSearchOK, 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 productline API client.
type InventoryStocktakingProductlineDeleteDefault ¶
type InventoryStocktakingProductlineDeleteDefault struct {
// contains filtered or unexported fields
}
InventoryStocktakingProductlineDeleteDefault handles this case with default header values.
successful operation
func NewInventoryStocktakingProductlineDeleteDefault ¶
func NewInventoryStocktakingProductlineDeleteDefault(code int) *InventoryStocktakingProductlineDeleteDefault
NewInventoryStocktakingProductlineDeleteDefault creates a InventoryStocktakingProductlineDeleteDefault with default headers values
func (*InventoryStocktakingProductlineDeleteDefault) Code ¶
func (o *InventoryStocktakingProductlineDeleteDefault) Code() int
Code gets the status code for the inventory stocktaking productline delete default response
func (*InventoryStocktakingProductlineDeleteDefault) Error ¶
func (o *InventoryStocktakingProductlineDeleteDefault) Error() string
type InventoryStocktakingProductlineDeleteParams ¶
type InventoryStocktakingProductlineDeleteParams struct { /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryStocktakingProductlineDeleteParams contains all the parameters to send to the API endpoint for the inventory stocktaking productline delete operation typically these are written to a http.Request
func NewInventoryStocktakingProductlineDeleteParams ¶
func NewInventoryStocktakingProductlineDeleteParams() *InventoryStocktakingProductlineDeleteParams
NewInventoryStocktakingProductlineDeleteParams creates a new InventoryStocktakingProductlineDeleteParams object with the default values initialized.
func NewInventoryStocktakingProductlineDeleteParamsWithContext ¶
func NewInventoryStocktakingProductlineDeleteParamsWithContext(ctx context.Context) *InventoryStocktakingProductlineDeleteParams
NewInventoryStocktakingProductlineDeleteParamsWithContext creates a new InventoryStocktakingProductlineDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryStocktakingProductlineDeleteParamsWithHTTPClient ¶
func NewInventoryStocktakingProductlineDeleteParamsWithHTTPClient(client *http.Client) *InventoryStocktakingProductlineDeleteParams
NewInventoryStocktakingProductlineDeleteParamsWithHTTPClient creates a new InventoryStocktakingProductlineDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryStocktakingProductlineDeleteParamsWithTimeout ¶
func NewInventoryStocktakingProductlineDeleteParamsWithTimeout(timeout time.Duration) *InventoryStocktakingProductlineDeleteParams
NewInventoryStocktakingProductlineDeleteParamsWithTimeout creates a new InventoryStocktakingProductlineDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryStocktakingProductlineDeleteParams) SetContext ¶
func (o *InventoryStocktakingProductlineDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory stocktaking productline delete params
func (*InventoryStocktakingProductlineDeleteParams) SetHTTPClient ¶
func (o *InventoryStocktakingProductlineDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory stocktaking productline delete params
func (*InventoryStocktakingProductlineDeleteParams) SetID ¶
func (o *InventoryStocktakingProductlineDeleteParams) SetID(id int32)
SetID adds the id to the inventory stocktaking productline delete params
func (*InventoryStocktakingProductlineDeleteParams) SetTimeout ¶
func (o *InventoryStocktakingProductlineDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory stocktaking productline delete params
func (*InventoryStocktakingProductlineDeleteParams) WithContext ¶
func (o *InventoryStocktakingProductlineDeleteParams) WithContext(ctx context.Context) *InventoryStocktakingProductlineDeleteParams
WithContext adds the context to the inventory stocktaking productline delete params
func (*InventoryStocktakingProductlineDeleteParams) WithHTTPClient ¶
func (o *InventoryStocktakingProductlineDeleteParams) WithHTTPClient(client *http.Client) *InventoryStocktakingProductlineDeleteParams
WithHTTPClient adds the HTTPClient to the inventory stocktaking productline delete params
func (*InventoryStocktakingProductlineDeleteParams) WithID ¶
func (o *InventoryStocktakingProductlineDeleteParams) WithID(id int32) *InventoryStocktakingProductlineDeleteParams
WithID adds the id to the inventory stocktaking productline delete params
func (*InventoryStocktakingProductlineDeleteParams) WithTimeout ¶
func (o *InventoryStocktakingProductlineDeleteParams) WithTimeout(timeout time.Duration) *InventoryStocktakingProductlineDeleteParams
WithTimeout adds the timeout to the inventory stocktaking productline delete params
func (*InventoryStocktakingProductlineDeleteParams) WriteToRequest ¶
func (o *InventoryStocktakingProductlineDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryStocktakingProductlineDeleteReader ¶
type InventoryStocktakingProductlineDeleteReader struct {
// contains filtered or unexported fields
}
InventoryStocktakingProductlineDeleteReader is a Reader for the InventoryStocktakingProductlineDelete structure.
func (*InventoryStocktakingProductlineDeleteReader) ReadResponse ¶
func (o *InventoryStocktakingProductlineDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InventoryStocktakingProductlineGetOK ¶
type InventoryStocktakingProductlineGetOK struct {
Payload *models.ResponseWrapperProductLine
}
InventoryStocktakingProductlineGetOK handles this case with default header values.
successful operation
func NewInventoryStocktakingProductlineGetOK ¶
func NewInventoryStocktakingProductlineGetOK() *InventoryStocktakingProductlineGetOK
NewInventoryStocktakingProductlineGetOK creates a InventoryStocktakingProductlineGetOK with default headers values
func (*InventoryStocktakingProductlineGetOK) Error ¶
func (o *InventoryStocktakingProductlineGetOK) Error() string
func (*InventoryStocktakingProductlineGetOK) GetPayload ¶
func (o *InventoryStocktakingProductlineGetOK) GetPayload() *models.ResponseWrapperProductLine
type InventoryStocktakingProductlineGetParams ¶
type InventoryStocktakingProductlineGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryStocktakingProductlineGetParams contains all the parameters to send to the API endpoint for the inventory stocktaking productline get operation typically these are written to a http.Request
func NewInventoryStocktakingProductlineGetParams ¶
func NewInventoryStocktakingProductlineGetParams() *InventoryStocktakingProductlineGetParams
NewInventoryStocktakingProductlineGetParams creates a new InventoryStocktakingProductlineGetParams object with the default values initialized.
func NewInventoryStocktakingProductlineGetParamsWithContext ¶
func NewInventoryStocktakingProductlineGetParamsWithContext(ctx context.Context) *InventoryStocktakingProductlineGetParams
NewInventoryStocktakingProductlineGetParamsWithContext creates a new InventoryStocktakingProductlineGetParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryStocktakingProductlineGetParamsWithHTTPClient ¶
func NewInventoryStocktakingProductlineGetParamsWithHTTPClient(client *http.Client) *InventoryStocktakingProductlineGetParams
NewInventoryStocktakingProductlineGetParamsWithHTTPClient creates a new InventoryStocktakingProductlineGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryStocktakingProductlineGetParamsWithTimeout ¶
func NewInventoryStocktakingProductlineGetParamsWithTimeout(timeout time.Duration) *InventoryStocktakingProductlineGetParams
NewInventoryStocktakingProductlineGetParamsWithTimeout creates a new InventoryStocktakingProductlineGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryStocktakingProductlineGetParams) SetContext ¶
func (o *InventoryStocktakingProductlineGetParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory stocktaking productline get params
func (*InventoryStocktakingProductlineGetParams) SetFields ¶
func (o *InventoryStocktakingProductlineGetParams) SetFields(fields *string)
SetFields adds the fields to the inventory stocktaking productline get params
func (*InventoryStocktakingProductlineGetParams) SetHTTPClient ¶
func (o *InventoryStocktakingProductlineGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory stocktaking productline get params
func (*InventoryStocktakingProductlineGetParams) SetID ¶
func (o *InventoryStocktakingProductlineGetParams) SetID(id int32)
SetID adds the id to the inventory stocktaking productline get params
func (*InventoryStocktakingProductlineGetParams) SetTimeout ¶
func (o *InventoryStocktakingProductlineGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory stocktaking productline get params
func (*InventoryStocktakingProductlineGetParams) WithContext ¶
func (o *InventoryStocktakingProductlineGetParams) WithContext(ctx context.Context) *InventoryStocktakingProductlineGetParams
WithContext adds the context to the inventory stocktaking productline get params
func (*InventoryStocktakingProductlineGetParams) WithFields ¶
func (o *InventoryStocktakingProductlineGetParams) WithFields(fields *string) *InventoryStocktakingProductlineGetParams
WithFields adds the fields to the inventory stocktaking productline get params
func (*InventoryStocktakingProductlineGetParams) WithHTTPClient ¶
func (o *InventoryStocktakingProductlineGetParams) WithHTTPClient(client *http.Client) *InventoryStocktakingProductlineGetParams
WithHTTPClient adds the HTTPClient to the inventory stocktaking productline get params
func (*InventoryStocktakingProductlineGetParams) WithID ¶
func (o *InventoryStocktakingProductlineGetParams) WithID(id int32) *InventoryStocktakingProductlineGetParams
WithID adds the id to the inventory stocktaking productline get params
func (*InventoryStocktakingProductlineGetParams) WithTimeout ¶
func (o *InventoryStocktakingProductlineGetParams) WithTimeout(timeout time.Duration) *InventoryStocktakingProductlineGetParams
WithTimeout adds the timeout to the inventory stocktaking productline get params
func (*InventoryStocktakingProductlineGetParams) WriteToRequest ¶
func (o *InventoryStocktakingProductlineGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryStocktakingProductlineGetReader ¶
type InventoryStocktakingProductlineGetReader struct {
// contains filtered or unexported fields
}
InventoryStocktakingProductlineGetReader is a Reader for the InventoryStocktakingProductlineGet structure.
func (*InventoryStocktakingProductlineGetReader) ReadResponse ¶
func (o *InventoryStocktakingProductlineGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InventoryStocktakingProductlinePostCreated ¶
type InventoryStocktakingProductlinePostCreated struct {
Payload *models.ResponseWrapperProductLine
}
InventoryStocktakingProductlinePostCreated handles this case with default header values.
successfully created
func NewInventoryStocktakingProductlinePostCreated ¶
func NewInventoryStocktakingProductlinePostCreated() *InventoryStocktakingProductlinePostCreated
NewInventoryStocktakingProductlinePostCreated creates a InventoryStocktakingProductlinePostCreated with default headers values
func (*InventoryStocktakingProductlinePostCreated) Error ¶
func (o *InventoryStocktakingProductlinePostCreated) Error() string
func (*InventoryStocktakingProductlinePostCreated) GetPayload ¶
func (o *InventoryStocktakingProductlinePostCreated) GetPayload() *models.ResponseWrapperProductLine
type InventoryStocktakingProductlinePostParams ¶
type InventoryStocktakingProductlinePostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.ProductLine Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryStocktakingProductlinePostParams contains all the parameters to send to the API endpoint for the inventory stocktaking productline post operation typically these are written to a http.Request
func NewInventoryStocktakingProductlinePostParams ¶
func NewInventoryStocktakingProductlinePostParams() *InventoryStocktakingProductlinePostParams
NewInventoryStocktakingProductlinePostParams creates a new InventoryStocktakingProductlinePostParams object with the default values initialized.
func NewInventoryStocktakingProductlinePostParamsWithContext ¶
func NewInventoryStocktakingProductlinePostParamsWithContext(ctx context.Context) *InventoryStocktakingProductlinePostParams
NewInventoryStocktakingProductlinePostParamsWithContext creates a new InventoryStocktakingProductlinePostParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryStocktakingProductlinePostParamsWithHTTPClient ¶
func NewInventoryStocktakingProductlinePostParamsWithHTTPClient(client *http.Client) *InventoryStocktakingProductlinePostParams
NewInventoryStocktakingProductlinePostParamsWithHTTPClient creates a new InventoryStocktakingProductlinePostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryStocktakingProductlinePostParamsWithTimeout ¶
func NewInventoryStocktakingProductlinePostParamsWithTimeout(timeout time.Duration) *InventoryStocktakingProductlinePostParams
NewInventoryStocktakingProductlinePostParamsWithTimeout creates a new InventoryStocktakingProductlinePostParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryStocktakingProductlinePostParams) SetBody ¶
func (o *InventoryStocktakingProductlinePostParams) SetBody(body *models.ProductLine)
SetBody adds the body to the inventory stocktaking productline post params
func (*InventoryStocktakingProductlinePostParams) SetContext ¶
func (o *InventoryStocktakingProductlinePostParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory stocktaking productline post params
func (*InventoryStocktakingProductlinePostParams) SetHTTPClient ¶
func (o *InventoryStocktakingProductlinePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory stocktaking productline post params
func (*InventoryStocktakingProductlinePostParams) SetTimeout ¶
func (o *InventoryStocktakingProductlinePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory stocktaking productline post params
func (*InventoryStocktakingProductlinePostParams) WithBody ¶
func (o *InventoryStocktakingProductlinePostParams) WithBody(body *models.ProductLine) *InventoryStocktakingProductlinePostParams
WithBody adds the body to the inventory stocktaking productline post params
func (*InventoryStocktakingProductlinePostParams) WithContext ¶
func (o *InventoryStocktakingProductlinePostParams) WithContext(ctx context.Context) *InventoryStocktakingProductlinePostParams
WithContext adds the context to the inventory stocktaking productline post params
func (*InventoryStocktakingProductlinePostParams) WithHTTPClient ¶
func (o *InventoryStocktakingProductlinePostParams) WithHTTPClient(client *http.Client) *InventoryStocktakingProductlinePostParams
WithHTTPClient adds the HTTPClient to the inventory stocktaking productline post params
func (*InventoryStocktakingProductlinePostParams) WithTimeout ¶
func (o *InventoryStocktakingProductlinePostParams) WithTimeout(timeout time.Duration) *InventoryStocktakingProductlinePostParams
WithTimeout adds the timeout to the inventory stocktaking productline post params
func (*InventoryStocktakingProductlinePostParams) WriteToRequest ¶
func (o *InventoryStocktakingProductlinePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryStocktakingProductlinePostReader ¶
type InventoryStocktakingProductlinePostReader struct {
// contains filtered or unexported fields
}
InventoryStocktakingProductlinePostReader is a Reader for the InventoryStocktakingProductlinePost structure.
func (*InventoryStocktakingProductlinePostReader) ReadResponse ¶
func (o *InventoryStocktakingProductlinePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InventoryStocktakingProductlinePutOK ¶
type InventoryStocktakingProductlinePutOK struct {
Payload *models.ResponseWrapperProductLine
}
InventoryStocktakingProductlinePutOK handles this case with default header values.
successful operation
func NewInventoryStocktakingProductlinePutOK ¶
func NewInventoryStocktakingProductlinePutOK() *InventoryStocktakingProductlinePutOK
NewInventoryStocktakingProductlinePutOK creates a InventoryStocktakingProductlinePutOK with default headers values
func (*InventoryStocktakingProductlinePutOK) Error ¶
func (o *InventoryStocktakingProductlinePutOK) Error() string
func (*InventoryStocktakingProductlinePutOK) GetPayload ¶
func (o *InventoryStocktakingProductlinePutOK) GetPayload() *models.ResponseWrapperProductLine
type InventoryStocktakingProductlinePutParams ¶
type InventoryStocktakingProductlinePutParams struct { /*Body Partial object describing what should be updated */ Body *models.ProductLine /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryStocktakingProductlinePutParams contains all the parameters to send to the API endpoint for the inventory stocktaking productline put operation typically these are written to a http.Request
func NewInventoryStocktakingProductlinePutParams ¶
func NewInventoryStocktakingProductlinePutParams() *InventoryStocktakingProductlinePutParams
NewInventoryStocktakingProductlinePutParams creates a new InventoryStocktakingProductlinePutParams object with the default values initialized.
func NewInventoryStocktakingProductlinePutParamsWithContext ¶
func NewInventoryStocktakingProductlinePutParamsWithContext(ctx context.Context) *InventoryStocktakingProductlinePutParams
NewInventoryStocktakingProductlinePutParamsWithContext creates a new InventoryStocktakingProductlinePutParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryStocktakingProductlinePutParamsWithHTTPClient ¶
func NewInventoryStocktakingProductlinePutParamsWithHTTPClient(client *http.Client) *InventoryStocktakingProductlinePutParams
NewInventoryStocktakingProductlinePutParamsWithHTTPClient creates a new InventoryStocktakingProductlinePutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryStocktakingProductlinePutParamsWithTimeout ¶
func NewInventoryStocktakingProductlinePutParamsWithTimeout(timeout time.Duration) *InventoryStocktakingProductlinePutParams
NewInventoryStocktakingProductlinePutParamsWithTimeout creates a new InventoryStocktakingProductlinePutParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryStocktakingProductlinePutParams) SetBody ¶
func (o *InventoryStocktakingProductlinePutParams) SetBody(body *models.ProductLine)
SetBody adds the body to the inventory stocktaking productline put params
func (*InventoryStocktakingProductlinePutParams) SetContext ¶
func (o *InventoryStocktakingProductlinePutParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory stocktaking productline put params
func (*InventoryStocktakingProductlinePutParams) SetHTTPClient ¶
func (o *InventoryStocktakingProductlinePutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory stocktaking productline put params
func (*InventoryStocktakingProductlinePutParams) SetID ¶
func (o *InventoryStocktakingProductlinePutParams) SetID(id int32)
SetID adds the id to the inventory stocktaking productline put params
func (*InventoryStocktakingProductlinePutParams) SetTimeout ¶
func (o *InventoryStocktakingProductlinePutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory stocktaking productline put params
func (*InventoryStocktakingProductlinePutParams) WithBody ¶
func (o *InventoryStocktakingProductlinePutParams) WithBody(body *models.ProductLine) *InventoryStocktakingProductlinePutParams
WithBody adds the body to the inventory stocktaking productline put params
func (*InventoryStocktakingProductlinePutParams) WithContext ¶
func (o *InventoryStocktakingProductlinePutParams) WithContext(ctx context.Context) *InventoryStocktakingProductlinePutParams
WithContext adds the context to the inventory stocktaking productline put params
func (*InventoryStocktakingProductlinePutParams) WithHTTPClient ¶
func (o *InventoryStocktakingProductlinePutParams) WithHTTPClient(client *http.Client) *InventoryStocktakingProductlinePutParams
WithHTTPClient adds the HTTPClient to the inventory stocktaking productline put params
func (*InventoryStocktakingProductlinePutParams) WithID ¶
func (o *InventoryStocktakingProductlinePutParams) WithID(id int32) *InventoryStocktakingProductlinePutParams
WithID adds the id to the inventory stocktaking productline put params
func (*InventoryStocktakingProductlinePutParams) WithTimeout ¶
func (o *InventoryStocktakingProductlinePutParams) WithTimeout(timeout time.Duration) *InventoryStocktakingProductlinePutParams
WithTimeout adds the timeout to the inventory stocktaking productline put params
func (*InventoryStocktakingProductlinePutParams) WriteToRequest ¶
func (o *InventoryStocktakingProductlinePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryStocktakingProductlinePutReader ¶
type InventoryStocktakingProductlinePutReader struct {
// contains filtered or unexported fields
}
InventoryStocktakingProductlinePutReader is a Reader for the InventoryStocktakingProductlinePut structure.
func (*InventoryStocktakingProductlinePutReader) ReadResponse ¶
func (o *InventoryStocktakingProductlinePutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InventoryStocktakingProductlineSearchOK ¶
type InventoryStocktakingProductlineSearchOK struct {
Payload *models.ListResponseProductLine
}
InventoryStocktakingProductlineSearchOK handles this case with default header values.
successful operation
func NewInventoryStocktakingProductlineSearchOK ¶
func NewInventoryStocktakingProductlineSearchOK() *InventoryStocktakingProductlineSearchOK
NewInventoryStocktakingProductlineSearchOK creates a InventoryStocktakingProductlineSearchOK with default headers values
func (*InventoryStocktakingProductlineSearchOK) Error ¶
func (o *InventoryStocktakingProductlineSearchOK) Error() string
func (*InventoryStocktakingProductlineSearchOK) GetPayload ¶
func (o *InventoryStocktakingProductlineSearchOK) GetPayload() *models.ListResponseProductLine
type InventoryStocktakingProductlineSearchParams ¶
type InventoryStocktakingProductlineSearchParams struct { /*Count Number of elements to return */ Count *int64 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*Sorting Sorting pattern */ Sorting *string /*StocktakingID Equals */ StocktakingID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InventoryStocktakingProductlineSearchParams contains all the parameters to send to the API endpoint for the inventory stocktaking productline search operation typically these are written to a http.Request
func NewInventoryStocktakingProductlineSearchParams ¶
func NewInventoryStocktakingProductlineSearchParams() *InventoryStocktakingProductlineSearchParams
NewInventoryStocktakingProductlineSearchParams creates a new InventoryStocktakingProductlineSearchParams object with the default values initialized.
func NewInventoryStocktakingProductlineSearchParamsWithContext ¶
func NewInventoryStocktakingProductlineSearchParamsWithContext(ctx context.Context) *InventoryStocktakingProductlineSearchParams
NewInventoryStocktakingProductlineSearchParamsWithContext creates a new InventoryStocktakingProductlineSearchParams object with the default values initialized, and the ability to set a context for a request
func NewInventoryStocktakingProductlineSearchParamsWithHTTPClient ¶
func NewInventoryStocktakingProductlineSearchParamsWithHTTPClient(client *http.Client) *InventoryStocktakingProductlineSearchParams
NewInventoryStocktakingProductlineSearchParamsWithHTTPClient creates a new InventoryStocktakingProductlineSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewInventoryStocktakingProductlineSearchParamsWithTimeout ¶
func NewInventoryStocktakingProductlineSearchParamsWithTimeout(timeout time.Duration) *InventoryStocktakingProductlineSearchParams
NewInventoryStocktakingProductlineSearchParamsWithTimeout creates a new InventoryStocktakingProductlineSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*InventoryStocktakingProductlineSearchParams) SetContext ¶
func (o *InventoryStocktakingProductlineSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) SetCount ¶
func (o *InventoryStocktakingProductlineSearchParams) SetCount(count *int64)
SetCount adds the count to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) SetFields ¶
func (o *InventoryStocktakingProductlineSearchParams) SetFields(fields *string)
SetFields adds the fields to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) SetFrom ¶
func (o *InventoryStocktakingProductlineSearchParams) SetFrom(from *int64)
SetFrom adds the from to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) SetHTTPClient ¶
func (o *InventoryStocktakingProductlineSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) SetSorting ¶
func (o *InventoryStocktakingProductlineSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) SetStocktakingID ¶
func (o *InventoryStocktakingProductlineSearchParams) SetStocktakingID(stocktakingID int32)
SetStocktakingID adds the stocktakingId to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) SetTimeout ¶
func (o *InventoryStocktakingProductlineSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) WithContext ¶
func (o *InventoryStocktakingProductlineSearchParams) WithContext(ctx context.Context) *InventoryStocktakingProductlineSearchParams
WithContext adds the context to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) WithCount ¶
func (o *InventoryStocktakingProductlineSearchParams) WithCount(count *int64) *InventoryStocktakingProductlineSearchParams
WithCount adds the count to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) WithFields ¶
func (o *InventoryStocktakingProductlineSearchParams) WithFields(fields *string) *InventoryStocktakingProductlineSearchParams
WithFields adds the fields to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) WithFrom ¶
func (o *InventoryStocktakingProductlineSearchParams) WithFrom(from *int64) *InventoryStocktakingProductlineSearchParams
WithFrom adds the from to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) WithHTTPClient ¶
func (o *InventoryStocktakingProductlineSearchParams) WithHTTPClient(client *http.Client) *InventoryStocktakingProductlineSearchParams
WithHTTPClient adds the HTTPClient to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) WithSorting ¶
func (o *InventoryStocktakingProductlineSearchParams) WithSorting(sorting *string) *InventoryStocktakingProductlineSearchParams
WithSorting adds the sorting to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) WithStocktakingID ¶
func (o *InventoryStocktakingProductlineSearchParams) WithStocktakingID(stocktakingID int32) *InventoryStocktakingProductlineSearchParams
WithStocktakingID adds the stocktakingID to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) WithTimeout ¶
func (o *InventoryStocktakingProductlineSearchParams) WithTimeout(timeout time.Duration) *InventoryStocktakingProductlineSearchParams
WithTimeout adds the timeout to the inventory stocktaking productline search params
func (*InventoryStocktakingProductlineSearchParams) WriteToRequest ¶
func (o *InventoryStocktakingProductlineSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InventoryStocktakingProductlineSearchReader ¶
type InventoryStocktakingProductlineSearchReader struct {
// contains filtered or unexported fields
}
InventoryStocktakingProductlineSearchReader is a Reader for the InventoryStocktakingProductlineSearch structure.
func (*InventoryStocktakingProductlineSearchReader) ReadResponse ¶
func (o *InventoryStocktakingProductlineSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- inventory_stocktaking_productline_delete_parameters.go
- inventory_stocktaking_productline_delete_responses.go
- inventory_stocktaking_productline_get_parameters.go
- inventory_stocktaking_productline_get_responses.go
- inventory_stocktaking_productline_post_parameters.go
- inventory_stocktaking_productline_post_responses.go
- inventory_stocktaking_productline_put_parameters.go
- inventory_stocktaking_productline_put_responses.go
- inventory_stocktaking_productline_search_parameters.go
- inventory_stocktaking_productline_search_responses.go
- productline_client.go