catalog_category_repository_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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogCategoryRepositoryV1GetGetBadRequest

type CatalogCategoryRepositoryV1GetGetBadRequest struct {
	Payload *models.ErrorResponse
}
CatalogCategoryRepositoryV1GetGetBadRequest describes a response with status code 400, with default header values.

400 Bad Request

func NewCatalogCategoryRepositoryV1GetGetBadRequest

func NewCatalogCategoryRepositoryV1GetGetBadRequest() *CatalogCategoryRepositoryV1GetGetBadRequest

NewCatalogCategoryRepositoryV1GetGetBadRequest creates a CatalogCategoryRepositoryV1GetGetBadRequest with default headers values

func (*CatalogCategoryRepositoryV1GetGetBadRequest) Error

func (*CatalogCategoryRepositoryV1GetGetBadRequest) GetPayload

type CatalogCategoryRepositoryV1GetGetDefault

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

Unexpected error

func NewCatalogCategoryRepositoryV1GetGetDefault

func NewCatalogCategoryRepositoryV1GetGetDefault(code int) *CatalogCategoryRepositoryV1GetGetDefault

NewCatalogCategoryRepositoryV1GetGetDefault creates a CatalogCategoryRepositoryV1GetGetDefault with default headers values

func (*CatalogCategoryRepositoryV1GetGetDefault) Code

Code gets the status code for the catalog category repository v1 get get default response

func (*CatalogCategoryRepositoryV1GetGetDefault) Error

func (*CatalogCategoryRepositoryV1GetGetDefault) GetPayload

type CatalogCategoryRepositoryV1GetGetOK

type CatalogCategoryRepositoryV1GetGetOK struct {
	Payload *models.CatalogDataCategoryInterface
}
CatalogCategoryRepositoryV1GetGetOK describes a response with status code 200, with default header values.

200 Success.

func NewCatalogCategoryRepositoryV1GetGetOK

func NewCatalogCategoryRepositoryV1GetGetOK() *CatalogCategoryRepositoryV1GetGetOK

NewCatalogCategoryRepositoryV1GetGetOK creates a CatalogCategoryRepositoryV1GetGetOK with default headers values

func (*CatalogCategoryRepositoryV1GetGetOK) Error

func (*CatalogCategoryRepositoryV1GetGetOK) GetPayload

type CatalogCategoryRepositoryV1GetGetParams

type CatalogCategoryRepositoryV1GetGetParams struct {

	// CategoryID.
	CategoryID int64

	// StoreID.
	StoreID *int64

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

CatalogCategoryRepositoryV1GetGetParams contains all the parameters to send to the API endpoint

for the catalog category repository v1 get get operation.

Typically these are written to a http.Request.

func NewCatalogCategoryRepositoryV1GetGetParams

func NewCatalogCategoryRepositoryV1GetGetParams() *CatalogCategoryRepositoryV1GetGetParams

NewCatalogCategoryRepositoryV1GetGetParams creates a new CatalogCategoryRepositoryV1GetGetParams 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 NewCatalogCategoryRepositoryV1GetGetParamsWithContext

func NewCatalogCategoryRepositoryV1GetGetParamsWithContext(ctx context.Context) *CatalogCategoryRepositoryV1GetGetParams

NewCatalogCategoryRepositoryV1GetGetParamsWithContext creates a new CatalogCategoryRepositoryV1GetGetParams object with the ability to set a context for a request.

func NewCatalogCategoryRepositoryV1GetGetParamsWithHTTPClient

func NewCatalogCategoryRepositoryV1GetGetParamsWithHTTPClient(client *http.Client) *CatalogCategoryRepositoryV1GetGetParams

NewCatalogCategoryRepositoryV1GetGetParamsWithHTTPClient creates a new CatalogCategoryRepositoryV1GetGetParams object with the ability to set a custom HTTPClient for a request.

func NewCatalogCategoryRepositoryV1GetGetParamsWithTimeout

func NewCatalogCategoryRepositoryV1GetGetParamsWithTimeout(timeout time.Duration) *CatalogCategoryRepositoryV1GetGetParams

NewCatalogCategoryRepositoryV1GetGetParamsWithTimeout creates a new CatalogCategoryRepositoryV1GetGetParams object with the ability to set a timeout on a request.

func (*CatalogCategoryRepositoryV1GetGetParams) SetCategoryID

func (o *CatalogCategoryRepositoryV1GetGetParams) SetCategoryID(categoryID int64)

SetCategoryID adds the categoryId to the catalog category repository v1 get get params

func (*CatalogCategoryRepositoryV1GetGetParams) SetContext

SetContext adds the context to the catalog category repository v1 get get params

func (*CatalogCategoryRepositoryV1GetGetParams) SetDefaults

func (o *CatalogCategoryRepositoryV1GetGetParams) SetDefaults()

SetDefaults hydrates default values in the catalog category repository v1 get get params (not the query body).

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

func (*CatalogCategoryRepositoryV1GetGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the catalog category repository v1 get get params

func (*CatalogCategoryRepositoryV1GetGetParams) SetStoreID

func (o *CatalogCategoryRepositoryV1GetGetParams) SetStoreID(storeID *int64)

SetStoreID adds the storeId to the catalog category repository v1 get get params

func (*CatalogCategoryRepositoryV1GetGetParams) SetTimeout

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

SetTimeout adds the timeout to the catalog category repository v1 get get params

func (*CatalogCategoryRepositoryV1GetGetParams) WithCategoryID

WithCategoryID adds the categoryID to the catalog category repository v1 get get params

func (*CatalogCategoryRepositoryV1GetGetParams) WithContext

WithContext adds the context to the catalog category repository v1 get get params

func (*CatalogCategoryRepositoryV1GetGetParams) WithDefaults

WithDefaults hydrates default values in the catalog category repository v1 get get params (not the query body).

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

func (*CatalogCategoryRepositoryV1GetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the catalog category repository v1 get get params

func (*CatalogCategoryRepositoryV1GetGetParams) WithStoreID

WithStoreID adds the storeID to the catalog category repository v1 get get params

func (*CatalogCategoryRepositoryV1GetGetParams) WithTimeout

WithTimeout adds the timeout to the catalog category repository v1 get get params

func (*CatalogCategoryRepositoryV1GetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CatalogCategoryRepositoryV1GetGetReader

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

CatalogCategoryRepositoryV1GetGetReader is a Reader for the CatalogCategoryRepositoryV1GetGet structure.

func (*CatalogCategoryRepositoryV1GetGetReader) ReadResponse

func (o *CatalogCategoryRepositoryV1GetGetReader) 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 category repository v1 API

func (*Client) CatalogCategoryRepositoryV1GetGet

func (a *Client) CatalogCategoryRepositoryV1GetGet(params *CatalogCategoryRepositoryV1GetGetParams, opts ...ClientOption) (*CatalogCategoryRepositoryV1GetGetOK, error)

CatalogCategoryRepositoryV1GetGet Get info about category by category id

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 {
	CatalogCategoryRepositoryV1GetGet(params *CatalogCategoryRepositoryV1GetGetParams, opts ...ClientOption) (*CatalogCategoryRepositoryV1GetGetOK, 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 category repository v1 API client.

Jump to

Keyboard shortcuts

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