category

package
v0.59.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 15 Imported by: 1

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 category API

func (*Client) CreateCategory deprecated

Deprecated: 2022-08-10 - Use CreateCategoryShort instead.

CreateCategory create category This API is used to create category.

A category is a path separated by "/". A category also has localized display names. Example:

{

    "categoryPath": "/games",

    "localizationDisplayNames": {"en" : "Games"}

}

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=1 (CREATE)
  • Returns : created category data

func (*Client) CreateCategoryShort added in v0.8.0

func (a *Client) CreateCategoryShort(params *CreateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCategoryCreated, error)

CreateCategoryShort create category This API is used to create category.

A category is a path separated by "/". A category also has localized display names. Example:

{

    "categoryPath": "/games",

    "localizationDisplayNames": {"en" : "Games"}

}

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=1 (CREATE)
  • Returns : created category data

func (*Client) DeleteCategory deprecated

Deprecated: 2022-08-10 - Use DeleteCategoryShort instead.

DeleteCategory delete category This API is used to delete category by category path.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=8 (DELETE)
  • Returns : the deleted category data

func (*Client) DeleteCategoryShort added in v0.8.0

func (a *Client) DeleteCategoryShort(params *DeleteCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCategoryOK, error)

DeleteCategoryShort delete category This API is used to delete category by category path.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=8 (DELETE)
  • Returns : the deleted category data

func (*Client) DownloadCategories deprecated

Deprecated: 2022-08-10 - Use DownloadCategoriesShort instead.

DownloadCategories download store's structured categories This API is used to download store's structured categories.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store content)
  • Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store content)
  • Returns : structured categories

func (*Client) DownloadCategoriesShort added in v0.8.0

func (a *Client) DownloadCategoriesShort(params *DownloadCategoriesParams) (*DownloadCategoriesOK, error)

DownloadCategoriesShort download store's structured categories This API is used to download store's structured categories.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store content)
  • Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store content)
  • Returns : structured categories

func (*Client) GetCategory deprecated

Deprecated: 2022-08-10 - Use GetCategoryShort instead.

GetCategory get category This API is used to get category by category path.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)
  • Returns : category data

func (*Client) GetCategoryShort added in v0.8.0

func (a *Client) GetCategoryShort(params *GetCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCategoryOK, error)

GetCategoryShort get category This API is used to get category by category path.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)
  • Returns : category data

func (*Client) GetChildCategories deprecated

func (a *Client) GetChildCategories(params *GetChildCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChildCategoriesOK, error)

Deprecated: 2022-08-10 - Use GetChildCategoriesShort instead.

GetChildCategories get child categories This API is used to get child categories by category path.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)
  • Returns : list of child categories data

func (*Client) GetChildCategoriesShort added in v0.8.0

func (a *Client) GetChildCategoriesShort(params *GetChildCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChildCategoriesOK, error)

GetChildCategoriesShort get child categories This API is used to get child categories by category path.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)
  • Returns : list of child categories data

func (*Client) GetDescendantCategories deprecated

func (a *Client) GetDescendantCategories(params *GetDescendantCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDescendantCategoriesOK, error)

Deprecated: 2022-08-10 - Use GetDescendantCategoriesShort instead.

GetDescendantCategories get descendant categories This API is used to get descendant categories by category path.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)
  • Returns : list of descendant categories data

func (*Client) GetDescendantCategoriesShort added in v0.8.0

func (a *Client) GetDescendantCategoriesShort(params *GetDescendantCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDescendantCategoriesOK, error)

GetDescendantCategoriesShort get descendant categories This API is used to get descendant categories by category path.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)
  • Returns : list of descendant categories data

func (*Client) GetRootCategories deprecated

func (a *Client) GetRootCategories(params *GetRootCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRootCategoriesOK, error)

Deprecated: 2022-08-10 - Use GetRootCategoriesShort instead.

GetRootCategories get root categories This API is used to get root categories.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)
  • Returns : root category data

func (*Client) GetRootCategoriesShort added in v0.8.0

func (a *Client) GetRootCategoriesShort(params *GetRootCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRootCategoriesOK, error)

GetRootCategoriesShort get root categories This API is used to get root categories.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)
  • Returns : root category data

func (*Client) ListCategoriesBasic deprecated

func (a *Client) ListCategoriesBasic(params *ListCategoriesBasicParams, authInfo runtime.ClientAuthInfoWriter) (*ListCategoriesBasicOK, error)

Deprecated: 2022-08-10 - Use ListCategoriesBasicShort instead.

ListCategoriesBasic list categories' basic info This API is used to list all categories' basic info of a store ordered by category path.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)
  • Returns : list of categories' paths

func (*Client) ListCategoriesBasicShort added in v0.8.0

func (a *Client) ListCategoriesBasicShort(params *ListCategoriesBasicParams, authInfo runtime.ClientAuthInfoWriter) (*ListCategoriesBasicOK, error)

ListCategoriesBasicShort list categories' basic info This API is used to list all categories' basic info of a store ordered by category path.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)
  • Returns : list of categories' paths

func (*Client) PublicGetCategory deprecated

Deprecated: 2022-08-10 - Use PublicGetCategoryShort instead.

PublicGetCategory get category This API is used to get category by category path.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)
  • Optional permission : resource="SANDBOX", action=1 (CREATE)(user with this permission can view draft store category)
  • Returns : category data

func (*Client) PublicGetCategoryShort added in v0.8.0

func (a *Client) PublicGetCategoryShort(params *PublicGetCategoryParams) (*PublicGetCategoryOK, error)

PublicGetCategoryShort get category This API is used to get category by category path.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)
  • Optional permission : resource="SANDBOX", action=1 (CREATE)(user with this permission can view draft store category)
  • Returns : category data

func (*Client) PublicGetChildCategories deprecated

func (a *Client) PublicGetChildCategories(params *PublicGetChildCategoriesParams) (*PublicGetChildCategoriesOK, error)

Deprecated: 2022-08-10 - Use PublicGetChildCategoriesShort instead.

PublicGetChildCategories get child categories This API is used to get child categories by category path.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)
  • Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)
  • Returns : list of child categories data

func (*Client) PublicGetChildCategoriesShort added in v0.8.0

func (a *Client) PublicGetChildCategoriesShort(params *PublicGetChildCategoriesParams) (*PublicGetChildCategoriesOK, error)

PublicGetChildCategoriesShort get child categories This API is used to get child categories by category path.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)
  • Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)
  • Returns : list of child categories data

func (*Client) PublicGetDescendantCategories deprecated

func (a *Client) PublicGetDescendantCategories(params *PublicGetDescendantCategoriesParams) (*PublicGetDescendantCategoriesOK, error)

Deprecated: 2022-08-10 - Use PublicGetDescendantCategoriesShort instead.

PublicGetDescendantCategories get descendant categories This API is used to get descendant categories by category path.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)
  • Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)
  • Returns : list of descendant categories data

func (*Client) PublicGetDescendantCategoriesShort added in v0.8.0

func (a *Client) PublicGetDescendantCategoriesShort(params *PublicGetDescendantCategoriesParams) (*PublicGetDescendantCategoriesOK, error)

PublicGetDescendantCategoriesShort get descendant categories This API is used to get descendant categories by category path.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)
  • Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)
  • Returns : list of descendant categories data

func (*Client) PublicGetRootCategories deprecated

func (a *Client) PublicGetRootCategories(params *PublicGetRootCategoriesParams) (*PublicGetRootCategoriesOK, error)

Deprecated: 2022-08-10 - Use PublicGetRootCategoriesShort instead.

PublicGetRootCategories get root categories This API is used to get root categories.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)
  • Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)
  • Returns : root category data

func (*Client) PublicGetRootCategoriesShort added in v0.8.0

func (a *Client) PublicGetRootCategoriesShort(params *PublicGetRootCategoriesParams) (*PublicGetRootCategoriesOK, error)

PublicGetRootCategoriesShort get root categories This API is used to get root categories.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)
  • Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)
  • Returns : root category data

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCategory deprecated

Deprecated: 2022-08-10 - Use UpdateCategoryShort instead.

UpdateCategory update category This API is used to update category.

The category update data is a category object, example as:

{

    "storeId": "store-id",

    "localizationDisplayNames": {"en" : "Games"}

}

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=4 (UPDATE)
  • Returns : the updated category data

func (*Client) UpdateCategoryShort added in v0.8.0

func (a *Client) UpdateCategoryShort(params *UpdateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCategoryOK, error)

UpdateCategoryShort update category This API is used to update category.

The category update data is a category object, example as:

{

    "storeId": "store-id",

    "localizationDisplayNames": {"en" : "Games"}

}

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=4 (UPDATE)
  • Returns : the updated category data

type ClientService

type ClientService interface {
	GetRootCategories(params *GetRootCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRootCategoriesOK, error)
	GetRootCategoriesShort(params *GetRootCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRootCategoriesOK, error)
	CreateCategory(params *CreateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCategoryCreated, *CreateCategoryBadRequest, *CreateCategoryNotFound, *CreateCategoryConflict, *CreateCategoryUnprocessableEntity, error)
	CreateCategoryShort(params *CreateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCategoryCreated, error)
	ListCategoriesBasic(params *ListCategoriesBasicParams, authInfo runtime.ClientAuthInfoWriter) (*ListCategoriesBasicOK, error)
	ListCategoriesBasicShort(params *ListCategoriesBasicParams, authInfo runtime.ClientAuthInfoWriter) (*ListCategoriesBasicOK, error)
	GetCategory(params *GetCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCategoryOK, *GetCategoryNotFound, error)
	GetCategoryShort(params *GetCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCategoryOK, error)
	UpdateCategory(params *UpdateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCategoryOK, *UpdateCategoryBadRequest, *UpdateCategoryNotFound, *UpdateCategoryConflict, *UpdateCategoryUnprocessableEntity, error)
	UpdateCategoryShort(params *UpdateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCategoryOK, error)
	DeleteCategory(params *DeleteCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCategoryOK, *DeleteCategoryNotFound, *DeleteCategoryConflict, error)
	DeleteCategoryShort(params *DeleteCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCategoryOK, error)
	GetChildCategories(params *GetChildCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChildCategoriesOK, error)
	GetChildCategoriesShort(params *GetChildCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChildCategoriesOK, error)
	GetDescendantCategories(params *GetDescendantCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDescendantCategoriesOK, error)
	GetDescendantCategoriesShort(params *GetDescendantCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDescendantCategoriesOK, error)
	PublicGetRootCategories(params *PublicGetRootCategoriesParams) (*PublicGetRootCategoriesOK, error)
	PublicGetRootCategoriesShort(params *PublicGetRootCategoriesParams) (*PublicGetRootCategoriesOK, error)
	DownloadCategories(params *DownloadCategoriesParams) (*DownloadCategoriesOK, *DownloadCategoriesNotFound, error)
	DownloadCategoriesShort(params *DownloadCategoriesParams) (*DownloadCategoriesOK, error)
	PublicGetCategory(params *PublicGetCategoryParams) (*PublicGetCategoryOK, *PublicGetCategoryNotFound, error)
	PublicGetCategoryShort(params *PublicGetCategoryParams) (*PublicGetCategoryOK, error)
	PublicGetChildCategories(params *PublicGetChildCategoriesParams) (*PublicGetChildCategoriesOK, error)
	PublicGetChildCategoriesShort(params *PublicGetChildCategoriesParams) (*PublicGetChildCategoriesOK, error)
	PublicGetDescendantCategories(params *PublicGetDescendantCategoriesParams) (*PublicGetDescendantCategoriesOK, error)
	PublicGetDescendantCategoriesShort(params *PublicGetDescendantCategoriesParams) (*PublicGetDescendantCategoriesOK, 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 category API client.

type CreateCategoryBadRequest

type CreateCategoryBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateCategoryBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30021</td><td>Default language [{language}] required</td></tr></table>

func NewCreateCategoryBadRequest

func NewCreateCategoryBadRequest() *CreateCategoryBadRequest

NewCreateCategoryBadRequest creates a CreateCategoryBadRequest with default headers values

func (*CreateCategoryBadRequest) Error

func (o *CreateCategoryBadRequest) Error() string

func (*CreateCategoryBadRequest) GetPayload

func (*CreateCategoryBadRequest) ToJSONString added in v0.25.0

func (o *CreateCategoryBadRequest) ToJSONString() string

type CreateCategoryConflict

type CreateCategoryConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateCategoryConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30271</td><td>Category [{categoryPath}] already exists in namespace [{namespace}]</td></tr><tr><td>30173</td><td>Published store can't modify content</td></tr></table>

func NewCreateCategoryConflict

func NewCreateCategoryConflict() *CreateCategoryConflict

NewCreateCategoryConflict creates a CreateCategoryConflict with default headers values

func (*CreateCategoryConflict) Error

func (o *CreateCategoryConflict) Error() string

func (*CreateCategoryConflict) GetPayload

func (*CreateCategoryConflict) ToJSONString added in v0.25.0

func (o *CreateCategoryConflict) ToJSONString() string

type CreateCategoryCreated

type CreateCategoryCreated struct {
	Payload *platformclientmodels.FullCategoryInfo
}

CreateCategoryCreated handles this case with default header values.

successful operation

func NewCreateCategoryCreated

func NewCreateCategoryCreated() *CreateCategoryCreated

NewCreateCategoryCreated creates a CreateCategoryCreated with default headers values

func (*CreateCategoryCreated) Error

func (o *CreateCategoryCreated) Error() string

func (*CreateCategoryCreated) GetPayload

func (*CreateCategoryCreated) ToJSONString added in v0.25.0

func (o *CreateCategoryCreated) ToJSONString() string

type CreateCategoryNotFound

type CreateCategoryNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateCategoryNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30241</td><td>Category [{categoryPath}] does not exist in namespace [{namespace}]</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewCreateCategoryNotFound

func NewCreateCategoryNotFound() *CreateCategoryNotFound

NewCreateCategoryNotFound creates a CreateCategoryNotFound with default headers values

func (*CreateCategoryNotFound) Error

func (o *CreateCategoryNotFound) Error() string

func (*CreateCategoryNotFound) GetPayload

func (*CreateCategoryNotFound) ToJSONString added in v0.25.0

func (o *CreateCategoryNotFound) ToJSONString() string

type CreateCategoryParams

type CreateCategoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.CategoryCreate
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*StoreID*/
	StoreID string

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

CreateCategoryParams contains all the parameters to send to the API endpoint for the create category operation typically these are written to a http.Request

func NewCreateCategoryParams

func NewCreateCategoryParams() *CreateCategoryParams

NewCreateCategoryParams creates a new CreateCategoryParams object with the default values initialized.

func NewCreateCategoryParamsWithContext

func NewCreateCategoryParamsWithContext(ctx context.Context) *CreateCategoryParams

NewCreateCategoryParamsWithContext creates a new CreateCategoryParams object with the default values initialized, and the ability to set a context for a request

func NewCreateCategoryParamsWithHTTPClient

func NewCreateCategoryParamsWithHTTPClient(client *http.Client) *CreateCategoryParams

NewCreateCategoryParamsWithHTTPClient creates a new CreateCategoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateCategoryParamsWithTimeout

func NewCreateCategoryParamsWithTimeout(timeout time.Duration) *CreateCategoryParams

NewCreateCategoryParamsWithTimeout creates a new CreateCategoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateCategoryParams) SetAuthInfoWriter added in v0.17.0

func (o *CreateCategoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create category params

func (*CreateCategoryParams) SetBody

SetBody adds the body to the create category params

func (*CreateCategoryParams) SetContext

func (o *CreateCategoryParams) SetContext(ctx context.Context)

SetContext adds the context to the create category params

func (*CreateCategoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create category params

func (*CreateCategoryParams) SetHTTPClientTransport added in v0.19.0

func (o *CreateCategoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the create category params

func (*CreateCategoryParams) SetNamespace

func (o *CreateCategoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create category params

func (*CreateCategoryParams) SetStoreID

func (o *CreateCategoryParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the create category params

func (*CreateCategoryParams) SetTimeout

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

SetTimeout adds the timeout to the create category params

func (*CreateCategoryParams) WithBody

WithBody adds the body to the create category params

func (*CreateCategoryParams) WithContext

WithContext adds the context to the create category params

func (*CreateCategoryParams) WithHTTPClient

func (o *CreateCategoryParams) WithHTTPClient(client *http.Client) *CreateCategoryParams

WithHTTPClient adds the HTTPClient to the create category params

func (*CreateCategoryParams) WithNamespace

func (o *CreateCategoryParams) WithNamespace(namespace string) *CreateCategoryParams

WithNamespace adds the namespace to the create category params

func (*CreateCategoryParams) WithStoreID

func (o *CreateCategoryParams) WithStoreID(storeID string) *CreateCategoryParams

WithStoreID adds the storeID to the create category params

func (*CreateCategoryParams) WithTimeout

func (o *CreateCategoryParams) WithTimeout(timeout time.Duration) *CreateCategoryParams

WithTimeout adds the timeout to the create category params

func (*CreateCategoryParams) WriteToRequest

func (o *CreateCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateCategoryReader

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

CreateCategoryReader is a Reader for the CreateCategory structure.

func (*CreateCategoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCategoryUnprocessableEntity

type CreateCategoryUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

CreateCategoryUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewCreateCategoryUnprocessableEntity

func NewCreateCategoryUnprocessableEntity() *CreateCategoryUnprocessableEntity

NewCreateCategoryUnprocessableEntity creates a CreateCategoryUnprocessableEntity with default headers values

func (*CreateCategoryUnprocessableEntity) Error

func (*CreateCategoryUnprocessableEntity) GetPayload

func (*CreateCategoryUnprocessableEntity) ToJSONString added in v0.25.0

func (o *CreateCategoryUnprocessableEntity) ToJSONString() string

type DeleteCategoryConflict

type DeleteCategoryConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

DeleteCategoryConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30272</td><td>Category [{categoryPath}] is not empty in namespace [{namespace}]</td></tr><tr><td>30173</td><td>Published store can't modify content</td></tr></table>

func NewDeleteCategoryConflict

func NewDeleteCategoryConflict() *DeleteCategoryConflict

NewDeleteCategoryConflict creates a DeleteCategoryConflict with default headers values

func (*DeleteCategoryConflict) Error

func (o *DeleteCategoryConflict) Error() string

func (*DeleteCategoryConflict) GetPayload

func (*DeleteCategoryConflict) ToJSONString added in v0.25.0

func (o *DeleteCategoryConflict) ToJSONString() string

type DeleteCategoryNotFound

type DeleteCategoryNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DeleteCategoryNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30241</td><td>Category [{categoryPath}] does not exist in namespace [{namespace}]</td></tr></table>

func NewDeleteCategoryNotFound

func NewDeleteCategoryNotFound() *DeleteCategoryNotFound

NewDeleteCategoryNotFound creates a DeleteCategoryNotFound with default headers values

func (*DeleteCategoryNotFound) Error

func (o *DeleteCategoryNotFound) Error() string

func (*DeleteCategoryNotFound) GetPayload

func (*DeleteCategoryNotFound) ToJSONString added in v0.25.0

func (o *DeleteCategoryNotFound) ToJSONString() string

type DeleteCategoryOK

type DeleteCategoryOK struct {
	Payload *platformclientmodels.FullCategoryInfo
}

DeleteCategoryOK handles this case with default header values.

successful operation

func NewDeleteCategoryOK

func NewDeleteCategoryOK() *DeleteCategoryOK

NewDeleteCategoryOK creates a DeleteCategoryOK with default headers values

func (*DeleteCategoryOK) Error

func (o *DeleteCategoryOK) Error() string

func (*DeleteCategoryOK) GetPayload

func (*DeleteCategoryOK) ToJSONString added in v0.25.0

func (o *DeleteCategoryOK) ToJSONString() string

type DeleteCategoryParams

type DeleteCategoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*StoreID*/
	StoreID string

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

DeleteCategoryParams contains all the parameters to send to the API endpoint for the delete category operation typically these are written to a http.Request

func NewDeleteCategoryParams

func NewDeleteCategoryParams() *DeleteCategoryParams

NewDeleteCategoryParams creates a new DeleteCategoryParams object with the default values initialized.

func NewDeleteCategoryParamsWithContext

func NewDeleteCategoryParamsWithContext(ctx context.Context) *DeleteCategoryParams

NewDeleteCategoryParamsWithContext creates a new DeleteCategoryParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteCategoryParamsWithHTTPClient

func NewDeleteCategoryParamsWithHTTPClient(client *http.Client) *DeleteCategoryParams

NewDeleteCategoryParamsWithHTTPClient creates a new DeleteCategoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteCategoryParamsWithTimeout

func NewDeleteCategoryParamsWithTimeout(timeout time.Duration) *DeleteCategoryParams

NewDeleteCategoryParamsWithTimeout creates a new DeleteCategoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteCategoryParams) SetAuthInfoWriter added in v0.17.0

func (o *DeleteCategoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete category params

func (*DeleteCategoryParams) SetCategoryPath

func (o *DeleteCategoryParams) SetCategoryPath(categoryPath string)

SetCategoryPath adds the categoryPath to the delete category params

func (*DeleteCategoryParams) SetContext

func (o *DeleteCategoryParams) SetContext(ctx context.Context)

SetContext adds the context to the delete category params

func (*DeleteCategoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete category params

func (*DeleteCategoryParams) SetHTTPClientTransport added in v0.19.0

func (o *DeleteCategoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete category params

func (*DeleteCategoryParams) SetNamespace

func (o *DeleteCategoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete category params

func (*DeleteCategoryParams) SetStoreID

func (o *DeleteCategoryParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the delete category params

func (*DeleteCategoryParams) SetTimeout

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

SetTimeout adds the timeout to the delete category params

func (*DeleteCategoryParams) WithCategoryPath

func (o *DeleteCategoryParams) WithCategoryPath(categoryPath string) *DeleteCategoryParams

WithCategoryPath adds the categoryPath to the delete category params

func (*DeleteCategoryParams) WithContext

WithContext adds the context to the delete category params

func (*DeleteCategoryParams) WithHTTPClient

func (o *DeleteCategoryParams) WithHTTPClient(client *http.Client) *DeleteCategoryParams

WithHTTPClient adds the HTTPClient to the delete category params

func (*DeleteCategoryParams) WithNamespace

func (o *DeleteCategoryParams) WithNamespace(namespace string) *DeleteCategoryParams

WithNamespace adds the namespace to the delete category params

func (*DeleteCategoryParams) WithStoreID

func (o *DeleteCategoryParams) WithStoreID(storeID string) *DeleteCategoryParams

WithStoreID adds the storeID to the delete category params

func (*DeleteCategoryParams) WithTimeout

func (o *DeleteCategoryParams) WithTimeout(timeout time.Duration) *DeleteCategoryParams

WithTimeout adds the timeout to the delete category params

func (*DeleteCategoryParams) WriteToRequest

func (o *DeleteCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteCategoryReader

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

DeleteCategoryReader is a Reader for the DeleteCategory structure.

func (*DeleteCategoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DownloadCategoriesNotFound

type DownloadCategoriesNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DownloadCategoriesNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewDownloadCategoriesNotFound

func NewDownloadCategoriesNotFound() *DownloadCategoriesNotFound

NewDownloadCategoriesNotFound creates a DownloadCategoriesNotFound with default headers values

func (*DownloadCategoriesNotFound) Error

func (*DownloadCategoriesNotFound) GetPayload

func (*DownloadCategoriesNotFound) ToJSONString added in v0.25.0

func (o *DownloadCategoriesNotFound) ToJSONString() string

type DownloadCategoriesOK

type DownloadCategoriesOK struct {
	Payload []*platformclientmodels.HierarchicalCategoryInfo
}

DownloadCategoriesOK handles this case with default header values.

successful operation

func NewDownloadCategoriesOK

func NewDownloadCategoriesOK() *DownloadCategoriesOK

NewDownloadCategoriesOK creates a DownloadCategoriesOK with default headers values

func (*DownloadCategoriesOK) Error

func (o *DownloadCategoriesOK) Error() string

func (*DownloadCategoriesOK) GetPayload

func (*DownloadCategoriesOK) ToJSONString added in v0.25.0

func (o *DownloadCategoriesOK) ToJSONString() string

type DownloadCategoriesParams

type DownloadCategoriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Language*/
	Language *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

DownloadCategoriesParams contains all the parameters to send to the API endpoint for the download categories operation typically these are written to a http.Request

func NewDownloadCategoriesParams

func NewDownloadCategoriesParams() *DownloadCategoriesParams

NewDownloadCategoriesParams creates a new DownloadCategoriesParams object with the default values initialized.

func NewDownloadCategoriesParamsWithContext

func NewDownloadCategoriesParamsWithContext(ctx context.Context) *DownloadCategoriesParams

NewDownloadCategoriesParamsWithContext creates a new DownloadCategoriesParams object with the default values initialized, and the ability to set a context for a request

func NewDownloadCategoriesParamsWithHTTPClient

func NewDownloadCategoriesParamsWithHTTPClient(client *http.Client) *DownloadCategoriesParams

NewDownloadCategoriesParamsWithHTTPClient creates a new DownloadCategoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDownloadCategoriesParamsWithTimeout

func NewDownloadCategoriesParamsWithTimeout(timeout time.Duration) *DownloadCategoriesParams

NewDownloadCategoriesParamsWithTimeout creates a new DownloadCategoriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*DownloadCategoriesParams) SetAuthInfoWriter added in v0.17.0

func (o *DownloadCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the download categories params

func (*DownloadCategoriesParams) SetContext

func (o *DownloadCategoriesParams) SetContext(ctx context.Context)

SetContext adds the context to the download categories params

func (*DownloadCategoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the download categories params

func (*DownloadCategoriesParams) SetHTTPClientTransport added in v0.19.0

func (o *DownloadCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the download categories params

func (*DownloadCategoriesParams) SetLanguage

func (o *DownloadCategoriesParams) SetLanguage(language *string)

SetLanguage adds the language to the download categories params

func (*DownloadCategoriesParams) SetNamespace

func (o *DownloadCategoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the download categories params

func (*DownloadCategoriesParams) SetStoreID

func (o *DownloadCategoriesParams) SetStoreID(storeID *string)

SetStoreID adds the storeId to the download categories params

func (*DownloadCategoriesParams) SetTimeout

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

SetTimeout adds the timeout to the download categories params

func (*DownloadCategoriesParams) WithContext

WithContext adds the context to the download categories params

func (*DownloadCategoriesParams) WithHTTPClient

func (o *DownloadCategoriesParams) WithHTTPClient(client *http.Client) *DownloadCategoriesParams

WithHTTPClient adds the HTTPClient to the download categories params

func (*DownloadCategoriesParams) WithLanguage

func (o *DownloadCategoriesParams) WithLanguage(language *string) *DownloadCategoriesParams

WithLanguage adds the language to the download categories params

func (*DownloadCategoriesParams) WithNamespace

func (o *DownloadCategoriesParams) WithNamespace(namespace string) *DownloadCategoriesParams

WithNamespace adds the namespace to the download categories params

func (*DownloadCategoriesParams) WithStoreID

func (o *DownloadCategoriesParams) WithStoreID(storeID *string) *DownloadCategoriesParams

WithStoreID adds the storeID to the download categories params

func (*DownloadCategoriesParams) WithTimeout

WithTimeout adds the timeout to the download categories params

func (*DownloadCategoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DownloadCategoriesReader

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

DownloadCategoriesReader is a Reader for the DownloadCategories structure.

func (*DownloadCategoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCategoryNotFound

type GetCategoryNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetCategoryNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30241</td><td>Category [{categoryPath}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetCategoryNotFound

func NewGetCategoryNotFound() *GetCategoryNotFound

NewGetCategoryNotFound creates a GetCategoryNotFound with default headers values

func (*GetCategoryNotFound) Error

func (o *GetCategoryNotFound) Error() string

func (*GetCategoryNotFound) GetPayload

func (*GetCategoryNotFound) ToJSONString added in v0.25.0

func (o *GetCategoryNotFound) ToJSONString() string

type GetCategoryOK

type GetCategoryOK struct {
	Payload *platformclientmodels.FullCategoryInfo
}

GetCategoryOK handles this case with default header values.

successful operation

func NewGetCategoryOK

func NewGetCategoryOK() *GetCategoryOK

NewGetCategoryOK creates a GetCategoryOK with default headers values

func (*GetCategoryOK) Error

func (o *GetCategoryOK) Error() string

func (*GetCategoryOK) GetPayload

func (*GetCategoryOK) ToJSONString added in v0.25.0

func (o *GetCategoryOK) ToJSONString() string

type GetCategoryParams

type GetCategoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

GetCategoryParams contains all the parameters to send to the API endpoint for the get category operation typically these are written to a http.Request

func NewGetCategoryParams

func NewGetCategoryParams() *GetCategoryParams

NewGetCategoryParams creates a new GetCategoryParams object with the default values initialized.

func NewGetCategoryParamsWithContext

func NewGetCategoryParamsWithContext(ctx context.Context) *GetCategoryParams

NewGetCategoryParamsWithContext creates a new GetCategoryParams object with the default values initialized, and the ability to set a context for a request

func NewGetCategoryParamsWithHTTPClient

func NewGetCategoryParamsWithHTTPClient(client *http.Client) *GetCategoryParams

NewGetCategoryParamsWithHTTPClient creates a new GetCategoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCategoryParamsWithTimeout

func NewGetCategoryParamsWithTimeout(timeout time.Duration) *GetCategoryParams

NewGetCategoryParamsWithTimeout creates a new GetCategoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCategoryParams) SetAuthInfoWriter added in v0.17.0

func (o *GetCategoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get category params

func (*GetCategoryParams) SetCategoryPath

func (o *GetCategoryParams) SetCategoryPath(categoryPath string)

SetCategoryPath adds the categoryPath to the get category params

func (*GetCategoryParams) SetContext

func (o *GetCategoryParams) SetContext(ctx context.Context)

SetContext adds the context to the get category params

func (*GetCategoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get category params

func (*GetCategoryParams) SetHTTPClientTransport added in v0.19.0

func (o *GetCategoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get category params

func (*GetCategoryParams) SetNamespace

func (o *GetCategoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get category params

func (*GetCategoryParams) SetStoreID

func (o *GetCategoryParams) SetStoreID(storeID *string)

SetStoreID adds the storeId to the get category params

func (*GetCategoryParams) SetTimeout

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

SetTimeout adds the timeout to the get category params

func (*GetCategoryParams) WithCategoryPath

func (o *GetCategoryParams) WithCategoryPath(categoryPath string) *GetCategoryParams

WithCategoryPath adds the categoryPath to the get category params

func (*GetCategoryParams) WithContext

func (o *GetCategoryParams) WithContext(ctx context.Context) *GetCategoryParams

WithContext adds the context to the get category params

func (*GetCategoryParams) WithHTTPClient

func (o *GetCategoryParams) WithHTTPClient(client *http.Client) *GetCategoryParams

WithHTTPClient adds the HTTPClient to the get category params

func (*GetCategoryParams) WithNamespace

func (o *GetCategoryParams) WithNamespace(namespace string) *GetCategoryParams

WithNamespace adds the namespace to the get category params

func (*GetCategoryParams) WithStoreID

func (o *GetCategoryParams) WithStoreID(storeID *string) *GetCategoryParams

WithStoreID adds the storeID to the get category params

func (*GetCategoryParams) WithTimeout

func (o *GetCategoryParams) WithTimeout(timeout time.Duration) *GetCategoryParams

WithTimeout adds the timeout to the get category params

func (*GetCategoryParams) WriteToRequest

func (o *GetCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetCategoryReader

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

GetCategoryReader is a Reader for the GetCategory structure.

func (*GetCategoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetChildCategoriesOK

type GetChildCategoriesOK struct {
	Payload []*platformclientmodels.FullCategoryInfo
}

GetChildCategoriesOK handles this case with default header values.

successful operation

func NewGetChildCategoriesOK

func NewGetChildCategoriesOK() *GetChildCategoriesOK

NewGetChildCategoriesOK creates a GetChildCategoriesOK with default headers values

func (*GetChildCategoriesOK) Error

func (o *GetChildCategoriesOK) Error() string

func (*GetChildCategoriesOK) GetPayload

func (*GetChildCategoriesOK) ToJSONString added in v0.25.0

func (o *GetChildCategoriesOK) ToJSONString() string

type GetChildCategoriesParams

type GetChildCategoriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

GetChildCategoriesParams contains all the parameters to send to the API endpoint for the get child categories operation typically these are written to a http.Request

func NewGetChildCategoriesParams

func NewGetChildCategoriesParams() *GetChildCategoriesParams

NewGetChildCategoriesParams creates a new GetChildCategoriesParams object with the default values initialized.

func NewGetChildCategoriesParamsWithContext

func NewGetChildCategoriesParamsWithContext(ctx context.Context) *GetChildCategoriesParams

NewGetChildCategoriesParamsWithContext creates a new GetChildCategoriesParams object with the default values initialized, and the ability to set a context for a request

func NewGetChildCategoriesParamsWithHTTPClient

func NewGetChildCategoriesParamsWithHTTPClient(client *http.Client) *GetChildCategoriesParams

NewGetChildCategoriesParamsWithHTTPClient creates a new GetChildCategoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetChildCategoriesParamsWithTimeout

func NewGetChildCategoriesParamsWithTimeout(timeout time.Duration) *GetChildCategoriesParams

NewGetChildCategoriesParamsWithTimeout creates a new GetChildCategoriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetChildCategoriesParams) SetAuthInfoWriter added in v0.17.0

func (o *GetChildCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get child categories params

func (*GetChildCategoriesParams) SetCategoryPath

func (o *GetChildCategoriesParams) SetCategoryPath(categoryPath string)

SetCategoryPath adds the categoryPath to the get child categories params

func (*GetChildCategoriesParams) SetContext

func (o *GetChildCategoriesParams) SetContext(ctx context.Context)

SetContext adds the context to the get child categories params

func (*GetChildCategoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get child categories params

func (*GetChildCategoriesParams) SetHTTPClientTransport added in v0.19.0

func (o *GetChildCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get child categories params

func (*GetChildCategoriesParams) SetNamespace

func (o *GetChildCategoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get child categories params

func (*GetChildCategoriesParams) SetStoreID

func (o *GetChildCategoriesParams) SetStoreID(storeID *string)

SetStoreID adds the storeId to the get child categories params

func (*GetChildCategoriesParams) SetTimeout

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

SetTimeout adds the timeout to the get child categories params

func (*GetChildCategoriesParams) WithCategoryPath

func (o *GetChildCategoriesParams) WithCategoryPath(categoryPath string) *GetChildCategoriesParams

WithCategoryPath adds the categoryPath to the get child categories params

func (*GetChildCategoriesParams) WithContext

WithContext adds the context to the get child categories params

func (*GetChildCategoriesParams) WithHTTPClient

func (o *GetChildCategoriesParams) WithHTTPClient(client *http.Client) *GetChildCategoriesParams

WithHTTPClient adds the HTTPClient to the get child categories params

func (*GetChildCategoriesParams) WithNamespace

func (o *GetChildCategoriesParams) WithNamespace(namespace string) *GetChildCategoriesParams

WithNamespace adds the namespace to the get child categories params

func (*GetChildCategoriesParams) WithStoreID

func (o *GetChildCategoriesParams) WithStoreID(storeID *string) *GetChildCategoriesParams

WithStoreID adds the storeID to the get child categories params

func (*GetChildCategoriesParams) WithTimeout

WithTimeout adds the timeout to the get child categories params

func (*GetChildCategoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetChildCategoriesReader

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

GetChildCategoriesReader is a Reader for the GetChildCategories structure.

func (*GetChildCategoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDescendantCategoriesOK

type GetDescendantCategoriesOK struct {
	Payload []*platformclientmodels.FullCategoryInfo
}

GetDescendantCategoriesOK handles this case with default header values.

successful operation

func NewGetDescendantCategoriesOK

func NewGetDescendantCategoriesOK() *GetDescendantCategoriesOK

NewGetDescendantCategoriesOK creates a GetDescendantCategoriesOK with default headers values

func (*GetDescendantCategoriesOK) Error

func (o *GetDescendantCategoriesOK) Error() string

func (*GetDescendantCategoriesOK) GetPayload

func (*GetDescendantCategoriesOK) ToJSONString added in v0.25.0

func (o *GetDescendantCategoriesOK) ToJSONString() string

type GetDescendantCategoriesParams

type GetDescendantCategoriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

GetDescendantCategoriesParams contains all the parameters to send to the API endpoint for the get descendant categories operation typically these are written to a http.Request

func NewGetDescendantCategoriesParams

func NewGetDescendantCategoriesParams() *GetDescendantCategoriesParams

NewGetDescendantCategoriesParams creates a new GetDescendantCategoriesParams object with the default values initialized.

func NewGetDescendantCategoriesParamsWithContext

func NewGetDescendantCategoriesParamsWithContext(ctx context.Context) *GetDescendantCategoriesParams

NewGetDescendantCategoriesParamsWithContext creates a new GetDescendantCategoriesParams object with the default values initialized, and the ability to set a context for a request

func NewGetDescendantCategoriesParamsWithHTTPClient

func NewGetDescendantCategoriesParamsWithHTTPClient(client *http.Client) *GetDescendantCategoriesParams

NewGetDescendantCategoriesParamsWithHTTPClient creates a new GetDescendantCategoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDescendantCategoriesParamsWithTimeout

func NewGetDescendantCategoriesParamsWithTimeout(timeout time.Duration) *GetDescendantCategoriesParams

NewGetDescendantCategoriesParamsWithTimeout creates a new GetDescendantCategoriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDescendantCategoriesParams) SetAuthInfoWriter added in v0.17.0

func (o *GetDescendantCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get descendant categories params

func (*GetDescendantCategoriesParams) SetCategoryPath

func (o *GetDescendantCategoriesParams) SetCategoryPath(categoryPath string)

SetCategoryPath adds the categoryPath to the get descendant categories params

func (*GetDescendantCategoriesParams) SetContext

func (o *GetDescendantCategoriesParams) SetContext(ctx context.Context)

SetContext adds the context to the get descendant categories params

func (*GetDescendantCategoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get descendant categories params

func (*GetDescendantCategoriesParams) SetHTTPClientTransport added in v0.19.0

func (o *GetDescendantCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get descendant categories params

func (*GetDescendantCategoriesParams) SetNamespace

func (o *GetDescendantCategoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get descendant categories params

func (*GetDescendantCategoriesParams) SetStoreID

func (o *GetDescendantCategoriesParams) SetStoreID(storeID *string)

SetStoreID adds the storeId to the get descendant categories params

func (*GetDescendantCategoriesParams) SetTimeout

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

SetTimeout adds the timeout to the get descendant categories params

func (*GetDescendantCategoriesParams) WithCategoryPath

func (o *GetDescendantCategoriesParams) WithCategoryPath(categoryPath string) *GetDescendantCategoriesParams

WithCategoryPath adds the categoryPath to the get descendant categories params

func (*GetDescendantCategoriesParams) WithContext

WithContext adds the context to the get descendant categories params

func (*GetDescendantCategoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get descendant categories params

func (*GetDescendantCategoriesParams) WithNamespace

WithNamespace adds the namespace to the get descendant categories params

func (*GetDescendantCategoriesParams) WithStoreID

WithStoreID adds the storeID to the get descendant categories params

func (*GetDescendantCategoriesParams) WithTimeout

WithTimeout adds the timeout to the get descendant categories params

func (*GetDescendantCategoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDescendantCategoriesReader

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

GetDescendantCategoriesReader is a Reader for the GetDescendantCategories structure.

func (*GetDescendantCategoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRootCategoriesOK

type GetRootCategoriesOK struct {
	Payload []*platformclientmodels.FullCategoryInfo
}

GetRootCategoriesOK handles this case with default header values.

successful operation

func NewGetRootCategoriesOK

func NewGetRootCategoriesOK() *GetRootCategoriesOK

NewGetRootCategoriesOK creates a GetRootCategoriesOK with default headers values

func (*GetRootCategoriesOK) Error

func (o *GetRootCategoriesOK) Error() string

func (*GetRootCategoriesOK) GetPayload

func (*GetRootCategoriesOK) ToJSONString added in v0.25.0

func (o *GetRootCategoriesOK) ToJSONString() string

type GetRootCategoriesParams

type GetRootCategoriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

GetRootCategoriesParams contains all the parameters to send to the API endpoint for the get root categories operation typically these are written to a http.Request

func NewGetRootCategoriesParams

func NewGetRootCategoriesParams() *GetRootCategoriesParams

NewGetRootCategoriesParams creates a new GetRootCategoriesParams object with the default values initialized.

func NewGetRootCategoriesParamsWithContext

func NewGetRootCategoriesParamsWithContext(ctx context.Context) *GetRootCategoriesParams

NewGetRootCategoriesParamsWithContext creates a new GetRootCategoriesParams object with the default values initialized, and the ability to set a context for a request

func NewGetRootCategoriesParamsWithHTTPClient

func NewGetRootCategoriesParamsWithHTTPClient(client *http.Client) *GetRootCategoriesParams

NewGetRootCategoriesParamsWithHTTPClient creates a new GetRootCategoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRootCategoriesParamsWithTimeout

func NewGetRootCategoriesParamsWithTimeout(timeout time.Duration) *GetRootCategoriesParams

NewGetRootCategoriesParamsWithTimeout creates a new GetRootCategoriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRootCategoriesParams) SetAuthInfoWriter added in v0.17.0

func (o *GetRootCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get root categories params

func (*GetRootCategoriesParams) SetContext

func (o *GetRootCategoriesParams) SetContext(ctx context.Context)

SetContext adds the context to the get root categories params

func (*GetRootCategoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get root categories params

func (*GetRootCategoriesParams) SetHTTPClientTransport added in v0.19.0

func (o *GetRootCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get root categories params

func (*GetRootCategoriesParams) SetNamespace

func (o *GetRootCategoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get root categories params

func (*GetRootCategoriesParams) SetStoreID

func (o *GetRootCategoriesParams) SetStoreID(storeID *string)

SetStoreID adds the storeId to the get root categories params

func (*GetRootCategoriesParams) SetTimeout

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

SetTimeout adds the timeout to the get root categories params

func (*GetRootCategoriesParams) WithContext

WithContext adds the context to the get root categories params

func (*GetRootCategoriesParams) WithHTTPClient

func (o *GetRootCategoriesParams) WithHTTPClient(client *http.Client) *GetRootCategoriesParams

WithHTTPClient adds the HTTPClient to the get root categories params

func (*GetRootCategoriesParams) WithNamespace

func (o *GetRootCategoriesParams) WithNamespace(namespace string) *GetRootCategoriesParams

WithNamespace adds the namespace to the get root categories params

func (*GetRootCategoriesParams) WithStoreID

func (o *GetRootCategoriesParams) WithStoreID(storeID *string) *GetRootCategoriesParams

WithStoreID adds the storeID to the get root categories params

func (*GetRootCategoriesParams) WithTimeout

WithTimeout adds the timeout to the get root categories params

func (*GetRootCategoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRootCategoriesReader

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

GetRootCategoriesReader is a Reader for the GetRootCategories structure.

func (*GetRootCategoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCategoriesBasicOK

type ListCategoriesBasicOK struct {
	Payload []*platformclientmodels.BasicCategoryInfo
}

ListCategoriesBasicOK handles this case with default header values.

successful operation

func NewListCategoriesBasicOK

func NewListCategoriesBasicOK() *ListCategoriesBasicOK

NewListCategoriesBasicOK creates a ListCategoriesBasicOK with default headers values

func (*ListCategoriesBasicOK) Error

func (o *ListCategoriesBasicOK) Error() string

func (*ListCategoriesBasicOK) GetPayload

func (*ListCategoriesBasicOK) ToJSONString added in v0.25.0

func (o *ListCategoriesBasicOK) ToJSONString() string

type ListCategoriesBasicParams

type ListCategoriesBasicParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

ListCategoriesBasicParams contains all the parameters to send to the API endpoint for the list categories basic operation typically these are written to a http.Request

func NewListCategoriesBasicParams

func NewListCategoriesBasicParams() *ListCategoriesBasicParams

NewListCategoriesBasicParams creates a new ListCategoriesBasicParams object with the default values initialized.

func NewListCategoriesBasicParamsWithContext

func NewListCategoriesBasicParamsWithContext(ctx context.Context) *ListCategoriesBasicParams

NewListCategoriesBasicParamsWithContext creates a new ListCategoriesBasicParams object with the default values initialized, and the ability to set a context for a request

func NewListCategoriesBasicParamsWithHTTPClient

func NewListCategoriesBasicParamsWithHTTPClient(client *http.Client) *ListCategoriesBasicParams

NewListCategoriesBasicParamsWithHTTPClient creates a new ListCategoriesBasicParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListCategoriesBasicParamsWithTimeout

func NewListCategoriesBasicParamsWithTimeout(timeout time.Duration) *ListCategoriesBasicParams

NewListCategoriesBasicParamsWithTimeout creates a new ListCategoriesBasicParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListCategoriesBasicParams) SetAuthInfoWriter added in v0.17.0

func (o *ListCategoriesBasicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the list categories basic params

func (*ListCategoriesBasicParams) SetContext

func (o *ListCategoriesBasicParams) SetContext(ctx context.Context)

SetContext adds the context to the list categories basic params

func (*ListCategoriesBasicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list categories basic params

func (*ListCategoriesBasicParams) SetHTTPClientTransport added in v0.19.0

func (o *ListCategoriesBasicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the list categories basic params

func (*ListCategoriesBasicParams) SetNamespace

func (o *ListCategoriesBasicParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list categories basic params

func (*ListCategoriesBasicParams) SetStoreID

func (o *ListCategoriesBasicParams) SetStoreID(storeID *string)

SetStoreID adds the storeId to the list categories basic params

func (*ListCategoriesBasicParams) SetTimeout

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

SetTimeout adds the timeout to the list categories basic params

func (*ListCategoriesBasicParams) WithContext

WithContext adds the context to the list categories basic params

func (*ListCategoriesBasicParams) WithHTTPClient

func (o *ListCategoriesBasicParams) WithHTTPClient(client *http.Client) *ListCategoriesBasicParams

WithHTTPClient adds the HTTPClient to the list categories basic params

func (*ListCategoriesBasicParams) WithNamespace

func (o *ListCategoriesBasicParams) WithNamespace(namespace string) *ListCategoriesBasicParams

WithNamespace adds the namespace to the list categories basic params

func (*ListCategoriesBasicParams) WithStoreID

WithStoreID adds the storeID to the list categories basic params

func (*ListCategoriesBasicParams) WithTimeout

WithTimeout adds the timeout to the list categories basic params

func (*ListCategoriesBasicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListCategoriesBasicReader

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

ListCategoriesBasicReader is a Reader for the ListCategoriesBasic structure.

func (*ListCategoriesBasicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetCategoryNotFound

type PublicGetCategoryNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetCategoryNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30241</td><td>Category [{categoryPath}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPublicGetCategoryNotFound

func NewPublicGetCategoryNotFound() *PublicGetCategoryNotFound

NewPublicGetCategoryNotFound creates a PublicGetCategoryNotFound with default headers values

func (*PublicGetCategoryNotFound) Error

func (o *PublicGetCategoryNotFound) Error() string

func (*PublicGetCategoryNotFound) GetPayload

func (*PublicGetCategoryNotFound) ToJSONString added in v0.25.0

func (o *PublicGetCategoryNotFound) ToJSONString() string

type PublicGetCategoryOK

type PublicGetCategoryOK struct {
	Payload *platformclientmodels.CategoryInfo
}

PublicGetCategoryOK handles this case with default header values.

successful operation

func NewPublicGetCategoryOK

func NewPublicGetCategoryOK() *PublicGetCategoryOK

NewPublicGetCategoryOK creates a PublicGetCategoryOK with default headers values

func (*PublicGetCategoryOK) Error

func (o *PublicGetCategoryOK) Error() string

func (*PublicGetCategoryOK) GetPayload

func (*PublicGetCategoryOK) ToJSONString added in v0.25.0

func (o *PublicGetCategoryOK) ToJSONString() string

type PublicGetCategoryParams

type PublicGetCategoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Language*/
	Language *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

PublicGetCategoryParams contains all the parameters to send to the API endpoint for the public get category operation typically these are written to a http.Request

func NewPublicGetCategoryParams

func NewPublicGetCategoryParams() *PublicGetCategoryParams

NewPublicGetCategoryParams creates a new PublicGetCategoryParams object with the default values initialized.

func NewPublicGetCategoryParamsWithContext

func NewPublicGetCategoryParamsWithContext(ctx context.Context) *PublicGetCategoryParams

NewPublicGetCategoryParamsWithContext creates a new PublicGetCategoryParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetCategoryParamsWithHTTPClient

func NewPublicGetCategoryParamsWithHTTPClient(client *http.Client) *PublicGetCategoryParams

NewPublicGetCategoryParamsWithHTTPClient creates a new PublicGetCategoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetCategoryParamsWithTimeout

func NewPublicGetCategoryParamsWithTimeout(timeout time.Duration) *PublicGetCategoryParams

NewPublicGetCategoryParamsWithTimeout creates a new PublicGetCategoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetCategoryParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetCategoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get category params

func (*PublicGetCategoryParams) SetCategoryPath

func (o *PublicGetCategoryParams) SetCategoryPath(categoryPath string)

SetCategoryPath adds the categoryPath to the public get category params

func (*PublicGetCategoryParams) SetContext

func (o *PublicGetCategoryParams) SetContext(ctx context.Context)

SetContext adds the context to the public get category params

func (*PublicGetCategoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get category params

func (*PublicGetCategoryParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetCategoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get category params

func (*PublicGetCategoryParams) SetLanguage

func (o *PublicGetCategoryParams) SetLanguage(language *string)

SetLanguage adds the language to the public get category params

func (*PublicGetCategoryParams) SetNamespace

func (o *PublicGetCategoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get category params

func (*PublicGetCategoryParams) SetStoreID

func (o *PublicGetCategoryParams) SetStoreID(storeID *string)

SetStoreID adds the storeId to the public get category params

func (*PublicGetCategoryParams) SetTimeout

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

SetTimeout adds the timeout to the public get category params

func (*PublicGetCategoryParams) WithCategoryPath

func (o *PublicGetCategoryParams) WithCategoryPath(categoryPath string) *PublicGetCategoryParams

WithCategoryPath adds the categoryPath to the public get category params

func (*PublicGetCategoryParams) WithContext

WithContext adds the context to the public get category params

func (*PublicGetCategoryParams) WithHTTPClient

func (o *PublicGetCategoryParams) WithHTTPClient(client *http.Client) *PublicGetCategoryParams

WithHTTPClient adds the HTTPClient to the public get category params

func (*PublicGetCategoryParams) WithLanguage

func (o *PublicGetCategoryParams) WithLanguage(language *string) *PublicGetCategoryParams

WithLanguage adds the language to the public get category params

func (*PublicGetCategoryParams) WithNamespace

func (o *PublicGetCategoryParams) WithNamespace(namespace string) *PublicGetCategoryParams

WithNamespace adds the namespace to the public get category params

func (*PublicGetCategoryParams) WithStoreID

func (o *PublicGetCategoryParams) WithStoreID(storeID *string) *PublicGetCategoryParams

WithStoreID adds the storeID to the public get category params

func (*PublicGetCategoryParams) WithTimeout

WithTimeout adds the timeout to the public get category params

func (*PublicGetCategoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetCategoryReader

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

PublicGetCategoryReader is a Reader for the PublicGetCategory structure.

func (*PublicGetCategoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetChildCategoriesOK

type PublicGetChildCategoriesOK struct {
	Payload []*platformclientmodels.CategoryInfo
}

PublicGetChildCategoriesOK handles this case with default header values.

successful operation

func NewPublicGetChildCategoriesOK

func NewPublicGetChildCategoriesOK() *PublicGetChildCategoriesOK

NewPublicGetChildCategoriesOK creates a PublicGetChildCategoriesOK with default headers values

func (*PublicGetChildCategoriesOK) Error

func (*PublicGetChildCategoriesOK) GetPayload

func (*PublicGetChildCategoriesOK) ToJSONString added in v0.25.0

func (o *PublicGetChildCategoriesOK) ToJSONString() string

type PublicGetChildCategoriesParams

type PublicGetChildCategoriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Language*/
	Language *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

PublicGetChildCategoriesParams contains all the parameters to send to the API endpoint for the public get child categories operation typically these are written to a http.Request

func NewPublicGetChildCategoriesParams

func NewPublicGetChildCategoriesParams() *PublicGetChildCategoriesParams

NewPublicGetChildCategoriesParams creates a new PublicGetChildCategoriesParams object with the default values initialized.

func NewPublicGetChildCategoriesParamsWithContext

func NewPublicGetChildCategoriesParamsWithContext(ctx context.Context) *PublicGetChildCategoriesParams

NewPublicGetChildCategoriesParamsWithContext creates a new PublicGetChildCategoriesParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetChildCategoriesParamsWithHTTPClient

func NewPublicGetChildCategoriesParamsWithHTTPClient(client *http.Client) *PublicGetChildCategoriesParams

NewPublicGetChildCategoriesParamsWithHTTPClient creates a new PublicGetChildCategoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetChildCategoriesParamsWithTimeout

func NewPublicGetChildCategoriesParamsWithTimeout(timeout time.Duration) *PublicGetChildCategoriesParams

NewPublicGetChildCategoriesParamsWithTimeout creates a new PublicGetChildCategoriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetChildCategoriesParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetChildCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get child categories params

func (*PublicGetChildCategoriesParams) SetCategoryPath

func (o *PublicGetChildCategoriesParams) SetCategoryPath(categoryPath string)

SetCategoryPath adds the categoryPath to the public get child categories params

func (*PublicGetChildCategoriesParams) SetContext

func (o *PublicGetChildCategoriesParams) SetContext(ctx context.Context)

SetContext adds the context to the public get child categories params

func (*PublicGetChildCategoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get child categories params

func (*PublicGetChildCategoriesParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetChildCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get child categories params

func (*PublicGetChildCategoriesParams) SetLanguage

func (o *PublicGetChildCategoriesParams) SetLanguage(language *string)

SetLanguage adds the language to the public get child categories params

func (*PublicGetChildCategoriesParams) SetNamespace

func (o *PublicGetChildCategoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get child categories params

func (*PublicGetChildCategoriesParams) SetStoreID

func (o *PublicGetChildCategoriesParams) SetStoreID(storeID *string)

SetStoreID adds the storeId to the public get child categories params

func (*PublicGetChildCategoriesParams) SetTimeout

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

SetTimeout adds the timeout to the public get child categories params

func (*PublicGetChildCategoriesParams) WithCategoryPath

func (o *PublicGetChildCategoriesParams) WithCategoryPath(categoryPath string) *PublicGetChildCategoriesParams

WithCategoryPath adds the categoryPath to the public get child categories params

func (*PublicGetChildCategoriesParams) WithContext

WithContext adds the context to the public get child categories params

func (*PublicGetChildCategoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get child categories params

func (*PublicGetChildCategoriesParams) WithLanguage

WithLanguage adds the language to the public get child categories params

func (*PublicGetChildCategoriesParams) WithNamespace

WithNamespace adds the namespace to the public get child categories params

func (*PublicGetChildCategoriesParams) WithStoreID

WithStoreID adds the storeID to the public get child categories params

func (*PublicGetChildCategoriesParams) WithTimeout

WithTimeout adds the timeout to the public get child categories params

func (*PublicGetChildCategoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetChildCategoriesReader

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

PublicGetChildCategoriesReader is a Reader for the PublicGetChildCategories structure.

func (*PublicGetChildCategoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetDescendantCategoriesOK

type PublicGetDescendantCategoriesOK struct {
	Payload []*platformclientmodels.CategoryInfo
}

PublicGetDescendantCategoriesOK handles this case with default header values.

successful operation

func NewPublicGetDescendantCategoriesOK

func NewPublicGetDescendantCategoriesOK() *PublicGetDescendantCategoriesOK

NewPublicGetDescendantCategoriesOK creates a PublicGetDescendantCategoriesOK with default headers values

func (*PublicGetDescendantCategoriesOK) Error

func (*PublicGetDescendantCategoriesOK) GetPayload

func (*PublicGetDescendantCategoriesOK) ToJSONString added in v0.25.0

func (o *PublicGetDescendantCategoriesOK) ToJSONString() string

type PublicGetDescendantCategoriesParams

type PublicGetDescendantCategoriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Language*/
	Language *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

PublicGetDescendantCategoriesParams contains all the parameters to send to the API endpoint for the public get descendant categories operation typically these are written to a http.Request

func NewPublicGetDescendantCategoriesParams

func NewPublicGetDescendantCategoriesParams() *PublicGetDescendantCategoriesParams

NewPublicGetDescendantCategoriesParams creates a new PublicGetDescendantCategoriesParams object with the default values initialized.

func NewPublicGetDescendantCategoriesParamsWithContext

func NewPublicGetDescendantCategoriesParamsWithContext(ctx context.Context) *PublicGetDescendantCategoriesParams

NewPublicGetDescendantCategoriesParamsWithContext creates a new PublicGetDescendantCategoriesParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetDescendantCategoriesParamsWithHTTPClient

func NewPublicGetDescendantCategoriesParamsWithHTTPClient(client *http.Client) *PublicGetDescendantCategoriesParams

NewPublicGetDescendantCategoriesParamsWithHTTPClient creates a new PublicGetDescendantCategoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetDescendantCategoriesParamsWithTimeout

func NewPublicGetDescendantCategoriesParamsWithTimeout(timeout time.Duration) *PublicGetDescendantCategoriesParams

NewPublicGetDescendantCategoriesParamsWithTimeout creates a new PublicGetDescendantCategoriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetDescendantCategoriesParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetDescendantCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) SetCategoryPath

func (o *PublicGetDescendantCategoriesParams) SetCategoryPath(categoryPath string)

SetCategoryPath adds the categoryPath to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) SetContext

SetContext adds the context to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetDescendantCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) SetLanguage

func (o *PublicGetDescendantCategoriesParams) SetLanguage(language *string)

SetLanguage adds the language to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) SetNamespace

func (o *PublicGetDescendantCategoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) SetStoreID

func (o *PublicGetDescendantCategoriesParams) SetStoreID(storeID *string)

SetStoreID adds the storeId to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) SetTimeout

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

SetTimeout adds the timeout to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) WithCategoryPath

WithCategoryPath adds the categoryPath to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) WithContext

WithContext adds the context to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) WithLanguage

WithLanguage adds the language to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) WithNamespace

WithNamespace adds the namespace to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) WithStoreID

WithStoreID adds the storeID to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) WithTimeout

WithTimeout adds the timeout to the public get descendant categories params

func (*PublicGetDescendantCategoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetDescendantCategoriesReader

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

PublicGetDescendantCategoriesReader is a Reader for the PublicGetDescendantCategories structure.

func (*PublicGetDescendantCategoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetRootCategoriesOK

type PublicGetRootCategoriesOK struct {
	Payload []*platformclientmodels.CategoryInfo
}

PublicGetRootCategoriesOK handles this case with default header values.

successful operation

func NewPublicGetRootCategoriesOK

func NewPublicGetRootCategoriesOK() *PublicGetRootCategoriesOK

NewPublicGetRootCategoriesOK creates a PublicGetRootCategoriesOK with default headers values

func (*PublicGetRootCategoriesOK) Error

func (o *PublicGetRootCategoriesOK) Error() string

func (*PublicGetRootCategoriesOK) GetPayload

func (*PublicGetRootCategoriesOK) ToJSONString added in v0.25.0

func (o *PublicGetRootCategoriesOK) ToJSONString() string

type PublicGetRootCategoriesParams

type PublicGetRootCategoriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Language*/
	Language *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

PublicGetRootCategoriesParams contains all the parameters to send to the API endpoint for the public get root categories operation typically these are written to a http.Request

func NewPublicGetRootCategoriesParams

func NewPublicGetRootCategoriesParams() *PublicGetRootCategoriesParams

NewPublicGetRootCategoriesParams creates a new PublicGetRootCategoriesParams object with the default values initialized.

func NewPublicGetRootCategoriesParamsWithContext

func NewPublicGetRootCategoriesParamsWithContext(ctx context.Context) *PublicGetRootCategoriesParams

NewPublicGetRootCategoriesParamsWithContext creates a new PublicGetRootCategoriesParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetRootCategoriesParamsWithHTTPClient

func NewPublicGetRootCategoriesParamsWithHTTPClient(client *http.Client) *PublicGetRootCategoriesParams

NewPublicGetRootCategoriesParamsWithHTTPClient creates a new PublicGetRootCategoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetRootCategoriesParamsWithTimeout

func NewPublicGetRootCategoriesParamsWithTimeout(timeout time.Duration) *PublicGetRootCategoriesParams

NewPublicGetRootCategoriesParamsWithTimeout creates a new PublicGetRootCategoriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetRootCategoriesParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetRootCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get root categories params

func (*PublicGetRootCategoriesParams) SetContext

func (o *PublicGetRootCategoriesParams) SetContext(ctx context.Context)

SetContext adds the context to the public get root categories params

func (*PublicGetRootCategoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get root categories params

func (*PublicGetRootCategoriesParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetRootCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get root categories params

func (*PublicGetRootCategoriesParams) SetLanguage

func (o *PublicGetRootCategoriesParams) SetLanguage(language *string)

SetLanguage adds the language to the public get root categories params

func (*PublicGetRootCategoriesParams) SetNamespace

func (o *PublicGetRootCategoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get root categories params

func (*PublicGetRootCategoriesParams) SetStoreID

func (o *PublicGetRootCategoriesParams) SetStoreID(storeID *string)

SetStoreID adds the storeId to the public get root categories params

func (*PublicGetRootCategoriesParams) SetTimeout

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

SetTimeout adds the timeout to the public get root categories params

func (*PublicGetRootCategoriesParams) WithContext

WithContext adds the context to the public get root categories params

func (*PublicGetRootCategoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get root categories params

func (*PublicGetRootCategoriesParams) WithLanguage

WithLanguage adds the language to the public get root categories params

func (*PublicGetRootCategoriesParams) WithNamespace

WithNamespace adds the namespace to the public get root categories params

func (*PublicGetRootCategoriesParams) WithStoreID

WithStoreID adds the storeID to the public get root categories params

func (*PublicGetRootCategoriesParams) WithTimeout

WithTimeout adds the timeout to the public get root categories params

func (*PublicGetRootCategoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetRootCategoriesReader

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

PublicGetRootCategoriesReader is a Reader for the PublicGetRootCategories structure.

func (*PublicGetRootCategoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCategoryBadRequest

type UpdateCategoryBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateCategoryBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30021</td><td>Default language [{language}] required</td></tr></table>

func NewUpdateCategoryBadRequest

func NewUpdateCategoryBadRequest() *UpdateCategoryBadRequest

NewUpdateCategoryBadRequest creates a UpdateCategoryBadRequest with default headers values

func (*UpdateCategoryBadRequest) Error

func (o *UpdateCategoryBadRequest) Error() string

func (*UpdateCategoryBadRequest) GetPayload

func (*UpdateCategoryBadRequest) ToJSONString added in v0.25.0

func (o *UpdateCategoryBadRequest) ToJSONString() string

type UpdateCategoryConflict

type UpdateCategoryConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateCategoryConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30173</td><td>Published store can't modify content</td></tr></table>

func NewUpdateCategoryConflict

func NewUpdateCategoryConflict() *UpdateCategoryConflict

NewUpdateCategoryConflict creates a UpdateCategoryConflict with default headers values

func (*UpdateCategoryConflict) Error

func (o *UpdateCategoryConflict) Error() string

func (*UpdateCategoryConflict) GetPayload

func (*UpdateCategoryConflict) ToJSONString added in v0.25.0

func (o *UpdateCategoryConflict) ToJSONString() string

type UpdateCategoryNotFound

type UpdateCategoryNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateCategoryNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30241</td><td>Category [{categoryPath}] does not exist in namespace [{namespace}]</td></tr></table>

func NewUpdateCategoryNotFound

func NewUpdateCategoryNotFound() *UpdateCategoryNotFound

NewUpdateCategoryNotFound creates a UpdateCategoryNotFound with default headers values

func (*UpdateCategoryNotFound) Error

func (o *UpdateCategoryNotFound) Error() string

func (*UpdateCategoryNotFound) GetPayload

func (*UpdateCategoryNotFound) ToJSONString added in v0.25.0

func (o *UpdateCategoryNotFound) ToJSONString() string

type UpdateCategoryOK

type UpdateCategoryOK struct {
	Payload *platformclientmodels.FullCategoryInfo
}

UpdateCategoryOK handles this case with default header values.

successful operation

func NewUpdateCategoryOK

func NewUpdateCategoryOK() *UpdateCategoryOK

NewUpdateCategoryOK creates a UpdateCategoryOK with default headers values

func (*UpdateCategoryOK) Error

func (o *UpdateCategoryOK) Error() string

func (*UpdateCategoryOK) GetPayload

func (*UpdateCategoryOK) ToJSONString added in v0.25.0

func (o *UpdateCategoryOK) ToJSONString() string

type UpdateCategoryParams

type UpdateCategoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.CategoryUpdate
	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*StoreID*/
	StoreID string

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

UpdateCategoryParams contains all the parameters to send to the API endpoint for the update category operation typically these are written to a http.Request

func NewUpdateCategoryParams

func NewUpdateCategoryParams() *UpdateCategoryParams

NewUpdateCategoryParams creates a new UpdateCategoryParams object with the default values initialized.

func NewUpdateCategoryParamsWithContext

func NewUpdateCategoryParamsWithContext(ctx context.Context) *UpdateCategoryParams

NewUpdateCategoryParamsWithContext creates a new UpdateCategoryParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateCategoryParamsWithHTTPClient

func NewUpdateCategoryParamsWithHTTPClient(client *http.Client) *UpdateCategoryParams

NewUpdateCategoryParamsWithHTTPClient creates a new UpdateCategoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateCategoryParamsWithTimeout

func NewUpdateCategoryParamsWithTimeout(timeout time.Duration) *UpdateCategoryParams

NewUpdateCategoryParamsWithTimeout creates a new UpdateCategoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateCategoryParams) SetAuthInfoWriter added in v0.17.0

func (o *UpdateCategoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update category params

func (*UpdateCategoryParams) SetBody

SetBody adds the body to the update category params

func (*UpdateCategoryParams) SetCategoryPath

func (o *UpdateCategoryParams) SetCategoryPath(categoryPath string)

SetCategoryPath adds the categoryPath to the update category params

func (*UpdateCategoryParams) SetContext

func (o *UpdateCategoryParams) SetContext(ctx context.Context)

SetContext adds the context to the update category params

func (*UpdateCategoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update category params

func (*UpdateCategoryParams) SetHTTPClientTransport added in v0.19.0

func (o *UpdateCategoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update category params

func (*UpdateCategoryParams) SetNamespace

func (o *UpdateCategoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update category params

func (*UpdateCategoryParams) SetStoreID

func (o *UpdateCategoryParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the update category params

func (*UpdateCategoryParams) SetTimeout

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

SetTimeout adds the timeout to the update category params

func (*UpdateCategoryParams) WithBody

WithBody adds the body to the update category params

func (*UpdateCategoryParams) WithCategoryPath

func (o *UpdateCategoryParams) WithCategoryPath(categoryPath string) *UpdateCategoryParams

WithCategoryPath adds the categoryPath to the update category params

func (*UpdateCategoryParams) WithContext

WithContext adds the context to the update category params

func (*UpdateCategoryParams) WithHTTPClient

func (o *UpdateCategoryParams) WithHTTPClient(client *http.Client) *UpdateCategoryParams

WithHTTPClient adds the HTTPClient to the update category params

func (*UpdateCategoryParams) WithNamespace

func (o *UpdateCategoryParams) WithNamespace(namespace string) *UpdateCategoryParams

WithNamespace adds the namespace to the update category params

func (*UpdateCategoryParams) WithStoreID

func (o *UpdateCategoryParams) WithStoreID(storeID string) *UpdateCategoryParams

WithStoreID adds the storeID to the update category params

func (*UpdateCategoryParams) WithTimeout

func (o *UpdateCategoryParams) WithTimeout(timeout time.Duration) *UpdateCategoryParams

WithTimeout adds the timeout to the update category params

func (*UpdateCategoryParams) WriteToRequest

func (o *UpdateCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateCategoryReader

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

UpdateCategoryReader is a Reader for the UpdateCategory structure.

func (*UpdateCategoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCategoryUnprocessableEntity

type UpdateCategoryUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateCategoryUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewUpdateCategoryUnprocessableEntity

func NewUpdateCategoryUnprocessableEntity() *UpdateCategoryUnprocessableEntity

NewUpdateCategoryUnprocessableEntity creates a UpdateCategoryUnprocessableEntity with default headers values

func (*UpdateCategoryUnprocessableEntity) Error

func (*UpdateCategoryUnprocessableEntity) GetPayload

func (*UpdateCategoryUnprocessableEntity) ToJSONString added in v0.25.0

func (o *UpdateCategoryUnprocessableEntity) ToJSONString() string

Jump to

Keyboard shortcuts

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