Documentation ¶
Index ¶
- type Client
- func (a *Client) ProductGroupDelete(params *ProductGroupDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) ProductGroupGet(params *ProductGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupGetOK, error)
- func (a *Client) ProductGroupListDeleteByIds(params *ProductGroupListDeleteByIdsParams, ...) error
- func (a *Client) ProductGroupListPostList(params *ProductGroupListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupListPostListCreated, error)
- func (a *Client) ProductGroupListPutList(params *ProductGroupListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupListPutListOK, error)
- func (a *Client) ProductGroupPost(params *ProductGroupPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupPostCreated, error)
- func (a *Client) ProductGroupPut(params *ProductGroupPutParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupPutOK, error)
- func (a *Client) ProductGroupSearch(params *ProductGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ProductGroupDeleteDefault
- type ProductGroupDeleteParams
- func NewProductGroupDeleteParams() *ProductGroupDeleteParams
- func NewProductGroupDeleteParamsWithContext(ctx context.Context) *ProductGroupDeleteParams
- func NewProductGroupDeleteParamsWithHTTPClient(client *http.Client) *ProductGroupDeleteParams
- func NewProductGroupDeleteParamsWithTimeout(timeout time.Duration) *ProductGroupDeleteParams
- func (o *ProductGroupDeleteParams) SetContext(ctx context.Context)
- func (o *ProductGroupDeleteParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupDeleteParams) SetID(id int32)
- func (o *ProductGroupDeleteParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupDeleteParams) WithContext(ctx context.Context) *ProductGroupDeleteParams
- func (o *ProductGroupDeleteParams) WithHTTPClient(client *http.Client) *ProductGroupDeleteParams
- func (o *ProductGroupDeleteParams) WithID(id int32) *ProductGroupDeleteParams
- func (o *ProductGroupDeleteParams) WithTimeout(timeout time.Duration) *ProductGroupDeleteParams
- func (o *ProductGroupDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupDeleteReader
- type ProductGroupGetOK
- type ProductGroupGetParams
- func NewProductGroupGetParams() *ProductGroupGetParams
- func NewProductGroupGetParamsWithContext(ctx context.Context) *ProductGroupGetParams
- func NewProductGroupGetParamsWithHTTPClient(client *http.Client) *ProductGroupGetParams
- func NewProductGroupGetParamsWithTimeout(timeout time.Duration) *ProductGroupGetParams
- func (o *ProductGroupGetParams) SetContext(ctx context.Context)
- func (o *ProductGroupGetParams) SetFields(fields *string)
- func (o *ProductGroupGetParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupGetParams) SetID(id int32)
- func (o *ProductGroupGetParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupGetParams) WithContext(ctx context.Context) *ProductGroupGetParams
- func (o *ProductGroupGetParams) WithFields(fields *string) *ProductGroupGetParams
- func (o *ProductGroupGetParams) WithHTTPClient(client *http.Client) *ProductGroupGetParams
- func (o *ProductGroupGetParams) WithID(id int32) *ProductGroupGetParams
- func (o *ProductGroupGetParams) WithTimeout(timeout time.Duration) *ProductGroupGetParams
- func (o *ProductGroupGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupGetReader
- type ProductGroupListDeleteByIdsDefault
- type ProductGroupListDeleteByIdsParams
- func NewProductGroupListDeleteByIdsParams() *ProductGroupListDeleteByIdsParams
- func NewProductGroupListDeleteByIdsParamsWithContext(ctx context.Context) *ProductGroupListDeleteByIdsParams
- func NewProductGroupListDeleteByIdsParamsWithHTTPClient(client *http.Client) *ProductGroupListDeleteByIdsParams
- func NewProductGroupListDeleteByIdsParamsWithTimeout(timeout time.Duration) *ProductGroupListDeleteByIdsParams
- func (o *ProductGroupListDeleteByIdsParams) SetContext(ctx context.Context)
- func (o *ProductGroupListDeleteByIdsParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupListDeleteByIdsParams) SetIds(ids string)
- func (o *ProductGroupListDeleteByIdsParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupListDeleteByIdsParams) WithContext(ctx context.Context) *ProductGroupListDeleteByIdsParams
- func (o *ProductGroupListDeleteByIdsParams) WithHTTPClient(client *http.Client) *ProductGroupListDeleteByIdsParams
- func (o *ProductGroupListDeleteByIdsParams) WithIds(ids string) *ProductGroupListDeleteByIdsParams
- func (o *ProductGroupListDeleteByIdsParams) WithTimeout(timeout time.Duration) *ProductGroupListDeleteByIdsParams
- func (o *ProductGroupListDeleteByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupListDeleteByIdsReader
- type ProductGroupListPostListCreated
- type ProductGroupListPostListParams
- func NewProductGroupListPostListParams() *ProductGroupListPostListParams
- func NewProductGroupListPostListParamsWithContext(ctx context.Context) *ProductGroupListPostListParams
- func NewProductGroupListPostListParamsWithHTTPClient(client *http.Client) *ProductGroupListPostListParams
- func NewProductGroupListPostListParamsWithTimeout(timeout time.Duration) *ProductGroupListPostListParams
- func (o *ProductGroupListPostListParams) SetBody(body []*models.ProductGroup)
- func (o *ProductGroupListPostListParams) SetContext(ctx context.Context)
- func (o *ProductGroupListPostListParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupListPostListParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupListPostListParams) WithBody(body []*models.ProductGroup) *ProductGroupListPostListParams
- func (o *ProductGroupListPostListParams) WithContext(ctx context.Context) *ProductGroupListPostListParams
- func (o *ProductGroupListPostListParams) WithHTTPClient(client *http.Client) *ProductGroupListPostListParams
- func (o *ProductGroupListPostListParams) WithTimeout(timeout time.Duration) *ProductGroupListPostListParams
- func (o *ProductGroupListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupListPostListReader
- type ProductGroupListPutListOK
- type ProductGroupListPutListParams
- func NewProductGroupListPutListParams() *ProductGroupListPutListParams
- func NewProductGroupListPutListParamsWithContext(ctx context.Context) *ProductGroupListPutListParams
- func NewProductGroupListPutListParamsWithHTTPClient(client *http.Client) *ProductGroupListPutListParams
- func NewProductGroupListPutListParamsWithTimeout(timeout time.Duration) *ProductGroupListPutListParams
- func (o *ProductGroupListPutListParams) SetBody(body []*models.ProductGroup)
- func (o *ProductGroupListPutListParams) SetContext(ctx context.Context)
- func (o *ProductGroupListPutListParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupListPutListParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupListPutListParams) WithBody(body []*models.ProductGroup) *ProductGroupListPutListParams
- func (o *ProductGroupListPutListParams) WithContext(ctx context.Context) *ProductGroupListPutListParams
- func (o *ProductGroupListPutListParams) WithHTTPClient(client *http.Client) *ProductGroupListPutListParams
- func (o *ProductGroupListPutListParams) WithTimeout(timeout time.Duration) *ProductGroupListPutListParams
- func (o *ProductGroupListPutListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupListPutListReader
- type ProductGroupPostCreated
- type ProductGroupPostParams
- func NewProductGroupPostParams() *ProductGroupPostParams
- func NewProductGroupPostParamsWithContext(ctx context.Context) *ProductGroupPostParams
- func NewProductGroupPostParamsWithHTTPClient(client *http.Client) *ProductGroupPostParams
- func NewProductGroupPostParamsWithTimeout(timeout time.Duration) *ProductGroupPostParams
- func (o *ProductGroupPostParams) SetBody(body *models.ProductGroup)
- func (o *ProductGroupPostParams) SetContext(ctx context.Context)
- func (o *ProductGroupPostParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupPostParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupPostParams) WithBody(body *models.ProductGroup) *ProductGroupPostParams
- func (o *ProductGroupPostParams) WithContext(ctx context.Context) *ProductGroupPostParams
- func (o *ProductGroupPostParams) WithHTTPClient(client *http.Client) *ProductGroupPostParams
- func (o *ProductGroupPostParams) WithTimeout(timeout time.Duration) *ProductGroupPostParams
- func (o *ProductGroupPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupPostReader
- type ProductGroupPutOK
- type ProductGroupPutParams
- func NewProductGroupPutParams() *ProductGroupPutParams
- func NewProductGroupPutParamsWithContext(ctx context.Context) *ProductGroupPutParams
- func NewProductGroupPutParamsWithHTTPClient(client *http.Client) *ProductGroupPutParams
- func NewProductGroupPutParamsWithTimeout(timeout time.Duration) *ProductGroupPutParams
- func (o *ProductGroupPutParams) SetBody(body *models.ProductGroup)
- func (o *ProductGroupPutParams) SetContext(ctx context.Context)
- func (o *ProductGroupPutParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupPutParams) SetID(id int32)
- func (o *ProductGroupPutParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupPutParams) WithBody(body *models.ProductGroup) *ProductGroupPutParams
- func (o *ProductGroupPutParams) WithContext(ctx context.Context) *ProductGroupPutParams
- func (o *ProductGroupPutParams) WithHTTPClient(client *http.Client) *ProductGroupPutParams
- func (o *ProductGroupPutParams) WithID(id int32) *ProductGroupPutParams
- func (o *ProductGroupPutParams) WithTimeout(timeout time.Duration) *ProductGroupPutParams
- func (o *ProductGroupPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupPutReader
- type ProductGroupSearchOK
- type ProductGroupSearchParams
- func NewProductGroupSearchParams() *ProductGroupSearchParams
- func NewProductGroupSearchParamsWithContext(ctx context.Context) *ProductGroupSearchParams
- func NewProductGroupSearchParamsWithHTTPClient(client *http.Client) *ProductGroupSearchParams
- func NewProductGroupSearchParamsWithTimeout(timeout time.Duration) *ProductGroupSearchParams
- func (o *ProductGroupSearchParams) SetContext(ctx context.Context)
- func (o *ProductGroupSearchParams) SetCount(count *int64)
- func (o *ProductGroupSearchParams) SetFields(fields *string)
- func (o *ProductGroupSearchParams) SetFrom(from *int64)
- func (o *ProductGroupSearchParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupSearchParams) SetID(id *string)
- func (o *ProductGroupSearchParams) SetName(name *string)
- func (o *ProductGroupSearchParams) SetSorting(sorting *string)
- func (o *ProductGroupSearchParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupSearchParams) WithContext(ctx context.Context) *ProductGroupSearchParams
- func (o *ProductGroupSearchParams) WithCount(count *int64) *ProductGroupSearchParams
- func (o *ProductGroupSearchParams) WithFields(fields *string) *ProductGroupSearchParams
- func (o *ProductGroupSearchParams) WithFrom(from *int64) *ProductGroupSearchParams
- func (o *ProductGroupSearchParams) WithHTTPClient(client *http.Client) *ProductGroupSearchParams
- func (o *ProductGroupSearchParams) WithID(id *string) *ProductGroupSearchParams
- func (o *ProductGroupSearchParams) WithName(name *string) *ProductGroupSearchParams
- func (o *ProductGroupSearchParams) WithSorting(sorting *string) *ProductGroupSearchParams
- func (o *ProductGroupSearchParams) WithTimeout(timeout time.Duration) *ProductGroupSearchParams
- func (o *ProductGroupSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupSearchReader
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 ¶
func (a *Client) ProductGroupListPostList(params *ProductGroupListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupListPostListCreated, error)
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 ¶
func (o *ProductGroupDeleteParams) WithContext(ctx context.Context) *ProductGroupDeleteParams
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 ¶
func (o *ProductGroupDeleteParams) WithID(id int32) *ProductGroupDeleteParams
WithID adds the id to the product group delete params
func (*ProductGroupDeleteParams) WithTimeout ¶
func (o *ProductGroupDeleteParams) WithTimeout(timeout time.Duration) *ProductGroupDeleteParams
WithTimeout adds the timeout to the product group delete params
func (*ProductGroupDeleteParams) WriteToRequest ¶
func (o *ProductGroupDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ProductGroupGetOK) GetPayload() *models.ResponseWrapperProductGroup
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 ¶
func (o *ProductGroupGetParams) WithContext(ctx context.Context) *ProductGroupGetParams
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 ¶
func (o *ProductGroupGetParams) WithID(id int32) *ProductGroupGetParams
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 ¶
func (o *ProductGroupListDeleteByIdsDefault) Code() int
Code gets the status code for the product group list delete by ids default response
func (*ProductGroupListDeleteByIdsDefault) Error ¶
func (o *ProductGroupListDeleteByIdsDefault) Error() string
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 ¶
func (o *ProductGroupListDeleteByIdsParams) SetContext(ctx context.Context)
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 ¶
func (o *ProductGroupListDeleteByIdsParams) SetIds(ids string)
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 ¶
func (o *ProductGroupListDeleteByIdsParams) WithContext(ctx context.Context) *ProductGroupListDeleteByIdsParams
WithContext adds the context to the product group list delete by ids params
func (*ProductGroupListDeleteByIdsParams) WithHTTPClient ¶
func (o *ProductGroupListDeleteByIdsParams) WithHTTPClient(client *http.Client) *ProductGroupListDeleteByIdsParams
WithHTTPClient adds the HTTPClient to the product group list delete by ids params
func (*ProductGroupListDeleteByIdsParams) WithIds ¶
func (o *ProductGroupListDeleteByIdsParams) WithIds(ids string) *ProductGroupListDeleteByIdsParams
WithIds adds the ids to the product group list delete by ids params
func (*ProductGroupListDeleteByIdsParams) WithTimeout ¶
func (o *ProductGroupListDeleteByIdsParams) WithTimeout(timeout time.Duration) *ProductGroupListDeleteByIdsParams
WithTimeout adds the timeout to the product group list delete by ids params
func (*ProductGroupListDeleteByIdsParams) WriteToRequest ¶
func (o *ProductGroupListDeleteByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ProductGroupListPostListCreated) Error() string
func (*ProductGroupListPostListCreated) GetPayload ¶
func (o *ProductGroupListPostListCreated) GetPayload() *models.ListResponseProductGroup
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 ¶
func (o *ProductGroupListPostListParams) SetBody(body []*models.ProductGroup)
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 ¶
func (o *ProductGroupListPostListParams) WithBody(body []*models.ProductGroup) *ProductGroupListPostListParams
WithBody adds the body to the product group list post list params
func (*ProductGroupListPostListParams) WithContext ¶
func (o *ProductGroupListPostListParams) WithContext(ctx context.Context) *ProductGroupListPostListParams
WithContext adds the context to the product group list post list params
func (*ProductGroupListPostListParams) WithHTTPClient ¶
func (o *ProductGroupListPostListParams) WithHTTPClient(client *http.Client) *ProductGroupListPostListParams
WithHTTPClient adds the HTTPClient to the product group list post list params
func (*ProductGroupListPostListParams) WithTimeout ¶
func (o *ProductGroupListPostListParams) WithTimeout(timeout time.Duration) *ProductGroupListPostListParams
WithTimeout adds the timeout to the product group list post list params
func (*ProductGroupListPostListParams) WriteToRequest ¶
func (o *ProductGroupListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ProductGroupListPutListOK) GetPayload() *models.ListResponseProductGroup
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 ¶
func (o *ProductGroupListPutListParams) SetBody(body []*models.ProductGroup)
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 ¶
func (o *ProductGroupListPutListParams) WithBody(body []*models.ProductGroup) *ProductGroupListPutListParams
WithBody adds the body to the product group list put list params
func (*ProductGroupListPutListParams) WithContext ¶
func (o *ProductGroupListPutListParams) WithContext(ctx context.Context) *ProductGroupListPutListParams
WithContext adds the context to the product group list put list params
func (*ProductGroupListPutListParams) WithHTTPClient ¶
func (o *ProductGroupListPutListParams) WithHTTPClient(client *http.Client) *ProductGroupListPutListParams
WithHTTPClient adds the HTTPClient to the product group list put list params
func (*ProductGroupListPutListParams) WithTimeout ¶
func (o *ProductGroupListPutListParams) WithTimeout(timeout time.Duration) *ProductGroupListPutListParams
WithTimeout adds the timeout to the product group list put list params
func (*ProductGroupListPutListParams) WriteToRequest ¶
func (o *ProductGroupListPutListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ProductGroupPostCreated) GetPayload() *models.ResponseWrapperProductGroup
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 ¶
func (o *ProductGroupPostParams) WithBody(body *models.ProductGroup) *ProductGroupPostParams
WithBody adds the body to the product group post params
func (*ProductGroupPostParams) WithContext ¶
func (o *ProductGroupPostParams) WithContext(ctx context.Context) *ProductGroupPostParams
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 ¶
func (o *ProductGroupPostParams) WithTimeout(timeout time.Duration) *ProductGroupPostParams
WithTimeout adds the timeout to the product group post params
func (*ProductGroupPostParams) WriteToRequest ¶
func (o *ProductGroupPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ProductGroupPutOK) GetPayload() *models.ResponseWrapperProductGroup
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 ¶
func (o *ProductGroupPutParams) WithBody(body *models.ProductGroup) *ProductGroupPutParams
WithBody adds the body to the product group put params
func (*ProductGroupPutParams) WithContext ¶
func (o *ProductGroupPutParams) WithContext(ctx context.Context) *ProductGroupPutParams
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 ¶
func (o *ProductGroupPutParams) WithID(id int32) *ProductGroupPutParams
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 ¶
func (o *ProductGroupSearchOK) GetPayload() *models.ListResponseProductGroup
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 ¶
func (o *ProductGroupSearchParams) WithContext(ctx context.Context) *ProductGroupSearchParams
WithContext adds the context to the product group search params
func (*ProductGroupSearchParams) WithCount ¶
func (o *ProductGroupSearchParams) WithCount(count *int64) *ProductGroupSearchParams
WithCount adds the count to the product group search params
func (*ProductGroupSearchParams) WithFields ¶
func (o *ProductGroupSearchParams) WithFields(fields *string) *ProductGroupSearchParams
WithFields adds the fields to the product group search params
func (*ProductGroupSearchParams) WithFrom ¶
func (o *ProductGroupSearchParams) WithFrom(from *int64) *ProductGroupSearchParams
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 ¶
func (o *ProductGroupSearchParams) WithID(id *string) *ProductGroupSearchParams
WithID adds the id to the product group search params
func (*ProductGroupSearchParams) WithName ¶
func (o *ProductGroupSearchParams) WithName(name *string) *ProductGroupSearchParams
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 ¶
func (o *ProductGroupSearchParams) WithTimeout(timeout time.Duration) *ProductGroupSearchParams
WithTimeout adds the timeout to the product group search params
func (*ProductGroupSearchParams) WriteToRequest ¶
func (o *ProductGroupSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- group_client.go
- product_group_delete_parameters.go
- product_group_delete_responses.go
- product_group_get_parameters.go
- product_group_get_responses.go
- product_group_list_delete_by_ids_parameters.go
- product_group_list_delete_by_ids_responses.go
- product_group_list_post_list_parameters.go
- product_group_list_post_list_responses.go
- product_group_list_put_list_parameters.go
- product_group_list_put_list_responses.go
- product_group_post_parameters.go
- product_group_post_responses.go
- product_group_put_parameters.go
- product_group_put_responses.go
- product_group_search_parameters.go
- product_group_search_responses.go