group_relation

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for group 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

ProductGroupRelationListPostList bs e t a add multiple products group relations

func (*Client) ProductGroupRelationPost

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

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

func (*ProductGroupRelationDeleteDefault) Error

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

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

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

WithContext adds the context to the product group relation delete params

func (*ProductGroupRelationDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product group relation delete params

func (*ProductGroupRelationDeleteParams) WithID

WithID adds the id to the product group relation delete params

func (*ProductGroupRelationDeleteParams) WithTimeout

WithTimeout adds the timeout to the product group relation delete params

func (*ProductGroupRelationDeleteParams) WriteToRequest

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

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

WithContext adds the context to the product group relation get params

func (*ProductGroupRelationGetParams) WithFields

WithFields adds the fields to the product group relation get params

func (*ProductGroupRelationGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product group relation get params

func (*ProductGroupRelationGetParams) WithID

WithID adds the id to the product group relation get params

func (*ProductGroupRelationGetParams) WithTimeout

WithTimeout adds the timeout to the product group relation get params

func (*ProductGroupRelationGetParams) WriteToRequest

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

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

func (*ProductGroupRelationListDeleteByIdsDefault) Error

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

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

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

func (*ProductGroupRelationListDeleteByIdsParams) SetTimeout

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

func (*ProductGroupRelationListDeleteByIdsParams) WithContext

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

func (*ProductGroupRelationListDeleteByIdsParams) WithHTTPClient

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

func (*ProductGroupRelationListDeleteByIdsParams) WithIds

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

func (*ProductGroupRelationListDeleteByIdsParams) WithTimeout

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

func (*ProductGroupRelationListDeleteByIdsParams) WriteToRequest

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 (*ProductGroupRelationListPostListCreated) GetPayload

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

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

func (*ProductGroupRelationListPostListParams) SetContext

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

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

func (*ProductGroupRelationListPostListParams) WithContext

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

func (*ProductGroupRelationListPostListParams) WithHTTPClient

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

func (*ProductGroupRelationListPostListParams) WithTimeout

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

func (*ProductGroupRelationListPostListParams) WriteToRequest

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 (*ProductGroupRelationPostCreated) GetPayload

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

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

WithBody adds the body to the product group relation post params

func (*ProductGroupRelationPostParams) WithContext

WithContext adds the context to the product group relation post params

func (*ProductGroupRelationPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product group relation post params

func (*ProductGroupRelationPostParams) WithTimeout

WithTimeout adds the timeout to the product group relation post params

func (*ProductGroupRelationPostParams) WriteToRequest

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 (*ProductGroupRelationSearchOK) GetPayload

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

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

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

WithContext adds the context to the product group relation search params

func (*ProductGroupRelationSearchParams) WithCount

WithCount adds the count to the product group relation search params

func (*ProductGroupRelationSearchParams) WithFields

WithFields adds the fields to the product group relation search params

func (*ProductGroupRelationSearchParams) WithFrom

WithFrom adds the from to the product group relation search params

func (*ProductGroupRelationSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product group relation search params

func (*ProductGroupRelationSearchParams) WithID

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

WithProductID adds the productID to the product group relation search params

func (*ProductGroupRelationSearchParams) WithSorting

WithSorting adds the sorting to the product group relation search params

func (*ProductGroupRelationSearchParams) WithTimeout

WithTimeout adds the timeout to the product group relation search params

func (*ProductGroupRelationSearchParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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