product_containers

package
v0.0.0-...-4ac4f36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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

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

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

WithTimeout adds the timeout to the create report async params

func (*CreateReportAsyncParams) WithYear

WithYear adds the year to the create report async params

func (*CreateReportAsyncParams) WriteToRequest

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

WithContext adds the context to the delete product container params

func (*DeleteProductContainerParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete product container params

func (*DeleteProductContainerParams) WithID

WithID adds the id to the delete product container params

func (*DeleteProductContainerParams) WithTimeout

WithTimeout adds the timeout to the delete product container params

func (*DeleteProductContainerParams) WriteToRequest

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

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

WithContext adds the context to the get by Id with row issues params

func (*GetByIDWithRowIssuesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get by Id with row issues params

func (*GetByIDWithRowIssuesParams) WithID

WithID adds the id to the get by Id with row issues params

func (*GetByIDWithRowIssuesParams) WithTimeout

WithTimeout adds the timeout to the get by Id with row issues params

func (*GetByIDWithRowIssuesParams) WriteToRequest

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

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

WithContext adds the context to the get or create shopping cart params

func (*GetOrCreateShoppingCartParams) WithDefaults

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

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

WithTimeout adds the timeout to the get or create shopping cart params

func (*GetOrCreateShoppingCartParams) WriteToRequest

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

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

WithContext adds the context to the get product container by Id params

func (*GetProductContainerByIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get product container by Id params

func (*GetProductContainerByIDParams) WithID

WithID adds the id to the get product container by Id params

func (*GetProductContainerByIDParams) WithTimeout

WithTimeout adds the timeout to the get product container by Id params

func (*GetProductContainerByIDParams) WriteToRequest

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

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

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

WithContext adds the context to the get product containers params

func (*GetProductContainersParams) WithDefaults

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

WithFrom adds the from to the get product containers params

func (*GetProductContainersParams) WithHTTPClient

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

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

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

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

WithTimeout adds the timeout to the get product containers params

func (*GetProductContainersParams) WithTo

WithTo adds the to to the get product containers params

func (*GetProductContainersParams) WithType

WithType adds the typeVar to the get product containers params

func (*GetProductContainersParams) WithUserID

WithUserID adds the userID to the get product containers params

func (*GetProductContainersParams) WithYear

WithYear adds the year to the get product containers params

func (*GetProductContainersParams) WriteToRequest

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

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

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

WithContext adds the context to the put product container params

func (*PutProductContainerParams) WithDefaults

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

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

WithTimeout adds the timeout to the put product container params

func (*PutProductContainerParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL