Documentation ¶
Index ¶
- type Client
- func (a *Client) PurchaseOrderDeviationApproveApprove(params *PurchaseOrderDeviationApproveApproveParams, ...) (*PurchaseOrderDeviationApproveApproveOK, error)
- func (a *Client) PurchaseOrderDeviationDelete(params *PurchaseOrderDeviationDeleteParams, ...) error
- func (a *Client) PurchaseOrderDeviationDeliverDeliver(params *PurchaseOrderDeviationDeliverDeliverParams, ...) (*PurchaseOrderDeviationDeliverDeliverOK, error)
- func (a *Client) PurchaseOrderDeviationGet(params *PurchaseOrderDeviationGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationGetOK, error)
- func (a *Client) PurchaseOrderDeviationListPostList(params *PurchaseOrderDeviationListPostListParams, ...) (*PurchaseOrderDeviationListPostListCreated, error)
- func (a *Client) PurchaseOrderDeviationListPutList(params *PurchaseOrderDeviationListPutListParams, ...) (*PurchaseOrderDeviationListPutListOK, error)
- func (a *Client) PurchaseOrderDeviationPost(params *PurchaseOrderDeviationPostParams, ...) (*PurchaseOrderDeviationPostCreated, error)
- func (a *Client) PurchaseOrderDeviationPut(params *PurchaseOrderDeviationPutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationPutOK, error)
- func (a *Client) PurchaseOrderDeviationSearch(params *PurchaseOrderDeviationSearchParams, ...) (*PurchaseOrderDeviationSearchOK, error)
- func (a *Client) PurchaseOrderDeviationUndeliverUndeliver(params *PurchaseOrderDeviationUndeliverUndeliverParams, ...) (*PurchaseOrderDeviationUndeliverUndeliverOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PurchaseOrderDeviationApproveApproveOK
- type PurchaseOrderDeviationApproveApproveParams
- func NewPurchaseOrderDeviationApproveApproveParams() *PurchaseOrderDeviationApproveApproveParams
- func NewPurchaseOrderDeviationApproveApproveParamsWithContext(ctx context.Context) *PurchaseOrderDeviationApproveApproveParams
- func NewPurchaseOrderDeviationApproveApproveParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationApproveApproveParams
- func NewPurchaseOrderDeviationApproveApproveParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationApproveApproveParams
- func (o *PurchaseOrderDeviationApproveApproveParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderDeviationApproveApproveParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderDeviationApproveApproveParams) SetID(id int32)
- func (o *PurchaseOrderDeviationApproveApproveParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderDeviationApproveApproveParams) WithContext(ctx context.Context) *PurchaseOrderDeviationApproveApproveParams
- func (o *PurchaseOrderDeviationApproveApproveParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationApproveApproveParams
- func (o *PurchaseOrderDeviationApproveApproveParams) WithID(id int32) *PurchaseOrderDeviationApproveApproveParams
- func (o *PurchaseOrderDeviationApproveApproveParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationApproveApproveParams
- func (o *PurchaseOrderDeviationApproveApproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderDeviationApproveApproveReader
- type PurchaseOrderDeviationDeleteDefault
- type PurchaseOrderDeviationDeleteParams
- func NewPurchaseOrderDeviationDeleteParams() *PurchaseOrderDeviationDeleteParams
- func NewPurchaseOrderDeviationDeleteParamsWithContext(ctx context.Context) *PurchaseOrderDeviationDeleteParams
- func NewPurchaseOrderDeviationDeleteParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationDeleteParams
- func NewPurchaseOrderDeviationDeleteParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationDeleteParams
- func (o *PurchaseOrderDeviationDeleteParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderDeviationDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderDeviationDeleteParams) SetID(id int32)
- func (o *PurchaseOrderDeviationDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderDeviationDeleteParams) WithContext(ctx context.Context) *PurchaseOrderDeviationDeleteParams
- func (o *PurchaseOrderDeviationDeleteParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationDeleteParams
- func (o *PurchaseOrderDeviationDeleteParams) WithID(id int32) *PurchaseOrderDeviationDeleteParams
- func (o *PurchaseOrderDeviationDeleteParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationDeleteParams
- func (o *PurchaseOrderDeviationDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderDeviationDeleteReader
- type PurchaseOrderDeviationDeliverDeliverOK
- type PurchaseOrderDeviationDeliverDeliverParams
- func NewPurchaseOrderDeviationDeliverDeliverParams() *PurchaseOrderDeviationDeliverDeliverParams
- func NewPurchaseOrderDeviationDeliverDeliverParamsWithContext(ctx context.Context) *PurchaseOrderDeviationDeliverDeliverParams
- func NewPurchaseOrderDeviationDeliverDeliverParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationDeliverDeliverParams
- func NewPurchaseOrderDeviationDeliverDeliverParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationDeliverDeliverParams
- func (o *PurchaseOrderDeviationDeliverDeliverParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderDeviationDeliverDeliverParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderDeviationDeliverDeliverParams) SetID(id int32)
- func (o *PurchaseOrderDeviationDeliverDeliverParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderDeviationDeliverDeliverParams) WithContext(ctx context.Context) *PurchaseOrderDeviationDeliverDeliverParams
- func (o *PurchaseOrderDeviationDeliverDeliverParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationDeliverDeliverParams
- func (o *PurchaseOrderDeviationDeliverDeliverParams) WithID(id int32) *PurchaseOrderDeviationDeliverDeliverParams
- func (o *PurchaseOrderDeviationDeliverDeliverParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationDeliverDeliverParams
- func (o *PurchaseOrderDeviationDeliverDeliverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderDeviationDeliverDeliverReader
- type PurchaseOrderDeviationGetOK
- type PurchaseOrderDeviationGetParams
- func NewPurchaseOrderDeviationGetParams() *PurchaseOrderDeviationGetParams
- func NewPurchaseOrderDeviationGetParamsWithContext(ctx context.Context) *PurchaseOrderDeviationGetParams
- func NewPurchaseOrderDeviationGetParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationGetParams
- func NewPurchaseOrderDeviationGetParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationGetParams
- func (o *PurchaseOrderDeviationGetParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderDeviationGetParams) SetFields(fields *string)
- func (o *PurchaseOrderDeviationGetParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderDeviationGetParams) SetID(id int32)
- func (o *PurchaseOrderDeviationGetParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderDeviationGetParams) WithContext(ctx context.Context) *PurchaseOrderDeviationGetParams
- func (o *PurchaseOrderDeviationGetParams) WithFields(fields *string) *PurchaseOrderDeviationGetParams
- func (o *PurchaseOrderDeviationGetParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationGetParams
- func (o *PurchaseOrderDeviationGetParams) WithID(id int32) *PurchaseOrderDeviationGetParams
- func (o *PurchaseOrderDeviationGetParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationGetParams
- func (o *PurchaseOrderDeviationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderDeviationGetReader
- type PurchaseOrderDeviationListPostListCreated
- type PurchaseOrderDeviationListPostListParams
- func NewPurchaseOrderDeviationListPostListParams() *PurchaseOrderDeviationListPostListParams
- func NewPurchaseOrderDeviationListPostListParamsWithContext(ctx context.Context) *PurchaseOrderDeviationListPostListParams
- func NewPurchaseOrderDeviationListPostListParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationListPostListParams
- func NewPurchaseOrderDeviationListPostListParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationListPostListParams
- func (o *PurchaseOrderDeviationListPostListParams) SetBody(body []*models.Deviation)
- func (o *PurchaseOrderDeviationListPostListParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderDeviationListPostListParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderDeviationListPostListParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderDeviationListPostListParams) WithBody(body []*models.Deviation) *PurchaseOrderDeviationListPostListParams
- func (o *PurchaseOrderDeviationListPostListParams) WithContext(ctx context.Context) *PurchaseOrderDeviationListPostListParams
- func (o *PurchaseOrderDeviationListPostListParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationListPostListParams
- func (o *PurchaseOrderDeviationListPostListParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationListPostListParams
- func (o *PurchaseOrderDeviationListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderDeviationListPostListReader
- type PurchaseOrderDeviationListPutListOK
- type PurchaseOrderDeviationListPutListParams
- func NewPurchaseOrderDeviationListPutListParams() *PurchaseOrderDeviationListPutListParams
- func NewPurchaseOrderDeviationListPutListParamsWithContext(ctx context.Context) *PurchaseOrderDeviationListPutListParams
- func NewPurchaseOrderDeviationListPutListParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationListPutListParams
- func NewPurchaseOrderDeviationListPutListParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationListPutListParams
- func (o *PurchaseOrderDeviationListPutListParams) SetBody(body []*models.Deviation)
- func (o *PurchaseOrderDeviationListPutListParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderDeviationListPutListParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderDeviationListPutListParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderDeviationListPutListParams) WithBody(body []*models.Deviation) *PurchaseOrderDeviationListPutListParams
- func (o *PurchaseOrderDeviationListPutListParams) WithContext(ctx context.Context) *PurchaseOrderDeviationListPutListParams
- func (o *PurchaseOrderDeviationListPutListParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationListPutListParams
- func (o *PurchaseOrderDeviationListPutListParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationListPutListParams
- func (o *PurchaseOrderDeviationListPutListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderDeviationListPutListReader
- type PurchaseOrderDeviationPostCreated
- type PurchaseOrderDeviationPostParams
- func NewPurchaseOrderDeviationPostParams() *PurchaseOrderDeviationPostParams
- func NewPurchaseOrderDeviationPostParamsWithContext(ctx context.Context) *PurchaseOrderDeviationPostParams
- func NewPurchaseOrderDeviationPostParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationPostParams
- func NewPurchaseOrderDeviationPostParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationPostParams
- func (o *PurchaseOrderDeviationPostParams) SetBody(body *models.Deviation)
- func (o *PurchaseOrderDeviationPostParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderDeviationPostParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderDeviationPostParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderDeviationPostParams) WithBody(body *models.Deviation) *PurchaseOrderDeviationPostParams
- func (o *PurchaseOrderDeviationPostParams) WithContext(ctx context.Context) *PurchaseOrderDeviationPostParams
- func (o *PurchaseOrderDeviationPostParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationPostParams
- func (o *PurchaseOrderDeviationPostParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationPostParams
- func (o *PurchaseOrderDeviationPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderDeviationPostReader
- type PurchaseOrderDeviationPutOK
- type PurchaseOrderDeviationPutParams
- func NewPurchaseOrderDeviationPutParams() *PurchaseOrderDeviationPutParams
- func NewPurchaseOrderDeviationPutParamsWithContext(ctx context.Context) *PurchaseOrderDeviationPutParams
- func NewPurchaseOrderDeviationPutParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationPutParams
- func NewPurchaseOrderDeviationPutParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationPutParams
- func (o *PurchaseOrderDeviationPutParams) SetBody(body *models.Deviation)
- func (o *PurchaseOrderDeviationPutParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderDeviationPutParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderDeviationPutParams) SetID(id int32)
- func (o *PurchaseOrderDeviationPutParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderDeviationPutParams) WithBody(body *models.Deviation) *PurchaseOrderDeviationPutParams
- func (o *PurchaseOrderDeviationPutParams) WithContext(ctx context.Context) *PurchaseOrderDeviationPutParams
- func (o *PurchaseOrderDeviationPutParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationPutParams
- func (o *PurchaseOrderDeviationPutParams) WithID(id int32) *PurchaseOrderDeviationPutParams
- func (o *PurchaseOrderDeviationPutParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationPutParams
- func (o *PurchaseOrderDeviationPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderDeviationPutReader
- type PurchaseOrderDeviationSearchOK
- type PurchaseOrderDeviationSearchParams
- func NewPurchaseOrderDeviationSearchParams() *PurchaseOrderDeviationSearchParams
- func NewPurchaseOrderDeviationSearchParamsWithContext(ctx context.Context) *PurchaseOrderDeviationSearchParams
- func NewPurchaseOrderDeviationSearchParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationSearchParams
- func NewPurchaseOrderDeviationSearchParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationSearchParams
- func (o *PurchaseOrderDeviationSearchParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderDeviationSearchParams) SetCount(count *int64)
- func (o *PurchaseOrderDeviationSearchParams) SetFields(fields *string)
- func (o *PurchaseOrderDeviationSearchParams) SetFrom(from *int64)
- func (o *PurchaseOrderDeviationSearchParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderDeviationSearchParams) SetPurchaseOrderID(purchaseOrderID int32)
- func (o *PurchaseOrderDeviationSearchParams) SetSorting(sorting *string)
- func (o *PurchaseOrderDeviationSearchParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderDeviationSearchParams) WithContext(ctx context.Context) *PurchaseOrderDeviationSearchParams
- func (o *PurchaseOrderDeviationSearchParams) WithCount(count *int64) *PurchaseOrderDeviationSearchParams
- func (o *PurchaseOrderDeviationSearchParams) WithFields(fields *string) *PurchaseOrderDeviationSearchParams
- func (o *PurchaseOrderDeviationSearchParams) WithFrom(from *int64) *PurchaseOrderDeviationSearchParams
- func (o *PurchaseOrderDeviationSearchParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationSearchParams
- func (o *PurchaseOrderDeviationSearchParams) WithPurchaseOrderID(purchaseOrderID int32) *PurchaseOrderDeviationSearchParams
- func (o *PurchaseOrderDeviationSearchParams) WithSorting(sorting *string) *PurchaseOrderDeviationSearchParams
- func (o *PurchaseOrderDeviationSearchParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationSearchParams
- func (o *PurchaseOrderDeviationSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderDeviationSearchReader
- type PurchaseOrderDeviationUndeliverUndeliverOK
- type PurchaseOrderDeviationUndeliverUndeliverParams
- func NewPurchaseOrderDeviationUndeliverUndeliverParams() *PurchaseOrderDeviationUndeliverUndeliverParams
- func NewPurchaseOrderDeviationUndeliverUndeliverParamsWithContext(ctx context.Context) *PurchaseOrderDeviationUndeliverUndeliverParams
- func NewPurchaseOrderDeviationUndeliverUndeliverParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationUndeliverUndeliverParams
- func NewPurchaseOrderDeviationUndeliverUndeliverParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationUndeliverUndeliverParams
- func (o *PurchaseOrderDeviationUndeliverUndeliverParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderDeviationUndeliverUndeliverParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderDeviationUndeliverUndeliverParams) SetID(id int32)
- func (o *PurchaseOrderDeviationUndeliverUndeliverParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderDeviationUndeliverUndeliverParams) WithContext(ctx context.Context) *PurchaseOrderDeviationUndeliverUndeliverParams
- func (o *PurchaseOrderDeviationUndeliverUndeliverParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationUndeliverUndeliverParams
- func (o *PurchaseOrderDeviationUndeliverUndeliverParams) WithID(id int32) *PurchaseOrderDeviationUndeliverUndeliverParams
- func (o *PurchaseOrderDeviationUndeliverUndeliverParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationUndeliverUndeliverParams
- func (o *PurchaseOrderDeviationUndeliverUndeliverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderDeviationUndeliverUndeliverReader
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 deviation API
func (*Client) PurchaseOrderDeviationApproveApprove ¶
func (a *Client) PurchaseOrderDeviationApproveApprove(params *PurchaseOrderDeviationApproveApproveParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationApproveApproveOK, error)
PurchaseOrderDeviationApproveApprove bs e t a approve deviations only available for users that have activated the logistics plus beta program in our customer account
func (*Client) PurchaseOrderDeviationDelete ¶
func (a *Client) PurchaseOrderDeviationDelete(params *PurchaseOrderDeviationDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
PurchaseOrderDeviationDelete bs e t a delete goods receipt by purchase order ID only available for users that have activated the logistics plus beta program in our customer account
func (*Client) PurchaseOrderDeviationDeliverDeliver ¶
func (a *Client) PurchaseOrderDeviationDeliverDeliver(params *PurchaseOrderDeviationDeliverDeliverParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationDeliverDeliverOK, error)
PurchaseOrderDeviationDeliverDeliver bs e t a send deviations to approval only available for users that have activated the logistics plus beta program in our customer account
func (*Client) PurchaseOrderDeviationGet ¶
func (a *Client) PurchaseOrderDeviationGet(params *PurchaseOrderDeviationGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationGetOK, error)
PurchaseOrderDeviationGet bs e t a get deviation by order line ID only available for users that have activated the logistics plus beta program in our customer account
func (*Client) PurchaseOrderDeviationListPostList ¶
func (a *Client) PurchaseOrderDeviationListPostList(params *PurchaseOrderDeviationListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationListPostListCreated, error)
PurchaseOrderDeviationListPostList bs e t a register multiple deviations only available for users that have activated the logistics plus beta program in our customer account
func (*Client) PurchaseOrderDeviationListPutList ¶
func (a *Client) PurchaseOrderDeviationListPutList(params *PurchaseOrderDeviationListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationListPutListOK, error)
PurchaseOrderDeviationListPutList bs e t a update multiple deviations only available for users that have activated the logistics plus beta program in our customer account
func (*Client) PurchaseOrderDeviationPost ¶
func (a *Client) PurchaseOrderDeviationPost(params *PurchaseOrderDeviationPostParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationPostCreated, error)
PurchaseOrderDeviationPost bs e t a register deviation on goods receipt only available for users that have activated the logistics plus beta program in our customer account
func (*Client) PurchaseOrderDeviationPut ¶
func (a *Client) PurchaseOrderDeviationPut(params *PurchaseOrderDeviationPutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationPutOK, error)
PurchaseOrderDeviationPut updates deviation only available for users that have activated the logistics plus beta program in our customer account
func (*Client) PurchaseOrderDeviationSearch ¶
func (a *Client) PurchaseOrderDeviationSearch(params *PurchaseOrderDeviationSearchParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationSearchOK, error)
PurchaseOrderDeviationSearch bs e t a find handled deviations for purchase order only available for users that have activated the logistics plus beta program in our customer account
func (*Client) PurchaseOrderDeviationUndeliverUndeliver ¶
func (a *Client) PurchaseOrderDeviationUndeliverUndeliver(params *PurchaseOrderDeviationUndeliverUndeliverParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationUndeliverUndeliverOK, error)
PurchaseOrderDeviationUndeliverUndeliver bs e t a undeliver the deviations only available for users that have activated the logistics plus beta program in our customer account
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { PurchaseOrderDeviationApproveApprove(params *PurchaseOrderDeviationApproveApproveParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationApproveApproveOK, error) PurchaseOrderDeviationDeliverDeliver(params *PurchaseOrderDeviationDeliverDeliverParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationDeliverDeliverOK, error) PurchaseOrderDeviationListPostList(params *PurchaseOrderDeviationListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationListPostListCreated, error) PurchaseOrderDeviationListPutList(params *PurchaseOrderDeviationListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationListPutListOK, error) PurchaseOrderDeviationUndeliverUndeliver(params *PurchaseOrderDeviationUndeliverUndeliverParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationUndeliverUndeliverOK, error) PurchaseOrderDeviationDelete(params *PurchaseOrderDeviationDeleteParams, authInfo runtime.ClientAuthInfoWriter) error PurchaseOrderDeviationGet(params *PurchaseOrderDeviationGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationGetOK, error) PurchaseOrderDeviationPost(params *PurchaseOrderDeviationPostParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationPostCreated, error) PurchaseOrderDeviationPut(params *PurchaseOrderDeviationPutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationPutOK, error) PurchaseOrderDeviationSearch(params *PurchaseOrderDeviationSearchParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderDeviationSearchOK, 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 deviation API client.
type PurchaseOrderDeviationApproveApproveOK ¶
type PurchaseOrderDeviationApproveApproveOK struct {
Payload *models.ResponseWrapperPurchaseOrder
}
PurchaseOrderDeviationApproveApproveOK handles this case with default header values.
successful operation
func NewPurchaseOrderDeviationApproveApproveOK ¶
func NewPurchaseOrderDeviationApproveApproveOK() *PurchaseOrderDeviationApproveApproveOK
NewPurchaseOrderDeviationApproveApproveOK creates a PurchaseOrderDeviationApproveApproveOK with default headers values
func (*PurchaseOrderDeviationApproveApproveOK) Error ¶
func (o *PurchaseOrderDeviationApproveApproveOK) Error() string
func (*PurchaseOrderDeviationApproveApproveOK) GetPayload ¶
func (o *PurchaseOrderDeviationApproveApproveOK) GetPayload() *models.ResponseWrapperPurchaseOrder
type PurchaseOrderDeviationApproveApproveParams ¶
type PurchaseOrderDeviationApproveApproveParams struct { /*ID Purchase Order ID. */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderDeviationApproveApproveParams contains all the parameters to send to the API endpoint for the purchase order deviation approve approve operation typically these are written to a http.Request
func NewPurchaseOrderDeviationApproveApproveParams ¶
func NewPurchaseOrderDeviationApproveApproveParams() *PurchaseOrderDeviationApproveApproveParams
NewPurchaseOrderDeviationApproveApproveParams creates a new PurchaseOrderDeviationApproveApproveParams object with the default values initialized.
func NewPurchaseOrderDeviationApproveApproveParamsWithContext ¶
func NewPurchaseOrderDeviationApproveApproveParamsWithContext(ctx context.Context) *PurchaseOrderDeviationApproveApproveParams
NewPurchaseOrderDeviationApproveApproveParamsWithContext creates a new PurchaseOrderDeviationApproveApproveParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderDeviationApproveApproveParamsWithHTTPClient ¶
func NewPurchaseOrderDeviationApproveApproveParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationApproveApproveParams
NewPurchaseOrderDeviationApproveApproveParamsWithHTTPClient creates a new PurchaseOrderDeviationApproveApproveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderDeviationApproveApproveParamsWithTimeout ¶
func NewPurchaseOrderDeviationApproveApproveParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationApproveApproveParams
NewPurchaseOrderDeviationApproveApproveParamsWithTimeout creates a new PurchaseOrderDeviationApproveApproveParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderDeviationApproveApproveParams) SetContext ¶
func (o *PurchaseOrderDeviationApproveApproveParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order deviation approve approve params
func (*PurchaseOrderDeviationApproveApproveParams) SetHTTPClient ¶
func (o *PurchaseOrderDeviationApproveApproveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order deviation approve approve params
func (*PurchaseOrderDeviationApproveApproveParams) SetID ¶
func (o *PurchaseOrderDeviationApproveApproveParams) SetID(id int32)
SetID adds the id to the purchase order deviation approve approve params
func (*PurchaseOrderDeviationApproveApproveParams) SetTimeout ¶
func (o *PurchaseOrderDeviationApproveApproveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order deviation approve approve params
func (*PurchaseOrderDeviationApproveApproveParams) WithContext ¶
func (o *PurchaseOrderDeviationApproveApproveParams) WithContext(ctx context.Context) *PurchaseOrderDeviationApproveApproveParams
WithContext adds the context to the purchase order deviation approve approve params
func (*PurchaseOrderDeviationApproveApproveParams) WithHTTPClient ¶
func (o *PurchaseOrderDeviationApproveApproveParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationApproveApproveParams
WithHTTPClient adds the HTTPClient to the purchase order deviation approve approve params
func (*PurchaseOrderDeviationApproveApproveParams) WithID ¶
func (o *PurchaseOrderDeviationApproveApproveParams) WithID(id int32) *PurchaseOrderDeviationApproveApproveParams
WithID adds the id to the purchase order deviation approve approve params
func (*PurchaseOrderDeviationApproveApproveParams) WithTimeout ¶
func (o *PurchaseOrderDeviationApproveApproveParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationApproveApproveParams
WithTimeout adds the timeout to the purchase order deviation approve approve params
func (*PurchaseOrderDeviationApproveApproveParams) WriteToRequest ¶
func (o *PurchaseOrderDeviationApproveApproveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderDeviationApproveApproveReader ¶
type PurchaseOrderDeviationApproveApproveReader struct {
// contains filtered or unexported fields
}
PurchaseOrderDeviationApproveApproveReader is a Reader for the PurchaseOrderDeviationApproveApprove structure.
func (*PurchaseOrderDeviationApproveApproveReader) ReadResponse ¶
func (o *PurchaseOrderDeviationApproveApproveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderDeviationDeleteDefault ¶
type PurchaseOrderDeviationDeleteDefault struct {
// contains filtered or unexported fields
}
PurchaseOrderDeviationDeleteDefault handles this case with default header values.
successful operation
func NewPurchaseOrderDeviationDeleteDefault ¶
func NewPurchaseOrderDeviationDeleteDefault(code int) *PurchaseOrderDeviationDeleteDefault
NewPurchaseOrderDeviationDeleteDefault creates a PurchaseOrderDeviationDeleteDefault with default headers values
func (*PurchaseOrderDeviationDeleteDefault) Code ¶
func (o *PurchaseOrderDeviationDeleteDefault) Code() int
Code gets the status code for the purchase order deviation delete default response
func (*PurchaseOrderDeviationDeleteDefault) Error ¶
func (o *PurchaseOrderDeviationDeleteDefault) Error() string
type PurchaseOrderDeviationDeleteParams ¶
type PurchaseOrderDeviationDeleteParams struct { /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderDeviationDeleteParams contains all the parameters to send to the API endpoint for the purchase order deviation delete operation typically these are written to a http.Request
func NewPurchaseOrderDeviationDeleteParams ¶
func NewPurchaseOrderDeviationDeleteParams() *PurchaseOrderDeviationDeleteParams
NewPurchaseOrderDeviationDeleteParams creates a new PurchaseOrderDeviationDeleteParams object with the default values initialized.
func NewPurchaseOrderDeviationDeleteParamsWithContext ¶
func NewPurchaseOrderDeviationDeleteParamsWithContext(ctx context.Context) *PurchaseOrderDeviationDeleteParams
NewPurchaseOrderDeviationDeleteParamsWithContext creates a new PurchaseOrderDeviationDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderDeviationDeleteParamsWithHTTPClient ¶
func NewPurchaseOrderDeviationDeleteParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationDeleteParams
NewPurchaseOrderDeviationDeleteParamsWithHTTPClient creates a new PurchaseOrderDeviationDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderDeviationDeleteParamsWithTimeout ¶
func NewPurchaseOrderDeviationDeleteParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationDeleteParams
NewPurchaseOrderDeviationDeleteParamsWithTimeout creates a new PurchaseOrderDeviationDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderDeviationDeleteParams) SetContext ¶
func (o *PurchaseOrderDeviationDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order deviation delete params
func (*PurchaseOrderDeviationDeleteParams) SetHTTPClient ¶
func (o *PurchaseOrderDeviationDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order deviation delete params
func (*PurchaseOrderDeviationDeleteParams) SetID ¶
func (o *PurchaseOrderDeviationDeleteParams) SetID(id int32)
SetID adds the id to the purchase order deviation delete params
func (*PurchaseOrderDeviationDeleteParams) SetTimeout ¶
func (o *PurchaseOrderDeviationDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order deviation delete params
func (*PurchaseOrderDeviationDeleteParams) WithContext ¶
func (o *PurchaseOrderDeviationDeleteParams) WithContext(ctx context.Context) *PurchaseOrderDeviationDeleteParams
WithContext adds the context to the purchase order deviation delete params
func (*PurchaseOrderDeviationDeleteParams) WithHTTPClient ¶
func (o *PurchaseOrderDeviationDeleteParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationDeleteParams
WithHTTPClient adds the HTTPClient to the purchase order deviation delete params
func (*PurchaseOrderDeviationDeleteParams) WithID ¶
func (o *PurchaseOrderDeviationDeleteParams) WithID(id int32) *PurchaseOrderDeviationDeleteParams
WithID adds the id to the purchase order deviation delete params
func (*PurchaseOrderDeviationDeleteParams) WithTimeout ¶
func (o *PurchaseOrderDeviationDeleteParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationDeleteParams
WithTimeout adds the timeout to the purchase order deviation delete params
func (*PurchaseOrderDeviationDeleteParams) WriteToRequest ¶
func (o *PurchaseOrderDeviationDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderDeviationDeleteReader ¶
type PurchaseOrderDeviationDeleteReader struct {
// contains filtered or unexported fields
}
PurchaseOrderDeviationDeleteReader is a Reader for the PurchaseOrderDeviationDelete structure.
func (*PurchaseOrderDeviationDeleteReader) ReadResponse ¶
func (o *PurchaseOrderDeviationDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderDeviationDeliverDeliverOK ¶
type PurchaseOrderDeviationDeliverDeliverOK struct {
Payload *models.ResponseWrapperPurchaseOrder
}
PurchaseOrderDeviationDeliverDeliverOK handles this case with default header values.
successful operation
func NewPurchaseOrderDeviationDeliverDeliverOK ¶
func NewPurchaseOrderDeviationDeliverDeliverOK() *PurchaseOrderDeviationDeliverDeliverOK
NewPurchaseOrderDeviationDeliverDeliverOK creates a PurchaseOrderDeviationDeliverDeliverOK with default headers values
func (*PurchaseOrderDeviationDeliverDeliverOK) Error ¶
func (o *PurchaseOrderDeviationDeliverDeliverOK) Error() string
func (*PurchaseOrderDeviationDeliverDeliverOK) GetPayload ¶
func (o *PurchaseOrderDeviationDeliverDeliverOK) GetPayload() *models.ResponseWrapperPurchaseOrder
type PurchaseOrderDeviationDeliverDeliverParams ¶
type PurchaseOrderDeviationDeliverDeliverParams struct { /*ID Purchase Order ID. */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderDeviationDeliverDeliverParams contains all the parameters to send to the API endpoint for the purchase order deviation deliver deliver operation typically these are written to a http.Request
func NewPurchaseOrderDeviationDeliverDeliverParams ¶
func NewPurchaseOrderDeviationDeliverDeliverParams() *PurchaseOrderDeviationDeliverDeliverParams
NewPurchaseOrderDeviationDeliverDeliverParams creates a new PurchaseOrderDeviationDeliverDeliverParams object with the default values initialized.
func NewPurchaseOrderDeviationDeliverDeliverParamsWithContext ¶
func NewPurchaseOrderDeviationDeliverDeliverParamsWithContext(ctx context.Context) *PurchaseOrderDeviationDeliverDeliverParams
NewPurchaseOrderDeviationDeliverDeliverParamsWithContext creates a new PurchaseOrderDeviationDeliverDeliverParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderDeviationDeliverDeliverParamsWithHTTPClient ¶
func NewPurchaseOrderDeviationDeliverDeliverParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationDeliverDeliverParams
NewPurchaseOrderDeviationDeliverDeliverParamsWithHTTPClient creates a new PurchaseOrderDeviationDeliverDeliverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderDeviationDeliverDeliverParamsWithTimeout ¶
func NewPurchaseOrderDeviationDeliverDeliverParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationDeliverDeliverParams
NewPurchaseOrderDeviationDeliverDeliverParamsWithTimeout creates a new PurchaseOrderDeviationDeliverDeliverParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderDeviationDeliverDeliverParams) SetContext ¶
func (o *PurchaseOrderDeviationDeliverDeliverParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order deviation deliver deliver params
func (*PurchaseOrderDeviationDeliverDeliverParams) SetHTTPClient ¶
func (o *PurchaseOrderDeviationDeliverDeliverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order deviation deliver deliver params
func (*PurchaseOrderDeviationDeliverDeliverParams) SetID ¶
func (o *PurchaseOrderDeviationDeliverDeliverParams) SetID(id int32)
SetID adds the id to the purchase order deviation deliver deliver params
func (*PurchaseOrderDeviationDeliverDeliverParams) SetTimeout ¶
func (o *PurchaseOrderDeviationDeliverDeliverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order deviation deliver deliver params
func (*PurchaseOrderDeviationDeliverDeliverParams) WithContext ¶
func (o *PurchaseOrderDeviationDeliverDeliverParams) WithContext(ctx context.Context) *PurchaseOrderDeviationDeliverDeliverParams
WithContext adds the context to the purchase order deviation deliver deliver params
func (*PurchaseOrderDeviationDeliverDeliverParams) WithHTTPClient ¶
func (o *PurchaseOrderDeviationDeliverDeliverParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationDeliverDeliverParams
WithHTTPClient adds the HTTPClient to the purchase order deviation deliver deliver params
func (*PurchaseOrderDeviationDeliverDeliverParams) WithID ¶
func (o *PurchaseOrderDeviationDeliverDeliverParams) WithID(id int32) *PurchaseOrderDeviationDeliverDeliverParams
WithID adds the id to the purchase order deviation deliver deliver params
func (*PurchaseOrderDeviationDeliverDeliverParams) WithTimeout ¶
func (o *PurchaseOrderDeviationDeliverDeliverParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationDeliverDeliverParams
WithTimeout adds the timeout to the purchase order deviation deliver deliver params
func (*PurchaseOrderDeviationDeliverDeliverParams) WriteToRequest ¶
func (o *PurchaseOrderDeviationDeliverDeliverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderDeviationDeliverDeliverReader ¶
type PurchaseOrderDeviationDeliverDeliverReader struct {
// contains filtered or unexported fields
}
PurchaseOrderDeviationDeliverDeliverReader is a Reader for the PurchaseOrderDeviationDeliverDeliver structure.
func (*PurchaseOrderDeviationDeliverDeliverReader) ReadResponse ¶
func (o *PurchaseOrderDeviationDeliverDeliverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderDeviationGetOK ¶
type PurchaseOrderDeviationGetOK struct {
Payload *models.ResponseWrapperDeviation
}
PurchaseOrderDeviationGetOK handles this case with default header values.
successful operation
func NewPurchaseOrderDeviationGetOK ¶
func NewPurchaseOrderDeviationGetOK() *PurchaseOrderDeviationGetOK
NewPurchaseOrderDeviationGetOK creates a PurchaseOrderDeviationGetOK with default headers values
func (*PurchaseOrderDeviationGetOK) Error ¶
func (o *PurchaseOrderDeviationGetOK) Error() string
func (*PurchaseOrderDeviationGetOK) GetPayload ¶
func (o *PurchaseOrderDeviationGetOK) GetPayload() *models.ResponseWrapperDeviation
type PurchaseOrderDeviationGetParams ¶
type PurchaseOrderDeviationGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderDeviationGetParams contains all the parameters to send to the API endpoint for the purchase order deviation get operation typically these are written to a http.Request
func NewPurchaseOrderDeviationGetParams ¶
func NewPurchaseOrderDeviationGetParams() *PurchaseOrderDeviationGetParams
NewPurchaseOrderDeviationGetParams creates a new PurchaseOrderDeviationGetParams object with the default values initialized.
func NewPurchaseOrderDeviationGetParamsWithContext ¶
func NewPurchaseOrderDeviationGetParamsWithContext(ctx context.Context) *PurchaseOrderDeviationGetParams
NewPurchaseOrderDeviationGetParamsWithContext creates a new PurchaseOrderDeviationGetParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderDeviationGetParamsWithHTTPClient ¶
func NewPurchaseOrderDeviationGetParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationGetParams
NewPurchaseOrderDeviationGetParamsWithHTTPClient creates a new PurchaseOrderDeviationGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderDeviationGetParamsWithTimeout ¶
func NewPurchaseOrderDeviationGetParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationGetParams
NewPurchaseOrderDeviationGetParamsWithTimeout creates a new PurchaseOrderDeviationGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderDeviationGetParams) SetContext ¶
func (o *PurchaseOrderDeviationGetParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order deviation get params
func (*PurchaseOrderDeviationGetParams) SetFields ¶
func (o *PurchaseOrderDeviationGetParams) SetFields(fields *string)
SetFields adds the fields to the purchase order deviation get params
func (*PurchaseOrderDeviationGetParams) SetHTTPClient ¶
func (o *PurchaseOrderDeviationGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order deviation get params
func (*PurchaseOrderDeviationGetParams) SetID ¶
func (o *PurchaseOrderDeviationGetParams) SetID(id int32)
SetID adds the id to the purchase order deviation get params
func (*PurchaseOrderDeviationGetParams) SetTimeout ¶
func (o *PurchaseOrderDeviationGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order deviation get params
func (*PurchaseOrderDeviationGetParams) WithContext ¶
func (o *PurchaseOrderDeviationGetParams) WithContext(ctx context.Context) *PurchaseOrderDeviationGetParams
WithContext adds the context to the purchase order deviation get params
func (*PurchaseOrderDeviationGetParams) WithFields ¶
func (o *PurchaseOrderDeviationGetParams) WithFields(fields *string) *PurchaseOrderDeviationGetParams
WithFields adds the fields to the purchase order deviation get params
func (*PurchaseOrderDeviationGetParams) WithHTTPClient ¶
func (o *PurchaseOrderDeviationGetParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationGetParams
WithHTTPClient adds the HTTPClient to the purchase order deviation get params
func (*PurchaseOrderDeviationGetParams) WithID ¶
func (o *PurchaseOrderDeviationGetParams) WithID(id int32) *PurchaseOrderDeviationGetParams
WithID adds the id to the purchase order deviation get params
func (*PurchaseOrderDeviationGetParams) WithTimeout ¶
func (o *PurchaseOrderDeviationGetParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationGetParams
WithTimeout adds the timeout to the purchase order deviation get params
func (*PurchaseOrderDeviationGetParams) WriteToRequest ¶
func (o *PurchaseOrderDeviationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderDeviationGetReader ¶
type PurchaseOrderDeviationGetReader struct {
// contains filtered or unexported fields
}
PurchaseOrderDeviationGetReader is a Reader for the PurchaseOrderDeviationGet structure.
func (*PurchaseOrderDeviationGetReader) ReadResponse ¶
func (o *PurchaseOrderDeviationGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderDeviationListPostListCreated ¶
type PurchaseOrderDeviationListPostListCreated struct {
Payload *models.ListResponseDeviation
}
PurchaseOrderDeviationListPostListCreated handles this case with default header values.
successfully created
func NewPurchaseOrderDeviationListPostListCreated ¶
func NewPurchaseOrderDeviationListPostListCreated() *PurchaseOrderDeviationListPostListCreated
NewPurchaseOrderDeviationListPostListCreated creates a PurchaseOrderDeviationListPostListCreated with default headers values
func (*PurchaseOrderDeviationListPostListCreated) Error ¶
func (o *PurchaseOrderDeviationListPostListCreated) Error() string
func (*PurchaseOrderDeviationListPostListCreated) GetPayload ¶
func (o *PurchaseOrderDeviationListPostListCreated) GetPayload() *models.ListResponseDeviation
type PurchaseOrderDeviationListPostListParams ¶
type PurchaseOrderDeviationListPostListParams struct { /*Body JSON representing a list of new object to be created. Should not have ID and version set. */ Body []*models.Deviation Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderDeviationListPostListParams contains all the parameters to send to the API endpoint for the purchase order deviation list post list operation typically these are written to a http.Request
func NewPurchaseOrderDeviationListPostListParams ¶
func NewPurchaseOrderDeviationListPostListParams() *PurchaseOrderDeviationListPostListParams
NewPurchaseOrderDeviationListPostListParams creates a new PurchaseOrderDeviationListPostListParams object with the default values initialized.
func NewPurchaseOrderDeviationListPostListParamsWithContext ¶
func NewPurchaseOrderDeviationListPostListParamsWithContext(ctx context.Context) *PurchaseOrderDeviationListPostListParams
NewPurchaseOrderDeviationListPostListParamsWithContext creates a new PurchaseOrderDeviationListPostListParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderDeviationListPostListParamsWithHTTPClient ¶
func NewPurchaseOrderDeviationListPostListParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationListPostListParams
NewPurchaseOrderDeviationListPostListParamsWithHTTPClient creates a new PurchaseOrderDeviationListPostListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderDeviationListPostListParamsWithTimeout ¶
func NewPurchaseOrderDeviationListPostListParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationListPostListParams
NewPurchaseOrderDeviationListPostListParamsWithTimeout creates a new PurchaseOrderDeviationListPostListParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderDeviationListPostListParams) SetBody ¶
func (o *PurchaseOrderDeviationListPostListParams) SetBody(body []*models.Deviation)
SetBody adds the body to the purchase order deviation list post list params
func (*PurchaseOrderDeviationListPostListParams) SetContext ¶
func (o *PurchaseOrderDeviationListPostListParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order deviation list post list params
func (*PurchaseOrderDeviationListPostListParams) SetHTTPClient ¶
func (o *PurchaseOrderDeviationListPostListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order deviation list post list params
func (*PurchaseOrderDeviationListPostListParams) SetTimeout ¶
func (o *PurchaseOrderDeviationListPostListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order deviation list post list params
func (*PurchaseOrderDeviationListPostListParams) WithBody ¶
func (o *PurchaseOrderDeviationListPostListParams) WithBody(body []*models.Deviation) *PurchaseOrderDeviationListPostListParams
WithBody adds the body to the purchase order deviation list post list params
func (*PurchaseOrderDeviationListPostListParams) WithContext ¶
func (o *PurchaseOrderDeviationListPostListParams) WithContext(ctx context.Context) *PurchaseOrderDeviationListPostListParams
WithContext adds the context to the purchase order deviation list post list params
func (*PurchaseOrderDeviationListPostListParams) WithHTTPClient ¶
func (o *PurchaseOrderDeviationListPostListParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationListPostListParams
WithHTTPClient adds the HTTPClient to the purchase order deviation list post list params
func (*PurchaseOrderDeviationListPostListParams) WithTimeout ¶
func (o *PurchaseOrderDeviationListPostListParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationListPostListParams
WithTimeout adds the timeout to the purchase order deviation list post list params
func (*PurchaseOrderDeviationListPostListParams) WriteToRequest ¶
func (o *PurchaseOrderDeviationListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderDeviationListPostListReader ¶
type PurchaseOrderDeviationListPostListReader struct {
// contains filtered or unexported fields
}
PurchaseOrderDeviationListPostListReader is a Reader for the PurchaseOrderDeviationListPostList structure.
func (*PurchaseOrderDeviationListPostListReader) ReadResponse ¶
func (o *PurchaseOrderDeviationListPostListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderDeviationListPutListOK ¶
type PurchaseOrderDeviationListPutListOK struct {
Payload *models.ListResponseDeviation
}
PurchaseOrderDeviationListPutListOK handles this case with default header values.
successful operation
func NewPurchaseOrderDeviationListPutListOK ¶
func NewPurchaseOrderDeviationListPutListOK() *PurchaseOrderDeviationListPutListOK
NewPurchaseOrderDeviationListPutListOK creates a PurchaseOrderDeviationListPutListOK with default headers values
func (*PurchaseOrderDeviationListPutListOK) Error ¶
func (o *PurchaseOrderDeviationListPutListOK) Error() string
func (*PurchaseOrderDeviationListPutListOK) GetPayload ¶
func (o *PurchaseOrderDeviationListPutListOK) GetPayload() *models.ListResponseDeviation
type PurchaseOrderDeviationListPutListParams ¶
type PurchaseOrderDeviationListPutListParams struct { /*Body JSON representing updates to object. Should have ID and version set. */ Body []*models.Deviation Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderDeviationListPutListParams contains all the parameters to send to the API endpoint for the purchase order deviation list put list operation typically these are written to a http.Request
func NewPurchaseOrderDeviationListPutListParams ¶
func NewPurchaseOrderDeviationListPutListParams() *PurchaseOrderDeviationListPutListParams
NewPurchaseOrderDeviationListPutListParams creates a new PurchaseOrderDeviationListPutListParams object with the default values initialized.
func NewPurchaseOrderDeviationListPutListParamsWithContext ¶
func NewPurchaseOrderDeviationListPutListParamsWithContext(ctx context.Context) *PurchaseOrderDeviationListPutListParams
NewPurchaseOrderDeviationListPutListParamsWithContext creates a new PurchaseOrderDeviationListPutListParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderDeviationListPutListParamsWithHTTPClient ¶
func NewPurchaseOrderDeviationListPutListParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationListPutListParams
NewPurchaseOrderDeviationListPutListParamsWithHTTPClient creates a new PurchaseOrderDeviationListPutListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderDeviationListPutListParamsWithTimeout ¶
func NewPurchaseOrderDeviationListPutListParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationListPutListParams
NewPurchaseOrderDeviationListPutListParamsWithTimeout creates a new PurchaseOrderDeviationListPutListParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderDeviationListPutListParams) SetBody ¶
func (o *PurchaseOrderDeviationListPutListParams) SetBody(body []*models.Deviation)
SetBody adds the body to the purchase order deviation list put list params
func (*PurchaseOrderDeviationListPutListParams) SetContext ¶
func (o *PurchaseOrderDeviationListPutListParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order deviation list put list params
func (*PurchaseOrderDeviationListPutListParams) SetHTTPClient ¶
func (o *PurchaseOrderDeviationListPutListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order deviation list put list params
func (*PurchaseOrderDeviationListPutListParams) SetTimeout ¶
func (o *PurchaseOrderDeviationListPutListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order deviation list put list params
func (*PurchaseOrderDeviationListPutListParams) WithBody ¶
func (o *PurchaseOrderDeviationListPutListParams) WithBody(body []*models.Deviation) *PurchaseOrderDeviationListPutListParams
WithBody adds the body to the purchase order deviation list put list params
func (*PurchaseOrderDeviationListPutListParams) WithContext ¶
func (o *PurchaseOrderDeviationListPutListParams) WithContext(ctx context.Context) *PurchaseOrderDeviationListPutListParams
WithContext adds the context to the purchase order deviation list put list params
func (*PurchaseOrderDeviationListPutListParams) WithHTTPClient ¶
func (o *PurchaseOrderDeviationListPutListParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationListPutListParams
WithHTTPClient adds the HTTPClient to the purchase order deviation list put list params
func (*PurchaseOrderDeviationListPutListParams) WithTimeout ¶
func (o *PurchaseOrderDeviationListPutListParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationListPutListParams
WithTimeout adds the timeout to the purchase order deviation list put list params
func (*PurchaseOrderDeviationListPutListParams) WriteToRequest ¶
func (o *PurchaseOrderDeviationListPutListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderDeviationListPutListReader ¶
type PurchaseOrderDeviationListPutListReader struct {
// contains filtered or unexported fields
}
PurchaseOrderDeviationListPutListReader is a Reader for the PurchaseOrderDeviationListPutList structure.
func (*PurchaseOrderDeviationListPutListReader) ReadResponse ¶
func (o *PurchaseOrderDeviationListPutListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderDeviationPostCreated ¶
type PurchaseOrderDeviationPostCreated struct {
Payload *models.ResponseWrapperDeviation
}
PurchaseOrderDeviationPostCreated handles this case with default header values.
successfully created
func NewPurchaseOrderDeviationPostCreated ¶
func NewPurchaseOrderDeviationPostCreated() *PurchaseOrderDeviationPostCreated
NewPurchaseOrderDeviationPostCreated creates a PurchaseOrderDeviationPostCreated with default headers values
func (*PurchaseOrderDeviationPostCreated) Error ¶
func (o *PurchaseOrderDeviationPostCreated) Error() string
func (*PurchaseOrderDeviationPostCreated) GetPayload ¶
func (o *PurchaseOrderDeviationPostCreated) GetPayload() *models.ResponseWrapperDeviation
type PurchaseOrderDeviationPostParams ¶
type PurchaseOrderDeviationPostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.Deviation Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderDeviationPostParams contains all the parameters to send to the API endpoint for the purchase order deviation post operation typically these are written to a http.Request
func NewPurchaseOrderDeviationPostParams ¶
func NewPurchaseOrderDeviationPostParams() *PurchaseOrderDeviationPostParams
NewPurchaseOrderDeviationPostParams creates a new PurchaseOrderDeviationPostParams object with the default values initialized.
func NewPurchaseOrderDeviationPostParamsWithContext ¶
func NewPurchaseOrderDeviationPostParamsWithContext(ctx context.Context) *PurchaseOrderDeviationPostParams
NewPurchaseOrderDeviationPostParamsWithContext creates a new PurchaseOrderDeviationPostParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderDeviationPostParamsWithHTTPClient ¶
func NewPurchaseOrderDeviationPostParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationPostParams
NewPurchaseOrderDeviationPostParamsWithHTTPClient creates a new PurchaseOrderDeviationPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderDeviationPostParamsWithTimeout ¶
func NewPurchaseOrderDeviationPostParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationPostParams
NewPurchaseOrderDeviationPostParamsWithTimeout creates a new PurchaseOrderDeviationPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderDeviationPostParams) SetBody ¶
func (o *PurchaseOrderDeviationPostParams) SetBody(body *models.Deviation)
SetBody adds the body to the purchase order deviation post params
func (*PurchaseOrderDeviationPostParams) SetContext ¶
func (o *PurchaseOrderDeviationPostParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order deviation post params
func (*PurchaseOrderDeviationPostParams) SetHTTPClient ¶
func (o *PurchaseOrderDeviationPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order deviation post params
func (*PurchaseOrderDeviationPostParams) SetTimeout ¶
func (o *PurchaseOrderDeviationPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order deviation post params
func (*PurchaseOrderDeviationPostParams) WithBody ¶
func (o *PurchaseOrderDeviationPostParams) WithBody(body *models.Deviation) *PurchaseOrderDeviationPostParams
WithBody adds the body to the purchase order deviation post params
func (*PurchaseOrderDeviationPostParams) WithContext ¶
func (o *PurchaseOrderDeviationPostParams) WithContext(ctx context.Context) *PurchaseOrderDeviationPostParams
WithContext adds the context to the purchase order deviation post params
func (*PurchaseOrderDeviationPostParams) WithHTTPClient ¶
func (o *PurchaseOrderDeviationPostParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationPostParams
WithHTTPClient adds the HTTPClient to the purchase order deviation post params
func (*PurchaseOrderDeviationPostParams) WithTimeout ¶
func (o *PurchaseOrderDeviationPostParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationPostParams
WithTimeout adds the timeout to the purchase order deviation post params
func (*PurchaseOrderDeviationPostParams) WriteToRequest ¶
func (o *PurchaseOrderDeviationPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderDeviationPostReader ¶
type PurchaseOrderDeviationPostReader struct {
// contains filtered or unexported fields
}
PurchaseOrderDeviationPostReader is a Reader for the PurchaseOrderDeviationPost structure.
func (*PurchaseOrderDeviationPostReader) ReadResponse ¶
func (o *PurchaseOrderDeviationPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderDeviationPutOK ¶
type PurchaseOrderDeviationPutOK struct {
Payload *models.ResponseWrapperDeviation
}
PurchaseOrderDeviationPutOK handles this case with default header values.
successful operation
func NewPurchaseOrderDeviationPutOK ¶
func NewPurchaseOrderDeviationPutOK() *PurchaseOrderDeviationPutOK
NewPurchaseOrderDeviationPutOK creates a PurchaseOrderDeviationPutOK with default headers values
func (*PurchaseOrderDeviationPutOK) Error ¶
func (o *PurchaseOrderDeviationPutOK) Error() string
func (*PurchaseOrderDeviationPutOK) GetPayload ¶
func (o *PurchaseOrderDeviationPutOK) GetPayload() *models.ResponseWrapperDeviation
type PurchaseOrderDeviationPutParams ¶
type PurchaseOrderDeviationPutParams struct { /*Body Partial object describing what should be updated */ Body *models.Deviation /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderDeviationPutParams contains all the parameters to send to the API endpoint for the purchase order deviation put operation typically these are written to a http.Request
func NewPurchaseOrderDeviationPutParams ¶
func NewPurchaseOrderDeviationPutParams() *PurchaseOrderDeviationPutParams
NewPurchaseOrderDeviationPutParams creates a new PurchaseOrderDeviationPutParams object with the default values initialized.
func NewPurchaseOrderDeviationPutParamsWithContext ¶
func NewPurchaseOrderDeviationPutParamsWithContext(ctx context.Context) *PurchaseOrderDeviationPutParams
NewPurchaseOrderDeviationPutParamsWithContext creates a new PurchaseOrderDeviationPutParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderDeviationPutParamsWithHTTPClient ¶
func NewPurchaseOrderDeviationPutParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationPutParams
NewPurchaseOrderDeviationPutParamsWithHTTPClient creates a new PurchaseOrderDeviationPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderDeviationPutParamsWithTimeout ¶
func NewPurchaseOrderDeviationPutParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationPutParams
NewPurchaseOrderDeviationPutParamsWithTimeout creates a new PurchaseOrderDeviationPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderDeviationPutParams) SetBody ¶
func (o *PurchaseOrderDeviationPutParams) SetBody(body *models.Deviation)
SetBody adds the body to the purchase order deviation put params
func (*PurchaseOrderDeviationPutParams) SetContext ¶
func (o *PurchaseOrderDeviationPutParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order deviation put params
func (*PurchaseOrderDeviationPutParams) SetHTTPClient ¶
func (o *PurchaseOrderDeviationPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order deviation put params
func (*PurchaseOrderDeviationPutParams) SetID ¶
func (o *PurchaseOrderDeviationPutParams) SetID(id int32)
SetID adds the id to the purchase order deviation put params
func (*PurchaseOrderDeviationPutParams) SetTimeout ¶
func (o *PurchaseOrderDeviationPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order deviation put params
func (*PurchaseOrderDeviationPutParams) WithBody ¶
func (o *PurchaseOrderDeviationPutParams) WithBody(body *models.Deviation) *PurchaseOrderDeviationPutParams
WithBody adds the body to the purchase order deviation put params
func (*PurchaseOrderDeviationPutParams) WithContext ¶
func (o *PurchaseOrderDeviationPutParams) WithContext(ctx context.Context) *PurchaseOrderDeviationPutParams
WithContext adds the context to the purchase order deviation put params
func (*PurchaseOrderDeviationPutParams) WithHTTPClient ¶
func (o *PurchaseOrderDeviationPutParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationPutParams
WithHTTPClient adds the HTTPClient to the purchase order deviation put params
func (*PurchaseOrderDeviationPutParams) WithID ¶
func (o *PurchaseOrderDeviationPutParams) WithID(id int32) *PurchaseOrderDeviationPutParams
WithID adds the id to the purchase order deviation put params
func (*PurchaseOrderDeviationPutParams) WithTimeout ¶
func (o *PurchaseOrderDeviationPutParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationPutParams
WithTimeout adds the timeout to the purchase order deviation put params
func (*PurchaseOrderDeviationPutParams) WriteToRequest ¶
func (o *PurchaseOrderDeviationPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderDeviationPutReader ¶
type PurchaseOrderDeviationPutReader struct {
// contains filtered or unexported fields
}
PurchaseOrderDeviationPutReader is a Reader for the PurchaseOrderDeviationPut structure.
func (*PurchaseOrderDeviationPutReader) ReadResponse ¶
func (o *PurchaseOrderDeviationPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderDeviationSearchOK ¶
type PurchaseOrderDeviationSearchOK struct {
Payload *models.ListResponseDeviation
}
PurchaseOrderDeviationSearchOK handles this case with default header values.
successful operation
func NewPurchaseOrderDeviationSearchOK ¶
func NewPurchaseOrderDeviationSearchOK() *PurchaseOrderDeviationSearchOK
NewPurchaseOrderDeviationSearchOK creates a PurchaseOrderDeviationSearchOK with default headers values
func (*PurchaseOrderDeviationSearchOK) Error ¶
func (o *PurchaseOrderDeviationSearchOK) Error() string
func (*PurchaseOrderDeviationSearchOK) GetPayload ¶
func (o *PurchaseOrderDeviationSearchOK) GetPayload() *models.ListResponseDeviation
type PurchaseOrderDeviationSearchParams ¶
type PurchaseOrderDeviationSearchParams struct { /*Count Number of elements to return */ Count *int64 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*PurchaseOrderID Equals */ PurchaseOrderID int32 /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderDeviationSearchParams contains all the parameters to send to the API endpoint for the purchase order deviation search operation typically these are written to a http.Request
func NewPurchaseOrderDeviationSearchParams ¶
func NewPurchaseOrderDeviationSearchParams() *PurchaseOrderDeviationSearchParams
NewPurchaseOrderDeviationSearchParams creates a new PurchaseOrderDeviationSearchParams object with the default values initialized.
func NewPurchaseOrderDeviationSearchParamsWithContext ¶
func NewPurchaseOrderDeviationSearchParamsWithContext(ctx context.Context) *PurchaseOrderDeviationSearchParams
NewPurchaseOrderDeviationSearchParamsWithContext creates a new PurchaseOrderDeviationSearchParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderDeviationSearchParamsWithHTTPClient ¶
func NewPurchaseOrderDeviationSearchParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationSearchParams
NewPurchaseOrderDeviationSearchParamsWithHTTPClient creates a new PurchaseOrderDeviationSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderDeviationSearchParamsWithTimeout ¶
func NewPurchaseOrderDeviationSearchParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationSearchParams
NewPurchaseOrderDeviationSearchParamsWithTimeout creates a new PurchaseOrderDeviationSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderDeviationSearchParams) SetContext ¶
func (o *PurchaseOrderDeviationSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) SetCount ¶
func (o *PurchaseOrderDeviationSearchParams) SetCount(count *int64)
SetCount adds the count to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) SetFields ¶
func (o *PurchaseOrderDeviationSearchParams) SetFields(fields *string)
SetFields adds the fields to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) SetFrom ¶
func (o *PurchaseOrderDeviationSearchParams) SetFrom(from *int64)
SetFrom adds the from to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) SetHTTPClient ¶
func (o *PurchaseOrderDeviationSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) SetPurchaseOrderID ¶
func (o *PurchaseOrderDeviationSearchParams) SetPurchaseOrderID(purchaseOrderID int32)
SetPurchaseOrderID adds the purchaseOrderId to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) SetSorting ¶
func (o *PurchaseOrderDeviationSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) SetTimeout ¶
func (o *PurchaseOrderDeviationSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) WithContext ¶
func (o *PurchaseOrderDeviationSearchParams) WithContext(ctx context.Context) *PurchaseOrderDeviationSearchParams
WithContext adds the context to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) WithCount ¶
func (o *PurchaseOrderDeviationSearchParams) WithCount(count *int64) *PurchaseOrderDeviationSearchParams
WithCount adds the count to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) WithFields ¶
func (o *PurchaseOrderDeviationSearchParams) WithFields(fields *string) *PurchaseOrderDeviationSearchParams
WithFields adds the fields to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) WithFrom ¶
func (o *PurchaseOrderDeviationSearchParams) WithFrom(from *int64) *PurchaseOrderDeviationSearchParams
WithFrom adds the from to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) WithHTTPClient ¶
func (o *PurchaseOrderDeviationSearchParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationSearchParams
WithHTTPClient adds the HTTPClient to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) WithPurchaseOrderID ¶
func (o *PurchaseOrderDeviationSearchParams) WithPurchaseOrderID(purchaseOrderID int32) *PurchaseOrderDeviationSearchParams
WithPurchaseOrderID adds the purchaseOrderID to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) WithSorting ¶
func (o *PurchaseOrderDeviationSearchParams) WithSorting(sorting *string) *PurchaseOrderDeviationSearchParams
WithSorting adds the sorting to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) WithTimeout ¶
func (o *PurchaseOrderDeviationSearchParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationSearchParams
WithTimeout adds the timeout to the purchase order deviation search params
func (*PurchaseOrderDeviationSearchParams) WriteToRequest ¶
func (o *PurchaseOrderDeviationSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderDeviationSearchReader ¶
type PurchaseOrderDeviationSearchReader struct {
// contains filtered or unexported fields
}
PurchaseOrderDeviationSearchReader is a Reader for the PurchaseOrderDeviationSearch structure.
func (*PurchaseOrderDeviationSearchReader) ReadResponse ¶
func (o *PurchaseOrderDeviationSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderDeviationUndeliverUndeliverOK ¶
type PurchaseOrderDeviationUndeliverUndeliverOK struct {
Payload *models.ResponseWrapperPurchaseOrder
}
PurchaseOrderDeviationUndeliverUndeliverOK handles this case with default header values.
successful operation
func NewPurchaseOrderDeviationUndeliverUndeliverOK ¶
func NewPurchaseOrderDeviationUndeliverUndeliverOK() *PurchaseOrderDeviationUndeliverUndeliverOK
NewPurchaseOrderDeviationUndeliverUndeliverOK creates a PurchaseOrderDeviationUndeliverUndeliverOK with default headers values
func (*PurchaseOrderDeviationUndeliverUndeliverOK) Error ¶
func (o *PurchaseOrderDeviationUndeliverUndeliverOK) Error() string
func (*PurchaseOrderDeviationUndeliverUndeliverOK) GetPayload ¶
func (o *PurchaseOrderDeviationUndeliverUndeliverOK) GetPayload() *models.ResponseWrapperPurchaseOrder
type PurchaseOrderDeviationUndeliverUndeliverParams ¶
type PurchaseOrderDeviationUndeliverUndeliverParams struct { /*ID Purchase Order ID. */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderDeviationUndeliverUndeliverParams contains all the parameters to send to the API endpoint for the purchase order deviation undeliver undeliver operation typically these are written to a http.Request
func NewPurchaseOrderDeviationUndeliverUndeliverParams ¶
func NewPurchaseOrderDeviationUndeliverUndeliverParams() *PurchaseOrderDeviationUndeliverUndeliverParams
NewPurchaseOrderDeviationUndeliverUndeliverParams creates a new PurchaseOrderDeviationUndeliverUndeliverParams object with the default values initialized.
func NewPurchaseOrderDeviationUndeliverUndeliverParamsWithContext ¶
func NewPurchaseOrderDeviationUndeliverUndeliverParamsWithContext(ctx context.Context) *PurchaseOrderDeviationUndeliverUndeliverParams
NewPurchaseOrderDeviationUndeliverUndeliverParamsWithContext creates a new PurchaseOrderDeviationUndeliverUndeliverParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderDeviationUndeliverUndeliverParamsWithHTTPClient ¶
func NewPurchaseOrderDeviationUndeliverUndeliverParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeviationUndeliverUndeliverParams
NewPurchaseOrderDeviationUndeliverUndeliverParamsWithHTTPClient creates a new PurchaseOrderDeviationUndeliverUndeliverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderDeviationUndeliverUndeliverParamsWithTimeout ¶
func NewPurchaseOrderDeviationUndeliverUndeliverParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeviationUndeliverUndeliverParams
NewPurchaseOrderDeviationUndeliverUndeliverParamsWithTimeout creates a new PurchaseOrderDeviationUndeliverUndeliverParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderDeviationUndeliverUndeliverParams) SetContext ¶
func (o *PurchaseOrderDeviationUndeliverUndeliverParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order deviation undeliver undeliver params
func (*PurchaseOrderDeviationUndeliverUndeliverParams) SetHTTPClient ¶
func (o *PurchaseOrderDeviationUndeliverUndeliverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order deviation undeliver undeliver params
func (*PurchaseOrderDeviationUndeliverUndeliverParams) SetID ¶
func (o *PurchaseOrderDeviationUndeliverUndeliverParams) SetID(id int32)
SetID adds the id to the purchase order deviation undeliver undeliver params
func (*PurchaseOrderDeviationUndeliverUndeliverParams) SetTimeout ¶
func (o *PurchaseOrderDeviationUndeliverUndeliverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order deviation undeliver undeliver params
func (*PurchaseOrderDeviationUndeliverUndeliverParams) WithContext ¶
func (o *PurchaseOrderDeviationUndeliverUndeliverParams) WithContext(ctx context.Context) *PurchaseOrderDeviationUndeliverUndeliverParams
WithContext adds the context to the purchase order deviation undeliver undeliver params
func (*PurchaseOrderDeviationUndeliverUndeliverParams) WithHTTPClient ¶
func (o *PurchaseOrderDeviationUndeliverUndeliverParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeviationUndeliverUndeliverParams
WithHTTPClient adds the HTTPClient to the purchase order deviation undeliver undeliver params
func (*PurchaseOrderDeviationUndeliverUndeliverParams) WithID ¶
func (o *PurchaseOrderDeviationUndeliverUndeliverParams) WithID(id int32) *PurchaseOrderDeviationUndeliverUndeliverParams
WithID adds the id to the purchase order deviation undeliver undeliver params
func (*PurchaseOrderDeviationUndeliverUndeliverParams) WithTimeout ¶
func (o *PurchaseOrderDeviationUndeliverUndeliverParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeviationUndeliverUndeliverParams
WithTimeout adds the timeout to the purchase order deviation undeliver undeliver params
func (*PurchaseOrderDeviationUndeliverUndeliverParams) WriteToRequest ¶
func (o *PurchaseOrderDeviationUndeliverUndeliverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderDeviationUndeliverUndeliverReader ¶
type PurchaseOrderDeviationUndeliverUndeliverReader struct {
// contains filtered or unexported fields
}
PurchaseOrderDeviationUndeliverUndeliverReader is a Reader for the PurchaseOrderDeviationUndeliverUndeliver structure.
func (*PurchaseOrderDeviationUndeliverUndeliverReader) ReadResponse ¶
func (o *PurchaseOrderDeviationUndeliverUndeliverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- deviation_client.go
- purchase_order_deviation_approve_approve_parameters.go
- purchase_order_deviation_approve_approve_responses.go
- purchase_order_deviation_delete_parameters.go
- purchase_order_deviation_delete_responses.go
- purchase_order_deviation_deliver_deliver_parameters.go
- purchase_order_deviation_deliver_deliver_responses.go
- purchase_order_deviation_get_parameters.go
- purchase_order_deviation_get_responses.go
- purchase_order_deviation_list_post_list_parameters.go
- purchase_order_deviation_list_post_list_responses.go
- purchase_order_deviation_list_put_list_parameters.go
- purchase_order_deviation_list_put_list_responses.go
- purchase_order_deviation_post_parameters.go
- purchase_order_deviation_post_responses.go
- purchase_order_deviation_put_parameters.go
- purchase_order_deviation_put_responses.go
- purchase_order_deviation_search_parameters.go
- purchase_order_deviation_search_responses.go
- purchase_order_deviation_undeliver_undeliver_parameters.go
- purchase_order_deviation_undeliver_undeliver_responses.go