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) GetProductContainers(params *GetProductContainersParams, authInfo runtime.ClientAuthInfoWriter) (*GetProductContainersOK, error)
- func (a *Client) PatchProductRow(params *PatchProductRowParams, authInfo runtime.ClientAuthInfoWriter) (*PatchProductRowOK, error)
- func (a *Client) PutProductContainers(params *PutProductContainersParams, authInfo runtime.ClientAuthInfoWriter) (*PutProductContainersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- 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) 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) 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) 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) 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) 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) 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) 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) 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 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) 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) 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) 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) 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 PutProductContainersOK
- type PutProductContainersParams
- func NewPutProductContainersParams() *PutProductContainersParams
- func NewPutProductContainersParamsWithContext(ctx context.Context) *PutProductContainersParams
- func NewPutProductContainersParamsWithHTTPClient(client *http.Client) *PutProductContainersParams
- func NewPutProductContainersParamsWithTimeout(timeout time.Duration) *PutProductContainersParams
- func (o *PutProductContainersParams) SetContext(ctx context.Context)
- func (o *PutProductContainersParams) SetHTTPClient(client *http.Client)
- func (o *PutProductContainersParams) SetID(id int32)
- func (o *PutProductContainersParams) SetProductContainer(productContainer *models.ProductContainer)
- func (o *PutProductContainersParams) SetRequireEulaAnalysis(requireEulaAnalysis *bool)
- func (o *PutProductContainersParams) SetTimeout(timeout time.Duration)
- func (o *PutProductContainersParams) WithContext(ctx context.Context) *PutProductContainersParams
- func (o *PutProductContainersParams) WithHTTPClient(client *http.Client) *PutProductContainersParams
- func (o *PutProductContainersParams) WithID(id int32) *PutProductContainersParams
- func (o *PutProductContainersParams) WithProductContainer(productContainer *models.ProductContainer) *PutProductContainersParams
- func (o *PutProductContainersParams) WithRequireEulaAnalysis(requireEulaAnalysis *bool) *PutProductContainersParams
- func (o *PutProductContainersParams) WithTimeout(timeout time.Duration) *PutProductContainersParams
- func (o *PutProductContainersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutProductContainersReader
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) (*CreateReportAsyncOK, error)
CreateReportAsync create report async API
func (*Client) DeleteProductContainer ¶
func (a *Client) DeleteProductContainer(params *DeleteProductContainerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProductContainerOK, error)
DeleteProductContainer delete product container API
func (*Client) GetByIDWithRowIssues ¶
func (a *Client) GetByIDWithRowIssues(params *GetByIDWithRowIssuesParams, authInfo runtime.ClientAuthInfoWriter) (*GetByIDWithRowIssuesOK, error)
GetByIDWithRowIssues get by Id with row issues API
func (*Client) GetOrCreateShoppingCart ¶
func (a *Client) GetOrCreateShoppingCart(params *GetOrCreateShoppingCartParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrCreateShoppingCartOK, error)
GetOrCreateShoppingCart get or create shopping cart API
func (*Client) GetProductContainers ¶ added in v1.1.0
func (a *Client) GetProductContainers(params *GetProductContainersParams, authInfo runtime.ClientAuthInfoWriter) (*GetProductContainersOK, error)
GetProductContainers get product containers API
func (*Client) PatchProductRow ¶
func (a *Client) PatchProductRow(params *PatchProductRowParams, authInfo runtime.ClientAuthInfoWriter) (*PatchProductRowOK, error)
PatchProductRow patch product row API
func (*Client) PutProductContainers ¶ added in v1.1.0
func (a *Client) PutProductContainers(params *PutProductContainersParams, authInfo runtime.ClientAuthInfoWriter) (*PutProductContainersOK, error)
PutProductContainers put product containers API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CreateReportAsync(params *CreateReportAsyncParams, authInfo runtime.ClientAuthInfoWriter) (*CreateReportAsyncOK, error) DeleteProductContainer(params *DeleteProductContainerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProductContainerOK, error) GetByIDWithRowIssues(params *GetByIDWithRowIssuesParams, authInfo runtime.ClientAuthInfoWriter) (*GetByIDWithRowIssuesOK, error) GetOrCreateShoppingCart(params *GetOrCreateShoppingCartParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrCreateShoppingCartOK, error) GetProductContainers(params *GetProductContainersParams, authInfo runtime.ClientAuthInfoWriter) (*GetProductContainersOK, error) PatchProductRow(params *PatchProductRowParams, authInfo runtime.ClientAuthInfoWriter) (*PatchProductRowOK, error) PutProductContainers(params *PutProductContainersParams, authInfo runtime.ClientAuthInfoWriter) (*PutProductContainersOK, 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 handles this case 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*/ Month *int32 /*OrganizationID*/ OrganizationID *int32 /*ProgramID*/ ProgramID *int32 /*Year*/ 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 values initialized.
func NewCreateReportAsyncParamsWithContext ¶
func NewCreateReportAsyncParamsWithContext(ctx context.Context) *CreateReportAsyncParams
NewCreateReportAsyncParamsWithContext creates a new CreateReportAsyncParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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*/ 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 values initialized.
func NewDeleteProductContainerParamsWithContext ¶
func NewDeleteProductContainerParamsWithContext(ctx context.Context) *DeleteProductContainerParams
NewDeleteProductContainerParamsWithContext creates a new DeleteProductContainerParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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*/ 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 values initialized.
func NewGetByIDWithRowIssuesParamsWithContext ¶
func NewGetByIDWithRowIssuesParamsWithContext(ctx context.Context) *GetByIDWithRowIssuesParams
NewGetByIDWithRowIssuesParamsWithContext creates a new GetByIDWithRowIssuesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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*/ 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 values initialized.
func NewGetOrCreateShoppingCartParamsWithContext ¶
func NewGetOrCreateShoppingCartParamsWithContext(ctx context.Context) *GetOrCreateShoppingCartParams
NewGetOrCreateShoppingCartParamsWithContext creates a new GetOrCreateShoppingCartParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetProductContainersOK ¶ added in v1.1.0
type GetProductContainersOK struct {
Payload *models.APICollectionOfProductContainer
}
GetProductContainersOK handles this case with default header values.
Success
func NewGetProductContainersOK ¶ added in v1.1.0
func NewGetProductContainersOK() *GetProductContainersOK
NewGetProductContainersOK creates a GetProductContainersOK with default headers values
func (*GetProductContainersOK) Error ¶ added in v1.1.0
func (o *GetProductContainersOK) Error() string
func (*GetProductContainersOK) GetPayload ¶ added in v1.1.0
func (o *GetProductContainersOK) GetPayload() *models.APICollectionOfProductContainer
type GetProductContainersParams ¶ added in v1.1.0
type GetProductContainersParams struct { /*ActiveDraft*/ ActiveDraft *bool /*Category*/ Category *string /*From*/ From *strfmt.DateTime /*IncludeRemoved*/ IncludeRemoved *bool /*IncludeSubsidiaries*/ IncludeSubsidiaries *bool /*Month*/ Month *int32 /*OrganizationID*/ OrganizationID *int32 /*Page*/ Page *int32 /*PageSize*/ PageSize *int32 /*ProgramID*/ ProgramID *int32 /*Search*/ Search *string /*SentByUserID*/ SentByUserID *string /*To*/ To *strfmt.DateTime /*Type*/ Type *string /*UserID*/ UserID *string /*Year*/ 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 ¶ added in v1.1.0
func NewGetProductContainersParams() *GetProductContainersParams
NewGetProductContainersParams creates a new GetProductContainersParams object with the default values initialized.
func NewGetProductContainersParamsWithContext ¶ added in v1.1.0
func NewGetProductContainersParamsWithContext(ctx context.Context) *GetProductContainersParams
NewGetProductContainersParamsWithContext creates a new GetProductContainersParams object with the default values initialized, and the ability to set a context for a request
func NewGetProductContainersParamsWithHTTPClient ¶ added in v1.1.0
func NewGetProductContainersParamsWithHTTPClient(client *http.Client) *GetProductContainersParams
NewGetProductContainersParamsWithHTTPClient creates a new GetProductContainersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetProductContainersParamsWithTimeout ¶ added in v1.1.0
func NewGetProductContainersParamsWithTimeout(timeout time.Duration) *GetProductContainersParams
NewGetProductContainersParamsWithTimeout creates a new GetProductContainersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetProductContainersParams) SetActiveDraft ¶ added in v1.1.0
func (o *GetProductContainersParams) SetActiveDraft(activeDraft *bool)
SetActiveDraft adds the activeDraft to the get product containers params
func (*GetProductContainersParams) SetCategory ¶ added in v1.1.0
func (o *GetProductContainersParams) SetCategory(category *string)
SetCategory adds the category to the get product containers params
func (*GetProductContainersParams) SetContext ¶ added in v1.1.0
func (o *GetProductContainersParams) SetContext(ctx context.Context)
SetContext adds the context to the get product containers params
func (*GetProductContainersParams) SetFrom ¶ added in v1.1.0
func (o *GetProductContainersParams) SetFrom(from *strfmt.DateTime)
SetFrom adds the from to the get product containers params
func (*GetProductContainersParams) SetHTTPClient ¶ added in v1.1.0
func (o *GetProductContainersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get product containers params
func (*GetProductContainersParams) SetIncludeRemoved ¶ added in v1.1.0
func (o *GetProductContainersParams) SetIncludeRemoved(includeRemoved *bool)
SetIncludeRemoved adds the includeRemoved to the get product containers params
func (*GetProductContainersParams) SetIncludeSubsidiaries ¶ added in v1.1.0
func (o *GetProductContainersParams) SetIncludeSubsidiaries(includeSubsidiaries *bool)
SetIncludeSubsidiaries adds the includeSubsidiaries to the get product containers params
func (*GetProductContainersParams) SetMonth ¶ added in v1.1.0
func (o *GetProductContainersParams) SetMonth(month *int32)
SetMonth adds the month to the get product containers params
func (*GetProductContainersParams) SetOrganizationID ¶ added in v1.1.0
func (o *GetProductContainersParams) SetOrganizationID(organizationID *int32)
SetOrganizationID adds the organizationId to the get product containers params
func (*GetProductContainersParams) SetPage ¶ added in v1.1.0
func (o *GetProductContainersParams) SetPage(page *int32)
SetPage adds the page to the get product containers params
func (*GetProductContainersParams) SetPageSize ¶ added in v1.1.0
func (o *GetProductContainersParams) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the get product containers params
func (*GetProductContainersParams) SetProgramID ¶ added in v1.1.0
func (o *GetProductContainersParams) SetProgramID(programID *int32)
SetProgramID adds the programId to the get product containers params
func (*GetProductContainersParams) SetSearch ¶ added in v1.1.0
func (o *GetProductContainersParams) SetSearch(search *string)
SetSearch adds the search to the get product containers params
func (*GetProductContainersParams) SetSentByUserID ¶ added in v1.1.0
func (o *GetProductContainersParams) SetSentByUserID(sentByUserID *string)
SetSentByUserID adds the sentByUserId to the get product containers params
func (*GetProductContainersParams) SetTimeout ¶ added in v1.1.0
func (o *GetProductContainersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get product containers params
func (*GetProductContainersParams) SetTo ¶ added in v1.1.0
func (o *GetProductContainersParams) SetTo(to *strfmt.DateTime)
SetTo adds the to to the get product containers params
func (*GetProductContainersParams) SetType ¶ added in v1.1.0
func (o *GetProductContainersParams) SetType(typeVar *string)
SetType adds the type to the get product containers params
func (*GetProductContainersParams) SetUserID ¶ added in v1.1.0
func (o *GetProductContainersParams) SetUserID(userID *string)
SetUserID adds the userId to the get product containers params
func (*GetProductContainersParams) SetYear ¶ added in v1.1.0
func (o *GetProductContainersParams) SetYear(year *int32)
SetYear adds the year to the get product containers params
func (*GetProductContainersParams) WithActiveDraft ¶ added in v1.1.0
func (o *GetProductContainersParams) WithActiveDraft(activeDraft *bool) *GetProductContainersParams
WithActiveDraft adds the activeDraft to the get product containers params
func (*GetProductContainersParams) WithCategory ¶ added in v1.1.0
func (o *GetProductContainersParams) WithCategory(category *string) *GetProductContainersParams
WithCategory adds the category to the get product containers params
func (*GetProductContainersParams) WithContext ¶ added in v1.1.0
func (o *GetProductContainersParams) WithContext(ctx context.Context) *GetProductContainersParams
WithContext adds the context to the get product containers params
func (*GetProductContainersParams) WithFrom ¶ added in v1.1.0
func (o *GetProductContainersParams) WithFrom(from *strfmt.DateTime) *GetProductContainersParams
WithFrom adds the from to the get product containers params
func (*GetProductContainersParams) WithHTTPClient ¶ added in v1.1.0
func (o *GetProductContainersParams) WithHTTPClient(client *http.Client) *GetProductContainersParams
WithHTTPClient adds the HTTPClient to the get product containers params
func (*GetProductContainersParams) WithIncludeRemoved ¶ added in v1.1.0
func (o *GetProductContainersParams) WithIncludeRemoved(includeRemoved *bool) *GetProductContainersParams
WithIncludeRemoved adds the includeRemoved to the get product containers params
func (*GetProductContainersParams) WithIncludeSubsidiaries ¶ added in v1.1.0
func (o *GetProductContainersParams) WithIncludeSubsidiaries(includeSubsidiaries *bool) *GetProductContainersParams
WithIncludeSubsidiaries adds the includeSubsidiaries to the get product containers params
func (*GetProductContainersParams) WithMonth ¶ added in v1.1.0
func (o *GetProductContainersParams) WithMonth(month *int32) *GetProductContainersParams
WithMonth adds the month to the get product containers params
func (*GetProductContainersParams) WithOrganizationID ¶ added in v1.1.0
func (o *GetProductContainersParams) WithOrganizationID(organizationID *int32) *GetProductContainersParams
WithOrganizationID adds the organizationID to the get product containers params
func (*GetProductContainersParams) WithPage ¶ added in v1.1.0
func (o *GetProductContainersParams) WithPage(page *int32) *GetProductContainersParams
WithPage adds the page to the get product containers params
func (*GetProductContainersParams) WithPageSize ¶ added in v1.1.0
func (o *GetProductContainersParams) WithPageSize(pageSize *int32) *GetProductContainersParams
WithPageSize adds the pageSize to the get product containers params
func (*GetProductContainersParams) WithProgramID ¶ added in v1.1.0
func (o *GetProductContainersParams) WithProgramID(programID *int32) *GetProductContainersParams
WithProgramID adds the programID to the get product containers params
func (*GetProductContainersParams) WithSearch ¶ added in v1.1.0
func (o *GetProductContainersParams) WithSearch(search *string) *GetProductContainersParams
WithSearch adds the search to the get product containers params
func (*GetProductContainersParams) WithSentByUserID ¶ added in v1.1.0
func (o *GetProductContainersParams) WithSentByUserID(sentByUserID *string) *GetProductContainersParams
WithSentByUserID adds the sentByUserID to the get product containers params
func (*GetProductContainersParams) WithTimeout ¶ added in v1.1.0
func (o *GetProductContainersParams) WithTimeout(timeout time.Duration) *GetProductContainersParams
WithTimeout adds the timeout to the get product containers params
func (*GetProductContainersParams) WithTo ¶ added in v1.1.0
func (o *GetProductContainersParams) WithTo(to *strfmt.DateTime) *GetProductContainersParams
WithTo adds the to to the get product containers params
func (*GetProductContainersParams) WithType ¶ added in v1.1.0
func (o *GetProductContainersParams) WithType(typeVar *string) *GetProductContainersParams
WithType adds the typeVar to the get product containers params
func (*GetProductContainersParams) WithUserID ¶ added in v1.1.0
func (o *GetProductContainersParams) WithUserID(userID *string) *GetProductContainersParams
WithUserID adds the userID to the get product containers params
func (*GetProductContainersParams) WithYear ¶ added in v1.1.0
func (o *GetProductContainersParams) WithYear(year *int32) *GetProductContainersParams
WithYear adds the year to the get product containers params
func (*GetProductContainersParams) WriteToRequest ¶ added in v1.1.0
func (o *GetProductContainersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProductContainersReader ¶ added in v1.1.0
type GetProductContainersReader struct {
// contains filtered or unexported fields
}
GetProductContainersReader is a Reader for the GetProductContainers structure.
func (*GetProductContainersReader) ReadResponse ¶ added in v1.1.0
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 handles this case 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*/ ProductContainerID int32 /*ProductRowID*/ 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 values initialized.
func NewPatchProductRowParamsWithContext ¶
func NewPatchProductRowParamsWithContext(ctx context.Context) *PatchProductRowParams
NewPatchProductRowParamsWithContext creates a new PatchProductRowParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PutProductContainersOK ¶ added in v1.1.0
type PutProductContainersOK struct {
Payload *models.ProductContainer
}
PutProductContainersOK handles this case with default header values.
Success
func NewPutProductContainersOK ¶ added in v1.1.0
func NewPutProductContainersOK() *PutProductContainersOK
NewPutProductContainersOK creates a PutProductContainersOK with default headers values
func (*PutProductContainersOK) Error ¶ added in v1.1.0
func (o *PutProductContainersOK) Error() string
func (*PutProductContainersOK) GetPayload ¶ added in v1.1.0
func (o *PutProductContainersOK) GetPayload() *models.ProductContainer
type PutProductContainersParams ¶ added in v1.1.0
type PutProductContainersParams struct { /*ID*/ ID int32 /*ProductContainer*/ ProductContainer *models.ProductContainer /*RequireEulaAnalysis*/ RequireEulaAnalysis *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutProductContainersParams contains all the parameters to send to the API endpoint for the put product containers operation typically these are written to a http.Request
func NewPutProductContainersParams ¶ added in v1.1.0
func NewPutProductContainersParams() *PutProductContainersParams
NewPutProductContainersParams creates a new PutProductContainersParams object with the default values initialized.
func NewPutProductContainersParamsWithContext ¶ added in v1.1.0
func NewPutProductContainersParamsWithContext(ctx context.Context) *PutProductContainersParams
NewPutProductContainersParamsWithContext creates a new PutProductContainersParams object with the default values initialized, and the ability to set a context for a request
func NewPutProductContainersParamsWithHTTPClient ¶ added in v1.1.0
func NewPutProductContainersParamsWithHTTPClient(client *http.Client) *PutProductContainersParams
NewPutProductContainersParamsWithHTTPClient creates a new PutProductContainersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutProductContainersParamsWithTimeout ¶ added in v1.1.0
func NewPutProductContainersParamsWithTimeout(timeout time.Duration) *PutProductContainersParams
NewPutProductContainersParamsWithTimeout creates a new PutProductContainersParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutProductContainersParams) SetContext ¶ added in v1.1.0
func (o *PutProductContainersParams) SetContext(ctx context.Context)
SetContext adds the context to the put product containers params
func (*PutProductContainersParams) SetHTTPClient ¶ added in v1.1.0
func (o *PutProductContainersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put product containers params
func (*PutProductContainersParams) SetID ¶ added in v1.1.0
func (o *PutProductContainersParams) SetID(id int32)
SetID adds the id to the put product containers params
func (*PutProductContainersParams) SetProductContainer ¶ added in v1.1.0
func (o *PutProductContainersParams) SetProductContainer(productContainer *models.ProductContainer)
SetProductContainer adds the productContainer to the put product containers params
func (*PutProductContainersParams) SetRequireEulaAnalysis ¶ added in v1.1.0
func (o *PutProductContainersParams) SetRequireEulaAnalysis(requireEulaAnalysis *bool)
SetRequireEulaAnalysis adds the requireEulaAnalysis to the put product containers params
func (*PutProductContainersParams) SetTimeout ¶ added in v1.1.0
func (o *PutProductContainersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put product containers params
func (*PutProductContainersParams) WithContext ¶ added in v1.1.0
func (o *PutProductContainersParams) WithContext(ctx context.Context) *PutProductContainersParams
WithContext adds the context to the put product containers params
func (*PutProductContainersParams) WithHTTPClient ¶ added in v1.1.0
func (o *PutProductContainersParams) WithHTTPClient(client *http.Client) *PutProductContainersParams
WithHTTPClient adds the HTTPClient to the put product containers params
func (*PutProductContainersParams) WithID ¶ added in v1.1.0
func (o *PutProductContainersParams) WithID(id int32) *PutProductContainersParams
WithID adds the id to the put product containers params
func (*PutProductContainersParams) WithProductContainer ¶ added in v1.1.0
func (o *PutProductContainersParams) WithProductContainer(productContainer *models.ProductContainer) *PutProductContainersParams
WithProductContainer adds the productContainer to the put product containers params
func (*PutProductContainersParams) WithRequireEulaAnalysis ¶ added in v1.1.0
func (o *PutProductContainersParams) WithRequireEulaAnalysis(requireEulaAnalysis *bool) *PutProductContainersParams
WithRequireEulaAnalysis adds the requireEulaAnalysis to the put product containers params
func (*PutProductContainersParams) WithTimeout ¶ added in v1.1.0
func (o *PutProductContainersParams) WithTimeout(timeout time.Duration) *PutProductContainersParams
WithTimeout adds the timeout to the put product containers params
func (*PutProductContainersParams) WriteToRequest ¶ added in v1.1.0
func (o *PutProductContainersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutProductContainersReader ¶ added in v1.1.0
type PutProductContainersReader struct {
// contains filtered or unexported fields
}
PutProductContainersReader is a Reader for the PutProductContainers structure.
func (*PutProductContainersReader) ReadResponse ¶ added in v1.1.0
func (o *PutProductContainersReader) 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_containers_parameters.go
- get_product_containers_responses.go
- patch_product_row_parameters.go
- patch_product_row_responses.go
- product_containers_client.go
- put_product_containers_parameters.go
- put_product_containers_responses.go