category

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 12 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

  CreateCategory creates category

  This API is used to create category.<p>A category is a path separated by "/". A category also has localized display names. Example:<p><pre><code>{
	"categoryPath": "/games",
	"localizationDisplayNames": \{"en" : "Games"}
}</code></pre>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=1 (CREATE)</li><li><i>Returns</i>: created category data</li></ul>

func (*Client) DeleteCategory

DeleteCategory deletes category

This API is used to delete category by category path. <p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=8 (DELETE)</li><li><i>Returns</i>: the deleted category data</li></ul>

func (*Client) DownloadCategories

DownloadCategories downloads store s structured categories

This API is used to download store's structured categories.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store content)</li><li><i>Returns</i>: structured categories</li></ul>

func (*Client) GetCategory

GetCategory gets category

This API is used to get category by category path.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)</li><li><i>Returns</i>: category data</li></ul>

func (*Client) GetChildCategories

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

GetChildCategories gets child categories

This API is used to get child categories by category path.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)</li><li><i>Returns</i>: list of child categories data</li></ul>

func (*Client) GetDescendantCategories

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

GetDescendantCategories gets descendant categories

This API is used to get descendant categories by category path.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)</li><li><i>Returns</i>: list of descendant categories data</li></ul>

func (*Client) GetRootCategories

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

GetRootCategories gets root categories

This API is used to get root categories.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)</li><li><i>Returns</i>: root category data</li></ul>

func (*Client) ListCategoriesBasic

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

ListCategoriesBasic lists categories basic info

This API is used to list all categories' basic info of a store ordered by category path.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=2 (READ)</li><li><i>Returns</i>: list of categories' paths</li></ul>

func (*Client) PublicGetCategory

PublicGetCategory gets category

This API is used to get category by category path.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="SANDBOX", action=1 (CREATE)(user with this permission can view draft store category)</li><li><i>Returns</i>: category data</li></ul>

func (*Client) PublicGetChildCategories

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

PublicGetChildCategories gets child categories

This API is used to get child categories by category path.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Returns</i>: list of child categories data</li></ul>

func (*Client) PublicGetDescendantCategories

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

PublicGetDescendantCategories gets descendant categories

This API is used to get descendant categories by category path.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Returns</i>: list of descendant categories data</li></ul>

func (*Client) PublicGetRootCategories

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

PublicGetRootCategories gets root categories

This API is used to get root categories.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Returns</i>: root category data</li></ul>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCategory

  UpdateCategory updates category

  This API is used to update category. <p> The category update data is a category object, example as:<pre><code>{
	"storeId": "store-id",
	"localizationDisplayNames": {"en" : "Games"}
}</code></pre>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:CATEGORY", action=4 (UPDATE)</li><li><i>Returns</i>: the updated category data</li></ul>

type ClientService

type ClientService interface {
	CreateCategory(params *CreateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCategoryCreated, *CreateCategoryBadRequest, *CreateCategoryNotFound, *CreateCategoryConflict, *CreateCategoryUnprocessableEntity, error)

	DeleteCategory(params *DeleteCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCategoryOK, *DeleteCategoryNotFound, *DeleteCategoryConflict, error)

	DownloadCategories(params *DownloadCategoriesParams) (*DownloadCategoriesOK, *DownloadCategoriesNotFound, error)

	GetCategory(params *GetCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCategoryOK, *GetCategoryNotFound, error)

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

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

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

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

	PublicGetCategory(params *PublicGetCategoryParams) (*PublicGetCategoryOK, *PublicGetCategoryNotFound, error)

	PublicGetChildCategories(params *PublicGetChildCategoriesParams) (*PublicGetChildCategoriesOK, error)

	PublicGetDescendantCategories(params *PublicGetDescendantCategoriesParams) (*PublicGetDescendantCategoriesOK, error)

	PublicGetRootCategories(params *PublicGetRootCategoriesParams) (*PublicGetRootCategoriesOK, error)

	UpdateCategory(params *UpdateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCategoryOK, *UpdateCategoryBadRequest, *UpdateCategoryNotFound, *UpdateCategoryConflict, *UpdateCategoryUnprocessableEntity, 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

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

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

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

type CreateCategoryParams

type CreateCategoryParams struct {

	/*Body*/
	Body *platformclientmodels.CategoryCreate
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*StoreID*/
	StoreID string

	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) 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) 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

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

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

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

type DeleteCategoryParams

type DeleteCategoryParams struct {

	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*StoreID*/
	StoreID string

	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) 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) 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

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

type DownloadCategoriesParams

type DownloadCategoriesParams struct {

	/*Language*/
	Language *string
	/*Namespace
	  Namespace

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

	*/
	StoreID *string

	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) 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) 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

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

type GetCategoryParams

type GetCategoryParams struct {

	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

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

	*/
	StoreID *string

	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) 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) 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

type GetChildCategoriesParams

type GetChildCategoriesParams struct {

	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

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

	*/
	StoreID *string

	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) 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) 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

type GetDescendantCategoriesParams

type GetDescendantCategoriesParams struct {

	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

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

	*/
	StoreID *string

	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) 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) 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

type GetRootCategoriesParams

type GetRootCategoriesParams struct {

	/*Namespace
	  Namespace

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

	*/
	StoreID *string

	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) 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) 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

type ListCategoriesBasicParams

type ListCategoriesBasicParams struct {

	/*Namespace
	  Namespace

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

	*/
	StoreID *string

	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) 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) 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

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

type PublicGetCategoryParams

type PublicGetCategoryParams struct {

	/*CategoryPath*/
	CategoryPath string
	/*Language*/
	Language *string
	/*Namespace
	  Namespace

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

	*/
	StoreID *string

	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) 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) 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

type PublicGetChildCategoriesParams

type PublicGetChildCategoriesParams struct {

	/*CategoryPath*/
	CategoryPath string
	/*Language*/
	Language *string
	/*Namespace
	  Namespace

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

	*/
	StoreID *string

	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) 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) 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

type PublicGetDescendantCategoriesParams

type PublicGetDescendantCategoriesParams struct {

	/*CategoryPath*/
	CategoryPath string
	/*Language*/
	Language *string
	/*Namespace
	  Namespace

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

	*/
	StoreID *string

	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) 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) 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

type PublicGetRootCategoriesParams

type PublicGetRootCategoriesParams struct {

	/*Language*/
	Language *string
	/*Namespace
	  Namespace

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

	*/
	StoreID *string

	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) 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) 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

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

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

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

type UpdateCategoryParams

type UpdateCategoryParams struct {

	/*Body*/
	Body *platformclientmodels.CategoryUpdate
	/*CategoryPath*/
	CategoryPath string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*StoreID*/
	StoreID string

	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) 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) 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

Jump to

Keyboard shortcuts

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