Documentation ¶
Index ¶
- type Client
- func (a *Client) OrderOrderGroupDelete(params *OrderOrderGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) OrderOrderGroupGet(params *OrderOrderGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderGroupGetOK, error)
- func (a *Client) OrderOrderGroupPost(params *OrderOrderGroupPostParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderGroupPostCreated, error)
- func (a *Client) OrderOrderGroupPut(params *OrderOrderGroupPutParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderGroupPutOK, error)
- func (a *Client) OrderOrderGroupSearch(params *OrderOrderGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderGroupSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type OrderOrderGroupDeleteDefault
- type OrderOrderGroupDeleteParams
- func NewOrderOrderGroupDeleteParams() *OrderOrderGroupDeleteParams
- func NewOrderOrderGroupDeleteParamsWithContext(ctx context.Context) *OrderOrderGroupDeleteParams
- func NewOrderOrderGroupDeleteParamsWithHTTPClient(client *http.Client) *OrderOrderGroupDeleteParams
- func NewOrderOrderGroupDeleteParamsWithTimeout(timeout time.Duration) *OrderOrderGroupDeleteParams
- func (o *OrderOrderGroupDeleteParams) SetContext(ctx context.Context)
- func (o *OrderOrderGroupDeleteParams) SetHTTPClient(client *http.Client)
- func (o *OrderOrderGroupDeleteParams) SetID(id int32)
- func (o *OrderOrderGroupDeleteParams) SetTimeout(timeout time.Duration)
- func (o *OrderOrderGroupDeleteParams) WithContext(ctx context.Context) *OrderOrderGroupDeleteParams
- func (o *OrderOrderGroupDeleteParams) WithHTTPClient(client *http.Client) *OrderOrderGroupDeleteParams
- func (o *OrderOrderGroupDeleteParams) WithID(id int32) *OrderOrderGroupDeleteParams
- func (o *OrderOrderGroupDeleteParams) WithTimeout(timeout time.Duration) *OrderOrderGroupDeleteParams
- func (o *OrderOrderGroupDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderOrderGroupDeleteReader
- type OrderOrderGroupGetOK
- type OrderOrderGroupGetParams
- func NewOrderOrderGroupGetParams() *OrderOrderGroupGetParams
- func NewOrderOrderGroupGetParamsWithContext(ctx context.Context) *OrderOrderGroupGetParams
- func NewOrderOrderGroupGetParamsWithHTTPClient(client *http.Client) *OrderOrderGroupGetParams
- func NewOrderOrderGroupGetParamsWithTimeout(timeout time.Duration) *OrderOrderGroupGetParams
- func (o *OrderOrderGroupGetParams) SetContext(ctx context.Context)
- func (o *OrderOrderGroupGetParams) SetFields(fields *string)
- func (o *OrderOrderGroupGetParams) SetHTTPClient(client *http.Client)
- func (o *OrderOrderGroupGetParams) SetID(id int32)
- func (o *OrderOrderGroupGetParams) SetTimeout(timeout time.Duration)
- func (o *OrderOrderGroupGetParams) WithContext(ctx context.Context) *OrderOrderGroupGetParams
- func (o *OrderOrderGroupGetParams) WithFields(fields *string) *OrderOrderGroupGetParams
- func (o *OrderOrderGroupGetParams) WithHTTPClient(client *http.Client) *OrderOrderGroupGetParams
- func (o *OrderOrderGroupGetParams) WithID(id int32) *OrderOrderGroupGetParams
- func (o *OrderOrderGroupGetParams) WithTimeout(timeout time.Duration) *OrderOrderGroupGetParams
- func (o *OrderOrderGroupGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderOrderGroupGetReader
- type OrderOrderGroupPostCreated
- type OrderOrderGroupPostParams
- func NewOrderOrderGroupPostParams() *OrderOrderGroupPostParams
- func NewOrderOrderGroupPostParamsWithContext(ctx context.Context) *OrderOrderGroupPostParams
- func NewOrderOrderGroupPostParamsWithHTTPClient(client *http.Client) *OrderOrderGroupPostParams
- func NewOrderOrderGroupPostParamsWithTimeout(timeout time.Duration) *OrderOrderGroupPostParams
- func (o *OrderOrderGroupPostParams) SetBody(body *models.OrderGroup)
- func (o *OrderOrderGroupPostParams) SetContext(ctx context.Context)
- func (o *OrderOrderGroupPostParams) SetHTTPClient(client *http.Client)
- func (o *OrderOrderGroupPostParams) SetOrderLineIds(orderLineIds *string)
- func (o *OrderOrderGroupPostParams) SetTimeout(timeout time.Duration)
- func (o *OrderOrderGroupPostParams) WithBody(body *models.OrderGroup) *OrderOrderGroupPostParams
- func (o *OrderOrderGroupPostParams) WithContext(ctx context.Context) *OrderOrderGroupPostParams
- func (o *OrderOrderGroupPostParams) WithHTTPClient(client *http.Client) *OrderOrderGroupPostParams
- func (o *OrderOrderGroupPostParams) WithOrderLineIds(orderLineIds *string) *OrderOrderGroupPostParams
- func (o *OrderOrderGroupPostParams) WithTimeout(timeout time.Duration) *OrderOrderGroupPostParams
- func (o *OrderOrderGroupPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderOrderGroupPostReader
- type OrderOrderGroupPutOK
- type OrderOrderGroupPutParams
- func NewOrderOrderGroupPutParams() *OrderOrderGroupPutParams
- func NewOrderOrderGroupPutParamsWithContext(ctx context.Context) *OrderOrderGroupPutParams
- func NewOrderOrderGroupPutParamsWithHTTPClient(client *http.Client) *OrderOrderGroupPutParams
- func NewOrderOrderGroupPutParamsWithTimeout(timeout time.Duration) *OrderOrderGroupPutParams
- func (o *OrderOrderGroupPutParams) SetBody(body *models.OrderGroup)
- func (o *OrderOrderGroupPutParams) SetContext(ctx context.Context)
- func (o *OrderOrderGroupPutParams) SetHTTPClient(client *http.Client)
- func (o *OrderOrderGroupPutParams) SetOrderLineIds(orderLineIds *string)
- func (o *OrderOrderGroupPutParams) SetRemoveExistingOrderLines(removeExistingOrderLines *bool)
- func (o *OrderOrderGroupPutParams) SetTimeout(timeout time.Duration)
- func (o *OrderOrderGroupPutParams) WithBody(body *models.OrderGroup) *OrderOrderGroupPutParams
- func (o *OrderOrderGroupPutParams) WithContext(ctx context.Context) *OrderOrderGroupPutParams
- func (o *OrderOrderGroupPutParams) WithHTTPClient(client *http.Client) *OrderOrderGroupPutParams
- func (o *OrderOrderGroupPutParams) WithOrderLineIds(orderLineIds *string) *OrderOrderGroupPutParams
- func (o *OrderOrderGroupPutParams) WithRemoveExistingOrderLines(removeExistingOrderLines *bool) *OrderOrderGroupPutParams
- func (o *OrderOrderGroupPutParams) WithTimeout(timeout time.Duration) *OrderOrderGroupPutParams
- func (o *OrderOrderGroupPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderOrderGroupPutReader
- type OrderOrderGroupSearchOK
- type OrderOrderGroupSearchParams
- func NewOrderOrderGroupSearchParams() *OrderOrderGroupSearchParams
- func NewOrderOrderGroupSearchParamsWithContext(ctx context.Context) *OrderOrderGroupSearchParams
- func NewOrderOrderGroupSearchParamsWithHTTPClient(client *http.Client) *OrderOrderGroupSearchParams
- func NewOrderOrderGroupSearchParamsWithTimeout(timeout time.Duration) *OrderOrderGroupSearchParams
- func (o *OrderOrderGroupSearchParams) SetContext(ctx context.Context)
- func (o *OrderOrderGroupSearchParams) SetCount(count *int64)
- func (o *OrderOrderGroupSearchParams) SetFields(fields *string)
- func (o *OrderOrderGroupSearchParams) SetFrom(from *int64)
- func (o *OrderOrderGroupSearchParams) SetHTTPClient(client *http.Client)
- func (o *OrderOrderGroupSearchParams) SetIds(ids *string)
- func (o *OrderOrderGroupSearchParams) SetOrderIds(orderIds *string)
- func (o *OrderOrderGroupSearchParams) SetSorting(sorting *string)
- func (o *OrderOrderGroupSearchParams) SetTimeout(timeout time.Duration)
- func (o *OrderOrderGroupSearchParams) WithContext(ctx context.Context) *OrderOrderGroupSearchParams
- func (o *OrderOrderGroupSearchParams) WithCount(count *int64) *OrderOrderGroupSearchParams
- func (o *OrderOrderGroupSearchParams) WithFields(fields *string) *OrderOrderGroupSearchParams
- func (o *OrderOrderGroupSearchParams) WithFrom(from *int64) *OrderOrderGroupSearchParams
- func (o *OrderOrderGroupSearchParams) WithHTTPClient(client *http.Client) *OrderOrderGroupSearchParams
- func (o *OrderOrderGroupSearchParams) WithIds(ids *string) *OrderOrderGroupSearchParams
- func (o *OrderOrderGroupSearchParams) WithOrderIds(orderIds *string) *OrderOrderGroupSearchParams
- func (o *OrderOrderGroupSearchParams) WithSorting(sorting *string) *OrderOrderGroupSearchParams
- func (o *OrderOrderGroupSearchParams) WithTimeout(timeout time.Duration) *OrderOrderGroupSearchParams
- func (o *OrderOrderGroupSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrderOrderGroupSearchReader
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 order group API
func (*Client) OrderOrderGroupDelete ¶
func (a *Client) OrderOrderGroupDelete(params *OrderOrderGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
OrderOrderGroupDelete beta delete order group by ID
func (*Client) OrderOrderGroupGet ¶
func (a *Client) OrderOrderGroupGet(params *OrderOrderGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderGroupGetOK, error)
OrderOrderGroupGet beta get order group by ID a order group is a way to group order lines and add comments and subtotals
func (*Client) OrderOrderGroupPost ¶
func (a *Client) OrderOrderGroupPost(params *OrderOrderGroupPostParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderGroupPostCreated, error)
OrderOrderGroupPost beta post order group
func (*Client) OrderOrderGroupPut ¶
func (a *Client) OrderOrderGroupPut(params *OrderOrderGroupPutParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderGroupPutOK, error)
OrderOrderGroupPut beta put order group
func (*Client) OrderOrderGroupSearch ¶
func (a *Client) OrderOrderGroupSearch(params *OrderOrderGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderGroupSearchOK, error)
OrderOrderGroupSearch bs e t a find order groups corresponding with sent data
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { OrderOrderGroupDelete(params *OrderOrderGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter) error OrderOrderGroupGet(params *OrderOrderGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderGroupGetOK, error) OrderOrderGroupPost(params *OrderOrderGroupPostParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderGroupPostCreated, error) OrderOrderGroupPut(params *OrderOrderGroupPutParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderGroupPutOK, error) OrderOrderGroupSearch(params *OrderOrderGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderGroupSearchOK, 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 order group API client.
type OrderOrderGroupDeleteDefault ¶
type OrderOrderGroupDeleteDefault struct {
// contains filtered or unexported fields
}
OrderOrderGroupDeleteDefault handles this case with default header values.
successful operation
func NewOrderOrderGroupDeleteDefault ¶
func NewOrderOrderGroupDeleteDefault(code int) *OrderOrderGroupDeleteDefault
NewOrderOrderGroupDeleteDefault creates a OrderOrderGroupDeleteDefault with default headers values
func (*OrderOrderGroupDeleteDefault) Code ¶
func (o *OrderOrderGroupDeleteDefault) Code() int
Code gets the status code for the order order group delete default response
func (*OrderOrderGroupDeleteDefault) Error ¶
func (o *OrderOrderGroupDeleteDefault) Error() string
type OrderOrderGroupDeleteParams ¶
type OrderOrderGroupDeleteParams struct { /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrderOrderGroupDeleteParams contains all the parameters to send to the API endpoint for the order order group delete operation typically these are written to a http.Request
func NewOrderOrderGroupDeleteParams ¶
func NewOrderOrderGroupDeleteParams() *OrderOrderGroupDeleteParams
NewOrderOrderGroupDeleteParams creates a new OrderOrderGroupDeleteParams object with the default values initialized.
func NewOrderOrderGroupDeleteParamsWithContext ¶
func NewOrderOrderGroupDeleteParamsWithContext(ctx context.Context) *OrderOrderGroupDeleteParams
NewOrderOrderGroupDeleteParamsWithContext creates a new OrderOrderGroupDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewOrderOrderGroupDeleteParamsWithHTTPClient ¶
func NewOrderOrderGroupDeleteParamsWithHTTPClient(client *http.Client) *OrderOrderGroupDeleteParams
NewOrderOrderGroupDeleteParamsWithHTTPClient creates a new OrderOrderGroupDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOrderOrderGroupDeleteParamsWithTimeout ¶
func NewOrderOrderGroupDeleteParamsWithTimeout(timeout time.Duration) *OrderOrderGroupDeleteParams
NewOrderOrderGroupDeleteParamsWithTimeout creates a new OrderOrderGroupDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*OrderOrderGroupDeleteParams) SetContext ¶
func (o *OrderOrderGroupDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the order order group delete params
func (*OrderOrderGroupDeleteParams) SetHTTPClient ¶
func (o *OrderOrderGroupDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the order order group delete params
func (*OrderOrderGroupDeleteParams) SetID ¶
func (o *OrderOrderGroupDeleteParams) SetID(id int32)
SetID adds the id to the order order group delete params
func (*OrderOrderGroupDeleteParams) SetTimeout ¶
func (o *OrderOrderGroupDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the order order group delete params
func (*OrderOrderGroupDeleteParams) WithContext ¶
func (o *OrderOrderGroupDeleteParams) WithContext(ctx context.Context) *OrderOrderGroupDeleteParams
WithContext adds the context to the order order group delete params
func (*OrderOrderGroupDeleteParams) WithHTTPClient ¶
func (o *OrderOrderGroupDeleteParams) WithHTTPClient(client *http.Client) *OrderOrderGroupDeleteParams
WithHTTPClient adds the HTTPClient to the order order group delete params
func (*OrderOrderGroupDeleteParams) WithID ¶
func (o *OrderOrderGroupDeleteParams) WithID(id int32) *OrderOrderGroupDeleteParams
WithID adds the id to the order order group delete params
func (*OrderOrderGroupDeleteParams) WithTimeout ¶
func (o *OrderOrderGroupDeleteParams) WithTimeout(timeout time.Duration) *OrderOrderGroupDeleteParams
WithTimeout adds the timeout to the order order group delete params
func (*OrderOrderGroupDeleteParams) WriteToRequest ¶
func (o *OrderOrderGroupDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrderOrderGroupDeleteReader ¶
type OrderOrderGroupDeleteReader struct {
// contains filtered or unexported fields
}
OrderOrderGroupDeleteReader is a Reader for the OrderOrderGroupDelete structure.
func (*OrderOrderGroupDeleteReader) ReadResponse ¶
func (o *OrderOrderGroupDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrderOrderGroupGetOK ¶
type OrderOrderGroupGetOK struct {
Payload *models.ResponseWrapperOrderGroup
}
OrderOrderGroupGetOK handles this case with default header values.
successful operation
func NewOrderOrderGroupGetOK ¶
func NewOrderOrderGroupGetOK() *OrderOrderGroupGetOK
NewOrderOrderGroupGetOK creates a OrderOrderGroupGetOK with default headers values
func (*OrderOrderGroupGetOK) Error ¶
func (o *OrderOrderGroupGetOK) Error() string
func (*OrderOrderGroupGetOK) GetPayload ¶
func (o *OrderOrderGroupGetOK) GetPayload() *models.ResponseWrapperOrderGroup
type OrderOrderGroupGetParams ¶
type OrderOrderGroupGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrderOrderGroupGetParams contains all the parameters to send to the API endpoint for the order order group get operation typically these are written to a http.Request
func NewOrderOrderGroupGetParams ¶
func NewOrderOrderGroupGetParams() *OrderOrderGroupGetParams
NewOrderOrderGroupGetParams creates a new OrderOrderGroupGetParams object with the default values initialized.
func NewOrderOrderGroupGetParamsWithContext ¶
func NewOrderOrderGroupGetParamsWithContext(ctx context.Context) *OrderOrderGroupGetParams
NewOrderOrderGroupGetParamsWithContext creates a new OrderOrderGroupGetParams object with the default values initialized, and the ability to set a context for a request
func NewOrderOrderGroupGetParamsWithHTTPClient ¶
func NewOrderOrderGroupGetParamsWithHTTPClient(client *http.Client) *OrderOrderGroupGetParams
NewOrderOrderGroupGetParamsWithHTTPClient creates a new OrderOrderGroupGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOrderOrderGroupGetParamsWithTimeout ¶
func NewOrderOrderGroupGetParamsWithTimeout(timeout time.Duration) *OrderOrderGroupGetParams
NewOrderOrderGroupGetParamsWithTimeout creates a new OrderOrderGroupGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*OrderOrderGroupGetParams) SetContext ¶
func (o *OrderOrderGroupGetParams) SetContext(ctx context.Context)
SetContext adds the context to the order order group get params
func (*OrderOrderGroupGetParams) SetFields ¶
func (o *OrderOrderGroupGetParams) SetFields(fields *string)
SetFields adds the fields to the order order group get params
func (*OrderOrderGroupGetParams) SetHTTPClient ¶
func (o *OrderOrderGroupGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the order order group get params
func (*OrderOrderGroupGetParams) SetID ¶
func (o *OrderOrderGroupGetParams) SetID(id int32)
SetID adds the id to the order order group get params
func (*OrderOrderGroupGetParams) SetTimeout ¶
func (o *OrderOrderGroupGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the order order group get params
func (*OrderOrderGroupGetParams) WithContext ¶
func (o *OrderOrderGroupGetParams) WithContext(ctx context.Context) *OrderOrderGroupGetParams
WithContext adds the context to the order order group get params
func (*OrderOrderGroupGetParams) WithFields ¶
func (o *OrderOrderGroupGetParams) WithFields(fields *string) *OrderOrderGroupGetParams
WithFields adds the fields to the order order group get params
func (*OrderOrderGroupGetParams) WithHTTPClient ¶
func (o *OrderOrderGroupGetParams) WithHTTPClient(client *http.Client) *OrderOrderGroupGetParams
WithHTTPClient adds the HTTPClient to the order order group get params
func (*OrderOrderGroupGetParams) WithID ¶
func (o *OrderOrderGroupGetParams) WithID(id int32) *OrderOrderGroupGetParams
WithID adds the id to the order order group get params
func (*OrderOrderGroupGetParams) WithTimeout ¶
func (o *OrderOrderGroupGetParams) WithTimeout(timeout time.Duration) *OrderOrderGroupGetParams
WithTimeout adds the timeout to the order order group get params
func (*OrderOrderGroupGetParams) WriteToRequest ¶
func (o *OrderOrderGroupGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrderOrderGroupGetReader ¶
type OrderOrderGroupGetReader struct {
// contains filtered or unexported fields
}
OrderOrderGroupGetReader is a Reader for the OrderOrderGroupGet structure.
func (*OrderOrderGroupGetReader) ReadResponse ¶
func (o *OrderOrderGroupGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrderOrderGroupPostCreated ¶
type OrderOrderGroupPostCreated struct {
Payload *models.ResponseWrapperOrderGroup
}
OrderOrderGroupPostCreated handles this case with default header values.
successfully created
func NewOrderOrderGroupPostCreated ¶
func NewOrderOrderGroupPostCreated() *OrderOrderGroupPostCreated
NewOrderOrderGroupPostCreated creates a OrderOrderGroupPostCreated with default headers values
func (*OrderOrderGroupPostCreated) Error ¶
func (o *OrderOrderGroupPostCreated) Error() string
func (*OrderOrderGroupPostCreated) GetPayload ¶
func (o *OrderOrderGroupPostCreated) GetPayload() *models.ResponseWrapperOrderGroup
type OrderOrderGroupPostParams ¶
type OrderOrderGroupPostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.OrderGroup /*OrderLineIds List of IDs */ OrderLineIds *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrderOrderGroupPostParams contains all the parameters to send to the API endpoint for the order order group post operation typically these are written to a http.Request
func NewOrderOrderGroupPostParams ¶
func NewOrderOrderGroupPostParams() *OrderOrderGroupPostParams
NewOrderOrderGroupPostParams creates a new OrderOrderGroupPostParams object with the default values initialized.
func NewOrderOrderGroupPostParamsWithContext ¶
func NewOrderOrderGroupPostParamsWithContext(ctx context.Context) *OrderOrderGroupPostParams
NewOrderOrderGroupPostParamsWithContext creates a new OrderOrderGroupPostParams object with the default values initialized, and the ability to set a context for a request
func NewOrderOrderGroupPostParamsWithHTTPClient ¶
func NewOrderOrderGroupPostParamsWithHTTPClient(client *http.Client) *OrderOrderGroupPostParams
NewOrderOrderGroupPostParamsWithHTTPClient creates a new OrderOrderGroupPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOrderOrderGroupPostParamsWithTimeout ¶
func NewOrderOrderGroupPostParamsWithTimeout(timeout time.Duration) *OrderOrderGroupPostParams
NewOrderOrderGroupPostParamsWithTimeout creates a new OrderOrderGroupPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*OrderOrderGroupPostParams) SetBody ¶
func (o *OrderOrderGroupPostParams) SetBody(body *models.OrderGroup)
SetBody adds the body to the order order group post params
func (*OrderOrderGroupPostParams) SetContext ¶
func (o *OrderOrderGroupPostParams) SetContext(ctx context.Context)
SetContext adds the context to the order order group post params
func (*OrderOrderGroupPostParams) SetHTTPClient ¶
func (o *OrderOrderGroupPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the order order group post params
func (*OrderOrderGroupPostParams) SetOrderLineIds ¶
func (o *OrderOrderGroupPostParams) SetOrderLineIds(orderLineIds *string)
SetOrderLineIds adds the orderLineIds to the order order group post params
func (*OrderOrderGroupPostParams) SetTimeout ¶
func (o *OrderOrderGroupPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the order order group post params
func (*OrderOrderGroupPostParams) WithBody ¶
func (o *OrderOrderGroupPostParams) WithBody(body *models.OrderGroup) *OrderOrderGroupPostParams
WithBody adds the body to the order order group post params
func (*OrderOrderGroupPostParams) WithContext ¶
func (o *OrderOrderGroupPostParams) WithContext(ctx context.Context) *OrderOrderGroupPostParams
WithContext adds the context to the order order group post params
func (*OrderOrderGroupPostParams) WithHTTPClient ¶
func (o *OrderOrderGroupPostParams) WithHTTPClient(client *http.Client) *OrderOrderGroupPostParams
WithHTTPClient adds the HTTPClient to the order order group post params
func (*OrderOrderGroupPostParams) WithOrderLineIds ¶
func (o *OrderOrderGroupPostParams) WithOrderLineIds(orderLineIds *string) *OrderOrderGroupPostParams
WithOrderLineIds adds the orderLineIds to the order order group post params
func (*OrderOrderGroupPostParams) WithTimeout ¶
func (o *OrderOrderGroupPostParams) WithTimeout(timeout time.Duration) *OrderOrderGroupPostParams
WithTimeout adds the timeout to the order order group post params
func (*OrderOrderGroupPostParams) WriteToRequest ¶
func (o *OrderOrderGroupPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrderOrderGroupPostReader ¶
type OrderOrderGroupPostReader struct {
// contains filtered or unexported fields
}
OrderOrderGroupPostReader is a Reader for the OrderOrderGroupPost structure.
func (*OrderOrderGroupPostReader) ReadResponse ¶
func (o *OrderOrderGroupPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrderOrderGroupPutOK ¶
type OrderOrderGroupPutOK struct {
Payload *models.ResponseWrapperOrderGroup
}
OrderOrderGroupPutOK handles this case with default header values.
successful operation
func NewOrderOrderGroupPutOK ¶
func NewOrderOrderGroupPutOK() *OrderOrderGroupPutOK
NewOrderOrderGroupPutOK creates a OrderOrderGroupPutOK with default headers values
func (*OrderOrderGroupPutOK) Error ¶
func (o *OrderOrderGroupPutOK) Error() string
func (*OrderOrderGroupPutOK) GetPayload ¶
func (o *OrderOrderGroupPutOK) GetPayload() *models.ResponseWrapperOrderGroup
type OrderOrderGroupPutParams ¶
type OrderOrderGroupPutParams struct { /*OrderLineIds List of IDs */ OrderLineIds *string /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.OrderGroup /*RemoveExistingOrderLines Should existing orderLines be removed from this orderGroup */ RemoveExistingOrderLines *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrderOrderGroupPutParams contains all the parameters to send to the API endpoint for the order order group put operation typically these are written to a http.Request
func NewOrderOrderGroupPutParams ¶
func NewOrderOrderGroupPutParams() *OrderOrderGroupPutParams
NewOrderOrderGroupPutParams creates a new OrderOrderGroupPutParams object with the default values initialized.
func NewOrderOrderGroupPutParamsWithContext ¶
func NewOrderOrderGroupPutParamsWithContext(ctx context.Context) *OrderOrderGroupPutParams
NewOrderOrderGroupPutParamsWithContext creates a new OrderOrderGroupPutParams object with the default values initialized, and the ability to set a context for a request
func NewOrderOrderGroupPutParamsWithHTTPClient ¶
func NewOrderOrderGroupPutParamsWithHTTPClient(client *http.Client) *OrderOrderGroupPutParams
NewOrderOrderGroupPutParamsWithHTTPClient creates a new OrderOrderGroupPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOrderOrderGroupPutParamsWithTimeout ¶
func NewOrderOrderGroupPutParamsWithTimeout(timeout time.Duration) *OrderOrderGroupPutParams
NewOrderOrderGroupPutParamsWithTimeout creates a new OrderOrderGroupPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*OrderOrderGroupPutParams) SetBody ¶
func (o *OrderOrderGroupPutParams) SetBody(body *models.OrderGroup)
SetBody adds the body to the order order group put params
func (*OrderOrderGroupPutParams) SetContext ¶
func (o *OrderOrderGroupPutParams) SetContext(ctx context.Context)
SetContext adds the context to the order order group put params
func (*OrderOrderGroupPutParams) SetHTTPClient ¶
func (o *OrderOrderGroupPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the order order group put params
func (*OrderOrderGroupPutParams) SetOrderLineIds ¶
func (o *OrderOrderGroupPutParams) SetOrderLineIds(orderLineIds *string)
SetOrderLineIds adds the orderLineIds to the order order group put params
func (*OrderOrderGroupPutParams) SetRemoveExistingOrderLines ¶
func (o *OrderOrderGroupPutParams) SetRemoveExistingOrderLines(removeExistingOrderLines *bool)
SetRemoveExistingOrderLines adds the removeExistingOrderLines to the order order group put params
func (*OrderOrderGroupPutParams) SetTimeout ¶
func (o *OrderOrderGroupPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the order order group put params
func (*OrderOrderGroupPutParams) WithBody ¶
func (o *OrderOrderGroupPutParams) WithBody(body *models.OrderGroup) *OrderOrderGroupPutParams
WithBody adds the body to the order order group put params
func (*OrderOrderGroupPutParams) WithContext ¶
func (o *OrderOrderGroupPutParams) WithContext(ctx context.Context) *OrderOrderGroupPutParams
WithContext adds the context to the order order group put params
func (*OrderOrderGroupPutParams) WithHTTPClient ¶
func (o *OrderOrderGroupPutParams) WithHTTPClient(client *http.Client) *OrderOrderGroupPutParams
WithHTTPClient adds the HTTPClient to the order order group put params
func (*OrderOrderGroupPutParams) WithOrderLineIds ¶
func (o *OrderOrderGroupPutParams) WithOrderLineIds(orderLineIds *string) *OrderOrderGroupPutParams
WithOrderLineIds adds the orderLineIds to the order order group put params
func (*OrderOrderGroupPutParams) WithRemoveExistingOrderLines ¶
func (o *OrderOrderGroupPutParams) WithRemoveExistingOrderLines(removeExistingOrderLines *bool) *OrderOrderGroupPutParams
WithRemoveExistingOrderLines adds the removeExistingOrderLines to the order order group put params
func (*OrderOrderGroupPutParams) WithTimeout ¶
func (o *OrderOrderGroupPutParams) WithTimeout(timeout time.Duration) *OrderOrderGroupPutParams
WithTimeout adds the timeout to the order order group put params
func (*OrderOrderGroupPutParams) WriteToRequest ¶
func (o *OrderOrderGroupPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrderOrderGroupPutReader ¶
type OrderOrderGroupPutReader struct {
// contains filtered or unexported fields
}
OrderOrderGroupPutReader is a Reader for the OrderOrderGroupPut structure.
func (*OrderOrderGroupPutReader) ReadResponse ¶
func (o *OrderOrderGroupPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrderOrderGroupSearchOK ¶
type OrderOrderGroupSearchOK struct {
Payload *models.ListResponseOrderGroup
}
OrderOrderGroupSearchOK handles this case with default header values.
successful operation
func NewOrderOrderGroupSearchOK ¶
func NewOrderOrderGroupSearchOK() *OrderOrderGroupSearchOK
NewOrderOrderGroupSearchOK creates a OrderOrderGroupSearchOK with default headers values
func (*OrderOrderGroupSearchOK) Error ¶
func (o *OrderOrderGroupSearchOK) Error() string
func (*OrderOrderGroupSearchOK) GetPayload ¶
func (o *OrderOrderGroupSearchOK) GetPayload() *models.ListResponseOrderGroup
type OrderOrderGroupSearchParams ¶
type OrderOrderGroupSearchParams struct { /*Count Number of elements to return */ Count *int64 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*Ids List of IDs */ Ids *string /*OrderIds List of IDs */ OrderIds *string /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrderOrderGroupSearchParams contains all the parameters to send to the API endpoint for the order order group search operation typically these are written to a http.Request
func NewOrderOrderGroupSearchParams ¶
func NewOrderOrderGroupSearchParams() *OrderOrderGroupSearchParams
NewOrderOrderGroupSearchParams creates a new OrderOrderGroupSearchParams object with the default values initialized.
func NewOrderOrderGroupSearchParamsWithContext ¶
func NewOrderOrderGroupSearchParamsWithContext(ctx context.Context) *OrderOrderGroupSearchParams
NewOrderOrderGroupSearchParamsWithContext creates a new OrderOrderGroupSearchParams object with the default values initialized, and the ability to set a context for a request
func NewOrderOrderGroupSearchParamsWithHTTPClient ¶
func NewOrderOrderGroupSearchParamsWithHTTPClient(client *http.Client) *OrderOrderGroupSearchParams
NewOrderOrderGroupSearchParamsWithHTTPClient creates a new OrderOrderGroupSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewOrderOrderGroupSearchParamsWithTimeout ¶
func NewOrderOrderGroupSearchParamsWithTimeout(timeout time.Duration) *OrderOrderGroupSearchParams
NewOrderOrderGroupSearchParamsWithTimeout creates a new OrderOrderGroupSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*OrderOrderGroupSearchParams) SetContext ¶
func (o *OrderOrderGroupSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the order order group search params
func (*OrderOrderGroupSearchParams) SetCount ¶
func (o *OrderOrderGroupSearchParams) SetCount(count *int64)
SetCount adds the count to the order order group search params
func (*OrderOrderGroupSearchParams) SetFields ¶
func (o *OrderOrderGroupSearchParams) SetFields(fields *string)
SetFields adds the fields to the order order group search params
func (*OrderOrderGroupSearchParams) SetFrom ¶
func (o *OrderOrderGroupSearchParams) SetFrom(from *int64)
SetFrom adds the from to the order order group search params
func (*OrderOrderGroupSearchParams) SetHTTPClient ¶
func (o *OrderOrderGroupSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the order order group search params
func (*OrderOrderGroupSearchParams) SetIds ¶
func (o *OrderOrderGroupSearchParams) SetIds(ids *string)
SetIds adds the ids to the order order group search params
func (*OrderOrderGroupSearchParams) SetOrderIds ¶
func (o *OrderOrderGroupSearchParams) SetOrderIds(orderIds *string)
SetOrderIds adds the orderIds to the order order group search params
func (*OrderOrderGroupSearchParams) SetSorting ¶
func (o *OrderOrderGroupSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the order order group search params
func (*OrderOrderGroupSearchParams) SetTimeout ¶
func (o *OrderOrderGroupSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the order order group search params
func (*OrderOrderGroupSearchParams) WithContext ¶
func (o *OrderOrderGroupSearchParams) WithContext(ctx context.Context) *OrderOrderGroupSearchParams
WithContext adds the context to the order order group search params
func (*OrderOrderGroupSearchParams) WithCount ¶
func (o *OrderOrderGroupSearchParams) WithCount(count *int64) *OrderOrderGroupSearchParams
WithCount adds the count to the order order group search params
func (*OrderOrderGroupSearchParams) WithFields ¶
func (o *OrderOrderGroupSearchParams) WithFields(fields *string) *OrderOrderGroupSearchParams
WithFields adds the fields to the order order group search params
func (*OrderOrderGroupSearchParams) WithFrom ¶
func (o *OrderOrderGroupSearchParams) WithFrom(from *int64) *OrderOrderGroupSearchParams
WithFrom adds the from to the order order group search params
func (*OrderOrderGroupSearchParams) WithHTTPClient ¶
func (o *OrderOrderGroupSearchParams) WithHTTPClient(client *http.Client) *OrderOrderGroupSearchParams
WithHTTPClient adds the HTTPClient to the order order group search params
func (*OrderOrderGroupSearchParams) WithIds ¶
func (o *OrderOrderGroupSearchParams) WithIds(ids *string) *OrderOrderGroupSearchParams
WithIds adds the ids to the order order group search params
func (*OrderOrderGroupSearchParams) WithOrderIds ¶
func (o *OrderOrderGroupSearchParams) WithOrderIds(orderIds *string) *OrderOrderGroupSearchParams
WithOrderIds adds the orderIds to the order order group search params
func (*OrderOrderGroupSearchParams) WithSorting ¶
func (o *OrderOrderGroupSearchParams) WithSorting(sorting *string) *OrderOrderGroupSearchParams
WithSorting adds the sorting to the order order group search params
func (*OrderOrderGroupSearchParams) WithTimeout ¶
func (o *OrderOrderGroupSearchParams) WithTimeout(timeout time.Duration) *OrderOrderGroupSearchParams
WithTimeout adds the timeout to the order order group search params
func (*OrderOrderGroupSearchParams) WriteToRequest ¶
func (o *OrderOrderGroupSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrderOrderGroupSearchReader ¶
type OrderOrderGroupSearchReader struct {
// contains filtered or unexported fields
}
OrderOrderGroupSearchReader is a Reader for the OrderOrderGroupSearch structure.
func (*OrderOrderGroupSearchReader) ReadResponse ¶
func (o *OrderOrderGroupSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- order_group_client.go
- order_order_group_delete_parameters.go
- order_order_group_delete_responses.go
- order_order_group_get_parameters.go
- order_order_group_get_responses.go
- order_order_group_post_parameters.go
- order_order_group_post_responses.go
- order_order_group_put_parameters.go
- order_order_group_put_responses.go
- order_order_group_search_parameters.go
- order_order_group_search_responses.go