catalog_product_type_list_v1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogProductTypeListV1GetProductTypesGetDefault

type CatalogProductTypeListV1GetProductTypesGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
CatalogProductTypeListV1GetProductTypesGetDefault describes a response with status code -1, with default header values.

Unexpected error

func NewCatalogProductTypeListV1GetProductTypesGetDefault

func NewCatalogProductTypeListV1GetProductTypesGetDefault(code int) *CatalogProductTypeListV1GetProductTypesGetDefault

NewCatalogProductTypeListV1GetProductTypesGetDefault creates a CatalogProductTypeListV1GetProductTypesGetDefault with default headers values

func (*CatalogProductTypeListV1GetProductTypesGetDefault) Code

Code gets the status code for the catalog product type list v1 get product types get default response

func (*CatalogProductTypeListV1GetProductTypesGetDefault) Error

func (*CatalogProductTypeListV1GetProductTypesGetDefault) GetPayload

type CatalogProductTypeListV1GetProductTypesGetOK

type CatalogProductTypeListV1GetProductTypesGetOK struct {
	Payload []*models.CatalogDataProductTypeInterface
}
CatalogProductTypeListV1GetProductTypesGetOK describes a response with status code 200, with default header values.

200 Success.

func NewCatalogProductTypeListV1GetProductTypesGetOK

func NewCatalogProductTypeListV1GetProductTypesGetOK() *CatalogProductTypeListV1GetProductTypesGetOK

NewCatalogProductTypeListV1GetProductTypesGetOK creates a CatalogProductTypeListV1GetProductTypesGetOK with default headers values

func (*CatalogProductTypeListV1GetProductTypesGetOK) Error

func (*CatalogProductTypeListV1GetProductTypesGetOK) GetPayload

type CatalogProductTypeListV1GetProductTypesGetParams

type CatalogProductTypeListV1GetProductTypesGetParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CatalogProductTypeListV1GetProductTypesGetParams contains all the parameters to send to the API endpoint

for the catalog product type list v1 get product types get operation.

Typically these are written to a http.Request.

func NewCatalogProductTypeListV1GetProductTypesGetParams

func NewCatalogProductTypeListV1GetProductTypesGetParams() *CatalogProductTypeListV1GetProductTypesGetParams

NewCatalogProductTypeListV1GetProductTypesGetParams creates a new CatalogProductTypeListV1GetProductTypesGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCatalogProductTypeListV1GetProductTypesGetParamsWithContext

func NewCatalogProductTypeListV1GetProductTypesGetParamsWithContext(ctx context.Context) *CatalogProductTypeListV1GetProductTypesGetParams

NewCatalogProductTypeListV1GetProductTypesGetParamsWithContext creates a new CatalogProductTypeListV1GetProductTypesGetParams object with the ability to set a context for a request.

func NewCatalogProductTypeListV1GetProductTypesGetParamsWithHTTPClient

func NewCatalogProductTypeListV1GetProductTypesGetParamsWithHTTPClient(client *http.Client) *CatalogProductTypeListV1GetProductTypesGetParams

NewCatalogProductTypeListV1GetProductTypesGetParamsWithHTTPClient creates a new CatalogProductTypeListV1GetProductTypesGetParams object with the ability to set a custom HTTPClient for a request.

func NewCatalogProductTypeListV1GetProductTypesGetParamsWithTimeout

func NewCatalogProductTypeListV1GetProductTypesGetParamsWithTimeout(timeout time.Duration) *CatalogProductTypeListV1GetProductTypesGetParams

NewCatalogProductTypeListV1GetProductTypesGetParamsWithTimeout creates a new CatalogProductTypeListV1GetProductTypesGetParams object with the ability to set a timeout on a request.

func (*CatalogProductTypeListV1GetProductTypesGetParams) SetContext

SetContext adds the context to the catalog product type list v1 get product types get params

func (*CatalogProductTypeListV1GetProductTypesGetParams) SetDefaults

SetDefaults hydrates default values in the catalog product type list v1 get product types get params (not the query body).

All values with no default are reset to their zero value.

func (*CatalogProductTypeListV1GetProductTypesGetParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the catalog product type list v1 get product types get params

func (*CatalogProductTypeListV1GetProductTypesGetParams) SetTimeout

SetTimeout adds the timeout to the catalog product type list v1 get product types get params

func (*CatalogProductTypeListV1GetProductTypesGetParams) WithContext

WithContext adds the context to the catalog product type list v1 get product types get params

func (*CatalogProductTypeListV1GetProductTypesGetParams) WithDefaults

WithDefaults hydrates default values in the catalog product type list v1 get product types get params (not the query body).

All values with no default are reset to their zero value.

func (*CatalogProductTypeListV1GetProductTypesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the catalog product type list v1 get product types get params

func (*CatalogProductTypeListV1GetProductTypesGetParams) WithTimeout

WithTimeout adds the timeout to the catalog product type list v1 get product types get params

func (*CatalogProductTypeListV1GetProductTypesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CatalogProductTypeListV1GetProductTypesGetReader

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

CatalogProductTypeListV1GetProductTypesGetReader is a Reader for the CatalogProductTypeListV1GetProductTypesGet structure.

func (*CatalogProductTypeListV1GetProductTypesGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for catalog product type list v1 API

func (*Client) CatalogProductTypeListV1GetProductTypesGet

func (a *Client) CatalogProductTypeListV1GetProductTypesGet(params *CatalogProductTypeListV1GetProductTypesGetParams, opts ...ClientOption) (*CatalogProductTypeListV1GetProductTypesGetOK, error)

CatalogProductTypeListV1GetProductTypesGet Retrieve available product types

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CatalogProductTypeListV1GetProductTypesGet(params *CatalogProductTypeListV1GetProductTypesGetParams, opts ...ClientOption) (*CatalogProductTypeListV1GetProductTypesGetOK, 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 catalog product type list v1 API client.

Jump to

Keyboard shortcuts

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