Documentation
¶
Index ¶
- type Client
- func (a *Client) ProductGroupRelationDelete(params *ProductGroupRelationDeleteParams, ...) error
- func (a *Client) ProductGroupRelationGet(params *ProductGroupRelationGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupRelationGetOK, error)
- func (a *Client) ProductGroupRelationListDeleteByIds(params *ProductGroupRelationListDeleteByIdsParams, ...) error
- func (a *Client) ProductGroupRelationListPostList(params *ProductGroupRelationListPostListParams, ...) (*ProductGroupRelationListPostListCreated, error)
- func (a *Client) ProductGroupRelationPost(params *ProductGroupRelationPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupRelationPostCreated, error)
- func (a *Client) ProductGroupRelationSearch(params *ProductGroupRelationSearchParams, ...) (*ProductGroupRelationSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ProductGroupRelationDeleteDefault
- type ProductGroupRelationDeleteParams
- func NewProductGroupRelationDeleteParams() *ProductGroupRelationDeleteParams
- func NewProductGroupRelationDeleteParamsWithContext(ctx context.Context) *ProductGroupRelationDeleteParams
- func NewProductGroupRelationDeleteParamsWithHTTPClient(client *http.Client) *ProductGroupRelationDeleteParams
- func NewProductGroupRelationDeleteParamsWithTimeout(timeout time.Duration) *ProductGroupRelationDeleteParams
- func (o *ProductGroupRelationDeleteParams) SetContext(ctx context.Context)
- func (o *ProductGroupRelationDeleteParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupRelationDeleteParams) SetID(id int32)
- func (o *ProductGroupRelationDeleteParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupRelationDeleteParams) WithContext(ctx context.Context) *ProductGroupRelationDeleteParams
- func (o *ProductGroupRelationDeleteParams) WithHTTPClient(client *http.Client) *ProductGroupRelationDeleteParams
- func (o *ProductGroupRelationDeleteParams) WithID(id int32) *ProductGroupRelationDeleteParams
- func (o *ProductGroupRelationDeleteParams) WithTimeout(timeout time.Duration) *ProductGroupRelationDeleteParams
- func (o *ProductGroupRelationDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupRelationDeleteReader
- type ProductGroupRelationGetOK
- type ProductGroupRelationGetParams
- func NewProductGroupRelationGetParams() *ProductGroupRelationGetParams
- func NewProductGroupRelationGetParamsWithContext(ctx context.Context) *ProductGroupRelationGetParams
- func NewProductGroupRelationGetParamsWithHTTPClient(client *http.Client) *ProductGroupRelationGetParams
- func NewProductGroupRelationGetParamsWithTimeout(timeout time.Duration) *ProductGroupRelationGetParams
- func (o *ProductGroupRelationGetParams) SetContext(ctx context.Context)
- func (o *ProductGroupRelationGetParams) SetFields(fields *string)
- func (o *ProductGroupRelationGetParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupRelationGetParams) SetID(id int32)
- func (o *ProductGroupRelationGetParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupRelationGetParams) WithContext(ctx context.Context) *ProductGroupRelationGetParams
- func (o *ProductGroupRelationGetParams) WithFields(fields *string) *ProductGroupRelationGetParams
- func (o *ProductGroupRelationGetParams) WithHTTPClient(client *http.Client) *ProductGroupRelationGetParams
- func (o *ProductGroupRelationGetParams) WithID(id int32) *ProductGroupRelationGetParams
- func (o *ProductGroupRelationGetParams) WithTimeout(timeout time.Duration) *ProductGroupRelationGetParams
- func (o *ProductGroupRelationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupRelationGetReader
- type ProductGroupRelationListDeleteByIdsDefault
- type ProductGroupRelationListDeleteByIdsParams
- func NewProductGroupRelationListDeleteByIdsParams() *ProductGroupRelationListDeleteByIdsParams
- func NewProductGroupRelationListDeleteByIdsParamsWithContext(ctx context.Context) *ProductGroupRelationListDeleteByIdsParams
- func NewProductGroupRelationListDeleteByIdsParamsWithHTTPClient(client *http.Client) *ProductGroupRelationListDeleteByIdsParams
- func NewProductGroupRelationListDeleteByIdsParamsWithTimeout(timeout time.Duration) *ProductGroupRelationListDeleteByIdsParams
- func (o *ProductGroupRelationListDeleteByIdsParams) SetContext(ctx context.Context)
- func (o *ProductGroupRelationListDeleteByIdsParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupRelationListDeleteByIdsParams) SetIds(ids string)
- func (o *ProductGroupRelationListDeleteByIdsParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupRelationListDeleteByIdsParams) WithContext(ctx context.Context) *ProductGroupRelationListDeleteByIdsParams
- func (o *ProductGroupRelationListDeleteByIdsParams) WithHTTPClient(client *http.Client) *ProductGroupRelationListDeleteByIdsParams
- func (o *ProductGroupRelationListDeleteByIdsParams) WithIds(ids string) *ProductGroupRelationListDeleteByIdsParams
- func (o *ProductGroupRelationListDeleteByIdsParams) WithTimeout(timeout time.Duration) *ProductGroupRelationListDeleteByIdsParams
- func (o *ProductGroupRelationListDeleteByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupRelationListDeleteByIdsReader
- type ProductGroupRelationListPostListCreated
- type ProductGroupRelationListPostListParams
- func NewProductGroupRelationListPostListParams() *ProductGroupRelationListPostListParams
- func NewProductGroupRelationListPostListParamsWithContext(ctx context.Context) *ProductGroupRelationListPostListParams
- func NewProductGroupRelationListPostListParamsWithHTTPClient(client *http.Client) *ProductGroupRelationListPostListParams
- func NewProductGroupRelationListPostListParamsWithTimeout(timeout time.Duration) *ProductGroupRelationListPostListParams
- func (o *ProductGroupRelationListPostListParams) SetBody(body []*models.ProductGroupRelation)
- func (o *ProductGroupRelationListPostListParams) SetContext(ctx context.Context)
- func (o *ProductGroupRelationListPostListParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupRelationListPostListParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupRelationListPostListParams) WithBody(body []*models.ProductGroupRelation) *ProductGroupRelationListPostListParams
- func (o *ProductGroupRelationListPostListParams) WithContext(ctx context.Context) *ProductGroupRelationListPostListParams
- func (o *ProductGroupRelationListPostListParams) WithHTTPClient(client *http.Client) *ProductGroupRelationListPostListParams
- func (o *ProductGroupRelationListPostListParams) WithTimeout(timeout time.Duration) *ProductGroupRelationListPostListParams
- func (o *ProductGroupRelationListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupRelationListPostListReader
- type ProductGroupRelationPostCreated
- type ProductGroupRelationPostParams
- func NewProductGroupRelationPostParams() *ProductGroupRelationPostParams
- func NewProductGroupRelationPostParamsWithContext(ctx context.Context) *ProductGroupRelationPostParams
- func NewProductGroupRelationPostParamsWithHTTPClient(client *http.Client) *ProductGroupRelationPostParams
- func NewProductGroupRelationPostParamsWithTimeout(timeout time.Duration) *ProductGroupRelationPostParams
- func (o *ProductGroupRelationPostParams) SetBody(body *models.ProductGroupRelation)
- func (o *ProductGroupRelationPostParams) SetContext(ctx context.Context)
- func (o *ProductGroupRelationPostParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupRelationPostParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupRelationPostParams) WithBody(body *models.ProductGroupRelation) *ProductGroupRelationPostParams
- func (o *ProductGroupRelationPostParams) WithContext(ctx context.Context) *ProductGroupRelationPostParams
- func (o *ProductGroupRelationPostParams) WithHTTPClient(client *http.Client) *ProductGroupRelationPostParams
- func (o *ProductGroupRelationPostParams) WithTimeout(timeout time.Duration) *ProductGroupRelationPostParams
- func (o *ProductGroupRelationPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupRelationPostReader
- type ProductGroupRelationSearchOK
- type ProductGroupRelationSearchParams
- func NewProductGroupRelationSearchParams() *ProductGroupRelationSearchParams
- func NewProductGroupRelationSearchParamsWithContext(ctx context.Context) *ProductGroupRelationSearchParams
- func NewProductGroupRelationSearchParamsWithHTTPClient(client *http.Client) *ProductGroupRelationSearchParams
- func NewProductGroupRelationSearchParamsWithTimeout(timeout time.Duration) *ProductGroupRelationSearchParams
- func (o *ProductGroupRelationSearchParams) SetContext(ctx context.Context)
- func (o *ProductGroupRelationSearchParams) SetCount(count *int64)
- func (o *ProductGroupRelationSearchParams) SetFields(fields *string)
- func (o *ProductGroupRelationSearchParams) SetFrom(from *int64)
- func (o *ProductGroupRelationSearchParams) SetHTTPClient(client *http.Client)
- func (o *ProductGroupRelationSearchParams) SetID(id *string)
- func (o *ProductGroupRelationSearchParams) SetProductGroupID(productGroupID *string)
- func (o *ProductGroupRelationSearchParams) SetProductID(productID *string)
- func (o *ProductGroupRelationSearchParams) SetSorting(sorting *string)
- func (o *ProductGroupRelationSearchParams) SetTimeout(timeout time.Duration)
- func (o *ProductGroupRelationSearchParams) WithContext(ctx context.Context) *ProductGroupRelationSearchParams
- func (o *ProductGroupRelationSearchParams) WithCount(count *int64) *ProductGroupRelationSearchParams
- func (o *ProductGroupRelationSearchParams) WithFields(fields *string) *ProductGroupRelationSearchParams
- func (o *ProductGroupRelationSearchParams) WithFrom(from *int64) *ProductGroupRelationSearchParams
- func (o *ProductGroupRelationSearchParams) WithHTTPClient(client *http.Client) *ProductGroupRelationSearchParams
- func (o *ProductGroupRelationSearchParams) WithID(id *string) *ProductGroupRelationSearchParams
- func (o *ProductGroupRelationSearchParams) WithProductGroupID(productGroupID *string) *ProductGroupRelationSearchParams
- func (o *ProductGroupRelationSearchParams) WithProductID(productID *string) *ProductGroupRelationSearchParams
- func (o *ProductGroupRelationSearchParams) WithSorting(sorting *string) *ProductGroupRelationSearchParams
- func (o *ProductGroupRelationSearchParams) WithTimeout(timeout time.Duration) *ProductGroupRelationSearchParams
- func (o *ProductGroupRelationSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductGroupRelationSearchReader
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 relation API
func (*Client) ProductGroupRelationDelete ¶
func (a *Client) ProductGroupRelationDelete(params *ProductGroupRelationDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
ProductGroupRelationDelete bs e t a delete product group relation
func (*Client) ProductGroupRelationGet ¶
func (a *Client) ProductGroupRelationGet(params *ProductGroupRelationGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupRelationGetOK, error)
ProductGroupRelationGet bs e t a find product group relation by ID
func (*Client) ProductGroupRelationListDeleteByIds ¶
func (a *Client) ProductGroupRelationListDeleteByIds(params *ProductGroupRelationListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error
ProductGroupRelationListDeleteByIds bs e t a delete multiple product group relations
func (*Client) ProductGroupRelationListPostList ¶
func (a *Client) ProductGroupRelationListPostList(params *ProductGroupRelationListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupRelationListPostListCreated, error)
ProductGroupRelationListPostList bs e t a add multiple products group relations
func (*Client) ProductGroupRelationPost ¶
func (a *Client) ProductGroupRelationPost(params *ProductGroupRelationPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupRelationPostCreated, error)
ProductGroupRelationPost bs e t a create new product group relation
func (*Client) ProductGroupRelationSearch ¶
func (a *Client) ProductGroupRelationSearch(params *ProductGroupRelationSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupRelationSearchOK, error)
ProductGroupRelationSearch bs e t a find product group relation 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 { ProductGroupRelationDelete(params *ProductGroupRelationDeleteParams, authInfo runtime.ClientAuthInfoWriter) error ProductGroupRelationGet(params *ProductGroupRelationGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupRelationGetOK, error) ProductGroupRelationListDeleteByIds(params *ProductGroupRelationListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error ProductGroupRelationListPostList(params *ProductGroupRelationListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupRelationListPostListCreated, error) ProductGroupRelationPost(params *ProductGroupRelationPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupRelationPostCreated, error) ProductGroupRelationSearch(params *ProductGroupRelationSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProductGroupRelationSearchOK, 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 relation API client.
type ProductGroupRelationDeleteDefault ¶
type ProductGroupRelationDeleteDefault struct {
// contains filtered or unexported fields
}
ProductGroupRelationDeleteDefault handles this case with default header values.
successful operation
func NewProductGroupRelationDeleteDefault ¶
func NewProductGroupRelationDeleteDefault(code int) *ProductGroupRelationDeleteDefault
NewProductGroupRelationDeleteDefault creates a ProductGroupRelationDeleteDefault with default headers values
func (*ProductGroupRelationDeleteDefault) Code ¶
func (o *ProductGroupRelationDeleteDefault) Code() int
Code gets the status code for the product group relation delete default response
func (*ProductGroupRelationDeleteDefault) Error ¶
func (o *ProductGroupRelationDeleteDefault) Error() string
type ProductGroupRelationDeleteParams ¶
type ProductGroupRelationDeleteParams struct { /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProductGroupRelationDeleteParams contains all the parameters to send to the API endpoint for the product group relation delete operation typically these are written to a http.Request
func NewProductGroupRelationDeleteParams ¶
func NewProductGroupRelationDeleteParams() *ProductGroupRelationDeleteParams
NewProductGroupRelationDeleteParams creates a new ProductGroupRelationDeleteParams object with the default values initialized.
func NewProductGroupRelationDeleteParamsWithContext ¶
func NewProductGroupRelationDeleteParamsWithContext(ctx context.Context) *ProductGroupRelationDeleteParams
NewProductGroupRelationDeleteParamsWithContext creates a new ProductGroupRelationDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewProductGroupRelationDeleteParamsWithHTTPClient ¶
func NewProductGroupRelationDeleteParamsWithHTTPClient(client *http.Client) *ProductGroupRelationDeleteParams
NewProductGroupRelationDeleteParamsWithHTTPClient creates a new ProductGroupRelationDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProductGroupRelationDeleteParamsWithTimeout ¶
func NewProductGroupRelationDeleteParamsWithTimeout(timeout time.Duration) *ProductGroupRelationDeleteParams
NewProductGroupRelationDeleteParamsWithTimeout creates a new ProductGroupRelationDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProductGroupRelationDeleteParams) SetContext ¶
func (o *ProductGroupRelationDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the product group relation delete params
func (*ProductGroupRelationDeleteParams) SetHTTPClient ¶
func (o *ProductGroupRelationDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the product group relation delete params
func (*ProductGroupRelationDeleteParams) SetID ¶
func (o *ProductGroupRelationDeleteParams) SetID(id int32)
SetID adds the id to the product group relation delete params
func (*ProductGroupRelationDeleteParams) SetTimeout ¶
func (o *ProductGroupRelationDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the product group relation delete params
func (*ProductGroupRelationDeleteParams) WithContext ¶
func (o *ProductGroupRelationDeleteParams) WithContext(ctx context.Context) *ProductGroupRelationDeleteParams
WithContext adds the context to the product group relation delete params
func (*ProductGroupRelationDeleteParams) WithHTTPClient ¶
func (o *ProductGroupRelationDeleteParams) WithHTTPClient(client *http.Client) *ProductGroupRelationDeleteParams
WithHTTPClient adds the HTTPClient to the product group relation delete params
func (*ProductGroupRelationDeleteParams) WithID ¶
func (o *ProductGroupRelationDeleteParams) WithID(id int32) *ProductGroupRelationDeleteParams
WithID adds the id to the product group relation delete params
func (*ProductGroupRelationDeleteParams) WithTimeout ¶
func (o *ProductGroupRelationDeleteParams) WithTimeout(timeout time.Duration) *ProductGroupRelationDeleteParams
WithTimeout adds the timeout to the product group relation delete params
func (*ProductGroupRelationDeleteParams) WriteToRequest ¶
func (o *ProductGroupRelationDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProductGroupRelationDeleteReader ¶
type ProductGroupRelationDeleteReader struct {
// contains filtered or unexported fields
}
ProductGroupRelationDeleteReader is a Reader for the ProductGroupRelationDelete structure.
func (*ProductGroupRelationDeleteReader) ReadResponse ¶
func (o *ProductGroupRelationDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProductGroupRelationGetOK ¶
type ProductGroupRelationGetOK struct {
Payload *models.ResponseWrapperProductGroupRelation
}
ProductGroupRelationGetOK handles this case with default header values.
successful operation
func NewProductGroupRelationGetOK ¶
func NewProductGroupRelationGetOK() *ProductGroupRelationGetOK
NewProductGroupRelationGetOK creates a ProductGroupRelationGetOK with default headers values
func (*ProductGroupRelationGetOK) Error ¶
func (o *ProductGroupRelationGetOK) Error() string
func (*ProductGroupRelationGetOK) GetPayload ¶
func (o *ProductGroupRelationGetOK) GetPayload() *models.ResponseWrapperProductGroupRelation
type ProductGroupRelationGetParams ¶
type ProductGroupRelationGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProductGroupRelationGetParams contains all the parameters to send to the API endpoint for the product group relation get operation typically these are written to a http.Request
func NewProductGroupRelationGetParams ¶
func NewProductGroupRelationGetParams() *ProductGroupRelationGetParams
NewProductGroupRelationGetParams creates a new ProductGroupRelationGetParams object with the default values initialized.
func NewProductGroupRelationGetParamsWithContext ¶
func NewProductGroupRelationGetParamsWithContext(ctx context.Context) *ProductGroupRelationGetParams
NewProductGroupRelationGetParamsWithContext creates a new ProductGroupRelationGetParams object with the default values initialized, and the ability to set a context for a request
func NewProductGroupRelationGetParamsWithHTTPClient ¶
func NewProductGroupRelationGetParamsWithHTTPClient(client *http.Client) *ProductGroupRelationGetParams
NewProductGroupRelationGetParamsWithHTTPClient creates a new ProductGroupRelationGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProductGroupRelationGetParamsWithTimeout ¶
func NewProductGroupRelationGetParamsWithTimeout(timeout time.Duration) *ProductGroupRelationGetParams
NewProductGroupRelationGetParamsWithTimeout creates a new ProductGroupRelationGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProductGroupRelationGetParams) SetContext ¶
func (o *ProductGroupRelationGetParams) SetContext(ctx context.Context)
SetContext adds the context to the product group relation get params
func (*ProductGroupRelationGetParams) SetFields ¶
func (o *ProductGroupRelationGetParams) SetFields(fields *string)
SetFields adds the fields to the product group relation get params
func (*ProductGroupRelationGetParams) SetHTTPClient ¶
func (o *ProductGroupRelationGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the product group relation get params
func (*ProductGroupRelationGetParams) SetID ¶
func (o *ProductGroupRelationGetParams) SetID(id int32)
SetID adds the id to the product group relation get params
func (*ProductGroupRelationGetParams) SetTimeout ¶
func (o *ProductGroupRelationGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the product group relation get params
func (*ProductGroupRelationGetParams) WithContext ¶
func (o *ProductGroupRelationGetParams) WithContext(ctx context.Context) *ProductGroupRelationGetParams
WithContext adds the context to the product group relation get params
func (*ProductGroupRelationGetParams) WithFields ¶
func (o *ProductGroupRelationGetParams) WithFields(fields *string) *ProductGroupRelationGetParams
WithFields adds the fields to the product group relation get params
func (*ProductGroupRelationGetParams) WithHTTPClient ¶
func (o *ProductGroupRelationGetParams) WithHTTPClient(client *http.Client) *ProductGroupRelationGetParams
WithHTTPClient adds the HTTPClient to the product group relation get params
func (*ProductGroupRelationGetParams) WithID ¶
func (o *ProductGroupRelationGetParams) WithID(id int32) *ProductGroupRelationGetParams
WithID adds the id to the product group relation get params
func (*ProductGroupRelationGetParams) WithTimeout ¶
func (o *ProductGroupRelationGetParams) WithTimeout(timeout time.Duration) *ProductGroupRelationGetParams
WithTimeout adds the timeout to the product group relation get params
func (*ProductGroupRelationGetParams) WriteToRequest ¶
func (o *ProductGroupRelationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProductGroupRelationGetReader ¶
type ProductGroupRelationGetReader struct {
// contains filtered or unexported fields
}
ProductGroupRelationGetReader is a Reader for the ProductGroupRelationGet structure.
func (*ProductGroupRelationGetReader) ReadResponse ¶
func (o *ProductGroupRelationGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProductGroupRelationListDeleteByIdsDefault ¶
type ProductGroupRelationListDeleteByIdsDefault struct {
// contains filtered or unexported fields
}
ProductGroupRelationListDeleteByIdsDefault handles this case with default header values.
successful operation
func NewProductGroupRelationListDeleteByIdsDefault ¶
func NewProductGroupRelationListDeleteByIdsDefault(code int) *ProductGroupRelationListDeleteByIdsDefault
NewProductGroupRelationListDeleteByIdsDefault creates a ProductGroupRelationListDeleteByIdsDefault with default headers values
func (*ProductGroupRelationListDeleteByIdsDefault) Code ¶
func (o *ProductGroupRelationListDeleteByIdsDefault) Code() int
Code gets the status code for the product group relation list delete by ids default response
func (*ProductGroupRelationListDeleteByIdsDefault) Error ¶
func (o *ProductGroupRelationListDeleteByIdsDefault) Error() string
type ProductGroupRelationListDeleteByIdsParams ¶
type ProductGroupRelationListDeleteByIdsParams struct { /*Ids ID of the elements */ Ids string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProductGroupRelationListDeleteByIdsParams contains all the parameters to send to the API endpoint for the product group relation list delete by ids operation typically these are written to a http.Request
func NewProductGroupRelationListDeleteByIdsParams ¶
func NewProductGroupRelationListDeleteByIdsParams() *ProductGroupRelationListDeleteByIdsParams
NewProductGroupRelationListDeleteByIdsParams creates a new ProductGroupRelationListDeleteByIdsParams object with the default values initialized.
func NewProductGroupRelationListDeleteByIdsParamsWithContext ¶
func NewProductGroupRelationListDeleteByIdsParamsWithContext(ctx context.Context) *ProductGroupRelationListDeleteByIdsParams
NewProductGroupRelationListDeleteByIdsParamsWithContext creates a new ProductGroupRelationListDeleteByIdsParams object with the default values initialized, and the ability to set a context for a request
func NewProductGroupRelationListDeleteByIdsParamsWithHTTPClient ¶
func NewProductGroupRelationListDeleteByIdsParamsWithHTTPClient(client *http.Client) *ProductGroupRelationListDeleteByIdsParams
NewProductGroupRelationListDeleteByIdsParamsWithHTTPClient creates a new ProductGroupRelationListDeleteByIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProductGroupRelationListDeleteByIdsParamsWithTimeout ¶
func NewProductGroupRelationListDeleteByIdsParamsWithTimeout(timeout time.Duration) *ProductGroupRelationListDeleteByIdsParams
NewProductGroupRelationListDeleteByIdsParamsWithTimeout creates a new ProductGroupRelationListDeleteByIdsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProductGroupRelationListDeleteByIdsParams) SetContext ¶
func (o *ProductGroupRelationListDeleteByIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the product group relation list delete by ids params
func (*ProductGroupRelationListDeleteByIdsParams) SetHTTPClient ¶
func (o *ProductGroupRelationListDeleteByIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the product group relation list delete by ids params
func (*ProductGroupRelationListDeleteByIdsParams) SetIds ¶
func (o *ProductGroupRelationListDeleteByIdsParams) SetIds(ids string)
SetIds adds the ids to the product group relation list delete by ids params
func (*ProductGroupRelationListDeleteByIdsParams) SetTimeout ¶
func (o *ProductGroupRelationListDeleteByIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the product group relation list delete by ids params
func (*ProductGroupRelationListDeleteByIdsParams) WithContext ¶
func (o *ProductGroupRelationListDeleteByIdsParams) WithContext(ctx context.Context) *ProductGroupRelationListDeleteByIdsParams
WithContext adds the context to the product group relation list delete by ids params
func (*ProductGroupRelationListDeleteByIdsParams) WithHTTPClient ¶
func (o *ProductGroupRelationListDeleteByIdsParams) WithHTTPClient(client *http.Client) *ProductGroupRelationListDeleteByIdsParams
WithHTTPClient adds the HTTPClient to the product group relation list delete by ids params
func (*ProductGroupRelationListDeleteByIdsParams) WithIds ¶
func (o *ProductGroupRelationListDeleteByIdsParams) WithIds(ids string) *ProductGroupRelationListDeleteByIdsParams
WithIds adds the ids to the product group relation list delete by ids params
func (*ProductGroupRelationListDeleteByIdsParams) WithTimeout ¶
func (o *ProductGroupRelationListDeleteByIdsParams) WithTimeout(timeout time.Duration) *ProductGroupRelationListDeleteByIdsParams
WithTimeout adds the timeout to the product group relation list delete by ids params
func (*ProductGroupRelationListDeleteByIdsParams) WriteToRequest ¶
func (o *ProductGroupRelationListDeleteByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProductGroupRelationListDeleteByIdsReader ¶
type ProductGroupRelationListDeleteByIdsReader struct {
// contains filtered or unexported fields
}
ProductGroupRelationListDeleteByIdsReader is a Reader for the ProductGroupRelationListDeleteByIds structure.
func (*ProductGroupRelationListDeleteByIdsReader) ReadResponse ¶
func (o *ProductGroupRelationListDeleteByIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProductGroupRelationListPostListCreated ¶
type ProductGroupRelationListPostListCreated struct {
Payload *models.ListResponseProductGroupRelation
}
ProductGroupRelationListPostListCreated handles this case with default header values.
successfully created
func NewProductGroupRelationListPostListCreated ¶
func NewProductGroupRelationListPostListCreated() *ProductGroupRelationListPostListCreated
NewProductGroupRelationListPostListCreated creates a ProductGroupRelationListPostListCreated with default headers values
func (*ProductGroupRelationListPostListCreated) Error ¶
func (o *ProductGroupRelationListPostListCreated) Error() string
func (*ProductGroupRelationListPostListCreated) GetPayload ¶
func (o *ProductGroupRelationListPostListCreated) GetPayload() *models.ListResponseProductGroupRelation
type ProductGroupRelationListPostListParams ¶
type ProductGroupRelationListPostListParams struct { /*Body JSON representing a list of new object to be created. Should not have ID and version set. */ Body []*models.ProductGroupRelation Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProductGroupRelationListPostListParams contains all the parameters to send to the API endpoint for the product group relation list post list operation typically these are written to a http.Request
func NewProductGroupRelationListPostListParams ¶
func NewProductGroupRelationListPostListParams() *ProductGroupRelationListPostListParams
NewProductGroupRelationListPostListParams creates a new ProductGroupRelationListPostListParams object with the default values initialized.
func NewProductGroupRelationListPostListParamsWithContext ¶
func NewProductGroupRelationListPostListParamsWithContext(ctx context.Context) *ProductGroupRelationListPostListParams
NewProductGroupRelationListPostListParamsWithContext creates a new ProductGroupRelationListPostListParams object with the default values initialized, and the ability to set a context for a request
func NewProductGroupRelationListPostListParamsWithHTTPClient ¶
func NewProductGroupRelationListPostListParamsWithHTTPClient(client *http.Client) *ProductGroupRelationListPostListParams
NewProductGroupRelationListPostListParamsWithHTTPClient creates a new ProductGroupRelationListPostListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProductGroupRelationListPostListParamsWithTimeout ¶
func NewProductGroupRelationListPostListParamsWithTimeout(timeout time.Duration) *ProductGroupRelationListPostListParams
NewProductGroupRelationListPostListParamsWithTimeout creates a new ProductGroupRelationListPostListParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProductGroupRelationListPostListParams) SetBody ¶
func (o *ProductGroupRelationListPostListParams) SetBody(body []*models.ProductGroupRelation)
SetBody adds the body to the product group relation list post list params
func (*ProductGroupRelationListPostListParams) SetContext ¶
func (o *ProductGroupRelationListPostListParams) SetContext(ctx context.Context)
SetContext adds the context to the product group relation list post list params
func (*ProductGroupRelationListPostListParams) SetHTTPClient ¶
func (o *ProductGroupRelationListPostListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the product group relation list post list params
func (*ProductGroupRelationListPostListParams) SetTimeout ¶
func (o *ProductGroupRelationListPostListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the product group relation list post list params
func (*ProductGroupRelationListPostListParams) WithBody ¶
func (o *ProductGroupRelationListPostListParams) WithBody(body []*models.ProductGroupRelation) *ProductGroupRelationListPostListParams
WithBody adds the body to the product group relation list post list params
func (*ProductGroupRelationListPostListParams) WithContext ¶
func (o *ProductGroupRelationListPostListParams) WithContext(ctx context.Context) *ProductGroupRelationListPostListParams
WithContext adds the context to the product group relation list post list params
func (*ProductGroupRelationListPostListParams) WithHTTPClient ¶
func (o *ProductGroupRelationListPostListParams) WithHTTPClient(client *http.Client) *ProductGroupRelationListPostListParams
WithHTTPClient adds the HTTPClient to the product group relation list post list params
func (*ProductGroupRelationListPostListParams) WithTimeout ¶
func (o *ProductGroupRelationListPostListParams) WithTimeout(timeout time.Duration) *ProductGroupRelationListPostListParams
WithTimeout adds the timeout to the product group relation list post list params
func (*ProductGroupRelationListPostListParams) WriteToRequest ¶
func (o *ProductGroupRelationListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProductGroupRelationListPostListReader ¶
type ProductGroupRelationListPostListReader struct {
// contains filtered or unexported fields
}
ProductGroupRelationListPostListReader is a Reader for the ProductGroupRelationListPostList structure.
func (*ProductGroupRelationListPostListReader) ReadResponse ¶
func (o *ProductGroupRelationListPostListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProductGroupRelationPostCreated ¶
type ProductGroupRelationPostCreated struct {
Payload *models.ResponseWrapperProductGroupRelation
}
ProductGroupRelationPostCreated handles this case with default header values.
successfully created
func NewProductGroupRelationPostCreated ¶
func NewProductGroupRelationPostCreated() *ProductGroupRelationPostCreated
NewProductGroupRelationPostCreated creates a ProductGroupRelationPostCreated with default headers values
func (*ProductGroupRelationPostCreated) Error ¶
func (o *ProductGroupRelationPostCreated) Error() string
func (*ProductGroupRelationPostCreated) GetPayload ¶
func (o *ProductGroupRelationPostCreated) GetPayload() *models.ResponseWrapperProductGroupRelation
type ProductGroupRelationPostParams ¶
type ProductGroupRelationPostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.ProductGroupRelation Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProductGroupRelationPostParams contains all the parameters to send to the API endpoint for the product group relation post operation typically these are written to a http.Request
func NewProductGroupRelationPostParams ¶
func NewProductGroupRelationPostParams() *ProductGroupRelationPostParams
NewProductGroupRelationPostParams creates a new ProductGroupRelationPostParams object with the default values initialized.
func NewProductGroupRelationPostParamsWithContext ¶
func NewProductGroupRelationPostParamsWithContext(ctx context.Context) *ProductGroupRelationPostParams
NewProductGroupRelationPostParamsWithContext creates a new ProductGroupRelationPostParams object with the default values initialized, and the ability to set a context for a request
func NewProductGroupRelationPostParamsWithHTTPClient ¶
func NewProductGroupRelationPostParamsWithHTTPClient(client *http.Client) *ProductGroupRelationPostParams
NewProductGroupRelationPostParamsWithHTTPClient creates a new ProductGroupRelationPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProductGroupRelationPostParamsWithTimeout ¶
func NewProductGroupRelationPostParamsWithTimeout(timeout time.Duration) *ProductGroupRelationPostParams
NewProductGroupRelationPostParamsWithTimeout creates a new ProductGroupRelationPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProductGroupRelationPostParams) SetBody ¶
func (o *ProductGroupRelationPostParams) SetBody(body *models.ProductGroupRelation)
SetBody adds the body to the product group relation post params
func (*ProductGroupRelationPostParams) SetContext ¶
func (o *ProductGroupRelationPostParams) SetContext(ctx context.Context)
SetContext adds the context to the product group relation post params
func (*ProductGroupRelationPostParams) SetHTTPClient ¶
func (o *ProductGroupRelationPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the product group relation post params
func (*ProductGroupRelationPostParams) SetTimeout ¶
func (o *ProductGroupRelationPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the product group relation post params
func (*ProductGroupRelationPostParams) WithBody ¶
func (o *ProductGroupRelationPostParams) WithBody(body *models.ProductGroupRelation) *ProductGroupRelationPostParams
WithBody adds the body to the product group relation post params
func (*ProductGroupRelationPostParams) WithContext ¶
func (o *ProductGroupRelationPostParams) WithContext(ctx context.Context) *ProductGroupRelationPostParams
WithContext adds the context to the product group relation post params
func (*ProductGroupRelationPostParams) WithHTTPClient ¶
func (o *ProductGroupRelationPostParams) WithHTTPClient(client *http.Client) *ProductGroupRelationPostParams
WithHTTPClient adds the HTTPClient to the product group relation post params
func (*ProductGroupRelationPostParams) WithTimeout ¶
func (o *ProductGroupRelationPostParams) WithTimeout(timeout time.Duration) *ProductGroupRelationPostParams
WithTimeout adds the timeout to the product group relation post params
func (*ProductGroupRelationPostParams) WriteToRequest ¶
func (o *ProductGroupRelationPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProductGroupRelationPostReader ¶
type ProductGroupRelationPostReader struct {
// contains filtered or unexported fields
}
ProductGroupRelationPostReader is a Reader for the ProductGroupRelationPost structure.
func (*ProductGroupRelationPostReader) ReadResponse ¶
func (o *ProductGroupRelationPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProductGroupRelationSearchOK ¶
type ProductGroupRelationSearchOK struct {
Payload *models.ListResponseProductGroupRelation
}
ProductGroupRelationSearchOK handles this case with default header values.
successful operation
func NewProductGroupRelationSearchOK ¶
func NewProductGroupRelationSearchOK() *ProductGroupRelationSearchOK
NewProductGroupRelationSearchOK creates a ProductGroupRelationSearchOK with default headers values
func (*ProductGroupRelationSearchOK) Error ¶
func (o *ProductGroupRelationSearchOK) Error() string
func (*ProductGroupRelationSearchOK) GetPayload ¶
func (o *ProductGroupRelationSearchOK) GetPayload() *models.ListResponseProductGroupRelation
type ProductGroupRelationSearchParams ¶
type ProductGroupRelationSearchParams 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 /*ProductGroupID List of IDs */ ProductGroupID *string /*ProductID List of IDs */ ProductID *string /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProductGroupRelationSearchParams contains all the parameters to send to the API endpoint for the product group relation search operation typically these are written to a http.Request
func NewProductGroupRelationSearchParams ¶
func NewProductGroupRelationSearchParams() *ProductGroupRelationSearchParams
NewProductGroupRelationSearchParams creates a new ProductGroupRelationSearchParams object with the default values initialized.
func NewProductGroupRelationSearchParamsWithContext ¶
func NewProductGroupRelationSearchParamsWithContext(ctx context.Context) *ProductGroupRelationSearchParams
NewProductGroupRelationSearchParamsWithContext creates a new ProductGroupRelationSearchParams object with the default values initialized, and the ability to set a context for a request
func NewProductGroupRelationSearchParamsWithHTTPClient ¶
func NewProductGroupRelationSearchParamsWithHTTPClient(client *http.Client) *ProductGroupRelationSearchParams
NewProductGroupRelationSearchParamsWithHTTPClient creates a new ProductGroupRelationSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProductGroupRelationSearchParamsWithTimeout ¶
func NewProductGroupRelationSearchParamsWithTimeout(timeout time.Duration) *ProductGroupRelationSearchParams
NewProductGroupRelationSearchParamsWithTimeout creates a new ProductGroupRelationSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProductGroupRelationSearchParams) SetContext ¶
func (o *ProductGroupRelationSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the product group relation search params
func (*ProductGroupRelationSearchParams) SetCount ¶
func (o *ProductGroupRelationSearchParams) SetCount(count *int64)
SetCount adds the count to the product group relation search params
func (*ProductGroupRelationSearchParams) SetFields ¶
func (o *ProductGroupRelationSearchParams) SetFields(fields *string)
SetFields adds the fields to the product group relation search params
func (*ProductGroupRelationSearchParams) SetFrom ¶
func (o *ProductGroupRelationSearchParams) SetFrom(from *int64)
SetFrom adds the from to the product group relation search params
func (*ProductGroupRelationSearchParams) SetHTTPClient ¶
func (o *ProductGroupRelationSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the product group relation search params
func (*ProductGroupRelationSearchParams) SetID ¶
func (o *ProductGroupRelationSearchParams) SetID(id *string)
SetID adds the id to the product group relation search params
func (*ProductGroupRelationSearchParams) SetProductGroupID ¶
func (o *ProductGroupRelationSearchParams) SetProductGroupID(productGroupID *string)
SetProductGroupID adds the productGroupId to the product group relation search params
func (*ProductGroupRelationSearchParams) SetProductID ¶
func (o *ProductGroupRelationSearchParams) SetProductID(productID *string)
SetProductID adds the productId to the product group relation search params
func (*ProductGroupRelationSearchParams) SetSorting ¶
func (o *ProductGroupRelationSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the product group relation search params
func (*ProductGroupRelationSearchParams) SetTimeout ¶
func (o *ProductGroupRelationSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the product group relation search params
func (*ProductGroupRelationSearchParams) WithContext ¶
func (o *ProductGroupRelationSearchParams) WithContext(ctx context.Context) *ProductGroupRelationSearchParams
WithContext adds the context to the product group relation search params
func (*ProductGroupRelationSearchParams) WithCount ¶
func (o *ProductGroupRelationSearchParams) WithCount(count *int64) *ProductGroupRelationSearchParams
WithCount adds the count to the product group relation search params
func (*ProductGroupRelationSearchParams) WithFields ¶
func (o *ProductGroupRelationSearchParams) WithFields(fields *string) *ProductGroupRelationSearchParams
WithFields adds the fields to the product group relation search params
func (*ProductGroupRelationSearchParams) WithFrom ¶
func (o *ProductGroupRelationSearchParams) WithFrom(from *int64) *ProductGroupRelationSearchParams
WithFrom adds the from to the product group relation search params
func (*ProductGroupRelationSearchParams) WithHTTPClient ¶
func (o *ProductGroupRelationSearchParams) WithHTTPClient(client *http.Client) *ProductGroupRelationSearchParams
WithHTTPClient adds the HTTPClient to the product group relation search params
func (*ProductGroupRelationSearchParams) WithID ¶
func (o *ProductGroupRelationSearchParams) WithID(id *string) *ProductGroupRelationSearchParams
WithID adds the id to the product group relation search params
func (*ProductGroupRelationSearchParams) WithProductGroupID ¶
func (o *ProductGroupRelationSearchParams) WithProductGroupID(productGroupID *string) *ProductGroupRelationSearchParams
WithProductGroupID adds the productGroupID to the product group relation search params
func (*ProductGroupRelationSearchParams) WithProductID ¶
func (o *ProductGroupRelationSearchParams) WithProductID(productID *string) *ProductGroupRelationSearchParams
WithProductID adds the productID to the product group relation search params
func (*ProductGroupRelationSearchParams) WithSorting ¶
func (o *ProductGroupRelationSearchParams) WithSorting(sorting *string) *ProductGroupRelationSearchParams
WithSorting adds the sorting to the product group relation search params
func (*ProductGroupRelationSearchParams) WithTimeout ¶
func (o *ProductGroupRelationSearchParams) WithTimeout(timeout time.Duration) *ProductGroupRelationSearchParams
WithTimeout adds the timeout to the product group relation search params
func (*ProductGroupRelationSearchParams) WriteToRequest ¶
func (o *ProductGroupRelationSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProductGroupRelationSearchReader ¶
type ProductGroupRelationSearchReader struct {
// contains filtered or unexported fields
}
ProductGroupRelationSearchReader is a Reader for the ProductGroupRelationSearch structure.
func (*ProductGroupRelationSearchReader) ReadResponse ¶
func (o *ProductGroupRelationSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- group_relation_client.go
- product_group_relation_delete_parameters.go
- product_group_relation_delete_responses.go
- product_group_relation_get_parameters.go
- product_group_relation_get_responses.go
- product_group_relation_list_delete_by_ids_parameters.go
- product_group_relation_list_delete_by_ids_responses.go
- product_group_relation_list_post_list_parameters.go
- product_group_relation_list_post_list_responses.go
- product_group_relation_post_parameters.go
- product_group_relation_post_responses.go
- product_group_relation_search_parameters.go
- product_group_relation_search_responses.go