Documentation
¶
Index ¶
- type Client
- func (a *Client) PurchaseOrderDelete(params *PurchaseOrderDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) PurchaseOrderGet(params *PurchaseOrderGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGetOK, error)
- func (a *Client) PurchaseOrderPost(params *PurchaseOrderPostParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderPostCreated, error)
- func (a *Client) PurchaseOrderPut(params *PurchaseOrderPutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderPutOK, error)
- func (a *Client) PurchaseOrderSearch(params *PurchaseOrderSearchParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSearchOK, error)
- func (a *Client) PurchaseOrderSendByEmailSendByEmail(params *PurchaseOrderSendByEmailSendByEmailParams, ...) (*PurchaseOrderSendByEmailSendByEmailOK, error)
- func (a *Client) PurchaseOrderSendSend(params *PurchaseOrderSendSendParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSendSendOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PurchaseOrderDeleteDefault
- type PurchaseOrderDeleteParams
- func NewPurchaseOrderDeleteParams() *PurchaseOrderDeleteParams
- func NewPurchaseOrderDeleteParamsWithContext(ctx context.Context) *PurchaseOrderDeleteParams
- func NewPurchaseOrderDeleteParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeleteParams
- func NewPurchaseOrderDeleteParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeleteParams
- func (o *PurchaseOrderDeleteParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderDeleteParams) SetID(id int32)
- func (o *PurchaseOrderDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderDeleteParams) WithContext(ctx context.Context) *PurchaseOrderDeleteParams
- func (o *PurchaseOrderDeleteParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeleteParams
- func (o *PurchaseOrderDeleteParams) WithID(id int32) *PurchaseOrderDeleteParams
- func (o *PurchaseOrderDeleteParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeleteParams
- func (o *PurchaseOrderDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderDeleteReader
- type PurchaseOrderGetOK
- type PurchaseOrderGetParams
- func NewPurchaseOrderGetParams() *PurchaseOrderGetParams
- func NewPurchaseOrderGetParamsWithContext(ctx context.Context) *PurchaseOrderGetParams
- func NewPurchaseOrderGetParamsWithHTTPClient(client *http.Client) *PurchaseOrderGetParams
- func NewPurchaseOrderGetParamsWithTimeout(timeout time.Duration) *PurchaseOrderGetParams
- func (o *PurchaseOrderGetParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderGetParams) SetFields(fields *string)
- func (o *PurchaseOrderGetParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderGetParams) SetID(id int32)
- func (o *PurchaseOrderGetParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderGetParams) WithContext(ctx context.Context) *PurchaseOrderGetParams
- func (o *PurchaseOrderGetParams) WithFields(fields *string) *PurchaseOrderGetParams
- func (o *PurchaseOrderGetParams) WithHTTPClient(client *http.Client) *PurchaseOrderGetParams
- func (o *PurchaseOrderGetParams) WithID(id int32) *PurchaseOrderGetParams
- func (o *PurchaseOrderGetParams) WithTimeout(timeout time.Duration) *PurchaseOrderGetParams
- func (o *PurchaseOrderGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderGetReader
- type PurchaseOrderPostCreated
- type PurchaseOrderPostParams
- func NewPurchaseOrderPostParams() *PurchaseOrderPostParams
- func NewPurchaseOrderPostParamsWithContext(ctx context.Context) *PurchaseOrderPostParams
- func NewPurchaseOrderPostParamsWithHTTPClient(client *http.Client) *PurchaseOrderPostParams
- func NewPurchaseOrderPostParamsWithTimeout(timeout time.Duration) *PurchaseOrderPostParams
- func (o *PurchaseOrderPostParams) SetBody(body *models.PurchaseOrder)
- func (o *PurchaseOrderPostParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderPostParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderPostParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderPostParams) WithBody(body *models.PurchaseOrder) *PurchaseOrderPostParams
- func (o *PurchaseOrderPostParams) WithContext(ctx context.Context) *PurchaseOrderPostParams
- func (o *PurchaseOrderPostParams) WithHTTPClient(client *http.Client) *PurchaseOrderPostParams
- func (o *PurchaseOrderPostParams) WithTimeout(timeout time.Duration) *PurchaseOrderPostParams
- func (o *PurchaseOrderPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderPostReader
- type PurchaseOrderPutOK
- type PurchaseOrderPutParams
- func NewPurchaseOrderPutParams() *PurchaseOrderPutParams
- func NewPurchaseOrderPutParamsWithContext(ctx context.Context) *PurchaseOrderPutParams
- func NewPurchaseOrderPutParamsWithHTTPClient(client *http.Client) *PurchaseOrderPutParams
- func NewPurchaseOrderPutParamsWithTimeout(timeout time.Duration) *PurchaseOrderPutParams
- func (o *PurchaseOrderPutParams) SetBody(body *models.PurchaseOrder)
- func (o *PurchaseOrderPutParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderPutParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderPutParams) SetID(id int32)
- func (o *PurchaseOrderPutParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderPutParams) WithBody(body *models.PurchaseOrder) *PurchaseOrderPutParams
- func (o *PurchaseOrderPutParams) WithContext(ctx context.Context) *PurchaseOrderPutParams
- func (o *PurchaseOrderPutParams) WithHTTPClient(client *http.Client) *PurchaseOrderPutParams
- func (o *PurchaseOrderPutParams) WithID(id int32) *PurchaseOrderPutParams
- func (o *PurchaseOrderPutParams) WithTimeout(timeout time.Duration) *PurchaseOrderPutParams
- func (o *PurchaseOrderPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderPutReader
- type PurchaseOrderSearchOK
- type PurchaseOrderSearchParams
- func NewPurchaseOrderSearchParams() *PurchaseOrderSearchParams
- func NewPurchaseOrderSearchParamsWithContext(ctx context.Context) *PurchaseOrderSearchParams
- func NewPurchaseOrderSearchParamsWithHTTPClient(client *http.Client) *PurchaseOrderSearchParams
- func NewPurchaseOrderSearchParamsWithTimeout(timeout time.Duration) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderSearchParams) SetCount(count *int64)
- func (o *PurchaseOrderSearchParams) SetCreationDateFrom(creationDateFrom *string)
- func (o *PurchaseOrderSearchParams) SetCreationDateTo(creationDateTo *string)
- func (o *PurchaseOrderSearchParams) SetDeliveryDateFrom(deliveryDateFrom *string)
- func (o *PurchaseOrderSearchParams) SetDeliveryDateTo(deliveryDateTo *string)
- func (o *PurchaseOrderSearchParams) SetFields(fields *string)
- func (o *PurchaseOrderSearchParams) SetFrom(from *int64)
- func (o *PurchaseOrderSearchParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderSearchParams) SetID(id *string)
- func (o *PurchaseOrderSearchParams) SetIsClosed(isClosed *bool)
- func (o *PurchaseOrderSearchParams) SetNumber(number *string)
- func (o *PurchaseOrderSearchParams) SetProjectID(projectID *string)
- func (o *PurchaseOrderSearchParams) SetSorting(sorting *string)
- func (o *PurchaseOrderSearchParams) SetSupplierID(supplierID *string)
- func (o *PurchaseOrderSearchParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderSearchParams) SetWithDeviationOnly(withDeviationOnly *bool)
- func (o *PurchaseOrderSearchParams) WithContext(ctx context.Context) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithCount(count *int64) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithCreationDateFrom(creationDateFrom *string) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithCreationDateTo(creationDateTo *string) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithDeliveryDateFrom(deliveryDateFrom *string) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithDeliveryDateTo(deliveryDateTo *string) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithFields(fields *string) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithFrom(from *int64) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithHTTPClient(client *http.Client) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithID(id *string) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithIsClosed(isClosed *bool) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithNumber(number *string) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithProjectID(projectID *string) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithSorting(sorting *string) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithSupplierID(supplierID *string) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithTimeout(timeout time.Duration) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WithWithDeviationOnly(withDeviationOnly *bool) *PurchaseOrderSearchParams
- func (o *PurchaseOrderSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderSearchReader
- type PurchaseOrderSendByEmailSendByEmailOK
- type PurchaseOrderSendByEmailSendByEmailParams
- func NewPurchaseOrderSendByEmailSendByEmailParams() *PurchaseOrderSendByEmailSendByEmailParams
- func NewPurchaseOrderSendByEmailSendByEmailParamsWithContext(ctx context.Context) *PurchaseOrderSendByEmailSendByEmailParams
- func NewPurchaseOrderSendByEmailSendByEmailParamsWithHTTPClient(client *http.Client) *PurchaseOrderSendByEmailSendByEmailParams
- func NewPurchaseOrderSendByEmailSendByEmailParamsWithTimeout(timeout time.Duration) *PurchaseOrderSendByEmailSendByEmailParams
- func (o *PurchaseOrderSendByEmailSendByEmailParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderSendByEmailSendByEmailParams) SetEmailAddress(emailAddress string)
- func (o *PurchaseOrderSendByEmailSendByEmailParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderSendByEmailSendByEmailParams) SetID(id int32)
- func (o *PurchaseOrderSendByEmailSendByEmailParams) SetMessage(message *string)
- func (o *PurchaseOrderSendByEmailSendByEmailParams) SetSubject(subject string)
- func (o *PurchaseOrderSendByEmailSendByEmailParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderSendByEmailSendByEmailParams) WithContext(ctx context.Context) *PurchaseOrderSendByEmailSendByEmailParams
- func (o *PurchaseOrderSendByEmailSendByEmailParams) WithEmailAddress(emailAddress string) *PurchaseOrderSendByEmailSendByEmailParams
- func (o *PurchaseOrderSendByEmailSendByEmailParams) WithHTTPClient(client *http.Client) *PurchaseOrderSendByEmailSendByEmailParams
- func (o *PurchaseOrderSendByEmailSendByEmailParams) WithID(id int32) *PurchaseOrderSendByEmailSendByEmailParams
- func (o *PurchaseOrderSendByEmailSendByEmailParams) WithMessage(message *string) *PurchaseOrderSendByEmailSendByEmailParams
- func (o *PurchaseOrderSendByEmailSendByEmailParams) WithSubject(subject string) *PurchaseOrderSendByEmailSendByEmailParams
- func (o *PurchaseOrderSendByEmailSendByEmailParams) WithTimeout(timeout time.Duration) *PurchaseOrderSendByEmailSendByEmailParams
- func (o *PurchaseOrderSendByEmailSendByEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderSendByEmailSendByEmailReader
- type PurchaseOrderSendSendOK
- type PurchaseOrderSendSendParams
- func NewPurchaseOrderSendSendParams() *PurchaseOrderSendSendParams
- func NewPurchaseOrderSendSendParamsWithContext(ctx context.Context) *PurchaseOrderSendSendParams
- func NewPurchaseOrderSendSendParamsWithHTTPClient(client *http.Client) *PurchaseOrderSendSendParams
- func NewPurchaseOrderSendSendParamsWithTimeout(timeout time.Duration) *PurchaseOrderSendSendParams
- func (o *PurchaseOrderSendSendParams) SetContext(ctx context.Context)
- func (o *PurchaseOrderSendSendParams) SetHTTPClient(client *http.Client)
- func (o *PurchaseOrderSendSendParams) SetID(id int32)
- func (o *PurchaseOrderSendSendParams) SetSendType(sendType *string)
- func (o *PurchaseOrderSendSendParams) SetTimeout(timeout time.Duration)
- func (o *PurchaseOrderSendSendParams) WithContext(ctx context.Context) *PurchaseOrderSendSendParams
- func (o *PurchaseOrderSendSendParams) WithHTTPClient(client *http.Client) *PurchaseOrderSendSendParams
- func (o *PurchaseOrderSendSendParams) WithID(id int32) *PurchaseOrderSendSendParams
- func (o *PurchaseOrderSendSendParams) WithSendType(sendType *string) *PurchaseOrderSendSendParams
- func (o *PurchaseOrderSendSendParams) WithTimeout(timeout time.Duration) *PurchaseOrderSendSendParams
- func (o *PurchaseOrderSendSendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurchaseOrderSendSendReader
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 purchase order API
func (*Client) PurchaseOrderDelete ¶
func (a *Client) PurchaseOrderDelete(params *PurchaseOrderDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
PurchaseOrderDelete bs e t a delete purchase order
func (*Client) PurchaseOrderGet ¶
func (a *Client) PurchaseOrderGet(params *PurchaseOrderGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGetOK, error)
PurchaseOrderGet bs e t a find purchase order by ID
func (*Client) PurchaseOrderPost ¶
func (a *Client) PurchaseOrderPost(params *PurchaseOrderPostParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderPostCreated, error)
PurchaseOrderPost bs e t a creates a new purchase order
func (*Client) PurchaseOrderPut ¶
func (a *Client) PurchaseOrderPut(params *PurchaseOrderPutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderPutOK, error)
PurchaseOrderPut bs e t a update purchase order
func (*Client) PurchaseOrderSearch ¶
func (a *Client) PurchaseOrderSearch(params *PurchaseOrderSearchParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSearchOK, error)
PurchaseOrderSearch bs e t a find purchase orders with send data
func (*Client) PurchaseOrderSendByEmailSendByEmail ¶
func (a *Client) PurchaseOrderSendByEmailSendByEmail(params *PurchaseOrderSendByEmailSendByEmailParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSendByEmailSendByEmailOK, error)
PurchaseOrderSendByEmailSendByEmail bs e t a send purchase order by customisable email
func (*Client) PurchaseOrderSendSend ¶
func (a *Client) PurchaseOrderSendSend(params *PurchaseOrderSendSendParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSendSendOK, error)
PurchaseOrderSendSend bs e t a send purchase order by id and send type
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { PurchaseOrderSendByEmailSendByEmail(params *PurchaseOrderSendByEmailSendByEmailParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSendByEmailSendByEmailOK, error) PurchaseOrderSendSend(params *PurchaseOrderSendSendParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSendSendOK, error) PurchaseOrderDelete(params *PurchaseOrderDeleteParams, authInfo runtime.ClientAuthInfoWriter) error PurchaseOrderGet(params *PurchaseOrderGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGetOK, error) PurchaseOrderPost(params *PurchaseOrderPostParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderPostCreated, error) PurchaseOrderPut(params *PurchaseOrderPutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderPutOK, error) PurchaseOrderSearch(params *PurchaseOrderSearchParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderSearchOK, 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 purchase order API client.
type PurchaseOrderDeleteDefault ¶
type PurchaseOrderDeleteDefault struct {
// contains filtered or unexported fields
}
PurchaseOrderDeleteDefault handles this case with default header values.
successful operation
func NewPurchaseOrderDeleteDefault ¶
func NewPurchaseOrderDeleteDefault(code int) *PurchaseOrderDeleteDefault
NewPurchaseOrderDeleteDefault creates a PurchaseOrderDeleteDefault with default headers values
func (*PurchaseOrderDeleteDefault) Code ¶
func (o *PurchaseOrderDeleteDefault) Code() int
Code gets the status code for the purchase order delete default response
func (*PurchaseOrderDeleteDefault) Error ¶
func (o *PurchaseOrderDeleteDefault) Error() string
type PurchaseOrderDeleteParams ¶
type PurchaseOrderDeleteParams struct { /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderDeleteParams contains all the parameters to send to the API endpoint for the purchase order delete operation typically these are written to a http.Request
func NewPurchaseOrderDeleteParams ¶
func NewPurchaseOrderDeleteParams() *PurchaseOrderDeleteParams
NewPurchaseOrderDeleteParams creates a new PurchaseOrderDeleteParams object with the default values initialized.
func NewPurchaseOrderDeleteParamsWithContext ¶
func NewPurchaseOrderDeleteParamsWithContext(ctx context.Context) *PurchaseOrderDeleteParams
NewPurchaseOrderDeleteParamsWithContext creates a new PurchaseOrderDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderDeleteParamsWithHTTPClient ¶
func NewPurchaseOrderDeleteParamsWithHTTPClient(client *http.Client) *PurchaseOrderDeleteParams
NewPurchaseOrderDeleteParamsWithHTTPClient creates a new PurchaseOrderDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderDeleteParamsWithTimeout ¶
func NewPurchaseOrderDeleteParamsWithTimeout(timeout time.Duration) *PurchaseOrderDeleteParams
NewPurchaseOrderDeleteParamsWithTimeout creates a new PurchaseOrderDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderDeleteParams) SetContext ¶
func (o *PurchaseOrderDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order delete params
func (*PurchaseOrderDeleteParams) SetHTTPClient ¶
func (o *PurchaseOrderDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order delete params
func (*PurchaseOrderDeleteParams) SetID ¶
func (o *PurchaseOrderDeleteParams) SetID(id int32)
SetID adds the id to the purchase order delete params
func (*PurchaseOrderDeleteParams) SetTimeout ¶
func (o *PurchaseOrderDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order delete params
func (*PurchaseOrderDeleteParams) WithContext ¶
func (o *PurchaseOrderDeleteParams) WithContext(ctx context.Context) *PurchaseOrderDeleteParams
WithContext adds the context to the purchase order delete params
func (*PurchaseOrderDeleteParams) WithHTTPClient ¶
func (o *PurchaseOrderDeleteParams) WithHTTPClient(client *http.Client) *PurchaseOrderDeleteParams
WithHTTPClient adds the HTTPClient to the purchase order delete params
func (*PurchaseOrderDeleteParams) WithID ¶
func (o *PurchaseOrderDeleteParams) WithID(id int32) *PurchaseOrderDeleteParams
WithID adds the id to the purchase order delete params
func (*PurchaseOrderDeleteParams) WithTimeout ¶
func (o *PurchaseOrderDeleteParams) WithTimeout(timeout time.Duration) *PurchaseOrderDeleteParams
WithTimeout adds the timeout to the purchase order delete params
func (*PurchaseOrderDeleteParams) WriteToRequest ¶
func (o *PurchaseOrderDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderDeleteReader ¶
type PurchaseOrderDeleteReader struct {
// contains filtered or unexported fields
}
PurchaseOrderDeleteReader is a Reader for the PurchaseOrderDelete structure.
func (*PurchaseOrderDeleteReader) ReadResponse ¶
func (o *PurchaseOrderDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderGetOK ¶
type PurchaseOrderGetOK struct {
Payload *models.ResponseWrapperPurchaseOrder
}
PurchaseOrderGetOK handles this case with default header values.
successful operation
func NewPurchaseOrderGetOK ¶
func NewPurchaseOrderGetOK() *PurchaseOrderGetOK
NewPurchaseOrderGetOK creates a PurchaseOrderGetOK with default headers values
func (*PurchaseOrderGetOK) Error ¶
func (o *PurchaseOrderGetOK) Error() string
func (*PurchaseOrderGetOK) GetPayload ¶
func (o *PurchaseOrderGetOK) GetPayload() *models.ResponseWrapperPurchaseOrder
type PurchaseOrderGetParams ¶
type PurchaseOrderGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderGetParams contains all the parameters to send to the API endpoint for the purchase order get operation typically these are written to a http.Request
func NewPurchaseOrderGetParams ¶
func NewPurchaseOrderGetParams() *PurchaseOrderGetParams
NewPurchaseOrderGetParams creates a new PurchaseOrderGetParams object with the default values initialized.
func NewPurchaseOrderGetParamsWithContext ¶
func NewPurchaseOrderGetParamsWithContext(ctx context.Context) *PurchaseOrderGetParams
NewPurchaseOrderGetParamsWithContext creates a new PurchaseOrderGetParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderGetParamsWithHTTPClient ¶
func NewPurchaseOrderGetParamsWithHTTPClient(client *http.Client) *PurchaseOrderGetParams
NewPurchaseOrderGetParamsWithHTTPClient creates a new PurchaseOrderGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderGetParamsWithTimeout ¶
func NewPurchaseOrderGetParamsWithTimeout(timeout time.Duration) *PurchaseOrderGetParams
NewPurchaseOrderGetParamsWithTimeout creates a new PurchaseOrderGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderGetParams) SetContext ¶
func (o *PurchaseOrderGetParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order get params
func (*PurchaseOrderGetParams) SetFields ¶
func (o *PurchaseOrderGetParams) SetFields(fields *string)
SetFields adds the fields to the purchase order get params
func (*PurchaseOrderGetParams) SetHTTPClient ¶
func (o *PurchaseOrderGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order get params
func (*PurchaseOrderGetParams) SetID ¶
func (o *PurchaseOrderGetParams) SetID(id int32)
SetID adds the id to the purchase order get params
func (*PurchaseOrderGetParams) SetTimeout ¶
func (o *PurchaseOrderGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order get params
func (*PurchaseOrderGetParams) WithContext ¶
func (o *PurchaseOrderGetParams) WithContext(ctx context.Context) *PurchaseOrderGetParams
WithContext adds the context to the purchase order get params
func (*PurchaseOrderGetParams) WithFields ¶
func (o *PurchaseOrderGetParams) WithFields(fields *string) *PurchaseOrderGetParams
WithFields adds the fields to the purchase order get params
func (*PurchaseOrderGetParams) WithHTTPClient ¶
func (o *PurchaseOrderGetParams) WithHTTPClient(client *http.Client) *PurchaseOrderGetParams
WithHTTPClient adds the HTTPClient to the purchase order get params
func (*PurchaseOrderGetParams) WithID ¶
func (o *PurchaseOrderGetParams) WithID(id int32) *PurchaseOrderGetParams
WithID adds the id to the purchase order get params
func (*PurchaseOrderGetParams) WithTimeout ¶
func (o *PurchaseOrderGetParams) WithTimeout(timeout time.Duration) *PurchaseOrderGetParams
WithTimeout adds the timeout to the purchase order get params
func (*PurchaseOrderGetParams) WriteToRequest ¶
func (o *PurchaseOrderGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderGetReader ¶
type PurchaseOrderGetReader struct {
// contains filtered or unexported fields
}
PurchaseOrderGetReader is a Reader for the PurchaseOrderGet structure.
func (*PurchaseOrderGetReader) ReadResponse ¶
func (o *PurchaseOrderGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderPostCreated ¶
type PurchaseOrderPostCreated struct {
Payload *models.ResponseWrapperPurchaseOrder
}
PurchaseOrderPostCreated handles this case with default header values.
successfully created
func NewPurchaseOrderPostCreated ¶
func NewPurchaseOrderPostCreated() *PurchaseOrderPostCreated
NewPurchaseOrderPostCreated creates a PurchaseOrderPostCreated with default headers values
func (*PurchaseOrderPostCreated) Error ¶
func (o *PurchaseOrderPostCreated) Error() string
func (*PurchaseOrderPostCreated) GetPayload ¶
func (o *PurchaseOrderPostCreated) GetPayload() *models.ResponseWrapperPurchaseOrder
type PurchaseOrderPostParams ¶
type PurchaseOrderPostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.PurchaseOrder Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderPostParams contains all the parameters to send to the API endpoint for the purchase order post operation typically these are written to a http.Request
func NewPurchaseOrderPostParams ¶
func NewPurchaseOrderPostParams() *PurchaseOrderPostParams
NewPurchaseOrderPostParams creates a new PurchaseOrderPostParams object with the default values initialized.
func NewPurchaseOrderPostParamsWithContext ¶
func NewPurchaseOrderPostParamsWithContext(ctx context.Context) *PurchaseOrderPostParams
NewPurchaseOrderPostParamsWithContext creates a new PurchaseOrderPostParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderPostParamsWithHTTPClient ¶
func NewPurchaseOrderPostParamsWithHTTPClient(client *http.Client) *PurchaseOrderPostParams
NewPurchaseOrderPostParamsWithHTTPClient creates a new PurchaseOrderPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderPostParamsWithTimeout ¶
func NewPurchaseOrderPostParamsWithTimeout(timeout time.Duration) *PurchaseOrderPostParams
NewPurchaseOrderPostParamsWithTimeout creates a new PurchaseOrderPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderPostParams) SetBody ¶
func (o *PurchaseOrderPostParams) SetBody(body *models.PurchaseOrder)
SetBody adds the body to the purchase order post params
func (*PurchaseOrderPostParams) SetContext ¶
func (o *PurchaseOrderPostParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order post params
func (*PurchaseOrderPostParams) SetHTTPClient ¶
func (o *PurchaseOrderPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order post params
func (*PurchaseOrderPostParams) SetTimeout ¶
func (o *PurchaseOrderPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order post params
func (*PurchaseOrderPostParams) WithBody ¶
func (o *PurchaseOrderPostParams) WithBody(body *models.PurchaseOrder) *PurchaseOrderPostParams
WithBody adds the body to the purchase order post params
func (*PurchaseOrderPostParams) WithContext ¶
func (o *PurchaseOrderPostParams) WithContext(ctx context.Context) *PurchaseOrderPostParams
WithContext adds the context to the purchase order post params
func (*PurchaseOrderPostParams) WithHTTPClient ¶
func (o *PurchaseOrderPostParams) WithHTTPClient(client *http.Client) *PurchaseOrderPostParams
WithHTTPClient adds the HTTPClient to the purchase order post params
func (*PurchaseOrderPostParams) WithTimeout ¶
func (o *PurchaseOrderPostParams) WithTimeout(timeout time.Duration) *PurchaseOrderPostParams
WithTimeout adds the timeout to the purchase order post params
func (*PurchaseOrderPostParams) WriteToRequest ¶
func (o *PurchaseOrderPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderPostReader ¶
type PurchaseOrderPostReader struct {
// contains filtered or unexported fields
}
PurchaseOrderPostReader is a Reader for the PurchaseOrderPost structure.
func (*PurchaseOrderPostReader) ReadResponse ¶
func (o *PurchaseOrderPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderPutOK ¶
type PurchaseOrderPutOK struct {
Payload *models.ResponseWrapperPurchaseOrder
}
PurchaseOrderPutOK handles this case with default header values.
successful operation
func NewPurchaseOrderPutOK ¶
func NewPurchaseOrderPutOK() *PurchaseOrderPutOK
NewPurchaseOrderPutOK creates a PurchaseOrderPutOK with default headers values
func (*PurchaseOrderPutOK) Error ¶
func (o *PurchaseOrderPutOK) Error() string
func (*PurchaseOrderPutOK) GetPayload ¶
func (o *PurchaseOrderPutOK) GetPayload() *models.ResponseWrapperPurchaseOrder
type PurchaseOrderPutParams ¶
type PurchaseOrderPutParams struct { /*Body Partial object describing what should be updated */ Body *models.PurchaseOrder /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderPutParams contains all the parameters to send to the API endpoint for the purchase order put operation typically these are written to a http.Request
func NewPurchaseOrderPutParams ¶
func NewPurchaseOrderPutParams() *PurchaseOrderPutParams
NewPurchaseOrderPutParams creates a new PurchaseOrderPutParams object with the default values initialized.
func NewPurchaseOrderPutParamsWithContext ¶
func NewPurchaseOrderPutParamsWithContext(ctx context.Context) *PurchaseOrderPutParams
NewPurchaseOrderPutParamsWithContext creates a new PurchaseOrderPutParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderPutParamsWithHTTPClient ¶
func NewPurchaseOrderPutParamsWithHTTPClient(client *http.Client) *PurchaseOrderPutParams
NewPurchaseOrderPutParamsWithHTTPClient creates a new PurchaseOrderPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderPutParamsWithTimeout ¶
func NewPurchaseOrderPutParamsWithTimeout(timeout time.Duration) *PurchaseOrderPutParams
NewPurchaseOrderPutParamsWithTimeout creates a new PurchaseOrderPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderPutParams) SetBody ¶
func (o *PurchaseOrderPutParams) SetBody(body *models.PurchaseOrder)
SetBody adds the body to the purchase order put params
func (*PurchaseOrderPutParams) SetContext ¶
func (o *PurchaseOrderPutParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order put params
func (*PurchaseOrderPutParams) SetHTTPClient ¶
func (o *PurchaseOrderPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order put params
func (*PurchaseOrderPutParams) SetID ¶
func (o *PurchaseOrderPutParams) SetID(id int32)
SetID adds the id to the purchase order put params
func (*PurchaseOrderPutParams) SetTimeout ¶
func (o *PurchaseOrderPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order put params
func (*PurchaseOrderPutParams) WithBody ¶
func (o *PurchaseOrderPutParams) WithBody(body *models.PurchaseOrder) *PurchaseOrderPutParams
WithBody adds the body to the purchase order put params
func (*PurchaseOrderPutParams) WithContext ¶
func (o *PurchaseOrderPutParams) WithContext(ctx context.Context) *PurchaseOrderPutParams
WithContext adds the context to the purchase order put params
func (*PurchaseOrderPutParams) WithHTTPClient ¶
func (o *PurchaseOrderPutParams) WithHTTPClient(client *http.Client) *PurchaseOrderPutParams
WithHTTPClient adds the HTTPClient to the purchase order put params
func (*PurchaseOrderPutParams) WithID ¶
func (o *PurchaseOrderPutParams) WithID(id int32) *PurchaseOrderPutParams
WithID adds the id to the purchase order put params
func (*PurchaseOrderPutParams) WithTimeout ¶
func (o *PurchaseOrderPutParams) WithTimeout(timeout time.Duration) *PurchaseOrderPutParams
WithTimeout adds the timeout to the purchase order put params
func (*PurchaseOrderPutParams) WriteToRequest ¶
func (o *PurchaseOrderPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderPutReader ¶
type PurchaseOrderPutReader struct {
// contains filtered or unexported fields
}
PurchaseOrderPutReader is a Reader for the PurchaseOrderPut structure.
func (*PurchaseOrderPutReader) ReadResponse ¶
func (o *PurchaseOrderPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderSearchOK ¶
type PurchaseOrderSearchOK struct {
Payload *models.ListResponsePurchaseOrder
}
PurchaseOrderSearchOK handles this case with default header values.
successful operation
func NewPurchaseOrderSearchOK ¶
func NewPurchaseOrderSearchOK() *PurchaseOrderSearchOK
NewPurchaseOrderSearchOK creates a PurchaseOrderSearchOK with default headers values
func (*PurchaseOrderSearchOK) Error ¶
func (o *PurchaseOrderSearchOK) Error() string
func (*PurchaseOrderSearchOK) GetPayload ¶
func (o *PurchaseOrderSearchOK) GetPayload() *models.ListResponsePurchaseOrder
type PurchaseOrderSearchParams ¶
type PurchaseOrderSearchParams struct { /*Count Number of elements to return */ Count *int64 /*CreationDateFrom Format is yyyy-MM-dd (from and incl.). */ CreationDateFrom *string /*CreationDateTo Format is yyyy-MM-dd (to and incl.). */ CreationDateTo *string /*DeliveryDateFrom Format is yyyy-MM-dd (from and incl.). */ DeliveryDateFrom *string /*DeliveryDateTo Format is yyyy-MM-dd (to and incl.). */ DeliveryDateTo *string /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*ID List of IDs */ ID *string /*IsClosed Equals */ IsClosed *bool /*Number Equals */ Number *string /*ProjectID List of IDs */ ProjectID *string /*Sorting Sorting pattern */ Sorting *string /*SupplierID List of IDs */ SupplierID *string /*WithDeviationOnly Equals */ WithDeviationOnly *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderSearchParams contains all the parameters to send to the API endpoint for the purchase order search operation typically these are written to a http.Request
func NewPurchaseOrderSearchParams ¶
func NewPurchaseOrderSearchParams() *PurchaseOrderSearchParams
NewPurchaseOrderSearchParams creates a new PurchaseOrderSearchParams object with the default values initialized.
func NewPurchaseOrderSearchParamsWithContext ¶
func NewPurchaseOrderSearchParamsWithContext(ctx context.Context) *PurchaseOrderSearchParams
NewPurchaseOrderSearchParamsWithContext creates a new PurchaseOrderSearchParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderSearchParamsWithHTTPClient ¶
func NewPurchaseOrderSearchParamsWithHTTPClient(client *http.Client) *PurchaseOrderSearchParams
NewPurchaseOrderSearchParamsWithHTTPClient creates a new PurchaseOrderSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderSearchParamsWithTimeout ¶
func NewPurchaseOrderSearchParamsWithTimeout(timeout time.Duration) *PurchaseOrderSearchParams
NewPurchaseOrderSearchParamsWithTimeout creates a new PurchaseOrderSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderSearchParams) SetContext ¶
func (o *PurchaseOrderSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order search params
func (*PurchaseOrderSearchParams) SetCount ¶
func (o *PurchaseOrderSearchParams) SetCount(count *int64)
SetCount adds the count to the purchase order search params
func (*PurchaseOrderSearchParams) SetCreationDateFrom ¶
func (o *PurchaseOrderSearchParams) SetCreationDateFrom(creationDateFrom *string)
SetCreationDateFrom adds the creationDateFrom to the purchase order search params
func (*PurchaseOrderSearchParams) SetCreationDateTo ¶
func (o *PurchaseOrderSearchParams) SetCreationDateTo(creationDateTo *string)
SetCreationDateTo adds the creationDateTo to the purchase order search params
func (*PurchaseOrderSearchParams) SetDeliveryDateFrom ¶
func (o *PurchaseOrderSearchParams) SetDeliveryDateFrom(deliveryDateFrom *string)
SetDeliveryDateFrom adds the deliveryDateFrom to the purchase order search params
func (*PurchaseOrderSearchParams) SetDeliveryDateTo ¶
func (o *PurchaseOrderSearchParams) SetDeliveryDateTo(deliveryDateTo *string)
SetDeliveryDateTo adds the deliveryDateTo to the purchase order search params
func (*PurchaseOrderSearchParams) SetFields ¶
func (o *PurchaseOrderSearchParams) SetFields(fields *string)
SetFields adds the fields to the purchase order search params
func (*PurchaseOrderSearchParams) SetFrom ¶
func (o *PurchaseOrderSearchParams) SetFrom(from *int64)
SetFrom adds the from to the purchase order search params
func (*PurchaseOrderSearchParams) SetHTTPClient ¶
func (o *PurchaseOrderSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order search params
func (*PurchaseOrderSearchParams) SetID ¶
func (o *PurchaseOrderSearchParams) SetID(id *string)
SetID adds the id to the purchase order search params
func (*PurchaseOrderSearchParams) SetIsClosed ¶
func (o *PurchaseOrderSearchParams) SetIsClosed(isClosed *bool)
SetIsClosed adds the isClosed to the purchase order search params
func (*PurchaseOrderSearchParams) SetNumber ¶
func (o *PurchaseOrderSearchParams) SetNumber(number *string)
SetNumber adds the number to the purchase order search params
func (*PurchaseOrderSearchParams) SetProjectID ¶
func (o *PurchaseOrderSearchParams) SetProjectID(projectID *string)
SetProjectID adds the projectId to the purchase order search params
func (*PurchaseOrderSearchParams) SetSorting ¶
func (o *PurchaseOrderSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the purchase order search params
func (*PurchaseOrderSearchParams) SetSupplierID ¶
func (o *PurchaseOrderSearchParams) SetSupplierID(supplierID *string)
SetSupplierID adds the supplierId to the purchase order search params
func (*PurchaseOrderSearchParams) SetTimeout ¶
func (o *PurchaseOrderSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order search params
func (*PurchaseOrderSearchParams) SetWithDeviationOnly ¶
func (o *PurchaseOrderSearchParams) SetWithDeviationOnly(withDeviationOnly *bool)
SetWithDeviationOnly adds the withDeviationOnly to the purchase order search params
func (*PurchaseOrderSearchParams) WithContext ¶
func (o *PurchaseOrderSearchParams) WithContext(ctx context.Context) *PurchaseOrderSearchParams
WithContext adds the context to the purchase order search params
func (*PurchaseOrderSearchParams) WithCount ¶
func (o *PurchaseOrderSearchParams) WithCount(count *int64) *PurchaseOrderSearchParams
WithCount adds the count to the purchase order search params
func (*PurchaseOrderSearchParams) WithCreationDateFrom ¶
func (o *PurchaseOrderSearchParams) WithCreationDateFrom(creationDateFrom *string) *PurchaseOrderSearchParams
WithCreationDateFrom adds the creationDateFrom to the purchase order search params
func (*PurchaseOrderSearchParams) WithCreationDateTo ¶
func (o *PurchaseOrderSearchParams) WithCreationDateTo(creationDateTo *string) *PurchaseOrderSearchParams
WithCreationDateTo adds the creationDateTo to the purchase order search params
func (*PurchaseOrderSearchParams) WithDeliveryDateFrom ¶
func (o *PurchaseOrderSearchParams) WithDeliveryDateFrom(deliveryDateFrom *string) *PurchaseOrderSearchParams
WithDeliveryDateFrom adds the deliveryDateFrom to the purchase order search params
func (*PurchaseOrderSearchParams) WithDeliveryDateTo ¶
func (o *PurchaseOrderSearchParams) WithDeliveryDateTo(deliveryDateTo *string) *PurchaseOrderSearchParams
WithDeliveryDateTo adds the deliveryDateTo to the purchase order search params
func (*PurchaseOrderSearchParams) WithFields ¶
func (o *PurchaseOrderSearchParams) WithFields(fields *string) *PurchaseOrderSearchParams
WithFields adds the fields to the purchase order search params
func (*PurchaseOrderSearchParams) WithFrom ¶
func (o *PurchaseOrderSearchParams) WithFrom(from *int64) *PurchaseOrderSearchParams
WithFrom adds the from to the purchase order search params
func (*PurchaseOrderSearchParams) WithHTTPClient ¶
func (o *PurchaseOrderSearchParams) WithHTTPClient(client *http.Client) *PurchaseOrderSearchParams
WithHTTPClient adds the HTTPClient to the purchase order search params
func (*PurchaseOrderSearchParams) WithID ¶
func (o *PurchaseOrderSearchParams) WithID(id *string) *PurchaseOrderSearchParams
WithID adds the id to the purchase order search params
func (*PurchaseOrderSearchParams) WithIsClosed ¶
func (o *PurchaseOrderSearchParams) WithIsClosed(isClosed *bool) *PurchaseOrderSearchParams
WithIsClosed adds the isClosed to the purchase order search params
func (*PurchaseOrderSearchParams) WithNumber ¶
func (o *PurchaseOrderSearchParams) WithNumber(number *string) *PurchaseOrderSearchParams
WithNumber adds the number to the purchase order search params
func (*PurchaseOrderSearchParams) WithProjectID ¶
func (o *PurchaseOrderSearchParams) WithProjectID(projectID *string) *PurchaseOrderSearchParams
WithProjectID adds the projectID to the purchase order search params
func (*PurchaseOrderSearchParams) WithSorting ¶
func (o *PurchaseOrderSearchParams) WithSorting(sorting *string) *PurchaseOrderSearchParams
WithSorting adds the sorting to the purchase order search params
func (*PurchaseOrderSearchParams) WithSupplierID ¶
func (o *PurchaseOrderSearchParams) WithSupplierID(supplierID *string) *PurchaseOrderSearchParams
WithSupplierID adds the supplierID to the purchase order search params
func (*PurchaseOrderSearchParams) WithTimeout ¶
func (o *PurchaseOrderSearchParams) WithTimeout(timeout time.Duration) *PurchaseOrderSearchParams
WithTimeout adds the timeout to the purchase order search params
func (*PurchaseOrderSearchParams) WithWithDeviationOnly ¶
func (o *PurchaseOrderSearchParams) WithWithDeviationOnly(withDeviationOnly *bool) *PurchaseOrderSearchParams
WithWithDeviationOnly adds the withDeviationOnly to the purchase order search params
func (*PurchaseOrderSearchParams) WriteToRequest ¶
func (o *PurchaseOrderSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderSearchReader ¶
type PurchaseOrderSearchReader struct {
// contains filtered or unexported fields
}
PurchaseOrderSearchReader is a Reader for the PurchaseOrderSearch structure.
func (*PurchaseOrderSearchReader) ReadResponse ¶
func (o *PurchaseOrderSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderSendByEmailSendByEmailOK ¶
type PurchaseOrderSendByEmailSendByEmailOK struct {
Payload *models.ResponseWrapperPurchaseOrder
}
PurchaseOrderSendByEmailSendByEmailOK handles this case with default header values.
successful operation
func NewPurchaseOrderSendByEmailSendByEmailOK ¶
func NewPurchaseOrderSendByEmailSendByEmailOK() *PurchaseOrderSendByEmailSendByEmailOK
NewPurchaseOrderSendByEmailSendByEmailOK creates a PurchaseOrderSendByEmailSendByEmailOK with default headers values
func (*PurchaseOrderSendByEmailSendByEmailOK) Error ¶
func (o *PurchaseOrderSendByEmailSendByEmailOK) Error() string
func (*PurchaseOrderSendByEmailSendByEmailOK) GetPayload ¶
func (o *PurchaseOrderSendByEmailSendByEmailOK) GetPayload() *models.ResponseWrapperPurchaseOrder
type PurchaseOrderSendByEmailSendByEmailParams ¶
type PurchaseOrderSendByEmailSendByEmailParams struct { /*EmailAddress Email address */ EmailAddress string /*ID Element ID */ ID int32 /*Message Message */ Message *string /*Subject Subject */ Subject string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderSendByEmailSendByEmailParams contains all the parameters to send to the API endpoint for the purchase order send by email send by email operation typically these are written to a http.Request
func NewPurchaseOrderSendByEmailSendByEmailParams ¶
func NewPurchaseOrderSendByEmailSendByEmailParams() *PurchaseOrderSendByEmailSendByEmailParams
NewPurchaseOrderSendByEmailSendByEmailParams creates a new PurchaseOrderSendByEmailSendByEmailParams object with the default values initialized.
func NewPurchaseOrderSendByEmailSendByEmailParamsWithContext ¶
func NewPurchaseOrderSendByEmailSendByEmailParamsWithContext(ctx context.Context) *PurchaseOrderSendByEmailSendByEmailParams
NewPurchaseOrderSendByEmailSendByEmailParamsWithContext creates a new PurchaseOrderSendByEmailSendByEmailParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderSendByEmailSendByEmailParamsWithHTTPClient ¶
func NewPurchaseOrderSendByEmailSendByEmailParamsWithHTTPClient(client *http.Client) *PurchaseOrderSendByEmailSendByEmailParams
NewPurchaseOrderSendByEmailSendByEmailParamsWithHTTPClient creates a new PurchaseOrderSendByEmailSendByEmailParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderSendByEmailSendByEmailParamsWithTimeout ¶
func NewPurchaseOrderSendByEmailSendByEmailParamsWithTimeout(timeout time.Duration) *PurchaseOrderSendByEmailSendByEmailParams
NewPurchaseOrderSendByEmailSendByEmailParamsWithTimeout creates a new PurchaseOrderSendByEmailSendByEmailParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderSendByEmailSendByEmailParams) SetContext ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) SetEmailAddress ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) SetEmailAddress(emailAddress string)
SetEmailAddress adds the emailAddress to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) SetHTTPClient ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) SetID ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) SetID(id int32)
SetID adds the id to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) SetMessage ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) SetMessage(message *string)
SetMessage adds the message to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) SetSubject ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) SetSubject(subject string)
SetSubject adds the subject to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) SetTimeout ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) WithContext ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) WithContext(ctx context.Context) *PurchaseOrderSendByEmailSendByEmailParams
WithContext adds the context to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) WithEmailAddress ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) WithEmailAddress(emailAddress string) *PurchaseOrderSendByEmailSendByEmailParams
WithEmailAddress adds the emailAddress to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) WithHTTPClient ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) WithHTTPClient(client *http.Client) *PurchaseOrderSendByEmailSendByEmailParams
WithHTTPClient adds the HTTPClient to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) WithID ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) WithID(id int32) *PurchaseOrderSendByEmailSendByEmailParams
WithID adds the id to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) WithMessage ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) WithMessage(message *string) *PurchaseOrderSendByEmailSendByEmailParams
WithMessage adds the message to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) WithSubject ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) WithSubject(subject string) *PurchaseOrderSendByEmailSendByEmailParams
WithSubject adds the subject to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) WithTimeout ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) WithTimeout(timeout time.Duration) *PurchaseOrderSendByEmailSendByEmailParams
WithTimeout adds the timeout to the purchase order send by email send by email params
func (*PurchaseOrderSendByEmailSendByEmailParams) WriteToRequest ¶
func (o *PurchaseOrderSendByEmailSendByEmailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderSendByEmailSendByEmailReader ¶
type PurchaseOrderSendByEmailSendByEmailReader struct {
// contains filtered or unexported fields
}
PurchaseOrderSendByEmailSendByEmailReader is a Reader for the PurchaseOrderSendByEmailSendByEmail structure.
func (*PurchaseOrderSendByEmailSendByEmailReader) ReadResponse ¶
func (o *PurchaseOrderSendByEmailSendByEmailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurchaseOrderSendSendOK ¶
type PurchaseOrderSendSendOK struct {
Payload *models.ResponseWrapperPurchaseOrder
}
PurchaseOrderSendSendOK handles this case with default header values.
successful operation
func NewPurchaseOrderSendSendOK ¶
func NewPurchaseOrderSendSendOK() *PurchaseOrderSendSendOK
NewPurchaseOrderSendSendOK creates a PurchaseOrderSendSendOK with default headers values
func (*PurchaseOrderSendSendOK) Error ¶
func (o *PurchaseOrderSendSendOK) Error() string
func (*PurchaseOrderSendSendOK) GetPayload ¶
func (o *PurchaseOrderSendSendOK) GetPayload() *models.ResponseWrapperPurchaseOrder
type PurchaseOrderSendSendParams ¶
type PurchaseOrderSendSendParams struct { /*ID Element ID */ ID int32 /*SendType Send type.DEFAULT will determine the send parameter based on the supplier type. */ SendType *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurchaseOrderSendSendParams contains all the parameters to send to the API endpoint for the purchase order send send operation typically these are written to a http.Request
func NewPurchaseOrderSendSendParams ¶
func NewPurchaseOrderSendSendParams() *PurchaseOrderSendSendParams
NewPurchaseOrderSendSendParams creates a new PurchaseOrderSendSendParams object with the default values initialized.
func NewPurchaseOrderSendSendParamsWithContext ¶
func NewPurchaseOrderSendSendParamsWithContext(ctx context.Context) *PurchaseOrderSendSendParams
NewPurchaseOrderSendSendParamsWithContext creates a new PurchaseOrderSendSendParams object with the default values initialized, and the ability to set a context for a request
func NewPurchaseOrderSendSendParamsWithHTTPClient ¶
func NewPurchaseOrderSendSendParamsWithHTTPClient(client *http.Client) *PurchaseOrderSendSendParams
NewPurchaseOrderSendSendParamsWithHTTPClient creates a new PurchaseOrderSendSendParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurchaseOrderSendSendParamsWithTimeout ¶
func NewPurchaseOrderSendSendParamsWithTimeout(timeout time.Duration) *PurchaseOrderSendSendParams
NewPurchaseOrderSendSendParamsWithTimeout creates a new PurchaseOrderSendSendParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurchaseOrderSendSendParams) SetContext ¶
func (o *PurchaseOrderSendSendParams) SetContext(ctx context.Context)
SetContext adds the context to the purchase order send send params
func (*PurchaseOrderSendSendParams) SetHTTPClient ¶
func (o *PurchaseOrderSendSendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purchase order send send params
func (*PurchaseOrderSendSendParams) SetID ¶
func (o *PurchaseOrderSendSendParams) SetID(id int32)
SetID adds the id to the purchase order send send params
func (*PurchaseOrderSendSendParams) SetSendType ¶
func (o *PurchaseOrderSendSendParams) SetSendType(sendType *string)
SetSendType adds the sendType to the purchase order send send params
func (*PurchaseOrderSendSendParams) SetTimeout ¶
func (o *PurchaseOrderSendSendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purchase order send send params
func (*PurchaseOrderSendSendParams) WithContext ¶
func (o *PurchaseOrderSendSendParams) WithContext(ctx context.Context) *PurchaseOrderSendSendParams
WithContext adds the context to the purchase order send send params
func (*PurchaseOrderSendSendParams) WithHTTPClient ¶
func (o *PurchaseOrderSendSendParams) WithHTTPClient(client *http.Client) *PurchaseOrderSendSendParams
WithHTTPClient adds the HTTPClient to the purchase order send send params
func (*PurchaseOrderSendSendParams) WithID ¶
func (o *PurchaseOrderSendSendParams) WithID(id int32) *PurchaseOrderSendSendParams
WithID adds the id to the purchase order send send params
func (*PurchaseOrderSendSendParams) WithSendType ¶
func (o *PurchaseOrderSendSendParams) WithSendType(sendType *string) *PurchaseOrderSendSendParams
WithSendType adds the sendType to the purchase order send send params
func (*PurchaseOrderSendSendParams) WithTimeout ¶
func (o *PurchaseOrderSendSendParams) WithTimeout(timeout time.Duration) *PurchaseOrderSendSendParams
WithTimeout adds the timeout to the purchase order send send params
func (*PurchaseOrderSendSendParams) WriteToRequest ¶
func (o *PurchaseOrderSendSendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurchaseOrderSendSendReader ¶
type PurchaseOrderSendSendReader struct {
// contains filtered or unexported fields
}
PurchaseOrderSendSendReader is a Reader for the PurchaseOrderSendSend structure.
func (*PurchaseOrderSendSendReader) ReadResponse ¶
func (o *PurchaseOrderSendSendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- purchase_order_client.go
- purchase_order_delete_parameters.go
- purchase_order_delete_responses.go
- purchase_order_get_parameters.go
- purchase_order_get_responses.go
- purchase_order_post_parameters.go
- purchase_order_post_responses.go
- purchase_order_put_parameters.go
- purchase_order_put_responses.go
- purchase_order_search_parameters.go
- purchase_order_search_responses.go
- purchase_order_send_by_email_send_by_email_parameters.go
- purchase_order_send_by_email_send_by_email_responses.go
- purchase_order_send_send_parameters.go
- purchase_order_send_send_responses.go