Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateCategory(params *CreateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCategoryCreated, *CreateCategoryBadRequest, *CreateCategoryNotFound, ...)
- func (a *Client) CreateCategoryShort(params *CreateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCategoryCreated, error)
- func (a *Client) DeleteCategory(params *DeleteCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCategoryOK, *DeleteCategoryNotFound, *DeleteCategoryConflict, error)
- func (a *Client) DeleteCategoryShort(params *DeleteCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCategoryOK, error)
- func (a *Client) DownloadCategories(params *DownloadCategoriesParams) (*DownloadCategoriesOK, *DownloadCategoriesNotFound, error)
- func (a *Client) DownloadCategoriesShort(params *DownloadCategoriesParams) (*DownloadCategoriesOK, error)
- func (a *Client) GetCategory(params *GetCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCategoryOK, *GetCategoryNotFound, error)
- func (a *Client) GetCategoryShort(params *GetCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCategoryOK, error)
- func (a *Client) GetChildCategories(params *GetChildCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChildCategoriesOK, error)
- func (a *Client) GetChildCategoriesShort(params *GetChildCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChildCategoriesOK, error)
- func (a *Client) GetDescendantCategories(params *GetDescendantCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDescendantCategoriesOK, error)
- func (a *Client) GetDescendantCategoriesShort(params *GetDescendantCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDescendantCategoriesOK, error)
- func (a *Client) GetRootCategories(params *GetRootCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRootCategoriesOK, error)
- func (a *Client) GetRootCategoriesShort(params *GetRootCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRootCategoriesOK, error)
- func (a *Client) ListCategoriesBasic(params *ListCategoriesBasicParams, authInfo runtime.ClientAuthInfoWriter) (*ListCategoriesBasicOK, error)
- func (a *Client) ListCategoriesBasicShort(params *ListCategoriesBasicParams, authInfo runtime.ClientAuthInfoWriter) (*ListCategoriesBasicOK, error)
- func (a *Client) PublicGetCategory(params *PublicGetCategoryParams) (*PublicGetCategoryOK, *PublicGetCategoryNotFound, error)
- func (a *Client) PublicGetCategoryShort(params *PublicGetCategoryParams) (*PublicGetCategoryOK, error)
- func (a *Client) PublicGetChildCategories(params *PublicGetChildCategoriesParams) (*PublicGetChildCategoriesOK, error)
- func (a *Client) PublicGetChildCategoriesShort(params *PublicGetChildCategoriesParams) (*PublicGetChildCategoriesOK, error)
- func (a *Client) PublicGetDescendantCategories(params *PublicGetDescendantCategoriesParams) (*PublicGetDescendantCategoriesOK, error)
- func (a *Client) PublicGetDescendantCategoriesShort(params *PublicGetDescendantCategoriesParams) (*PublicGetDescendantCategoriesOK, error)
- func (a *Client) PublicGetRootCategories(params *PublicGetRootCategoriesParams) (*PublicGetRootCategoriesOK, error)
- func (a *Client) PublicGetRootCategoriesShort(params *PublicGetRootCategoriesParams) (*PublicGetRootCategoriesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCategory(params *UpdateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCategoryOK, *UpdateCategoryBadRequest, *UpdateCategoryNotFound, ...)
- func (a *Client) UpdateCategoryShort(params *UpdateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCategoryOK, error)
- type ClientService
- type CreateCategoryBadRequest
- type CreateCategoryConflict
- type CreateCategoryCreated
- type CreateCategoryNotFound
- type CreateCategoryParams
- func NewCreateCategoryParams() *CreateCategoryParams
- func NewCreateCategoryParamsWithContext(ctx context.Context) *CreateCategoryParams
- func NewCreateCategoryParamsWithHTTPClient(client *http.Client) *CreateCategoryParams
- func NewCreateCategoryParamsWithTimeout(timeout time.Duration) *CreateCategoryParams
- func (o *CreateCategoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateCategoryParams) SetBody(body *platformclientmodels.CategoryCreate)
- func (o *CreateCategoryParams) SetContext(ctx context.Context)
- func (o *CreateCategoryParams) SetHTTPClient(client *http.Client)
- func (o *CreateCategoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateCategoryParams) SetNamespace(namespace string)
- func (o *CreateCategoryParams) SetStoreID(storeID string)
- func (o *CreateCategoryParams) SetTimeout(timeout time.Duration)
- func (o *CreateCategoryParams) WithBody(body *platformclientmodels.CategoryCreate) *CreateCategoryParams
- func (o *CreateCategoryParams) WithContext(ctx context.Context) *CreateCategoryParams
- func (o *CreateCategoryParams) WithHTTPClient(client *http.Client) *CreateCategoryParams
- func (o *CreateCategoryParams) WithNamespace(namespace string) *CreateCategoryParams
- func (o *CreateCategoryParams) WithStoreID(storeID string) *CreateCategoryParams
- func (o *CreateCategoryParams) WithTimeout(timeout time.Duration) *CreateCategoryParams
- func (o *CreateCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCategoryReader
- type CreateCategoryUnprocessableEntity
- type DeleteCategoryConflict
- type DeleteCategoryNotFound
- type DeleteCategoryOK
- type DeleteCategoryParams
- func NewDeleteCategoryParams() *DeleteCategoryParams
- func NewDeleteCategoryParamsWithContext(ctx context.Context) *DeleteCategoryParams
- func NewDeleteCategoryParamsWithHTTPClient(client *http.Client) *DeleteCategoryParams
- func NewDeleteCategoryParamsWithTimeout(timeout time.Duration) *DeleteCategoryParams
- func (o *DeleteCategoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteCategoryParams) SetCategoryPath(categoryPath string)
- func (o *DeleteCategoryParams) SetContext(ctx context.Context)
- func (o *DeleteCategoryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCategoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteCategoryParams) SetNamespace(namespace string)
- func (o *DeleteCategoryParams) SetStoreID(storeID string)
- func (o *DeleteCategoryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCategoryParams) WithCategoryPath(categoryPath string) *DeleteCategoryParams
- func (o *DeleteCategoryParams) WithContext(ctx context.Context) *DeleteCategoryParams
- func (o *DeleteCategoryParams) WithHTTPClient(client *http.Client) *DeleteCategoryParams
- func (o *DeleteCategoryParams) WithNamespace(namespace string) *DeleteCategoryParams
- func (o *DeleteCategoryParams) WithStoreID(storeID string) *DeleteCategoryParams
- func (o *DeleteCategoryParams) WithTimeout(timeout time.Duration) *DeleteCategoryParams
- func (o *DeleteCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCategoryReader
- type DownloadCategoriesNotFound
- type DownloadCategoriesOK
- type DownloadCategoriesParams
- func NewDownloadCategoriesParams() *DownloadCategoriesParams
- func NewDownloadCategoriesParamsWithContext(ctx context.Context) *DownloadCategoriesParams
- func NewDownloadCategoriesParamsWithHTTPClient(client *http.Client) *DownloadCategoriesParams
- func NewDownloadCategoriesParamsWithTimeout(timeout time.Duration) *DownloadCategoriesParams
- func (o *DownloadCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DownloadCategoriesParams) SetContext(ctx context.Context)
- func (o *DownloadCategoriesParams) SetHTTPClient(client *http.Client)
- func (o *DownloadCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DownloadCategoriesParams) SetLanguage(language *string)
- func (o *DownloadCategoriesParams) SetNamespace(namespace string)
- func (o *DownloadCategoriesParams) SetStoreID(storeID *string)
- func (o *DownloadCategoriesParams) SetTimeout(timeout time.Duration)
- func (o *DownloadCategoriesParams) WithContext(ctx context.Context) *DownloadCategoriesParams
- func (o *DownloadCategoriesParams) WithHTTPClient(client *http.Client) *DownloadCategoriesParams
- func (o *DownloadCategoriesParams) WithLanguage(language *string) *DownloadCategoriesParams
- func (o *DownloadCategoriesParams) WithNamespace(namespace string) *DownloadCategoriesParams
- func (o *DownloadCategoriesParams) WithStoreID(storeID *string) *DownloadCategoriesParams
- func (o *DownloadCategoriesParams) WithTimeout(timeout time.Duration) *DownloadCategoriesParams
- func (o *DownloadCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadCategoriesReader
- type GetCategoryNotFound
- type GetCategoryOK
- type GetCategoryParams
- func (o *GetCategoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetCategoryParams) SetCategoryPath(categoryPath string)
- func (o *GetCategoryParams) SetContext(ctx context.Context)
- func (o *GetCategoryParams) SetHTTPClient(client *http.Client)
- func (o *GetCategoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetCategoryParams) SetNamespace(namespace string)
- func (o *GetCategoryParams) SetStoreID(storeID *string)
- func (o *GetCategoryParams) SetTimeout(timeout time.Duration)
- func (o *GetCategoryParams) WithCategoryPath(categoryPath string) *GetCategoryParams
- func (o *GetCategoryParams) WithContext(ctx context.Context) *GetCategoryParams
- func (o *GetCategoryParams) WithHTTPClient(client *http.Client) *GetCategoryParams
- func (o *GetCategoryParams) WithNamespace(namespace string) *GetCategoryParams
- func (o *GetCategoryParams) WithStoreID(storeID *string) *GetCategoryParams
- func (o *GetCategoryParams) WithTimeout(timeout time.Duration) *GetCategoryParams
- func (o *GetCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCategoryReader
- type GetChildCategoriesOK
- type GetChildCategoriesParams
- func NewGetChildCategoriesParams() *GetChildCategoriesParams
- func NewGetChildCategoriesParamsWithContext(ctx context.Context) *GetChildCategoriesParams
- func NewGetChildCategoriesParamsWithHTTPClient(client *http.Client) *GetChildCategoriesParams
- func NewGetChildCategoriesParamsWithTimeout(timeout time.Duration) *GetChildCategoriesParams
- func (o *GetChildCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetChildCategoriesParams) SetCategoryPath(categoryPath string)
- func (o *GetChildCategoriesParams) SetContext(ctx context.Context)
- func (o *GetChildCategoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetChildCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetChildCategoriesParams) SetNamespace(namespace string)
- func (o *GetChildCategoriesParams) SetStoreID(storeID *string)
- func (o *GetChildCategoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetChildCategoriesParams) WithCategoryPath(categoryPath string) *GetChildCategoriesParams
- func (o *GetChildCategoriesParams) WithContext(ctx context.Context) *GetChildCategoriesParams
- func (o *GetChildCategoriesParams) WithHTTPClient(client *http.Client) *GetChildCategoriesParams
- func (o *GetChildCategoriesParams) WithNamespace(namespace string) *GetChildCategoriesParams
- func (o *GetChildCategoriesParams) WithStoreID(storeID *string) *GetChildCategoriesParams
- func (o *GetChildCategoriesParams) WithTimeout(timeout time.Duration) *GetChildCategoriesParams
- func (o *GetChildCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetChildCategoriesReader
- type GetDescendantCategoriesOK
- type GetDescendantCategoriesParams
- func NewGetDescendantCategoriesParams() *GetDescendantCategoriesParams
- func NewGetDescendantCategoriesParamsWithContext(ctx context.Context) *GetDescendantCategoriesParams
- func NewGetDescendantCategoriesParamsWithHTTPClient(client *http.Client) *GetDescendantCategoriesParams
- func NewGetDescendantCategoriesParamsWithTimeout(timeout time.Duration) *GetDescendantCategoriesParams
- func (o *GetDescendantCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetDescendantCategoriesParams) SetCategoryPath(categoryPath string)
- func (o *GetDescendantCategoriesParams) SetContext(ctx context.Context)
- func (o *GetDescendantCategoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetDescendantCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetDescendantCategoriesParams) SetNamespace(namespace string)
- func (o *GetDescendantCategoriesParams) SetStoreID(storeID *string)
- func (o *GetDescendantCategoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetDescendantCategoriesParams) WithCategoryPath(categoryPath string) *GetDescendantCategoriesParams
- func (o *GetDescendantCategoriesParams) WithContext(ctx context.Context) *GetDescendantCategoriesParams
- func (o *GetDescendantCategoriesParams) WithHTTPClient(client *http.Client) *GetDescendantCategoriesParams
- func (o *GetDescendantCategoriesParams) WithNamespace(namespace string) *GetDescendantCategoriesParams
- func (o *GetDescendantCategoriesParams) WithStoreID(storeID *string) *GetDescendantCategoriesParams
- func (o *GetDescendantCategoriesParams) WithTimeout(timeout time.Duration) *GetDescendantCategoriesParams
- func (o *GetDescendantCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDescendantCategoriesReader
- type GetRootCategoriesOK
- type GetRootCategoriesParams
- func NewGetRootCategoriesParams() *GetRootCategoriesParams
- func NewGetRootCategoriesParamsWithContext(ctx context.Context) *GetRootCategoriesParams
- func NewGetRootCategoriesParamsWithHTTPClient(client *http.Client) *GetRootCategoriesParams
- func NewGetRootCategoriesParamsWithTimeout(timeout time.Duration) *GetRootCategoriesParams
- func (o *GetRootCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetRootCategoriesParams) SetContext(ctx context.Context)
- func (o *GetRootCategoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetRootCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetRootCategoriesParams) SetNamespace(namespace string)
- func (o *GetRootCategoriesParams) SetStoreID(storeID *string)
- func (o *GetRootCategoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetRootCategoriesParams) WithContext(ctx context.Context) *GetRootCategoriesParams
- func (o *GetRootCategoriesParams) WithHTTPClient(client *http.Client) *GetRootCategoriesParams
- func (o *GetRootCategoriesParams) WithNamespace(namespace string) *GetRootCategoriesParams
- func (o *GetRootCategoriesParams) WithStoreID(storeID *string) *GetRootCategoriesParams
- func (o *GetRootCategoriesParams) WithTimeout(timeout time.Duration) *GetRootCategoriesParams
- func (o *GetRootCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRootCategoriesReader
- type ListCategoriesBasicOK
- type ListCategoriesBasicParams
- func NewListCategoriesBasicParams() *ListCategoriesBasicParams
- func NewListCategoriesBasicParamsWithContext(ctx context.Context) *ListCategoriesBasicParams
- func NewListCategoriesBasicParamsWithHTTPClient(client *http.Client) *ListCategoriesBasicParams
- func NewListCategoriesBasicParamsWithTimeout(timeout time.Duration) *ListCategoriesBasicParams
- func (o *ListCategoriesBasicParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListCategoriesBasicParams) SetContext(ctx context.Context)
- func (o *ListCategoriesBasicParams) SetHTTPClient(client *http.Client)
- func (o *ListCategoriesBasicParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListCategoriesBasicParams) SetNamespace(namespace string)
- func (o *ListCategoriesBasicParams) SetStoreID(storeID *string)
- func (o *ListCategoriesBasicParams) SetTimeout(timeout time.Duration)
- func (o *ListCategoriesBasicParams) WithContext(ctx context.Context) *ListCategoriesBasicParams
- func (o *ListCategoriesBasicParams) WithHTTPClient(client *http.Client) *ListCategoriesBasicParams
- func (o *ListCategoriesBasicParams) WithNamespace(namespace string) *ListCategoriesBasicParams
- func (o *ListCategoriesBasicParams) WithStoreID(storeID *string) *ListCategoriesBasicParams
- func (o *ListCategoriesBasicParams) WithTimeout(timeout time.Duration) *ListCategoriesBasicParams
- func (o *ListCategoriesBasicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCategoriesBasicReader
- type PublicGetCategoryNotFound
- type PublicGetCategoryOK
- type PublicGetCategoryParams
- func NewPublicGetCategoryParams() *PublicGetCategoryParams
- func NewPublicGetCategoryParamsWithContext(ctx context.Context) *PublicGetCategoryParams
- func NewPublicGetCategoryParamsWithHTTPClient(client *http.Client) *PublicGetCategoryParams
- func NewPublicGetCategoryParamsWithTimeout(timeout time.Duration) *PublicGetCategoryParams
- func (o *PublicGetCategoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetCategoryParams) SetCategoryPath(categoryPath string)
- func (o *PublicGetCategoryParams) SetContext(ctx context.Context)
- func (o *PublicGetCategoryParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetCategoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetCategoryParams) SetLanguage(language *string)
- func (o *PublicGetCategoryParams) SetNamespace(namespace string)
- func (o *PublicGetCategoryParams) SetStoreID(storeID *string)
- func (o *PublicGetCategoryParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetCategoryParams) WithCategoryPath(categoryPath string) *PublicGetCategoryParams
- func (o *PublicGetCategoryParams) WithContext(ctx context.Context) *PublicGetCategoryParams
- func (o *PublicGetCategoryParams) WithHTTPClient(client *http.Client) *PublicGetCategoryParams
- func (o *PublicGetCategoryParams) WithLanguage(language *string) *PublicGetCategoryParams
- func (o *PublicGetCategoryParams) WithNamespace(namespace string) *PublicGetCategoryParams
- func (o *PublicGetCategoryParams) WithStoreID(storeID *string) *PublicGetCategoryParams
- func (o *PublicGetCategoryParams) WithTimeout(timeout time.Duration) *PublicGetCategoryParams
- func (o *PublicGetCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetCategoryReader
- type PublicGetChildCategoriesOK
- type PublicGetChildCategoriesParams
- func NewPublicGetChildCategoriesParams() *PublicGetChildCategoriesParams
- func NewPublicGetChildCategoriesParamsWithContext(ctx context.Context) *PublicGetChildCategoriesParams
- func NewPublicGetChildCategoriesParamsWithHTTPClient(client *http.Client) *PublicGetChildCategoriesParams
- func NewPublicGetChildCategoriesParamsWithTimeout(timeout time.Duration) *PublicGetChildCategoriesParams
- func (o *PublicGetChildCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetChildCategoriesParams) SetCategoryPath(categoryPath string)
- func (o *PublicGetChildCategoriesParams) SetContext(ctx context.Context)
- func (o *PublicGetChildCategoriesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetChildCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetChildCategoriesParams) SetLanguage(language *string)
- func (o *PublicGetChildCategoriesParams) SetNamespace(namespace string)
- func (o *PublicGetChildCategoriesParams) SetStoreID(storeID *string)
- func (o *PublicGetChildCategoriesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetChildCategoriesParams) WithCategoryPath(categoryPath string) *PublicGetChildCategoriesParams
- func (o *PublicGetChildCategoriesParams) WithContext(ctx context.Context) *PublicGetChildCategoriesParams
- func (o *PublicGetChildCategoriesParams) WithHTTPClient(client *http.Client) *PublicGetChildCategoriesParams
- func (o *PublicGetChildCategoriesParams) WithLanguage(language *string) *PublicGetChildCategoriesParams
- func (o *PublicGetChildCategoriesParams) WithNamespace(namespace string) *PublicGetChildCategoriesParams
- func (o *PublicGetChildCategoriesParams) WithStoreID(storeID *string) *PublicGetChildCategoriesParams
- func (o *PublicGetChildCategoriesParams) WithTimeout(timeout time.Duration) *PublicGetChildCategoriesParams
- func (o *PublicGetChildCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetChildCategoriesReader
- type PublicGetDescendantCategoriesOK
- type PublicGetDescendantCategoriesParams
- func NewPublicGetDescendantCategoriesParams() *PublicGetDescendantCategoriesParams
- func NewPublicGetDescendantCategoriesParamsWithContext(ctx context.Context) *PublicGetDescendantCategoriesParams
- func NewPublicGetDescendantCategoriesParamsWithHTTPClient(client *http.Client) *PublicGetDescendantCategoriesParams
- func NewPublicGetDescendantCategoriesParamsWithTimeout(timeout time.Duration) *PublicGetDescendantCategoriesParams
- func (o *PublicGetDescendantCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetDescendantCategoriesParams) SetCategoryPath(categoryPath string)
- func (o *PublicGetDescendantCategoriesParams) SetContext(ctx context.Context)
- func (o *PublicGetDescendantCategoriesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetDescendantCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetDescendantCategoriesParams) SetLanguage(language *string)
- func (o *PublicGetDescendantCategoriesParams) SetNamespace(namespace string)
- func (o *PublicGetDescendantCategoriesParams) SetStoreID(storeID *string)
- func (o *PublicGetDescendantCategoriesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetDescendantCategoriesParams) WithCategoryPath(categoryPath string) *PublicGetDescendantCategoriesParams
- func (o *PublicGetDescendantCategoriesParams) WithContext(ctx context.Context) *PublicGetDescendantCategoriesParams
- func (o *PublicGetDescendantCategoriesParams) WithHTTPClient(client *http.Client) *PublicGetDescendantCategoriesParams
- func (o *PublicGetDescendantCategoriesParams) WithLanguage(language *string) *PublicGetDescendantCategoriesParams
- func (o *PublicGetDescendantCategoriesParams) WithNamespace(namespace string) *PublicGetDescendantCategoriesParams
- func (o *PublicGetDescendantCategoriesParams) WithStoreID(storeID *string) *PublicGetDescendantCategoriesParams
- func (o *PublicGetDescendantCategoriesParams) WithTimeout(timeout time.Duration) *PublicGetDescendantCategoriesParams
- func (o *PublicGetDescendantCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetDescendantCategoriesReader
- type PublicGetRootCategoriesOK
- type PublicGetRootCategoriesParams
- func NewPublicGetRootCategoriesParams() *PublicGetRootCategoriesParams
- func NewPublicGetRootCategoriesParamsWithContext(ctx context.Context) *PublicGetRootCategoriesParams
- func NewPublicGetRootCategoriesParamsWithHTTPClient(client *http.Client) *PublicGetRootCategoriesParams
- func NewPublicGetRootCategoriesParamsWithTimeout(timeout time.Duration) *PublicGetRootCategoriesParams
- func (o *PublicGetRootCategoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetRootCategoriesParams) SetContext(ctx context.Context)
- func (o *PublicGetRootCategoriesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetRootCategoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetRootCategoriesParams) SetLanguage(language *string)
- func (o *PublicGetRootCategoriesParams) SetNamespace(namespace string)
- func (o *PublicGetRootCategoriesParams) SetStoreID(storeID *string)
- func (o *PublicGetRootCategoriesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetRootCategoriesParams) WithContext(ctx context.Context) *PublicGetRootCategoriesParams
- func (o *PublicGetRootCategoriesParams) WithHTTPClient(client *http.Client) *PublicGetRootCategoriesParams
- func (o *PublicGetRootCategoriesParams) WithLanguage(language *string) *PublicGetRootCategoriesParams
- func (o *PublicGetRootCategoriesParams) WithNamespace(namespace string) *PublicGetRootCategoriesParams
- func (o *PublicGetRootCategoriesParams) WithStoreID(storeID *string) *PublicGetRootCategoriesParams
- func (o *PublicGetRootCategoriesParams) WithTimeout(timeout time.Duration) *PublicGetRootCategoriesParams
- func (o *PublicGetRootCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetRootCategoriesReader
- type UpdateCategoryBadRequest
- type UpdateCategoryConflict
- type UpdateCategoryNotFound
- type UpdateCategoryOK
- type UpdateCategoryParams
- func NewUpdateCategoryParams() *UpdateCategoryParams
- func NewUpdateCategoryParamsWithContext(ctx context.Context) *UpdateCategoryParams
- func NewUpdateCategoryParamsWithHTTPClient(client *http.Client) *UpdateCategoryParams
- func NewUpdateCategoryParamsWithTimeout(timeout time.Duration) *UpdateCategoryParams
- func (o *UpdateCategoryParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateCategoryParams) SetBody(body *platformclientmodels.CategoryUpdate)
- func (o *UpdateCategoryParams) SetCategoryPath(categoryPath string)
- func (o *UpdateCategoryParams) SetContext(ctx context.Context)
- func (o *UpdateCategoryParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCategoryParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateCategoryParams) SetNamespace(namespace string)
- func (o *UpdateCategoryParams) SetStoreID(storeID string)
- func (o *UpdateCategoryParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCategoryParams) WithBody(body *platformclientmodels.CategoryUpdate) *UpdateCategoryParams
- func (o *UpdateCategoryParams) WithCategoryPath(categoryPath string) *UpdateCategoryParams
- func (o *UpdateCategoryParams) WithContext(ctx context.Context) *UpdateCategoryParams
- func (o *UpdateCategoryParams) WithHTTPClient(client *http.Client) *UpdateCategoryParams
- func (o *UpdateCategoryParams) WithNamespace(namespace string) *UpdateCategoryParams
- func (o *UpdateCategoryParams) WithStoreID(storeID string) *UpdateCategoryParams
- func (o *UpdateCategoryParams) WithTimeout(timeout time.Duration) *UpdateCategoryParams
- func (o *UpdateCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCategoryReader
- type UpdateCategoryUnprocessableEntity
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 ¶
func (a *Client) CreateCategory(params *CreateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCategoryCreated, *CreateCategoryBadRequest, *CreateCategoryNotFound, *CreateCategoryConflict, *CreateCategoryUnprocessableEntity, error)
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) CreateCategoryShort ¶ added in v0.8.0
func (a *Client) CreateCategoryShort(params *CreateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCategoryCreated, error)
func (*Client) DeleteCategory ¶
func (a *Client) DeleteCategory(params *DeleteCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCategoryOK, *DeleteCategoryNotFound, *DeleteCategoryConflict, error)
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) DeleteCategoryShort ¶ added in v0.8.0
func (a *Client) DeleteCategoryShort(params *DeleteCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCategoryOK, error)
func (*Client) DownloadCategories ¶
func (a *Client) DownloadCategories(params *DownloadCategoriesParams) (*DownloadCategoriesOK, *DownloadCategoriesNotFound, error)
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="PREVIEW", action=1(CREATE) (user with this permission can view draft store content)</li><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) DownloadCategoriesShort ¶ added in v0.8.0
func (a *Client) DownloadCategoriesShort(params *DownloadCategoriesParams) (*DownloadCategoriesOK, error)
func (*Client) GetCategory ¶
func (a *Client) GetCategory(params *GetCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCategoryOK, *GetCategoryNotFound, error)
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) GetCategoryShort ¶ added in v0.8.0
func (a *Client) GetCategoryShort(params *GetCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCategoryOK, error)
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) GetChildCategoriesShort ¶ added in v0.8.0
func (a *Client) GetChildCategoriesShort(params *GetChildCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetChildCategoriesOK, error)
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) GetDescendantCategoriesShort ¶ added in v0.8.0
func (a *Client) GetDescendantCategoriesShort(params *GetDescendantCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDescendantCategoriesOK, error)
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) GetRootCategoriesShort ¶ added in v0.8.0
func (a *Client) GetRootCategoriesShort(params *GetRootCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRootCategoriesOK, error)
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) ListCategoriesBasicShort ¶ added in v0.8.0
func (a *Client) ListCategoriesBasicShort(params *ListCategoriesBasicParams, authInfo runtime.ClientAuthInfoWriter) (*ListCategoriesBasicOK, error)
func (*Client) PublicGetCategory ¶
func (a *Client) PublicGetCategory(params *PublicGetCategoryParams) (*PublicGetCategoryOK, *PublicGetCategoryNotFound, error)
PublicGetCategory gets category
This API is used to get category by category path.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)</li><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) PublicGetCategoryShort ¶ added in v0.8.0
func (a *Client) PublicGetCategoryShort(params *PublicGetCategoryParams) (*PublicGetCategoryOK, error)
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="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)</li><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) PublicGetChildCategoriesShort ¶ added in v0.8.0
func (a *Client) PublicGetChildCategoriesShort(params *PublicGetChildCategoriesParams) (*PublicGetChildCategoriesOK, error)
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="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)</li><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) PublicGetDescendantCategoriesShort ¶ added in v0.8.0
func (a *Client) PublicGetDescendantCategoriesShort(params *PublicGetDescendantCategoriesParams) (*PublicGetDescendantCategoriesOK, error)
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="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)</li><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) PublicGetRootCategoriesShort ¶ added in v0.8.0
func (a *Client) PublicGetRootCategoriesShort(params *PublicGetRootCategoriesParams) (*PublicGetRootCategoriesOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCategory ¶
func (a *Client) UpdateCategory(params *UpdateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCategoryOK, *UpdateCategoryBadRequest, *UpdateCategoryNotFound, *UpdateCategoryConflict, *UpdateCategoryUnprocessableEntity, error)
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>
func (*Client) UpdateCategoryShort ¶ added in v0.8.0
func (a *Client) UpdateCategoryShort(params *UpdateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCategoryOK, error)
type ClientService ¶
type ClientService interface { CreateCategory(params *CreateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCategoryCreated, *CreateCategoryBadRequest, *CreateCategoryNotFound, *CreateCategoryConflict, *CreateCategoryUnprocessableEntity, error) CreateCategoryShort(params *CreateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCategoryCreated, error) DeleteCategory(params *DeleteCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCategoryOK, *DeleteCategoryNotFound, *DeleteCategoryConflict, error) DeleteCategoryShort(params *DeleteCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCategoryOK, error) DownloadCategories(params *DownloadCategoriesParams) (*DownloadCategoriesOK, *DownloadCategoriesNotFound, error) DownloadCategoriesShort(params *DownloadCategoriesParams) (*DownloadCategoriesOK, error) GetCategory(params *GetCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCategoryOK, *GetCategoryNotFound, error) GetCategoryShort(params *GetCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCategoryOK, 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) GetRootCategories(params *GetRootCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRootCategoriesOK, error) GetRootCategoriesShort(params *GetRootCategoriesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRootCategoriesOK, error) ListCategoriesBasic(params *ListCategoriesBasicParams, authInfo runtime.ClientAuthInfoWriter) (*ListCategoriesBasicOK, error) ListCategoriesBasicShort(params *ListCategoriesBasicParams, authInfo runtime.ClientAuthInfoWriter) (*ListCategoriesBasicOK, 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) PublicGetRootCategories(params *PublicGetRootCategoriesParams) (*PublicGetRootCategoriesOK, error) PublicGetRootCategoriesShort(params *PublicGetRootCategoriesParams) (*PublicGetRootCategoriesOK, error) UpdateCategory(params *UpdateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCategoryOK, *UpdateCategoryBadRequest, *UpdateCategoryNotFound, *UpdateCategoryConflict, *UpdateCategoryUnprocessableEntity, error) UpdateCategoryShort(params *UpdateCategoryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCategoryOK, 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 (o *CreateCategoryBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 (o *CreateCategoryConflict) GetPayload() *platformclientmodels.ErrorEntity
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 (o *CreateCategoryCreated) GetPayload() *platformclientmodels.FullCategoryInfo
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 (o *CreateCategoryNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *CreateCategoryParams) SetBody(body *platformclientmodels.CategoryCreate)
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 ¶
func (o *CreateCategoryParams) WithBody(body *platformclientmodels.CategoryCreate) *CreateCategoryParams
WithBody adds the body to the create category params
func (*CreateCategoryParams) WithContext ¶
func (o *CreateCategoryParams) WithContext(ctx context.Context) *CreateCategoryParams
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 (o *CreateCategoryUnprocessableEntity) Error() string
func (*CreateCategoryUnprocessableEntity) GetPayload ¶
func (o *CreateCategoryUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
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 (o *DeleteCategoryConflict) GetPayload() *platformclientmodels.ErrorEntity
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 (o *DeleteCategoryNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *DeleteCategoryOK) GetPayload() *platformclientmodels.FullCategoryInfo
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 ¶
func (o *DeleteCategoryParams) WithContext(ctx context.Context) *DeleteCategoryParams
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 (o *DownloadCategoriesNotFound) Error() string
func (*DownloadCategoriesNotFound) GetPayload ¶
func (o *DownloadCategoriesNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *DownloadCategoriesOK) GetPayload() []*platformclientmodels.HierarchicalCategoryInfo
type DownloadCategoriesParams ¶
type DownloadCategoriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Language*/ Language *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 }
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 ¶
func (o *DownloadCategoriesParams) WithContext(ctx context.Context) *DownloadCategoriesParams
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 ¶
func (o *DownloadCategoriesParams) WithTimeout(timeout time.Duration) *DownloadCategoriesParams
WithTimeout adds the timeout to the download categories params
func (*DownloadCategoriesParams) WriteToRequest ¶
func (o *DownloadCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetCategoryNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *GetCategoryOK) GetPayload() *platformclientmodels.FullCategoryInfo
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 (o *GetChildCategoriesOK) GetPayload() []*platformclientmodels.FullCategoryInfo
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 ¶
func (o *GetChildCategoriesParams) WithContext(ctx context.Context) *GetChildCategoriesParams
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 ¶
func (o *GetChildCategoriesParams) WithTimeout(timeout time.Duration) *GetChildCategoriesParams
WithTimeout adds the timeout to the get child categories params
func (*GetChildCategoriesParams) WriteToRequest ¶
func (o *GetChildCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetDescendantCategoriesOK) GetPayload() []*platformclientmodels.FullCategoryInfo
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 ¶
func (o *GetDescendantCategoriesParams) WithContext(ctx context.Context) *GetDescendantCategoriesParams
WithContext adds the context to the get descendant categories params
func (*GetDescendantCategoriesParams) WithHTTPClient ¶
func (o *GetDescendantCategoriesParams) WithHTTPClient(client *http.Client) *GetDescendantCategoriesParams
WithHTTPClient adds the HTTPClient to the get descendant categories params
func (*GetDescendantCategoriesParams) WithNamespace ¶
func (o *GetDescendantCategoriesParams) WithNamespace(namespace string) *GetDescendantCategoriesParams
WithNamespace adds the namespace to the get descendant categories params
func (*GetDescendantCategoriesParams) WithStoreID ¶
func (o *GetDescendantCategoriesParams) WithStoreID(storeID *string) *GetDescendantCategoriesParams
WithStoreID adds the storeID to the get descendant categories params
func (*GetDescendantCategoriesParams) WithTimeout ¶
func (o *GetDescendantCategoriesParams) WithTimeout(timeout time.Duration) *GetDescendantCategoriesParams
WithTimeout adds the timeout to the get descendant categories params
func (*GetDescendantCategoriesParams) WriteToRequest ¶
func (o *GetDescendantCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetRootCategoriesOK) GetPayload() []*platformclientmodels.FullCategoryInfo
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 ¶
func (o *GetRootCategoriesParams) WithContext(ctx context.Context) *GetRootCategoriesParams
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 ¶
func (o *GetRootCategoriesParams) WithTimeout(timeout time.Duration) *GetRootCategoriesParams
WithTimeout adds the timeout to the get root categories params
func (*GetRootCategoriesParams) WriteToRequest ¶
func (o *GetRootCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListCategoriesBasicOK) GetPayload() []*platformclientmodels.BasicCategoryInfo
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 ¶
func (o *ListCategoriesBasicParams) WithContext(ctx context.Context) *ListCategoriesBasicParams
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 ¶
func (o *ListCategoriesBasicParams) WithStoreID(storeID *string) *ListCategoriesBasicParams
WithStoreID adds the storeID to the list categories basic params
func (*ListCategoriesBasicParams) WithTimeout ¶
func (o *ListCategoriesBasicParams) WithTimeout(timeout time.Duration) *ListCategoriesBasicParams
WithTimeout adds the timeout to the list categories basic params
func (*ListCategoriesBasicParams) WriteToRequest ¶
func (o *ListCategoriesBasicParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicGetCategoryNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *PublicGetCategoryOK) GetPayload() *platformclientmodels.CategoryInfo
type PublicGetCategoryParams ¶
type PublicGetCategoryParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CategoryPath*/ CategoryPath string /*Language*/ Language *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 }
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 ¶
func (o *PublicGetCategoryParams) WithContext(ctx context.Context) *PublicGetCategoryParams
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 ¶
func (o *PublicGetCategoryParams) WithTimeout(timeout time.Duration) *PublicGetCategoryParams
WithTimeout adds the timeout to the public get category params
func (*PublicGetCategoryParams) WriteToRequest ¶
func (o *PublicGetCategoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicGetChildCategoriesOK) Error() string
func (*PublicGetChildCategoriesOK) GetPayload ¶
func (o *PublicGetChildCategoriesOK) GetPayload() []*platformclientmodels.CategoryInfo
type PublicGetChildCategoriesParams ¶
type PublicGetChildCategoriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CategoryPath*/ CategoryPath string /*Language*/ Language *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 }
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 ¶
func (o *PublicGetChildCategoriesParams) WithContext(ctx context.Context) *PublicGetChildCategoriesParams
WithContext adds the context to the public get child categories params
func (*PublicGetChildCategoriesParams) WithHTTPClient ¶
func (o *PublicGetChildCategoriesParams) WithHTTPClient(client *http.Client) *PublicGetChildCategoriesParams
WithHTTPClient adds the HTTPClient to the public get child categories params
func (*PublicGetChildCategoriesParams) WithLanguage ¶
func (o *PublicGetChildCategoriesParams) WithLanguage(language *string) *PublicGetChildCategoriesParams
WithLanguage adds the language to the public get child categories params
func (*PublicGetChildCategoriesParams) WithNamespace ¶
func (o *PublicGetChildCategoriesParams) WithNamespace(namespace string) *PublicGetChildCategoriesParams
WithNamespace adds the namespace to the public get child categories params
func (*PublicGetChildCategoriesParams) WithStoreID ¶
func (o *PublicGetChildCategoriesParams) WithStoreID(storeID *string) *PublicGetChildCategoriesParams
WithStoreID adds the storeID to the public get child categories params
func (*PublicGetChildCategoriesParams) WithTimeout ¶
func (o *PublicGetChildCategoriesParams) WithTimeout(timeout time.Duration) *PublicGetChildCategoriesParams
WithTimeout adds the timeout to the public get child categories params
func (*PublicGetChildCategoriesParams) WriteToRequest ¶
func (o *PublicGetChildCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicGetDescendantCategoriesOK) Error() string
func (*PublicGetDescendantCategoriesOK) GetPayload ¶
func (o *PublicGetDescendantCategoriesOK) GetPayload() []*platformclientmodels.CategoryInfo
type PublicGetDescendantCategoriesParams ¶
type PublicGetDescendantCategoriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CategoryPath*/ CategoryPath string /*Language*/ Language *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 }
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 ¶
func (o *PublicGetDescendantCategoriesParams) SetContext(ctx context.Context)
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 ¶
func (o *PublicGetDescendantCategoriesParams) WithCategoryPath(categoryPath string) *PublicGetDescendantCategoriesParams
WithCategoryPath adds the categoryPath to the public get descendant categories params
func (*PublicGetDescendantCategoriesParams) WithContext ¶
func (o *PublicGetDescendantCategoriesParams) WithContext(ctx context.Context) *PublicGetDescendantCategoriesParams
WithContext adds the context to the public get descendant categories params
func (*PublicGetDescendantCategoriesParams) WithHTTPClient ¶
func (o *PublicGetDescendantCategoriesParams) WithHTTPClient(client *http.Client) *PublicGetDescendantCategoriesParams
WithHTTPClient adds the HTTPClient to the public get descendant categories params
func (*PublicGetDescendantCategoriesParams) WithLanguage ¶
func (o *PublicGetDescendantCategoriesParams) WithLanguage(language *string) *PublicGetDescendantCategoriesParams
WithLanguage adds the language to the public get descendant categories params
func (*PublicGetDescendantCategoriesParams) WithNamespace ¶
func (o *PublicGetDescendantCategoriesParams) WithNamespace(namespace string) *PublicGetDescendantCategoriesParams
WithNamespace adds the namespace to the public get descendant categories params
func (*PublicGetDescendantCategoriesParams) WithStoreID ¶
func (o *PublicGetDescendantCategoriesParams) WithStoreID(storeID *string) *PublicGetDescendantCategoriesParams
WithStoreID adds the storeID to the public get descendant categories params
func (*PublicGetDescendantCategoriesParams) WithTimeout ¶
func (o *PublicGetDescendantCategoriesParams) WithTimeout(timeout time.Duration) *PublicGetDescendantCategoriesParams
WithTimeout adds the timeout to the public get descendant categories params
func (*PublicGetDescendantCategoriesParams) WriteToRequest ¶
func (o *PublicGetDescendantCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicGetRootCategoriesOK) GetPayload() []*platformclientmodels.CategoryInfo
type PublicGetRootCategoriesParams ¶
type PublicGetRootCategoriesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Language*/ Language *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 }
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 ¶
func (o *PublicGetRootCategoriesParams) WithContext(ctx context.Context) *PublicGetRootCategoriesParams
WithContext adds the context to the public get root categories params
func (*PublicGetRootCategoriesParams) WithHTTPClient ¶
func (o *PublicGetRootCategoriesParams) WithHTTPClient(client *http.Client) *PublicGetRootCategoriesParams
WithHTTPClient adds the HTTPClient to the public get root categories params
func (*PublicGetRootCategoriesParams) WithLanguage ¶
func (o *PublicGetRootCategoriesParams) WithLanguage(language *string) *PublicGetRootCategoriesParams
WithLanguage adds the language to the public get root categories params
func (*PublicGetRootCategoriesParams) WithNamespace ¶
func (o *PublicGetRootCategoriesParams) WithNamespace(namespace string) *PublicGetRootCategoriesParams
WithNamespace adds the namespace to the public get root categories params
func (*PublicGetRootCategoriesParams) WithStoreID ¶
func (o *PublicGetRootCategoriesParams) WithStoreID(storeID *string) *PublicGetRootCategoriesParams
WithStoreID adds the storeID to the public get root categories params
func (*PublicGetRootCategoriesParams) WithTimeout ¶
func (o *PublicGetRootCategoriesParams) WithTimeout(timeout time.Duration) *PublicGetRootCategoriesParams
WithTimeout adds the timeout to the public get root categories params
func (*PublicGetRootCategoriesParams) WriteToRequest ¶
func (o *PublicGetRootCategoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateCategoryBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 (o *UpdateCategoryConflict) GetPayload() *platformclientmodels.ErrorEntity
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 (o *UpdateCategoryNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *UpdateCategoryOK) GetPayload() *platformclientmodels.FullCategoryInfo
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 ¶
func (o *UpdateCategoryParams) SetBody(body *platformclientmodels.CategoryUpdate)
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 ¶
func (o *UpdateCategoryParams) WithBody(body *platformclientmodels.CategoryUpdate) *UpdateCategoryParams
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 ¶
func (o *UpdateCategoryParams) WithContext(ctx context.Context) *UpdateCategoryParams
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 (o *UpdateCategoryUnprocessableEntity) Error() string
func (*UpdateCategoryUnprocessableEntity) GetPayload ¶
func (o *UpdateCategoryUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
Source Files
¶
- category_client.go
- create_category_parameters.go
- create_category_responses.go
- delete_category_parameters.go
- delete_category_responses.go
- download_categories_parameters.go
- download_categories_responses.go
- get_category_parameters.go
- get_category_responses.go
- get_child_categories_parameters.go
- get_child_categories_responses.go
- get_descendant_categories_parameters.go
- get_descendant_categories_responses.go
- get_root_categories_parameters.go
- get_root_categories_responses.go
- list_categories_basic_parameters.go
- list_categories_basic_responses.go
- public_get_category_parameters.go
- public_get_category_responses.go
- public_get_child_categories_parameters.go
- public_get_child_categories_responses.go
- public_get_descendant_categories_parameters.go
- public_get_descendant_categories_responses.go
- public_get_root_categories_parameters.go
- public_get_root_categories_responses.go
- update_category_parameters.go
- update_category_responses.go