group

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 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 group API

func (*Client) ProductGroupDelete

func (a *Client) ProductGroupDelete(params *ProductGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

ProductGroupDelete bs e t a delete product group

func (*Client) ProductGroupGet

func (a *Client) ProductGroupGet(params *ProductGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupGetOK, error)

ProductGroupGet bs e t a find product group by ID

func (*Client) ProductGroupListDeleteByIds

func (a *Client) ProductGroupListDeleteByIds(params *ProductGroupListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

ProductGroupListDeleteByIds bs e t a delete multiple product groups

func (*Client) ProductGroupListPostList

ProductGroupListPostList bs e t a add multiple products groups

func (*Client) ProductGroupListPutList

func (a *Client) ProductGroupListPutList(params *ProductGroupListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupListPutListOK, error)

ProductGroupListPutList bs e t a update a list of product groups

func (*Client) ProductGroupPost

func (a *Client) ProductGroupPost(params *ProductGroupPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupPostCreated, error)

ProductGroupPost bs e t a create new product group

func (*Client) ProductGroupPut

func (a *Client) ProductGroupPut(params *ProductGroupPutParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupPutOK, error)

ProductGroupPut bs e t a update product group

func (*Client) ProductGroupSearch

func (a *Client) ProductGroupSearch(params *ProductGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupSearchOK, error)

ProductGroupSearch bs e t a find product group with sent data

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ProductGroupListDeleteByIds(params *ProductGroupListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

	ProductGroupListPostList(params *ProductGroupListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupListPostListCreated, error)

	ProductGroupListPutList(params *ProductGroupListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupListPutListOK, error)

	ProductGroupDelete(params *ProductGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	ProductGroupGet(params *ProductGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupGetOK, error)

	ProductGroupPost(params *ProductGroupPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupPostCreated, error)

	ProductGroupPut(params *ProductGroupPutParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupPutOK, error)

	ProductGroupSearch(params *ProductGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupSearchOK, 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 group API client.

type ProductGroupDeleteDefault

type ProductGroupDeleteDefault struct {
	// contains filtered or unexported fields
}

ProductGroupDeleteDefault handles this case with default header values.

successful operation

func NewProductGroupDeleteDefault

func NewProductGroupDeleteDefault(code int) *ProductGroupDeleteDefault

NewProductGroupDeleteDefault creates a ProductGroupDeleteDefault with default headers values

func (*ProductGroupDeleteDefault) Code

func (o *ProductGroupDeleteDefault) Code() int

Code gets the status code for the product group delete default response

func (*ProductGroupDeleteDefault) Error

func (o *ProductGroupDeleteDefault) Error() string

type ProductGroupDeleteParams

type ProductGroupDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProductGroupDeleteParams contains all the parameters to send to the API endpoint for the product group delete operation typically these are written to a http.Request

func NewProductGroupDeleteParams

func NewProductGroupDeleteParams() *ProductGroupDeleteParams

NewProductGroupDeleteParams creates a new ProductGroupDeleteParams object with the default values initialized.

func NewProductGroupDeleteParamsWithContext

func NewProductGroupDeleteParamsWithContext(ctx context.Context) *ProductGroupDeleteParams

NewProductGroupDeleteParamsWithContext creates a new ProductGroupDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewProductGroupDeleteParamsWithHTTPClient

func NewProductGroupDeleteParamsWithHTTPClient(client *http.Client) *ProductGroupDeleteParams

NewProductGroupDeleteParamsWithHTTPClient creates a new ProductGroupDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProductGroupDeleteParamsWithTimeout

func NewProductGroupDeleteParamsWithTimeout(timeout time.Duration) *ProductGroupDeleteParams

NewProductGroupDeleteParamsWithTimeout creates a new ProductGroupDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProductGroupDeleteParams) SetContext

func (o *ProductGroupDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the product group delete params

func (*ProductGroupDeleteParams) SetHTTPClient

func (o *ProductGroupDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the product group delete params

func (*ProductGroupDeleteParams) SetID

func (o *ProductGroupDeleteParams) SetID(id int32)

SetID adds the id to the product group delete params

func (*ProductGroupDeleteParams) SetTimeout

func (o *ProductGroupDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the product group delete params

func (*ProductGroupDeleteParams) WithContext

WithContext adds the context to the product group delete params

func (*ProductGroupDeleteParams) WithHTTPClient

func (o *ProductGroupDeleteParams) WithHTTPClient(client *http.Client) *ProductGroupDeleteParams

WithHTTPClient adds the HTTPClient to the product group delete params

func (*ProductGroupDeleteParams) WithID

WithID adds the id to the product group delete params

func (*ProductGroupDeleteParams) WithTimeout

WithTimeout adds the timeout to the product group delete params

func (*ProductGroupDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProductGroupDeleteReader

type ProductGroupDeleteReader struct {
	// contains filtered or unexported fields
}

ProductGroupDeleteReader is a Reader for the ProductGroupDelete structure.

func (*ProductGroupDeleteReader) ReadResponse

func (o *ProductGroupDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProductGroupGetOK

type ProductGroupGetOK struct {
	Payload *models.ResponseWrapperProductGroup
}

ProductGroupGetOK handles this case with default header values.

successful operation

func NewProductGroupGetOK

func NewProductGroupGetOK() *ProductGroupGetOK

NewProductGroupGetOK creates a ProductGroupGetOK with default headers values

func (*ProductGroupGetOK) Error

func (o *ProductGroupGetOK) Error() string

func (*ProductGroupGetOK) GetPayload

type ProductGroupGetParams

type ProductGroupGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProductGroupGetParams contains all the parameters to send to the API endpoint for the product group get operation typically these are written to a http.Request

func NewProductGroupGetParams

func NewProductGroupGetParams() *ProductGroupGetParams

NewProductGroupGetParams creates a new ProductGroupGetParams object with the default values initialized.

func NewProductGroupGetParamsWithContext

func NewProductGroupGetParamsWithContext(ctx context.Context) *ProductGroupGetParams

NewProductGroupGetParamsWithContext creates a new ProductGroupGetParams object with the default values initialized, and the ability to set a context for a request

func NewProductGroupGetParamsWithHTTPClient

func NewProductGroupGetParamsWithHTTPClient(client *http.Client) *ProductGroupGetParams

NewProductGroupGetParamsWithHTTPClient creates a new ProductGroupGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProductGroupGetParamsWithTimeout

func NewProductGroupGetParamsWithTimeout(timeout time.Duration) *ProductGroupGetParams

NewProductGroupGetParamsWithTimeout creates a new ProductGroupGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProductGroupGetParams) SetContext

func (o *ProductGroupGetParams) SetContext(ctx context.Context)

SetContext adds the context to the product group get params

func (*ProductGroupGetParams) SetFields

func (o *ProductGroupGetParams) SetFields(fields *string)

SetFields adds the fields to the product group get params

func (*ProductGroupGetParams) SetHTTPClient

func (o *ProductGroupGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the product group get params

func (*ProductGroupGetParams) SetID

func (o *ProductGroupGetParams) SetID(id int32)

SetID adds the id to the product group get params

func (*ProductGroupGetParams) SetTimeout

func (o *ProductGroupGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the product group get params

func (*ProductGroupGetParams) WithContext

WithContext adds the context to the product group get params

func (*ProductGroupGetParams) WithFields

func (o *ProductGroupGetParams) WithFields(fields *string) *ProductGroupGetParams

WithFields adds the fields to the product group get params

func (*ProductGroupGetParams) WithHTTPClient

func (o *ProductGroupGetParams) WithHTTPClient(client *http.Client) *ProductGroupGetParams

WithHTTPClient adds the HTTPClient to the product group get params

func (*ProductGroupGetParams) WithID

WithID adds the id to the product group get params

func (*ProductGroupGetParams) WithTimeout

func (o *ProductGroupGetParams) WithTimeout(timeout time.Duration) *ProductGroupGetParams

WithTimeout adds the timeout to the product group get params

func (*ProductGroupGetParams) WriteToRequest

func (o *ProductGroupGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ProductGroupGetReader

type ProductGroupGetReader struct {
	// contains filtered or unexported fields
}

ProductGroupGetReader is a Reader for the ProductGroupGet structure.

func (*ProductGroupGetReader) ReadResponse

func (o *ProductGroupGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProductGroupListDeleteByIdsDefault

type ProductGroupListDeleteByIdsDefault struct {
	// contains filtered or unexported fields
}

ProductGroupListDeleteByIdsDefault handles this case with default header values.

successful operation

func NewProductGroupListDeleteByIdsDefault

func NewProductGroupListDeleteByIdsDefault(code int) *ProductGroupListDeleteByIdsDefault

NewProductGroupListDeleteByIdsDefault creates a ProductGroupListDeleteByIdsDefault with default headers values

func (*ProductGroupListDeleteByIdsDefault) Code

Code gets the status code for the product group list delete by ids default response

func (*ProductGroupListDeleteByIdsDefault) Error

type ProductGroupListDeleteByIdsParams

type ProductGroupListDeleteByIdsParams struct {

	/*Ids
	  ID of the elements

	*/
	Ids string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProductGroupListDeleteByIdsParams contains all the parameters to send to the API endpoint for the product group list delete by ids operation typically these are written to a http.Request

func NewProductGroupListDeleteByIdsParams

func NewProductGroupListDeleteByIdsParams() *ProductGroupListDeleteByIdsParams

NewProductGroupListDeleteByIdsParams creates a new ProductGroupListDeleteByIdsParams object with the default values initialized.

func NewProductGroupListDeleteByIdsParamsWithContext

func NewProductGroupListDeleteByIdsParamsWithContext(ctx context.Context) *ProductGroupListDeleteByIdsParams

NewProductGroupListDeleteByIdsParamsWithContext creates a new ProductGroupListDeleteByIdsParams object with the default values initialized, and the ability to set a context for a request

func NewProductGroupListDeleteByIdsParamsWithHTTPClient

func NewProductGroupListDeleteByIdsParamsWithHTTPClient(client *http.Client) *ProductGroupListDeleteByIdsParams

NewProductGroupListDeleteByIdsParamsWithHTTPClient creates a new ProductGroupListDeleteByIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProductGroupListDeleteByIdsParamsWithTimeout

func NewProductGroupListDeleteByIdsParamsWithTimeout(timeout time.Duration) *ProductGroupListDeleteByIdsParams

NewProductGroupListDeleteByIdsParamsWithTimeout creates a new ProductGroupListDeleteByIdsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProductGroupListDeleteByIdsParams) SetContext

SetContext adds the context to the product group list delete by ids params

func (*ProductGroupListDeleteByIdsParams) SetHTTPClient

func (o *ProductGroupListDeleteByIdsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the product group list delete by ids params

func (*ProductGroupListDeleteByIdsParams) SetIds

SetIds adds the ids to the product group list delete by ids params

func (*ProductGroupListDeleteByIdsParams) SetTimeout

func (o *ProductGroupListDeleteByIdsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the product group list delete by ids params

func (*ProductGroupListDeleteByIdsParams) WithContext

WithContext adds the context to the product group list delete by ids params

func (*ProductGroupListDeleteByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product group list delete by ids params

func (*ProductGroupListDeleteByIdsParams) WithIds

WithIds adds the ids to the product group list delete by ids params

func (*ProductGroupListDeleteByIdsParams) WithTimeout

WithTimeout adds the timeout to the product group list delete by ids params

func (*ProductGroupListDeleteByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProductGroupListDeleteByIdsReader

type ProductGroupListDeleteByIdsReader struct {
	// contains filtered or unexported fields
}

ProductGroupListDeleteByIdsReader is a Reader for the ProductGroupListDeleteByIds structure.

func (*ProductGroupListDeleteByIdsReader) ReadResponse

func (o *ProductGroupListDeleteByIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProductGroupListPostListCreated

type ProductGroupListPostListCreated struct {
	Payload *models.ListResponseProductGroup
}

ProductGroupListPostListCreated handles this case with default header values.

successfully created

func NewProductGroupListPostListCreated

func NewProductGroupListPostListCreated() *ProductGroupListPostListCreated

NewProductGroupListPostListCreated creates a ProductGroupListPostListCreated with default headers values

func (*ProductGroupListPostListCreated) Error

func (*ProductGroupListPostListCreated) GetPayload

type ProductGroupListPostListParams

type ProductGroupListPostListParams struct {

	/*Body
	  JSON representing a list of new object to be created. Should not have ID and version set.

	*/
	Body []*models.ProductGroup

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProductGroupListPostListParams contains all the parameters to send to the API endpoint for the product group list post list operation typically these are written to a http.Request

func NewProductGroupListPostListParams

func NewProductGroupListPostListParams() *ProductGroupListPostListParams

NewProductGroupListPostListParams creates a new ProductGroupListPostListParams object with the default values initialized.

func NewProductGroupListPostListParamsWithContext

func NewProductGroupListPostListParamsWithContext(ctx context.Context) *ProductGroupListPostListParams

NewProductGroupListPostListParamsWithContext creates a new ProductGroupListPostListParams object with the default values initialized, and the ability to set a context for a request

func NewProductGroupListPostListParamsWithHTTPClient

func NewProductGroupListPostListParamsWithHTTPClient(client *http.Client) *ProductGroupListPostListParams

NewProductGroupListPostListParamsWithHTTPClient creates a new ProductGroupListPostListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProductGroupListPostListParamsWithTimeout

func NewProductGroupListPostListParamsWithTimeout(timeout time.Duration) *ProductGroupListPostListParams

NewProductGroupListPostListParamsWithTimeout creates a new ProductGroupListPostListParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProductGroupListPostListParams) SetBody

SetBody adds the body to the product group list post list params

func (*ProductGroupListPostListParams) SetContext

func (o *ProductGroupListPostListParams) SetContext(ctx context.Context)

SetContext adds the context to the product group list post list params

func (*ProductGroupListPostListParams) SetHTTPClient

func (o *ProductGroupListPostListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the product group list post list params

func (*ProductGroupListPostListParams) SetTimeout

func (o *ProductGroupListPostListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the product group list post list params

func (*ProductGroupListPostListParams) WithBody

WithBody adds the body to the product group list post list params

func (*ProductGroupListPostListParams) WithContext

WithContext adds the context to the product group list post list params

func (*ProductGroupListPostListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product group list post list params

func (*ProductGroupListPostListParams) WithTimeout

WithTimeout adds the timeout to the product group list post list params

func (*ProductGroupListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProductGroupListPostListReader

type ProductGroupListPostListReader struct {
	// contains filtered or unexported fields
}

ProductGroupListPostListReader is a Reader for the ProductGroupListPostList structure.

func (*ProductGroupListPostListReader) ReadResponse

func (o *ProductGroupListPostListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProductGroupListPutListOK

type ProductGroupListPutListOK struct {
	Payload *models.ListResponseProductGroup
}

ProductGroupListPutListOK handles this case with default header values.

successful operation

func NewProductGroupListPutListOK

func NewProductGroupListPutListOK() *ProductGroupListPutListOK

NewProductGroupListPutListOK creates a ProductGroupListPutListOK with default headers values

func (*ProductGroupListPutListOK) Error

func (o *ProductGroupListPutListOK) Error() string

func (*ProductGroupListPutListOK) GetPayload

type ProductGroupListPutListParams

type ProductGroupListPutListParams struct {

	/*Body
	  JSON representing updates to object. Should have ID and version set.

	*/
	Body []*models.ProductGroup

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProductGroupListPutListParams contains all the parameters to send to the API endpoint for the product group list put list operation typically these are written to a http.Request

func NewProductGroupListPutListParams

func NewProductGroupListPutListParams() *ProductGroupListPutListParams

NewProductGroupListPutListParams creates a new ProductGroupListPutListParams object with the default values initialized.

func NewProductGroupListPutListParamsWithContext

func NewProductGroupListPutListParamsWithContext(ctx context.Context) *ProductGroupListPutListParams

NewProductGroupListPutListParamsWithContext creates a new ProductGroupListPutListParams object with the default values initialized, and the ability to set a context for a request

func NewProductGroupListPutListParamsWithHTTPClient

func NewProductGroupListPutListParamsWithHTTPClient(client *http.Client) *ProductGroupListPutListParams

NewProductGroupListPutListParamsWithHTTPClient creates a new ProductGroupListPutListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProductGroupListPutListParamsWithTimeout

func NewProductGroupListPutListParamsWithTimeout(timeout time.Duration) *ProductGroupListPutListParams

NewProductGroupListPutListParamsWithTimeout creates a new ProductGroupListPutListParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProductGroupListPutListParams) SetBody

SetBody adds the body to the product group list put list params

func (*ProductGroupListPutListParams) SetContext

func (o *ProductGroupListPutListParams) SetContext(ctx context.Context)

SetContext adds the context to the product group list put list params

func (*ProductGroupListPutListParams) SetHTTPClient

func (o *ProductGroupListPutListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the product group list put list params

func (*ProductGroupListPutListParams) SetTimeout

func (o *ProductGroupListPutListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the product group list put list params

func (*ProductGroupListPutListParams) WithBody

WithBody adds the body to the product group list put list params

func (*ProductGroupListPutListParams) WithContext

WithContext adds the context to the product group list put list params

func (*ProductGroupListPutListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product group list put list params

func (*ProductGroupListPutListParams) WithTimeout

WithTimeout adds the timeout to the product group list put list params

func (*ProductGroupListPutListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProductGroupListPutListReader

type ProductGroupListPutListReader struct {
	// contains filtered or unexported fields
}

ProductGroupListPutListReader is a Reader for the ProductGroupListPutList structure.

func (*ProductGroupListPutListReader) ReadResponse

func (o *ProductGroupListPutListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProductGroupPostCreated

type ProductGroupPostCreated struct {
	Payload *models.ResponseWrapperProductGroup
}

ProductGroupPostCreated handles this case with default header values.

successfully created

func NewProductGroupPostCreated

func NewProductGroupPostCreated() *ProductGroupPostCreated

NewProductGroupPostCreated creates a ProductGroupPostCreated with default headers values

func (*ProductGroupPostCreated) Error

func (o *ProductGroupPostCreated) Error() string

func (*ProductGroupPostCreated) GetPayload

type ProductGroupPostParams

type ProductGroupPostParams struct {

	/*Body
	  JSON representing the new object to be created. Should not have ID and version set.

	*/
	Body *models.ProductGroup

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProductGroupPostParams contains all the parameters to send to the API endpoint for the product group post operation typically these are written to a http.Request

func NewProductGroupPostParams

func NewProductGroupPostParams() *ProductGroupPostParams

NewProductGroupPostParams creates a new ProductGroupPostParams object with the default values initialized.

func NewProductGroupPostParamsWithContext

func NewProductGroupPostParamsWithContext(ctx context.Context) *ProductGroupPostParams

NewProductGroupPostParamsWithContext creates a new ProductGroupPostParams object with the default values initialized, and the ability to set a context for a request

func NewProductGroupPostParamsWithHTTPClient

func NewProductGroupPostParamsWithHTTPClient(client *http.Client) *ProductGroupPostParams

NewProductGroupPostParamsWithHTTPClient creates a new ProductGroupPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProductGroupPostParamsWithTimeout

func NewProductGroupPostParamsWithTimeout(timeout time.Duration) *ProductGroupPostParams

NewProductGroupPostParamsWithTimeout creates a new ProductGroupPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProductGroupPostParams) SetBody

func (o *ProductGroupPostParams) SetBody(body *models.ProductGroup)

SetBody adds the body to the product group post params

func (*ProductGroupPostParams) SetContext

func (o *ProductGroupPostParams) SetContext(ctx context.Context)

SetContext adds the context to the product group post params

func (*ProductGroupPostParams) SetHTTPClient

func (o *ProductGroupPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the product group post params

func (*ProductGroupPostParams) SetTimeout

func (o *ProductGroupPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the product group post params

func (*ProductGroupPostParams) WithBody

WithBody adds the body to the product group post params

func (*ProductGroupPostParams) WithContext

WithContext adds the context to the product group post params

func (*ProductGroupPostParams) WithHTTPClient

func (o *ProductGroupPostParams) WithHTTPClient(client *http.Client) *ProductGroupPostParams

WithHTTPClient adds the HTTPClient to the product group post params

func (*ProductGroupPostParams) WithTimeout

WithTimeout adds the timeout to the product group post params

func (*ProductGroupPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProductGroupPostReader

type ProductGroupPostReader struct {
	// contains filtered or unexported fields
}

ProductGroupPostReader is a Reader for the ProductGroupPost structure.

func (*ProductGroupPostReader) ReadResponse

func (o *ProductGroupPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProductGroupPutOK

type ProductGroupPutOK struct {
	Payload *models.ResponseWrapperProductGroup
}

ProductGroupPutOK handles this case with default header values.

successful operation

func NewProductGroupPutOK

func NewProductGroupPutOK() *ProductGroupPutOK

NewProductGroupPutOK creates a ProductGroupPutOK with default headers values

func (*ProductGroupPutOK) Error

func (o *ProductGroupPutOK) Error() string

func (*ProductGroupPutOK) GetPayload

type ProductGroupPutParams

type ProductGroupPutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.ProductGroup
	/*ID
	  Element ID

	*/
	ID int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProductGroupPutParams contains all the parameters to send to the API endpoint for the product group put operation typically these are written to a http.Request

func NewProductGroupPutParams

func NewProductGroupPutParams() *ProductGroupPutParams

NewProductGroupPutParams creates a new ProductGroupPutParams object with the default values initialized.

func NewProductGroupPutParamsWithContext

func NewProductGroupPutParamsWithContext(ctx context.Context) *ProductGroupPutParams

NewProductGroupPutParamsWithContext creates a new ProductGroupPutParams object with the default values initialized, and the ability to set a context for a request

func NewProductGroupPutParamsWithHTTPClient

func NewProductGroupPutParamsWithHTTPClient(client *http.Client) *ProductGroupPutParams

NewProductGroupPutParamsWithHTTPClient creates a new ProductGroupPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProductGroupPutParamsWithTimeout

func NewProductGroupPutParamsWithTimeout(timeout time.Duration) *ProductGroupPutParams

NewProductGroupPutParamsWithTimeout creates a new ProductGroupPutParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProductGroupPutParams) SetBody

func (o *ProductGroupPutParams) SetBody(body *models.ProductGroup)

SetBody adds the body to the product group put params

func (*ProductGroupPutParams) SetContext

func (o *ProductGroupPutParams) SetContext(ctx context.Context)

SetContext adds the context to the product group put params

func (*ProductGroupPutParams) SetHTTPClient

func (o *ProductGroupPutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the product group put params

func (*ProductGroupPutParams) SetID

func (o *ProductGroupPutParams) SetID(id int32)

SetID adds the id to the product group put params

func (*ProductGroupPutParams) SetTimeout

func (o *ProductGroupPutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the product group put params

func (*ProductGroupPutParams) WithBody

WithBody adds the body to the product group put params

func (*ProductGroupPutParams) WithContext

WithContext adds the context to the product group put params

func (*ProductGroupPutParams) WithHTTPClient

func (o *ProductGroupPutParams) WithHTTPClient(client *http.Client) *ProductGroupPutParams

WithHTTPClient adds the HTTPClient to the product group put params

func (*ProductGroupPutParams) WithID

WithID adds the id to the product group put params

func (*ProductGroupPutParams) WithTimeout

func (o *ProductGroupPutParams) WithTimeout(timeout time.Duration) *ProductGroupPutParams

WithTimeout adds the timeout to the product group put params

func (*ProductGroupPutParams) WriteToRequest

func (o *ProductGroupPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ProductGroupPutReader

type ProductGroupPutReader struct {
	// contains filtered or unexported fields
}

ProductGroupPutReader is a Reader for the ProductGroupPut structure.

func (*ProductGroupPutReader) ReadResponse

func (o *ProductGroupPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProductGroupSearchOK

type ProductGroupSearchOK struct {
	Payload *models.ListResponseProductGroup
}

ProductGroupSearchOK handles this case with default header values.

successful operation

func NewProductGroupSearchOK

func NewProductGroupSearchOK() *ProductGroupSearchOK

NewProductGroupSearchOK creates a ProductGroupSearchOK with default headers values

func (*ProductGroupSearchOK) Error

func (o *ProductGroupSearchOK) Error() string

func (*ProductGroupSearchOK) GetPayload

type ProductGroupSearchParams

type ProductGroupSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*Name
	  Containing

	*/
	Name *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProductGroupSearchParams contains all the parameters to send to the API endpoint for the product group search operation typically these are written to a http.Request

func NewProductGroupSearchParams

func NewProductGroupSearchParams() *ProductGroupSearchParams

NewProductGroupSearchParams creates a new ProductGroupSearchParams object with the default values initialized.

func NewProductGroupSearchParamsWithContext

func NewProductGroupSearchParamsWithContext(ctx context.Context) *ProductGroupSearchParams

NewProductGroupSearchParamsWithContext creates a new ProductGroupSearchParams object with the default values initialized, and the ability to set a context for a request

func NewProductGroupSearchParamsWithHTTPClient

func NewProductGroupSearchParamsWithHTTPClient(client *http.Client) *ProductGroupSearchParams

NewProductGroupSearchParamsWithHTTPClient creates a new ProductGroupSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProductGroupSearchParamsWithTimeout

func NewProductGroupSearchParamsWithTimeout(timeout time.Duration) *ProductGroupSearchParams

NewProductGroupSearchParamsWithTimeout creates a new ProductGroupSearchParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProductGroupSearchParams) SetContext

func (o *ProductGroupSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the product group search params

func (*ProductGroupSearchParams) SetCount

func (o *ProductGroupSearchParams) SetCount(count *int64)

SetCount adds the count to the product group search params

func (*ProductGroupSearchParams) SetFields

func (o *ProductGroupSearchParams) SetFields(fields *string)

SetFields adds the fields to the product group search params

func (*ProductGroupSearchParams) SetFrom

func (o *ProductGroupSearchParams) SetFrom(from *int64)

SetFrom adds the from to the product group search params

func (*ProductGroupSearchParams) SetHTTPClient

func (o *ProductGroupSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the product group search params

func (*ProductGroupSearchParams) SetID

func (o *ProductGroupSearchParams) SetID(id *string)

SetID adds the id to the product group search params

func (*ProductGroupSearchParams) SetName

func (o *ProductGroupSearchParams) SetName(name *string)

SetName adds the name to the product group search params

func (*ProductGroupSearchParams) SetSorting

func (o *ProductGroupSearchParams) SetSorting(sorting *string)

SetSorting adds the sorting to the product group search params

func (*ProductGroupSearchParams) SetTimeout

func (o *ProductGroupSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the product group search params

func (*ProductGroupSearchParams) WithContext

WithContext adds the context to the product group search params

func (*ProductGroupSearchParams) WithCount

WithCount adds the count to the product group search params

func (*ProductGroupSearchParams) WithFields

WithFields adds the fields to the product group search params

func (*ProductGroupSearchParams) WithFrom

WithFrom adds the from to the product group search params

func (*ProductGroupSearchParams) WithHTTPClient

func (o *ProductGroupSearchParams) WithHTTPClient(client *http.Client) *ProductGroupSearchParams

WithHTTPClient adds the HTTPClient to the product group search params

func (*ProductGroupSearchParams) WithID

WithID adds the id to the product group search params

func (*ProductGroupSearchParams) WithName

WithName adds the name to the product group search params

func (*ProductGroupSearchParams) WithSorting

func (o *ProductGroupSearchParams) WithSorting(sorting *string) *ProductGroupSearchParams

WithSorting adds the sorting to the product group search params

func (*ProductGroupSearchParams) WithTimeout

WithTimeout adds the timeout to the product group search params

func (*ProductGroupSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProductGroupSearchReader

type ProductGroupSearchReader struct {
	// contains filtered or unexported fields
}

ProductGroupSearchReader is a Reader for the ProductGroupSearch structure.

func (*ProductGroupSearchReader) ReadResponse

func (o *ProductGroupSearchReader) 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