catalog_category_management_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 CatalogCategoryManagementV1GetTreeGetBadRequest

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

400 Bad Request

func NewCatalogCategoryManagementV1GetTreeGetBadRequest

func NewCatalogCategoryManagementV1GetTreeGetBadRequest() *CatalogCategoryManagementV1GetTreeGetBadRequest

NewCatalogCategoryManagementV1GetTreeGetBadRequest creates a CatalogCategoryManagementV1GetTreeGetBadRequest with default headers values

func (*CatalogCategoryManagementV1GetTreeGetBadRequest) Error

func (*CatalogCategoryManagementV1GetTreeGetBadRequest) GetPayload

type CatalogCategoryManagementV1GetTreeGetDefault

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

Unexpected error

func NewCatalogCategoryManagementV1GetTreeGetDefault

func NewCatalogCategoryManagementV1GetTreeGetDefault(code int) *CatalogCategoryManagementV1GetTreeGetDefault

NewCatalogCategoryManagementV1GetTreeGetDefault creates a CatalogCategoryManagementV1GetTreeGetDefault with default headers values

func (*CatalogCategoryManagementV1GetTreeGetDefault) Code

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

func (*CatalogCategoryManagementV1GetTreeGetDefault) Error

func (*CatalogCategoryManagementV1GetTreeGetDefault) GetPayload

type CatalogCategoryManagementV1GetTreeGetOK

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

200 Success.

func NewCatalogCategoryManagementV1GetTreeGetOK

func NewCatalogCategoryManagementV1GetTreeGetOK() *CatalogCategoryManagementV1GetTreeGetOK

NewCatalogCategoryManagementV1GetTreeGetOK creates a CatalogCategoryManagementV1GetTreeGetOK with default headers values

func (*CatalogCategoryManagementV1GetTreeGetOK) Error

func (*CatalogCategoryManagementV1GetTreeGetOK) GetPayload

type CatalogCategoryManagementV1GetTreeGetParams

type CatalogCategoryManagementV1GetTreeGetParams struct {

	// Depth.
	Depth *int64

	// RootCategoryID.
	RootCategoryID *int64

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

CatalogCategoryManagementV1GetTreeGetParams contains all the parameters to send to the API endpoint

for the catalog category management v1 get tree get operation.

Typically these are written to a http.Request.

func NewCatalogCategoryManagementV1GetTreeGetParams

func NewCatalogCategoryManagementV1GetTreeGetParams() *CatalogCategoryManagementV1GetTreeGetParams

NewCatalogCategoryManagementV1GetTreeGetParams creates a new CatalogCategoryManagementV1GetTreeGetParams 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 NewCatalogCategoryManagementV1GetTreeGetParamsWithContext

func NewCatalogCategoryManagementV1GetTreeGetParamsWithContext(ctx context.Context) *CatalogCategoryManagementV1GetTreeGetParams

NewCatalogCategoryManagementV1GetTreeGetParamsWithContext creates a new CatalogCategoryManagementV1GetTreeGetParams object with the ability to set a context for a request.

func NewCatalogCategoryManagementV1GetTreeGetParamsWithHTTPClient

func NewCatalogCategoryManagementV1GetTreeGetParamsWithHTTPClient(client *http.Client) *CatalogCategoryManagementV1GetTreeGetParams

NewCatalogCategoryManagementV1GetTreeGetParamsWithHTTPClient creates a new CatalogCategoryManagementV1GetTreeGetParams object with the ability to set a custom HTTPClient for a request.

func NewCatalogCategoryManagementV1GetTreeGetParamsWithTimeout

func NewCatalogCategoryManagementV1GetTreeGetParamsWithTimeout(timeout time.Duration) *CatalogCategoryManagementV1GetTreeGetParams

NewCatalogCategoryManagementV1GetTreeGetParamsWithTimeout creates a new CatalogCategoryManagementV1GetTreeGetParams object with the ability to set a timeout on a request.

func (*CatalogCategoryManagementV1GetTreeGetParams) SetContext

SetContext adds the context to the catalog category management v1 get tree get params

func (*CatalogCategoryManagementV1GetTreeGetParams) SetDefaults

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

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

func (*CatalogCategoryManagementV1GetTreeGetParams) SetDepth

SetDepth adds the depth to the catalog category management v1 get tree get params

func (*CatalogCategoryManagementV1GetTreeGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the catalog category management v1 get tree get params

func (*CatalogCategoryManagementV1GetTreeGetParams) SetRootCategoryID

func (o *CatalogCategoryManagementV1GetTreeGetParams) SetRootCategoryID(rootCategoryID *int64)

SetRootCategoryID adds the rootCategoryId to the catalog category management v1 get tree get params

func (*CatalogCategoryManagementV1GetTreeGetParams) SetTimeout

SetTimeout adds the timeout to the catalog category management v1 get tree get params

func (*CatalogCategoryManagementV1GetTreeGetParams) WithContext

WithContext adds the context to the catalog category management v1 get tree get params

func (*CatalogCategoryManagementV1GetTreeGetParams) WithDefaults

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

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

func (*CatalogCategoryManagementV1GetTreeGetParams) WithDepth

WithDepth adds the depth to the catalog category management v1 get tree get params

func (*CatalogCategoryManagementV1GetTreeGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the catalog category management v1 get tree get params

func (*CatalogCategoryManagementV1GetTreeGetParams) WithRootCategoryID

WithRootCategoryID adds the rootCategoryID to the catalog category management v1 get tree get params

func (*CatalogCategoryManagementV1GetTreeGetParams) WithTimeout

WithTimeout adds the timeout to the catalog category management v1 get tree get params

func (*CatalogCategoryManagementV1GetTreeGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CatalogCategoryManagementV1GetTreeGetReader

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

CatalogCategoryManagementV1GetTreeGetReader is a Reader for the CatalogCategoryManagementV1GetTreeGet structure.

func (*CatalogCategoryManagementV1GetTreeGetReader) ReadResponse

func (o *CatalogCategoryManagementV1GetTreeGetReader) 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 management v1 API

func (*Client) CatalogCategoryManagementV1GetTreeGet

func (a *Client) CatalogCategoryManagementV1GetTreeGet(params *CatalogCategoryManagementV1GetTreeGetParams, opts ...ClientOption) (*CatalogCategoryManagementV1GetTreeGetOK, error)

CatalogCategoryManagementV1GetTreeGet Retrieve list of categories

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 {
	CatalogCategoryManagementV1GetTreeGet(params *CatalogCategoryManagementV1GetTreeGetParams, opts ...ClientOption) (*CatalogCategoryManagementV1GetTreeGetOK, 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 management v1 API client.

Jump to

Keyboard shortcuts

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