Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateReportAsync(params *CreateReportAsyncParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateReportAsyncOK, error)
- func (a *Client) DeleteProductContainer(params *DeleteProductContainerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProductContainerOK, error)
- func (a *Client) GetByIDWithRowIssues(params *GetByIDWithRowIssuesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetByIDWithRowIssuesOK, error)
- func (a *Client) GetOrCreateShoppingCart(params *GetOrCreateShoppingCartParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrCreateShoppingCartOK, error)
- func (a *Client) GetProductContainerByID(params *GetProductContainerByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProductContainerByIDOK, error)
- func (a *Client) GetProductContainers(params *GetProductContainersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProductContainersOK, error)
- func (a *Client) PatchProductRow(params *PatchProductRowParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchProductRowOK, error)
- func (a *Client) PutProductContainer(params *PutProductContainerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutProductContainerOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateReportAsyncOK
- type CreateReportAsyncParams
- func NewCreateReportAsyncParams() *CreateReportAsyncParams
- func NewCreateReportAsyncParamsWithContext(ctx context.Context) *CreateReportAsyncParams
- func NewCreateReportAsyncParamsWithHTTPClient(client *http.Client) *CreateReportAsyncParams
- func NewCreateReportAsyncParamsWithTimeout(timeout time.Duration) *CreateReportAsyncParams
- func (o *CreateReportAsyncParams) SetContext(ctx context.Context)
- func (o *CreateReportAsyncParams) SetCopyLast(copyLast *bool)
- func (o *CreateReportAsyncParams) SetDefaults()
- func (o *CreateReportAsyncParams) SetHTTPClient(client *http.Client)
- func (o *CreateReportAsyncParams) SetMonth(month *int32)
- func (o *CreateReportAsyncParams) SetOrganizationID(organizationID *int32)
- func (o *CreateReportAsyncParams) SetProgramID(programID *int32)
- func (o *CreateReportAsyncParams) SetTimeout(timeout time.Duration)
- func (o *CreateReportAsyncParams) SetYear(year *int32)
- func (o *CreateReportAsyncParams) WithContext(ctx context.Context) *CreateReportAsyncParams
- func (o *CreateReportAsyncParams) WithCopyLast(copyLast *bool) *CreateReportAsyncParams
- func (o *CreateReportAsyncParams) WithDefaults() *CreateReportAsyncParams
- func (o *CreateReportAsyncParams) WithHTTPClient(client *http.Client) *CreateReportAsyncParams
- func (o *CreateReportAsyncParams) WithMonth(month *int32) *CreateReportAsyncParams
- func (o *CreateReportAsyncParams) WithOrganizationID(organizationID *int32) *CreateReportAsyncParams
- func (o *CreateReportAsyncParams) WithProgramID(programID *int32) *CreateReportAsyncParams
- func (o *CreateReportAsyncParams) WithTimeout(timeout time.Duration) *CreateReportAsyncParams
- func (o *CreateReportAsyncParams) WithYear(year *int32) *CreateReportAsyncParams
- func (o *CreateReportAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReportAsyncReader
- type DeleteProductContainerOK
- type DeleteProductContainerParams
- func NewDeleteProductContainerParams() *DeleteProductContainerParams
- func NewDeleteProductContainerParamsWithContext(ctx context.Context) *DeleteProductContainerParams
- func NewDeleteProductContainerParamsWithHTTPClient(client *http.Client) *DeleteProductContainerParams
- func NewDeleteProductContainerParamsWithTimeout(timeout time.Duration) *DeleteProductContainerParams
- func (o *DeleteProductContainerParams) SetContext(ctx context.Context)
- func (o *DeleteProductContainerParams) SetDefaults()
- func (o *DeleteProductContainerParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProductContainerParams) SetID(id int32)
- func (o *DeleteProductContainerParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProductContainerParams) WithContext(ctx context.Context) *DeleteProductContainerParams
- func (o *DeleteProductContainerParams) WithDefaults() *DeleteProductContainerParams
- func (o *DeleteProductContainerParams) WithHTTPClient(client *http.Client) *DeleteProductContainerParams
- func (o *DeleteProductContainerParams) WithID(id int32) *DeleteProductContainerParams
- func (o *DeleteProductContainerParams) WithTimeout(timeout time.Duration) *DeleteProductContainerParams
- func (o *DeleteProductContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProductContainerReader
- type GetByIDWithRowIssuesOK
- type GetByIDWithRowIssuesParams
- func NewGetByIDWithRowIssuesParams() *GetByIDWithRowIssuesParams
- func NewGetByIDWithRowIssuesParamsWithContext(ctx context.Context) *GetByIDWithRowIssuesParams
- func NewGetByIDWithRowIssuesParamsWithHTTPClient(client *http.Client) *GetByIDWithRowIssuesParams
- func NewGetByIDWithRowIssuesParamsWithTimeout(timeout time.Duration) *GetByIDWithRowIssuesParams
- func (o *GetByIDWithRowIssuesParams) SetContext(ctx context.Context)
- func (o *GetByIDWithRowIssuesParams) SetDefaults()
- func (o *GetByIDWithRowIssuesParams) SetHTTPClient(client *http.Client)
- func (o *GetByIDWithRowIssuesParams) SetID(id int32)
- func (o *GetByIDWithRowIssuesParams) SetTimeout(timeout time.Duration)
- func (o *GetByIDWithRowIssuesParams) WithContext(ctx context.Context) *GetByIDWithRowIssuesParams
- func (o *GetByIDWithRowIssuesParams) WithDefaults() *GetByIDWithRowIssuesParams
- func (o *GetByIDWithRowIssuesParams) WithHTTPClient(client *http.Client) *GetByIDWithRowIssuesParams
- func (o *GetByIDWithRowIssuesParams) WithID(id int32) *GetByIDWithRowIssuesParams
- func (o *GetByIDWithRowIssuesParams) WithTimeout(timeout time.Duration) *GetByIDWithRowIssuesParams
- func (o *GetByIDWithRowIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetByIDWithRowIssuesReader
- type GetOrCreateShoppingCartOK
- type GetOrCreateShoppingCartParams
- func NewGetOrCreateShoppingCartParams() *GetOrCreateShoppingCartParams
- func NewGetOrCreateShoppingCartParamsWithContext(ctx context.Context) *GetOrCreateShoppingCartParams
- func NewGetOrCreateShoppingCartParamsWithHTTPClient(client *http.Client) *GetOrCreateShoppingCartParams
- func NewGetOrCreateShoppingCartParamsWithTimeout(timeout time.Duration) *GetOrCreateShoppingCartParams
- func (o *GetOrCreateShoppingCartParams) SetContext(ctx context.Context)
- func (o *GetOrCreateShoppingCartParams) SetDefaults()
- func (o *GetOrCreateShoppingCartParams) SetHTTPClient(client *http.Client)
- func (o *GetOrCreateShoppingCartParams) SetOrganizationID(organizationID *int32)
- func (o *GetOrCreateShoppingCartParams) SetTimeout(timeout time.Duration)
- func (o *GetOrCreateShoppingCartParams) WithContext(ctx context.Context) *GetOrCreateShoppingCartParams
- func (o *GetOrCreateShoppingCartParams) WithDefaults() *GetOrCreateShoppingCartParams
- func (o *GetOrCreateShoppingCartParams) WithHTTPClient(client *http.Client) *GetOrCreateShoppingCartParams
- func (o *GetOrCreateShoppingCartParams) WithOrganizationID(organizationID *int32) *GetOrCreateShoppingCartParams
- func (o *GetOrCreateShoppingCartParams) WithTimeout(timeout time.Duration) *GetOrCreateShoppingCartParams
- func (o *GetOrCreateShoppingCartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrCreateShoppingCartReader
- type GetProductContainerByIDOK
- type GetProductContainerByIDParams
- func NewGetProductContainerByIDParams() *GetProductContainerByIDParams
- func NewGetProductContainerByIDParamsWithContext(ctx context.Context) *GetProductContainerByIDParams
- func NewGetProductContainerByIDParamsWithHTTPClient(client *http.Client) *GetProductContainerByIDParams
- func NewGetProductContainerByIDParamsWithTimeout(timeout time.Duration) *GetProductContainerByIDParams
- func (o *GetProductContainerByIDParams) SetContext(ctx context.Context)
- func (o *GetProductContainerByIDParams) SetDefaults()
- func (o *GetProductContainerByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetProductContainerByIDParams) SetID(id int32)
- func (o *GetProductContainerByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetProductContainerByIDParams) WithContext(ctx context.Context) *GetProductContainerByIDParams
- func (o *GetProductContainerByIDParams) WithDefaults() *GetProductContainerByIDParams
- func (o *GetProductContainerByIDParams) WithHTTPClient(client *http.Client) *GetProductContainerByIDParams
- func (o *GetProductContainerByIDParams) WithID(id int32) *GetProductContainerByIDParams
- func (o *GetProductContainerByIDParams) WithTimeout(timeout time.Duration) *GetProductContainerByIDParams
- func (o *GetProductContainerByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProductContainerByIDReader
- type GetProductContainersOK
- type GetProductContainersParams
- func NewGetProductContainersParams() *GetProductContainersParams
- func NewGetProductContainersParamsWithContext(ctx context.Context) *GetProductContainersParams
- func NewGetProductContainersParamsWithHTTPClient(client *http.Client) *GetProductContainersParams
- func NewGetProductContainersParamsWithTimeout(timeout time.Duration) *GetProductContainersParams
- func (o *GetProductContainersParams) SetActiveDraft(activeDraft *bool)
- func (o *GetProductContainersParams) SetCategory(category *string)
- func (o *GetProductContainersParams) SetContext(ctx context.Context)
- func (o *GetProductContainersParams) SetDefaults()
- func (o *GetProductContainersParams) SetFrom(from *strfmt.DateTime)
- func (o *GetProductContainersParams) SetHTTPClient(client *http.Client)
- func (o *GetProductContainersParams) SetIncludeRemoved(includeRemoved *bool)
- func (o *GetProductContainersParams) SetIncludeSubsidiaries(includeSubsidiaries *bool)
- func (o *GetProductContainersParams) SetMonth(month *int32)
- func (o *GetProductContainersParams) SetOrganizationID(organizationID *int32)
- func (o *GetProductContainersParams) SetPage(page *int32)
- func (o *GetProductContainersParams) SetPageSize(pageSize *int32)
- func (o *GetProductContainersParams) SetProgramID(programID *int32)
- func (o *GetProductContainersParams) SetSearch(search *string)
- func (o *GetProductContainersParams) SetSentByUserID(sentByUserID *string)
- func (o *GetProductContainersParams) SetTimeout(timeout time.Duration)
- func (o *GetProductContainersParams) SetTo(to *strfmt.DateTime)
- func (o *GetProductContainersParams) SetType(typeVar *string)
- func (o *GetProductContainersParams) SetUserID(userID *string)
- func (o *GetProductContainersParams) SetYear(year *int32)
- func (o *GetProductContainersParams) WithActiveDraft(activeDraft *bool) *GetProductContainersParams
- func (o *GetProductContainersParams) WithCategory(category *string) *GetProductContainersParams
- func (o *GetProductContainersParams) WithContext(ctx context.Context) *GetProductContainersParams
- func (o *GetProductContainersParams) WithDefaults() *GetProductContainersParams
- func (o *GetProductContainersParams) WithFrom(from *strfmt.DateTime) *GetProductContainersParams
- func (o *GetProductContainersParams) WithHTTPClient(client *http.Client) *GetProductContainersParams
- func (o *GetProductContainersParams) WithIncludeRemoved(includeRemoved *bool) *GetProductContainersParams
- func (o *GetProductContainersParams) WithIncludeSubsidiaries(includeSubsidiaries *bool) *GetProductContainersParams
- func (o *GetProductContainersParams) WithMonth(month *int32) *GetProductContainersParams
- func (o *GetProductContainersParams) WithOrganizationID(organizationID *int32) *GetProductContainersParams
- func (o *GetProductContainersParams) WithPage(page *int32) *GetProductContainersParams
- func (o *GetProductContainersParams) WithPageSize(pageSize *int32) *GetProductContainersParams
- func (o *GetProductContainersParams) WithProgramID(programID *int32) *GetProductContainersParams
- func (o *GetProductContainersParams) WithSearch(search *string) *GetProductContainersParams
- func (o *GetProductContainersParams) WithSentByUserID(sentByUserID *string) *GetProductContainersParams
- func (o *GetProductContainersParams) WithTimeout(timeout time.Duration) *GetProductContainersParams
- func (o *GetProductContainersParams) WithTo(to *strfmt.DateTime) *GetProductContainersParams
- func (o *GetProductContainersParams) WithType(typeVar *string) *GetProductContainersParams
- func (o *GetProductContainersParams) WithUserID(userID *string) *GetProductContainersParams
- func (o *GetProductContainersParams) WithYear(year *int32) *GetProductContainersParams
- func (o *GetProductContainersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProductContainersReader
- type PatchProductRowOK
- type PatchProductRowParams
- func NewPatchProductRowParams() *PatchProductRowParams
- func NewPatchProductRowParamsWithContext(ctx context.Context) *PatchProductRowParams
- func NewPatchProductRowParamsWithHTTPClient(client *http.Client) *PatchProductRowParams
- func NewPatchProductRowParamsWithTimeout(timeout time.Duration) *PatchProductRowParams
- func (o *PatchProductRowParams) SetContext(ctx context.Context)
- func (o *PatchProductRowParams) SetDefaults()
- func (o *PatchProductRowParams) SetHTTPClient(client *http.Client)
- func (o *PatchProductRowParams) SetProductContainerID(productContainerID int32)
- func (o *PatchProductRowParams) SetProductRowID(productRowID int32)
- func (o *PatchProductRowParams) SetProductRowPatch(productRowPatch *models.ProductRowPatch)
- func (o *PatchProductRowParams) SetTimeout(timeout time.Duration)
- func (o *PatchProductRowParams) WithContext(ctx context.Context) *PatchProductRowParams
- func (o *PatchProductRowParams) WithDefaults() *PatchProductRowParams
- func (o *PatchProductRowParams) WithHTTPClient(client *http.Client) *PatchProductRowParams
- func (o *PatchProductRowParams) WithProductContainerID(productContainerID int32) *PatchProductRowParams
- func (o *PatchProductRowParams) WithProductRowID(productRowID int32) *PatchProductRowParams
- func (o *PatchProductRowParams) WithProductRowPatch(productRowPatch *models.ProductRowPatch) *PatchProductRowParams
- func (o *PatchProductRowParams) WithTimeout(timeout time.Duration) *PatchProductRowParams
- func (o *PatchProductRowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchProductRowReader
- type PutProductContainerOK
- type PutProductContainerParams
- func NewPutProductContainerParams() *PutProductContainerParams
- func NewPutProductContainerParamsWithContext(ctx context.Context) *PutProductContainerParams
- func NewPutProductContainerParamsWithHTTPClient(client *http.Client) *PutProductContainerParams
- func NewPutProductContainerParamsWithTimeout(timeout time.Duration) *PutProductContainerParams
- func (o *PutProductContainerParams) SetContext(ctx context.Context)
- func (o *PutProductContainerParams) SetDefaults()
- func (o *PutProductContainerParams) SetHTTPClient(client *http.Client)
- func (o *PutProductContainerParams) SetID(id int32)
- func (o *PutProductContainerParams) SetProductContainer(productContainer *models.ProductContainer)
- func (o *PutProductContainerParams) SetRequireEulaAnalysis(requireEulaAnalysis *bool)
- func (o *PutProductContainerParams) SetTimeout(timeout time.Duration)
- func (o *PutProductContainerParams) WithContext(ctx context.Context) *PutProductContainerParams
- func (o *PutProductContainerParams) WithDefaults() *PutProductContainerParams
- func (o *PutProductContainerParams) WithHTTPClient(client *http.Client) *PutProductContainerParams
- func (o *PutProductContainerParams) WithID(id int32) *PutProductContainerParams
- func (o *PutProductContainerParams) WithProductContainer(productContainer *models.ProductContainer) *PutProductContainerParams
- func (o *PutProductContainerParams) WithRequireEulaAnalysis(requireEulaAnalysis *bool) *PutProductContainerParams
- func (o *PutProductContainerParams) WithTimeout(timeout time.Duration) *PutProductContainerParams
- func (o *PutProductContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutProductContainerReader
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 product containers API
func (*Client) CreateReportAsync ¶
func (a *Client) CreateReportAsync(params *CreateReportAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReportAsyncOK, error)
CreateReportAsync create report async API
func (*Client) DeleteProductContainer ¶
func (a *Client) DeleteProductContainer(params *DeleteProductContainerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProductContainerOK, error)
DeleteProductContainer delete product container API
func (*Client) GetByIDWithRowIssues ¶
func (a *Client) GetByIDWithRowIssues(params *GetByIDWithRowIssuesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetByIDWithRowIssuesOK, error)
GetByIDWithRowIssues get by Id with row issues API
func (*Client) GetOrCreateShoppingCart ¶
func (a *Client) GetOrCreateShoppingCart(params *GetOrCreateShoppingCartParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrCreateShoppingCartOK, error)
GetOrCreateShoppingCart get or create shopping cart API
func (*Client) GetProductContainerByID ¶
func (a *Client) GetProductContainerByID(params *GetProductContainerByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProductContainerByIDOK, error)
GetProductContainerByID get product container by Id API
func (*Client) GetProductContainers ¶
func (a *Client) GetProductContainers(params *GetProductContainersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProductContainersOK, error)
GetProductContainers get product containers API
func (*Client) PatchProductRow ¶
func (a *Client) PatchProductRow(params *PatchProductRowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchProductRowOK, error)
PatchProductRow patch product row API
func (*Client) PutProductContainer ¶
func (a *Client) PutProductContainer(params *PutProductContainerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutProductContainerOK, error)
PutProductContainer put product container API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateReportAsync(params *CreateReportAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReportAsyncOK, error) DeleteProductContainer(params *DeleteProductContainerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProductContainerOK, error) GetByIDWithRowIssues(params *GetByIDWithRowIssuesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetByIDWithRowIssuesOK, error) GetOrCreateShoppingCart(params *GetOrCreateShoppingCartParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrCreateShoppingCartOK, error) GetProductContainerByID(params *GetProductContainerByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProductContainerByIDOK, error) GetProductContainers(params *GetProductContainersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProductContainersOK, error) PatchProductRow(params *PatchProductRowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchProductRowOK, error) PutProductContainer(params *PutProductContainerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutProductContainerOK, 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 product containers API client.
type CreateReportAsyncOK ¶
type CreateReportAsyncOK struct {
Payload *models.ProductContainer
}
CreateReportAsyncOK describes a response with status code 200, with default header values.
Success
func NewCreateReportAsyncOK ¶
func NewCreateReportAsyncOK() *CreateReportAsyncOK
NewCreateReportAsyncOK creates a CreateReportAsyncOK with default headers values
func (*CreateReportAsyncOK) Error ¶
func (o *CreateReportAsyncOK) Error() string
func (*CreateReportAsyncOK) GetPayload ¶
func (o *CreateReportAsyncOK) GetPayload() *models.ProductContainer
type CreateReportAsyncParams ¶
type CreateReportAsyncParams struct { // CopyLast. CopyLast *bool // Month. // // Format: int32 Month *int32 // OrganizationID. // // Format: int32 OrganizationID *int32 // ProgramID. // // Format: int32 ProgramID *int32 // Year. // // Format: int32 Year *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateReportAsyncParams contains all the parameters to send to the API endpoint
for the create report async operation. Typically these are written to a http.Request.
func NewCreateReportAsyncParams ¶
func NewCreateReportAsyncParams() *CreateReportAsyncParams
NewCreateReportAsyncParams creates a new CreateReportAsyncParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateReportAsyncParamsWithContext ¶
func NewCreateReportAsyncParamsWithContext(ctx context.Context) *CreateReportAsyncParams
NewCreateReportAsyncParamsWithContext creates a new CreateReportAsyncParams object with the ability to set a context for a request.
func NewCreateReportAsyncParamsWithHTTPClient ¶
func NewCreateReportAsyncParamsWithHTTPClient(client *http.Client) *CreateReportAsyncParams
NewCreateReportAsyncParamsWithHTTPClient creates a new CreateReportAsyncParams object with the ability to set a custom HTTPClient for a request.
func NewCreateReportAsyncParamsWithTimeout ¶
func NewCreateReportAsyncParamsWithTimeout(timeout time.Duration) *CreateReportAsyncParams
NewCreateReportAsyncParamsWithTimeout creates a new CreateReportAsyncParams object with the ability to set a timeout on a request.
func (*CreateReportAsyncParams) SetContext ¶
func (o *CreateReportAsyncParams) SetContext(ctx context.Context)
SetContext adds the context to the create report async params
func (*CreateReportAsyncParams) SetCopyLast ¶
func (o *CreateReportAsyncParams) SetCopyLast(copyLast *bool)
SetCopyLast adds the copyLast to the create report async params
func (*CreateReportAsyncParams) SetDefaults ¶
func (o *CreateReportAsyncParams) SetDefaults()
SetDefaults hydrates default values in the create report async params (not the query body).
All values with no default are reset to their zero value.
func (*CreateReportAsyncParams) SetHTTPClient ¶
func (o *CreateReportAsyncParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create report async params
func (*CreateReportAsyncParams) SetMonth ¶
func (o *CreateReportAsyncParams) SetMonth(month *int32)
SetMonth adds the month to the create report async params
func (*CreateReportAsyncParams) SetOrganizationID ¶
func (o *CreateReportAsyncParams) SetOrganizationID(organizationID *int32)
SetOrganizationID adds the organizationId to the create report async params
func (*CreateReportAsyncParams) SetProgramID ¶
func (o *CreateReportAsyncParams) SetProgramID(programID *int32)
SetProgramID adds the programId to the create report async params
func (*CreateReportAsyncParams) SetTimeout ¶
func (o *CreateReportAsyncParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create report async params
func (*CreateReportAsyncParams) SetYear ¶
func (o *CreateReportAsyncParams) SetYear(year *int32)
SetYear adds the year to the create report async params
func (*CreateReportAsyncParams) WithContext ¶
func (o *CreateReportAsyncParams) WithContext(ctx context.Context) *CreateReportAsyncParams
WithContext adds the context to the create report async params
func (*CreateReportAsyncParams) WithCopyLast ¶
func (o *CreateReportAsyncParams) WithCopyLast(copyLast *bool) *CreateReportAsyncParams
WithCopyLast adds the copyLast to the create report async params
func (*CreateReportAsyncParams) WithDefaults ¶
func (o *CreateReportAsyncParams) WithDefaults() *CreateReportAsyncParams
WithDefaults hydrates default values in the create report async params (not the query body).
All values with no default are reset to their zero value.
func (*CreateReportAsyncParams) WithHTTPClient ¶
func (o *CreateReportAsyncParams) WithHTTPClient(client *http.Client) *CreateReportAsyncParams
WithHTTPClient adds the HTTPClient to the create report async params
func (*CreateReportAsyncParams) WithMonth ¶
func (o *CreateReportAsyncParams) WithMonth(month *int32) *CreateReportAsyncParams
WithMonth adds the month to the create report async params
func (*CreateReportAsyncParams) WithOrganizationID ¶
func (o *CreateReportAsyncParams) WithOrganizationID(organizationID *int32) *CreateReportAsyncParams
WithOrganizationID adds the organizationID to the create report async params
func (*CreateReportAsyncParams) WithProgramID ¶
func (o *CreateReportAsyncParams) WithProgramID(programID *int32) *CreateReportAsyncParams
WithProgramID adds the programID to the create report async params
func (*CreateReportAsyncParams) WithTimeout ¶
func (o *CreateReportAsyncParams) WithTimeout(timeout time.Duration) *CreateReportAsyncParams
WithTimeout adds the timeout to the create report async params
func (*CreateReportAsyncParams) WithYear ¶
func (o *CreateReportAsyncParams) WithYear(year *int32) *CreateReportAsyncParams
WithYear adds the year to the create report async params
func (*CreateReportAsyncParams) WriteToRequest ¶
func (o *CreateReportAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateReportAsyncReader ¶
type CreateReportAsyncReader struct {
// contains filtered or unexported fields
}
CreateReportAsyncReader is a Reader for the CreateReportAsync structure.
func (*CreateReportAsyncReader) ReadResponse ¶
func (o *CreateReportAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteProductContainerOK ¶
type DeleteProductContainerOK struct {
Payload bool
}
DeleteProductContainerOK describes a response with status code 200, with default header values.
Success
func NewDeleteProductContainerOK ¶
func NewDeleteProductContainerOK() *DeleteProductContainerOK
NewDeleteProductContainerOK creates a DeleteProductContainerOK with default headers values
func (*DeleteProductContainerOK) Error ¶
func (o *DeleteProductContainerOK) Error() string
func (*DeleteProductContainerOK) GetPayload ¶
func (o *DeleteProductContainerOK) GetPayload() bool
type DeleteProductContainerParams ¶
type DeleteProductContainerParams struct { // ID. // // Format: int32 ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteProductContainerParams contains all the parameters to send to the API endpoint
for the delete product container operation. Typically these are written to a http.Request.
func NewDeleteProductContainerParams ¶
func NewDeleteProductContainerParams() *DeleteProductContainerParams
NewDeleteProductContainerParams creates a new DeleteProductContainerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteProductContainerParamsWithContext ¶
func NewDeleteProductContainerParamsWithContext(ctx context.Context) *DeleteProductContainerParams
NewDeleteProductContainerParamsWithContext creates a new DeleteProductContainerParams object with the ability to set a context for a request.
func NewDeleteProductContainerParamsWithHTTPClient ¶
func NewDeleteProductContainerParamsWithHTTPClient(client *http.Client) *DeleteProductContainerParams
NewDeleteProductContainerParamsWithHTTPClient creates a new DeleteProductContainerParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteProductContainerParamsWithTimeout ¶
func NewDeleteProductContainerParamsWithTimeout(timeout time.Duration) *DeleteProductContainerParams
NewDeleteProductContainerParamsWithTimeout creates a new DeleteProductContainerParams object with the ability to set a timeout on a request.
func (*DeleteProductContainerParams) SetContext ¶
func (o *DeleteProductContainerParams) SetContext(ctx context.Context)
SetContext adds the context to the delete product container params
func (*DeleteProductContainerParams) SetDefaults ¶
func (o *DeleteProductContainerParams) SetDefaults()
SetDefaults hydrates default values in the delete product container params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProductContainerParams) SetHTTPClient ¶
func (o *DeleteProductContainerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete product container params
func (*DeleteProductContainerParams) SetID ¶
func (o *DeleteProductContainerParams) SetID(id int32)
SetID adds the id to the delete product container params
func (*DeleteProductContainerParams) SetTimeout ¶
func (o *DeleteProductContainerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete product container params
func (*DeleteProductContainerParams) WithContext ¶
func (o *DeleteProductContainerParams) WithContext(ctx context.Context) *DeleteProductContainerParams
WithContext adds the context to the delete product container params
func (*DeleteProductContainerParams) WithDefaults ¶
func (o *DeleteProductContainerParams) WithDefaults() *DeleteProductContainerParams
WithDefaults hydrates default values in the delete product container params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProductContainerParams) WithHTTPClient ¶
func (o *DeleteProductContainerParams) WithHTTPClient(client *http.Client) *DeleteProductContainerParams
WithHTTPClient adds the HTTPClient to the delete product container params
func (*DeleteProductContainerParams) WithID ¶
func (o *DeleteProductContainerParams) WithID(id int32) *DeleteProductContainerParams
WithID adds the id to the delete product container params
func (*DeleteProductContainerParams) WithTimeout ¶
func (o *DeleteProductContainerParams) WithTimeout(timeout time.Duration) *DeleteProductContainerParams
WithTimeout adds the timeout to the delete product container params
func (*DeleteProductContainerParams) WriteToRequest ¶
func (o *DeleteProductContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProductContainerReader ¶
type DeleteProductContainerReader struct {
// contains filtered or unexported fields
}
DeleteProductContainerReader is a Reader for the DeleteProductContainer structure.
func (*DeleteProductContainerReader) ReadResponse ¶
func (o *DeleteProductContainerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetByIDWithRowIssuesOK ¶
type GetByIDWithRowIssuesOK struct {
Payload *models.ProductContainer
}
GetByIDWithRowIssuesOK describes a response with status code 200, with default header values.
Success
func NewGetByIDWithRowIssuesOK ¶
func NewGetByIDWithRowIssuesOK() *GetByIDWithRowIssuesOK
NewGetByIDWithRowIssuesOK creates a GetByIDWithRowIssuesOK with default headers values
func (*GetByIDWithRowIssuesOK) Error ¶
func (o *GetByIDWithRowIssuesOK) Error() string
func (*GetByIDWithRowIssuesOK) GetPayload ¶
func (o *GetByIDWithRowIssuesOK) GetPayload() *models.ProductContainer
type GetByIDWithRowIssuesParams ¶
type GetByIDWithRowIssuesParams struct { // ID. // // Format: int32 ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetByIDWithRowIssuesParams contains all the parameters to send to the API endpoint
for the get by Id with row issues operation. Typically these are written to a http.Request.
func NewGetByIDWithRowIssuesParams ¶
func NewGetByIDWithRowIssuesParams() *GetByIDWithRowIssuesParams
NewGetByIDWithRowIssuesParams creates a new GetByIDWithRowIssuesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetByIDWithRowIssuesParamsWithContext ¶
func NewGetByIDWithRowIssuesParamsWithContext(ctx context.Context) *GetByIDWithRowIssuesParams
NewGetByIDWithRowIssuesParamsWithContext creates a new GetByIDWithRowIssuesParams object with the ability to set a context for a request.
func NewGetByIDWithRowIssuesParamsWithHTTPClient ¶
func NewGetByIDWithRowIssuesParamsWithHTTPClient(client *http.Client) *GetByIDWithRowIssuesParams
NewGetByIDWithRowIssuesParamsWithHTTPClient creates a new GetByIDWithRowIssuesParams object with the ability to set a custom HTTPClient for a request.
func NewGetByIDWithRowIssuesParamsWithTimeout ¶
func NewGetByIDWithRowIssuesParamsWithTimeout(timeout time.Duration) *GetByIDWithRowIssuesParams
NewGetByIDWithRowIssuesParamsWithTimeout creates a new GetByIDWithRowIssuesParams object with the ability to set a timeout on a request.
func (*GetByIDWithRowIssuesParams) SetContext ¶
func (o *GetByIDWithRowIssuesParams) SetContext(ctx context.Context)
SetContext adds the context to the get by Id with row issues params
func (*GetByIDWithRowIssuesParams) SetDefaults ¶
func (o *GetByIDWithRowIssuesParams) SetDefaults()
SetDefaults hydrates default values in the get by Id with row issues params (not the query body).
All values with no default are reset to their zero value.
func (*GetByIDWithRowIssuesParams) SetHTTPClient ¶
func (o *GetByIDWithRowIssuesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get by Id with row issues params
func (*GetByIDWithRowIssuesParams) SetID ¶
func (o *GetByIDWithRowIssuesParams) SetID(id int32)
SetID adds the id to the get by Id with row issues params
func (*GetByIDWithRowIssuesParams) SetTimeout ¶
func (o *GetByIDWithRowIssuesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get by Id with row issues params
func (*GetByIDWithRowIssuesParams) WithContext ¶
func (o *GetByIDWithRowIssuesParams) WithContext(ctx context.Context) *GetByIDWithRowIssuesParams
WithContext adds the context to the get by Id with row issues params
func (*GetByIDWithRowIssuesParams) WithDefaults ¶
func (o *GetByIDWithRowIssuesParams) WithDefaults() *GetByIDWithRowIssuesParams
WithDefaults hydrates default values in the get by Id with row issues params (not the query body).
All values with no default are reset to their zero value.
func (*GetByIDWithRowIssuesParams) WithHTTPClient ¶
func (o *GetByIDWithRowIssuesParams) WithHTTPClient(client *http.Client) *GetByIDWithRowIssuesParams
WithHTTPClient adds the HTTPClient to the get by Id with row issues params
func (*GetByIDWithRowIssuesParams) WithID ¶
func (o *GetByIDWithRowIssuesParams) WithID(id int32) *GetByIDWithRowIssuesParams
WithID adds the id to the get by Id with row issues params
func (*GetByIDWithRowIssuesParams) WithTimeout ¶
func (o *GetByIDWithRowIssuesParams) WithTimeout(timeout time.Duration) *GetByIDWithRowIssuesParams
WithTimeout adds the timeout to the get by Id with row issues params
func (*GetByIDWithRowIssuesParams) WriteToRequest ¶
func (o *GetByIDWithRowIssuesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetByIDWithRowIssuesReader ¶
type GetByIDWithRowIssuesReader struct {
// contains filtered or unexported fields
}
GetByIDWithRowIssuesReader is a Reader for the GetByIDWithRowIssues structure.
func (*GetByIDWithRowIssuesReader) ReadResponse ¶
func (o *GetByIDWithRowIssuesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrCreateShoppingCartOK ¶
type GetOrCreateShoppingCartOK struct {
Payload *models.ProductContainer
}
GetOrCreateShoppingCartOK describes a response with status code 200, with default header values.
Success
func NewGetOrCreateShoppingCartOK ¶
func NewGetOrCreateShoppingCartOK() *GetOrCreateShoppingCartOK
NewGetOrCreateShoppingCartOK creates a GetOrCreateShoppingCartOK with default headers values
func (*GetOrCreateShoppingCartOK) Error ¶
func (o *GetOrCreateShoppingCartOK) Error() string
func (*GetOrCreateShoppingCartOK) GetPayload ¶
func (o *GetOrCreateShoppingCartOK) GetPayload() *models.ProductContainer
type GetOrCreateShoppingCartParams ¶
type GetOrCreateShoppingCartParams struct { // OrganizationID. // // Format: int32 OrganizationID *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrCreateShoppingCartParams contains all the parameters to send to the API endpoint
for the get or create shopping cart operation. Typically these are written to a http.Request.
func NewGetOrCreateShoppingCartParams ¶
func NewGetOrCreateShoppingCartParams() *GetOrCreateShoppingCartParams
NewGetOrCreateShoppingCartParams creates a new GetOrCreateShoppingCartParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetOrCreateShoppingCartParamsWithContext ¶
func NewGetOrCreateShoppingCartParamsWithContext(ctx context.Context) *GetOrCreateShoppingCartParams
NewGetOrCreateShoppingCartParamsWithContext creates a new GetOrCreateShoppingCartParams object with the ability to set a context for a request.
func NewGetOrCreateShoppingCartParamsWithHTTPClient ¶
func NewGetOrCreateShoppingCartParamsWithHTTPClient(client *http.Client) *GetOrCreateShoppingCartParams
NewGetOrCreateShoppingCartParamsWithHTTPClient creates a new GetOrCreateShoppingCartParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrCreateShoppingCartParamsWithTimeout ¶
func NewGetOrCreateShoppingCartParamsWithTimeout(timeout time.Duration) *GetOrCreateShoppingCartParams
NewGetOrCreateShoppingCartParamsWithTimeout creates a new GetOrCreateShoppingCartParams object with the ability to set a timeout on a request.
func (*GetOrCreateShoppingCartParams) SetContext ¶
func (o *GetOrCreateShoppingCartParams) SetContext(ctx context.Context)
SetContext adds the context to the get or create shopping cart params
func (*GetOrCreateShoppingCartParams) SetDefaults ¶
func (o *GetOrCreateShoppingCartParams) SetDefaults()
SetDefaults hydrates default values in the get or create shopping cart params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrCreateShoppingCartParams) SetHTTPClient ¶
func (o *GetOrCreateShoppingCartParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get or create shopping cart params
func (*GetOrCreateShoppingCartParams) SetOrganizationID ¶
func (o *GetOrCreateShoppingCartParams) SetOrganizationID(organizationID *int32)
SetOrganizationID adds the organizationId to the get or create shopping cart params
func (*GetOrCreateShoppingCartParams) SetTimeout ¶
func (o *GetOrCreateShoppingCartParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get or create shopping cart params
func (*GetOrCreateShoppingCartParams) WithContext ¶
func (o *GetOrCreateShoppingCartParams) WithContext(ctx context.Context) *GetOrCreateShoppingCartParams
WithContext adds the context to the get or create shopping cart params
func (*GetOrCreateShoppingCartParams) WithDefaults ¶
func (o *GetOrCreateShoppingCartParams) WithDefaults() *GetOrCreateShoppingCartParams
WithDefaults hydrates default values in the get or create shopping cart params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrCreateShoppingCartParams) WithHTTPClient ¶
func (o *GetOrCreateShoppingCartParams) WithHTTPClient(client *http.Client) *GetOrCreateShoppingCartParams
WithHTTPClient adds the HTTPClient to the get or create shopping cart params
func (*GetOrCreateShoppingCartParams) WithOrganizationID ¶
func (o *GetOrCreateShoppingCartParams) WithOrganizationID(organizationID *int32) *GetOrCreateShoppingCartParams
WithOrganizationID adds the organizationID to the get or create shopping cart params
func (*GetOrCreateShoppingCartParams) WithTimeout ¶
func (o *GetOrCreateShoppingCartParams) WithTimeout(timeout time.Duration) *GetOrCreateShoppingCartParams
WithTimeout adds the timeout to the get or create shopping cart params
func (*GetOrCreateShoppingCartParams) WriteToRequest ¶
func (o *GetOrCreateShoppingCartParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrCreateShoppingCartReader ¶
type GetOrCreateShoppingCartReader struct {
// contains filtered or unexported fields
}
GetOrCreateShoppingCartReader is a Reader for the GetOrCreateShoppingCart structure.
func (*GetOrCreateShoppingCartReader) ReadResponse ¶
func (o *GetOrCreateShoppingCartReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProductContainerByIDOK ¶
type GetProductContainerByIDOK struct {
Payload *models.ProductContainer
}
GetProductContainerByIDOK describes a response with status code 200, with default header values.
Success
func NewGetProductContainerByIDOK ¶
func NewGetProductContainerByIDOK() *GetProductContainerByIDOK
NewGetProductContainerByIDOK creates a GetProductContainerByIDOK with default headers values
func (*GetProductContainerByIDOK) Error ¶
func (o *GetProductContainerByIDOK) Error() string
func (*GetProductContainerByIDOK) GetPayload ¶
func (o *GetProductContainerByIDOK) GetPayload() *models.ProductContainer
type GetProductContainerByIDParams ¶
type GetProductContainerByIDParams struct { // ID. // // Format: int32 ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProductContainerByIDParams contains all the parameters to send to the API endpoint
for the get product container by Id operation. Typically these are written to a http.Request.
func NewGetProductContainerByIDParams ¶
func NewGetProductContainerByIDParams() *GetProductContainerByIDParams
NewGetProductContainerByIDParams creates a new GetProductContainerByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetProductContainerByIDParamsWithContext ¶
func NewGetProductContainerByIDParamsWithContext(ctx context.Context) *GetProductContainerByIDParams
NewGetProductContainerByIDParamsWithContext creates a new GetProductContainerByIDParams object with the ability to set a context for a request.
func NewGetProductContainerByIDParamsWithHTTPClient ¶
func NewGetProductContainerByIDParamsWithHTTPClient(client *http.Client) *GetProductContainerByIDParams
NewGetProductContainerByIDParamsWithHTTPClient creates a new GetProductContainerByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetProductContainerByIDParamsWithTimeout ¶
func NewGetProductContainerByIDParamsWithTimeout(timeout time.Duration) *GetProductContainerByIDParams
NewGetProductContainerByIDParamsWithTimeout creates a new GetProductContainerByIDParams object with the ability to set a timeout on a request.
func (*GetProductContainerByIDParams) SetContext ¶
func (o *GetProductContainerByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get product container by Id params
func (*GetProductContainerByIDParams) SetDefaults ¶
func (o *GetProductContainerByIDParams) SetDefaults()
SetDefaults hydrates default values in the get product container by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetProductContainerByIDParams) SetHTTPClient ¶
func (o *GetProductContainerByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get product container by Id params
func (*GetProductContainerByIDParams) SetID ¶
func (o *GetProductContainerByIDParams) SetID(id int32)
SetID adds the id to the get product container by Id params
func (*GetProductContainerByIDParams) SetTimeout ¶
func (o *GetProductContainerByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get product container by Id params
func (*GetProductContainerByIDParams) WithContext ¶
func (o *GetProductContainerByIDParams) WithContext(ctx context.Context) *GetProductContainerByIDParams
WithContext adds the context to the get product container by Id params
func (*GetProductContainerByIDParams) WithDefaults ¶
func (o *GetProductContainerByIDParams) WithDefaults() *GetProductContainerByIDParams
WithDefaults hydrates default values in the get product container by Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetProductContainerByIDParams) WithHTTPClient ¶
func (o *GetProductContainerByIDParams) WithHTTPClient(client *http.Client) *GetProductContainerByIDParams
WithHTTPClient adds the HTTPClient to the get product container by Id params
func (*GetProductContainerByIDParams) WithID ¶
func (o *GetProductContainerByIDParams) WithID(id int32) *GetProductContainerByIDParams
WithID adds the id to the get product container by Id params
func (*GetProductContainerByIDParams) WithTimeout ¶
func (o *GetProductContainerByIDParams) WithTimeout(timeout time.Duration) *GetProductContainerByIDParams
WithTimeout adds the timeout to the get product container by Id params
func (*GetProductContainerByIDParams) WriteToRequest ¶
func (o *GetProductContainerByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProductContainerByIDReader ¶
type GetProductContainerByIDReader struct {
// contains filtered or unexported fields
}
GetProductContainerByIDReader is a Reader for the GetProductContainerByID structure.
func (*GetProductContainerByIDReader) ReadResponse ¶
func (o *GetProductContainerByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProductContainersOK ¶
type GetProductContainersOK struct {
Payload *models.APICollectionOfProductContainer
}
GetProductContainersOK describes a response with status code 200, with default header values.
Success
func NewGetProductContainersOK ¶
func NewGetProductContainersOK() *GetProductContainersOK
NewGetProductContainersOK creates a GetProductContainersOK with default headers values
func (*GetProductContainersOK) Error ¶
func (o *GetProductContainersOK) Error() string
func (*GetProductContainersOK) GetPayload ¶
func (o *GetProductContainersOK) GetPayload() *models.APICollectionOfProductContainer
type GetProductContainersParams ¶
type GetProductContainersParams struct { // ActiveDraft. ActiveDraft *bool // Category. Category *string // From. // // Format: date-time From *strfmt.DateTime // IncludeRemoved. IncludeRemoved *bool // IncludeSubsidiaries. IncludeSubsidiaries *bool // Month. // // Format: int32 Month *int32 // OrganizationID. // // Format: int32 OrganizationID *int32 // Page. // // Format: int32 Page *int32 // PageSize. // // Format: int32 PageSize *int32 // ProgramID. // // Format: int32 ProgramID *int32 // Search. Search *string // SentByUserID. SentByUserID *string // To. // // Format: date-time To *strfmt.DateTime // Type. Type *string // UserID. UserID *string // Year. // // Format: int32 Year *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProductContainersParams contains all the parameters to send to the API endpoint
for the get product containers operation. Typically these are written to a http.Request.
func NewGetProductContainersParams ¶
func NewGetProductContainersParams() *GetProductContainersParams
NewGetProductContainersParams creates a new GetProductContainersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetProductContainersParamsWithContext ¶
func NewGetProductContainersParamsWithContext(ctx context.Context) *GetProductContainersParams
NewGetProductContainersParamsWithContext creates a new GetProductContainersParams object with the ability to set a context for a request.
func NewGetProductContainersParamsWithHTTPClient ¶
func NewGetProductContainersParamsWithHTTPClient(client *http.Client) *GetProductContainersParams
NewGetProductContainersParamsWithHTTPClient creates a new GetProductContainersParams object with the ability to set a custom HTTPClient for a request.
func NewGetProductContainersParamsWithTimeout ¶
func NewGetProductContainersParamsWithTimeout(timeout time.Duration) *GetProductContainersParams
NewGetProductContainersParamsWithTimeout creates a new GetProductContainersParams object with the ability to set a timeout on a request.
func (*GetProductContainersParams) SetActiveDraft ¶
func (o *GetProductContainersParams) SetActiveDraft(activeDraft *bool)
SetActiveDraft adds the activeDraft to the get product containers params
func (*GetProductContainersParams) SetCategory ¶
func (o *GetProductContainersParams) SetCategory(category *string)
SetCategory adds the category to the get product containers params
func (*GetProductContainersParams) SetContext ¶
func (o *GetProductContainersParams) SetContext(ctx context.Context)
SetContext adds the context to the get product containers params
func (*GetProductContainersParams) SetDefaults ¶
func (o *GetProductContainersParams) SetDefaults()
SetDefaults hydrates default values in the get product containers params (not the query body).
All values with no default are reset to their zero value.
func (*GetProductContainersParams) SetFrom ¶
func (o *GetProductContainersParams) SetFrom(from *strfmt.DateTime)
SetFrom adds the from to the get product containers params
func (*GetProductContainersParams) SetHTTPClient ¶
func (o *GetProductContainersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get product containers params
func (*GetProductContainersParams) SetIncludeRemoved ¶
func (o *GetProductContainersParams) SetIncludeRemoved(includeRemoved *bool)
SetIncludeRemoved adds the includeRemoved to the get product containers params
func (*GetProductContainersParams) SetIncludeSubsidiaries ¶
func (o *GetProductContainersParams) SetIncludeSubsidiaries(includeSubsidiaries *bool)
SetIncludeSubsidiaries adds the includeSubsidiaries to the get product containers params
func (*GetProductContainersParams) SetMonth ¶
func (o *GetProductContainersParams) SetMonth(month *int32)
SetMonth adds the month to the get product containers params
func (*GetProductContainersParams) SetOrganizationID ¶
func (o *GetProductContainersParams) SetOrganizationID(organizationID *int32)
SetOrganizationID adds the organizationId to the get product containers params
func (*GetProductContainersParams) SetPage ¶
func (o *GetProductContainersParams) SetPage(page *int32)
SetPage adds the page to the get product containers params
func (*GetProductContainersParams) SetPageSize ¶
func (o *GetProductContainersParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get product containers params
func (*GetProductContainersParams) SetProgramID ¶
func (o *GetProductContainersParams) SetProgramID(programID *int32)
SetProgramID adds the programId to the get product containers params
func (*GetProductContainersParams) SetSearch ¶
func (o *GetProductContainersParams) SetSearch(search *string)
SetSearch adds the search to the get product containers params
func (*GetProductContainersParams) SetSentByUserID ¶
func (o *GetProductContainersParams) SetSentByUserID(sentByUserID *string)
SetSentByUserID adds the sentByUserId to the get product containers params
func (*GetProductContainersParams) SetTimeout ¶
func (o *GetProductContainersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get product containers params
func (*GetProductContainersParams) SetTo ¶
func (o *GetProductContainersParams) SetTo(to *strfmt.DateTime)
SetTo adds the to to the get product containers params
func (*GetProductContainersParams) SetType ¶
func (o *GetProductContainersParams) SetType(typeVar *string)
SetType adds the type to the get product containers params
func (*GetProductContainersParams) SetUserID ¶
func (o *GetProductContainersParams) SetUserID(userID *string)
SetUserID adds the userId to the get product containers params
func (*GetProductContainersParams) SetYear ¶
func (o *GetProductContainersParams) SetYear(year *int32)
SetYear adds the year to the get product containers params
func (*GetProductContainersParams) WithActiveDraft ¶
func (o *GetProductContainersParams) WithActiveDraft(activeDraft *bool) *GetProductContainersParams
WithActiveDraft adds the activeDraft to the get product containers params
func (*GetProductContainersParams) WithCategory ¶
func (o *GetProductContainersParams) WithCategory(category *string) *GetProductContainersParams
WithCategory adds the category to the get product containers params
func (*GetProductContainersParams) WithContext ¶
func (o *GetProductContainersParams) WithContext(ctx context.Context) *GetProductContainersParams
WithContext adds the context to the get product containers params
func (*GetProductContainersParams) WithDefaults ¶
func (o *GetProductContainersParams) WithDefaults() *GetProductContainersParams
WithDefaults hydrates default values in the get product containers params (not the query body).
All values with no default are reset to their zero value.
func (*GetProductContainersParams) WithFrom ¶
func (o *GetProductContainersParams) WithFrom(from *strfmt.DateTime) *GetProductContainersParams
WithFrom adds the from to the get product containers params
func (*GetProductContainersParams) WithHTTPClient ¶
func (o *GetProductContainersParams) WithHTTPClient(client *http.Client) *GetProductContainersParams
WithHTTPClient adds the HTTPClient to the get product containers params
func (*GetProductContainersParams) WithIncludeRemoved ¶
func (o *GetProductContainersParams) WithIncludeRemoved(includeRemoved *bool) *GetProductContainersParams
WithIncludeRemoved adds the includeRemoved to the get product containers params
func (*GetProductContainersParams) WithIncludeSubsidiaries ¶
func (o *GetProductContainersParams) WithIncludeSubsidiaries(includeSubsidiaries *bool) *GetProductContainersParams
WithIncludeSubsidiaries adds the includeSubsidiaries to the get product containers params
func (*GetProductContainersParams) WithMonth ¶
func (o *GetProductContainersParams) WithMonth(month *int32) *GetProductContainersParams
WithMonth adds the month to the get product containers params
func (*GetProductContainersParams) WithOrganizationID ¶
func (o *GetProductContainersParams) WithOrganizationID(organizationID *int32) *GetProductContainersParams
WithOrganizationID adds the organizationID to the get product containers params
func (*GetProductContainersParams) WithPage ¶
func (o *GetProductContainersParams) WithPage(page *int32) *GetProductContainersParams
WithPage adds the page to the get product containers params
func (*GetProductContainersParams) WithPageSize ¶
func (o *GetProductContainersParams) WithPageSize(pageSize *int32) *GetProductContainersParams
WithPageSize adds the pageSize to the get product containers params
func (*GetProductContainersParams) WithProgramID ¶
func (o *GetProductContainersParams) WithProgramID(programID *int32) *GetProductContainersParams
WithProgramID adds the programID to the get product containers params
func (*GetProductContainersParams) WithSearch ¶
func (o *GetProductContainersParams) WithSearch(search *string) *GetProductContainersParams
WithSearch adds the search to the get product containers params
func (*GetProductContainersParams) WithSentByUserID ¶
func (o *GetProductContainersParams) WithSentByUserID(sentByUserID *string) *GetProductContainersParams
WithSentByUserID adds the sentByUserID to the get product containers params
func (*GetProductContainersParams) WithTimeout ¶
func (o *GetProductContainersParams) WithTimeout(timeout time.Duration) *GetProductContainersParams
WithTimeout adds the timeout to the get product containers params
func (*GetProductContainersParams) WithTo ¶
func (o *GetProductContainersParams) WithTo(to *strfmt.DateTime) *GetProductContainersParams
WithTo adds the to to the get product containers params
func (*GetProductContainersParams) WithType ¶
func (o *GetProductContainersParams) WithType(typeVar *string) *GetProductContainersParams
WithType adds the typeVar to the get product containers params
func (*GetProductContainersParams) WithUserID ¶
func (o *GetProductContainersParams) WithUserID(userID *string) *GetProductContainersParams
WithUserID adds the userID to the get product containers params
func (*GetProductContainersParams) WithYear ¶
func (o *GetProductContainersParams) WithYear(year *int32) *GetProductContainersParams
WithYear adds the year to the get product containers params
func (*GetProductContainersParams) WriteToRequest ¶
func (o *GetProductContainersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProductContainersReader ¶
type GetProductContainersReader struct {
// contains filtered or unexported fields
}
GetProductContainersReader is a Reader for the GetProductContainers structure.
func (*GetProductContainersReader) ReadResponse ¶
func (o *GetProductContainersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchProductRowOK ¶
type PatchProductRowOK struct {
Payload *models.ProductContainer
}
PatchProductRowOK describes a response with status code 200, with default header values.
Success
func NewPatchProductRowOK ¶
func NewPatchProductRowOK() *PatchProductRowOK
NewPatchProductRowOK creates a PatchProductRowOK with default headers values
func (*PatchProductRowOK) Error ¶
func (o *PatchProductRowOK) Error() string
func (*PatchProductRowOK) GetPayload ¶
func (o *PatchProductRowOK) GetPayload() *models.ProductContainer
type PatchProductRowParams ¶
type PatchProductRowParams struct { // ProductContainerID. // // Format: int32 ProductContainerID int32 // ProductRowID. // // Format: int32 ProductRowID int32 // ProductRowPatch. ProductRowPatch *models.ProductRowPatch Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchProductRowParams contains all the parameters to send to the API endpoint
for the patch product row operation. Typically these are written to a http.Request.
func NewPatchProductRowParams ¶
func NewPatchProductRowParams() *PatchProductRowParams
NewPatchProductRowParams creates a new PatchProductRowParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchProductRowParamsWithContext ¶
func NewPatchProductRowParamsWithContext(ctx context.Context) *PatchProductRowParams
NewPatchProductRowParamsWithContext creates a new PatchProductRowParams object with the ability to set a context for a request.
func NewPatchProductRowParamsWithHTTPClient ¶
func NewPatchProductRowParamsWithHTTPClient(client *http.Client) *PatchProductRowParams
NewPatchProductRowParamsWithHTTPClient creates a new PatchProductRowParams object with the ability to set a custom HTTPClient for a request.
func NewPatchProductRowParamsWithTimeout ¶
func NewPatchProductRowParamsWithTimeout(timeout time.Duration) *PatchProductRowParams
NewPatchProductRowParamsWithTimeout creates a new PatchProductRowParams object with the ability to set a timeout on a request.
func (*PatchProductRowParams) SetContext ¶
func (o *PatchProductRowParams) SetContext(ctx context.Context)
SetContext adds the context to the patch product row params
func (*PatchProductRowParams) SetDefaults ¶
func (o *PatchProductRowParams) SetDefaults()
SetDefaults hydrates default values in the patch product row params (not the query body).
All values with no default are reset to their zero value.
func (*PatchProductRowParams) SetHTTPClient ¶
func (o *PatchProductRowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch product row params
func (*PatchProductRowParams) SetProductContainerID ¶
func (o *PatchProductRowParams) SetProductContainerID(productContainerID int32)
SetProductContainerID adds the productContainerId to the patch product row params
func (*PatchProductRowParams) SetProductRowID ¶
func (o *PatchProductRowParams) SetProductRowID(productRowID int32)
SetProductRowID adds the productRowId to the patch product row params
func (*PatchProductRowParams) SetProductRowPatch ¶
func (o *PatchProductRowParams) SetProductRowPatch(productRowPatch *models.ProductRowPatch)
SetProductRowPatch adds the productRowPatch to the patch product row params
func (*PatchProductRowParams) SetTimeout ¶
func (o *PatchProductRowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch product row params
func (*PatchProductRowParams) WithContext ¶
func (o *PatchProductRowParams) WithContext(ctx context.Context) *PatchProductRowParams
WithContext adds the context to the patch product row params
func (*PatchProductRowParams) WithDefaults ¶
func (o *PatchProductRowParams) WithDefaults() *PatchProductRowParams
WithDefaults hydrates default values in the patch product row params (not the query body).
All values with no default are reset to their zero value.
func (*PatchProductRowParams) WithHTTPClient ¶
func (o *PatchProductRowParams) WithHTTPClient(client *http.Client) *PatchProductRowParams
WithHTTPClient adds the HTTPClient to the patch product row params
func (*PatchProductRowParams) WithProductContainerID ¶
func (o *PatchProductRowParams) WithProductContainerID(productContainerID int32) *PatchProductRowParams
WithProductContainerID adds the productContainerID to the patch product row params
func (*PatchProductRowParams) WithProductRowID ¶
func (o *PatchProductRowParams) WithProductRowID(productRowID int32) *PatchProductRowParams
WithProductRowID adds the productRowID to the patch product row params
func (*PatchProductRowParams) WithProductRowPatch ¶
func (o *PatchProductRowParams) WithProductRowPatch(productRowPatch *models.ProductRowPatch) *PatchProductRowParams
WithProductRowPatch adds the productRowPatch to the patch product row params
func (*PatchProductRowParams) WithTimeout ¶
func (o *PatchProductRowParams) WithTimeout(timeout time.Duration) *PatchProductRowParams
WithTimeout adds the timeout to the patch product row params
func (*PatchProductRowParams) WriteToRequest ¶
func (o *PatchProductRowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchProductRowReader ¶
type PatchProductRowReader struct {
// contains filtered or unexported fields
}
PatchProductRowReader is a Reader for the PatchProductRow structure.
func (*PatchProductRowReader) ReadResponse ¶
func (o *PatchProductRowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutProductContainerOK ¶
type PutProductContainerOK struct {
Payload *models.ProductContainer
}
PutProductContainerOK describes a response with status code 200, with default header values.
Success
func NewPutProductContainerOK ¶
func NewPutProductContainerOK() *PutProductContainerOK
NewPutProductContainerOK creates a PutProductContainerOK with default headers values
func (*PutProductContainerOK) Error ¶
func (o *PutProductContainerOK) Error() string
func (*PutProductContainerOK) GetPayload ¶
func (o *PutProductContainerOK) GetPayload() *models.ProductContainer
type PutProductContainerParams ¶
type PutProductContainerParams struct { // ID. // // Format: int32 ID int32 // ProductContainer. ProductContainer *models.ProductContainer // RequireEulaAnalysis. RequireEulaAnalysis *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutProductContainerParams contains all the parameters to send to the API endpoint
for the put product container operation. Typically these are written to a http.Request.
func NewPutProductContainerParams ¶
func NewPutProductContainerParams() *PutProductContainerParams
NewPutProductContainerParams creates a new PutProductContainerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutProductContainerParamsWithContext ¶
func NewPutProductContainerParamsWithContext(ctx context.Context) *PutProductContainerParams
NewPutProductContainerParamsWithContext creates a new PutProductContainerParams object with the ability to set a context for a request.
func NewPutProductContainerParamsWithHTTPClient ¶
func NewPutProductContainerParamsWithHTTPClient(client *http.Client) *PutProductContainerParams
NewPutProductContainerParamsWithHTTPClient creates a new PutProductContainerParams object with the ability to set a custom HTTPClient for a request.
func NewPutProductContainerParamsWithTimeout ¶
func NewPutProductContainerParamsWithTimeout(timeout time.Duration) *PutProductContainerParams
NewPutProductContainerParamsWithTimeout creates a new PutProductContainerParams object with the ability to set a timeout on a request.
func (*PutProductContainerParams) SetContext ¶
func (o *PutProductContainerParams) SetContext(ctx context.Context)
SetContext adds the context to the put product container params
func (*PutProductContainerParams) SetDefaults ¶
func (o *PutProductContainerParams) SetDefaults()
SetDefaults hydrates default values in the put product container params (not the query body).
All values with no default are reset to their zero value.
func (*PutProductContainerParams) SetHTTPClient ¶
func (o *PutProductContainerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put product container params
func (*PutProductContainerParams) SetID ¶
func (o *PutProductContainerParams) SetID(id int32)
SetID adds the id to the put product container params
func (*PutProductContainerParams) SetProductContainer ¶
func (o *PutProductContainerParams) SetProductContainer(productContainer *models.ProductContainer)
SetProductContainer adds the productContainer to the put product container params
func (*PutProductContainerParams) SetRequireEulaAnalysis ¶
func (o *PutProductContainerParams) SetRequireEulaAnalysis(requireEulaAnalysis *bool)
SetRequireEulaAnalysis adds the requireEulaAnalysis to the put product container params
func (*PutProductContainerParams) SetTimeout ¶
func (o *PutProductContainerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put product container params
func (*PutProductContainerParams) WithContext ¶
func (o *PutProductContainerParams) WithContext(ctx context.Context) *PutProductContainerParams
WithContext adds the context to the put product container params
func (*PutProductContainerParams) WithDefaults ¶
func (o *PutProductContainerParams) WithDefaults() *PutProductContainerParams
WithDefaults hydrates default values in the put product container params (not the query body).
All values with no default are reset to their zero value.
func (*PutProductContainerParams) WithHTTPClient ¶
func (o *PutProductContainerParams) WithHTTPClient(client *http.Client) *PutProductContainerParams
WithHTTPClient adds the HTTPClient to the put product container params
func (*PutProductContainerParams) WithID ¶
func (o *PutProductContainerParams) WithID(id int32) *PutProductContainerParams
WithID adds the id to the put product container params
func (*PutProductContainerParams) WithProductContainer ¶
func (o *PutProductContainerParams) WithProductContainer(productContainer *models.ProductContainer) *PutProductContainerParams
WithProductContainer adds the productContainer to the put product container params
func (*PutProductContainerParams) WithRequireEulaAnalysis ¶
func (o *PutProductContainerParams) WithRequireEulaAnalysis(requireEulaAnalysis *bool) *PutProductContainerParams
WithRequireEulaAnalysis adds the requireEulaAnalysis to the put product container params
func (*PutProductContainerParams) WithTimeout ¶
func (o *PutProductContainerParams) WithTimeout(timeout time.Duration) *PutProductContainerParams
WithTimeout adds the timeout to the put product container params
func (*PutProductContainerParams) WriteToRequest ¶
func (o *PutProductContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutProductContainerReader ¶
type PutProductContainerReader struct {
// contains filtered or unexported fields
}
PutProductContainerReader is a Reader for the PutProductContainer structure.
func (*PutProductContainerReader) ReadResponse ¶
func (o *PutProductContainerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_report_async_parameters.go
- create_report_async_responses.go
- delete_product_container_parameters.go
- delete_product_container_responses.go
- get_by_id_with_row_issues_parameters.go
- get_by_id_with_row_issues_responses.go
- get_or_create_shopping_cart_parameters.go
- get_or_create_shopping_cart_responses.go
- get_product_container_by_id_parameters.go
- get_product_container_by_id_responses.go
- get_product_containers_parameters.go
- get_product_containers_responses.go
- patch_product_row_parameters.go
- patch_product_row_responses.go
- product_containers_client.go
- put_product_container_parameters.go
- put_product_container_responses.go