store

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for store API

func (*Client) CloneStore deprecated

Deprecated: Use CloneStoreShort instead.

CloneStore clones a store

This API is used to clone a store. Usually clone a draft store to published store because published store can't directly edit content.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=1 (CREATE)</li><li><i>Returns</i>: clone store info</li></ul>

func (*Client) CloneStoreShort added in v0.8.0

func (a *Client) CloneStoreShort(params *CloneStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CloneStoreOK, error)

CloneStoreShort clones a store

This API is used to clone a store. Usually clone a draft store to published store because published store can't directly edit content.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=1 (CREATE)</li><li><i>Returns</i>: clone store info</li></ul>

func (*Client) CreateStore deprecated

Deprecated: Use CreateStoreShort instead.

CreateStore creates a store

This API is used to create a non published store in a namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=1 (CREATE)</li><li><i>Returns</i>: created store data</li></ul>

func (*Client) CreateStoreShort added in v0.8.0

func (a *Client) CreateStoreShort(params *CreateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStoreCreated, error)

CreateStoreShort creates a store

This API is used to create a non published store in a namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=1 (CREATE)</li><li><i>Returns</i>: created store data</li></ul>

func (*Client) DeletePublishedStore deprecated

Deprecated: Use DeletePublishedStoreShort instead.

DeletePublishedStore deletes published store

This API is used to delete published store including category and items before release to public.<p><b>Warning: Please do not use this API once published to public user.</b><p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=8 (DELETE)</li></ul>

func (*Client) DeletePublishedStoreShort added in v0.8.0

func (a *Client) DeletePublishedStoreShort(params *DeletePublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePublishedStoreOK, error)

DeletePublishedStoreShort deletes published store

This API is used to delete published store including category and items before release to public.<p><b>Warning: Please do not use this API once published to public user.</b><p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=8 (DELETE)</li></ul>

func (*Client) DeleteStore deprecated

Deprecated: Use DeleteStoreShort instead.

DeleteStore deletes a store

This API is used to delete a store. Only non published store can be deleted.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=8 (DELETE)</li><li><i>Returns</i>: store</li></ul>

func (*Client) DeleteStoreShort added in v0.8.0

func (a *Client) DeleteStoreShort(params *DeleteStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStoreOK, error)

DeleteStoreShort deletes a store

This API is used to delete a store. Only non published store can be deleted.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=8 (DELETE)</li><li><i>Returns</i>: store</li></ul>

func (*Client) ExportStore deprecated

Deprecated: Use ExportStoreShort instead.

ExportStore exports a store

This API is used to export a store.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li></ul>

func (*Client) ExportStoreShort added in v0.8.0

func (a *Client) ExportStoreShort(params *ExportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ExportStoreOK, error)

ExportStoreShort exports a store

This API is used to export a store.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li></ul>

func (*Client) GetPublishedStore deprecated

Deprecated: Use GetPublishedStoreShort instead.

GetPublishedStore gets published store

This API is used to get a published store basic info, exclude category and item information.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: store data</li></ul>

func (*Client) GetPublishedStoreBackup deprecated

Deprecated: Use GetPublishedStoreBackupShort instead.

GetPublishedStoreBackup gets a published store s backup

This API is used to get a store's backup. <p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: store backup info</li></ul>

func (*Client) GetPublishedStoreBackupShort added in v0.8.0

func (a *Client) GetPublishedStoreBackupShort(params *GetPublishedStoreBackupParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreBackupOK, error)

GetPublishedStoreBackupShort gets a published store s backup

This API is used to get a store's backup. <p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: store backup info</li></ul>

func (*Client) GetPublishedStoreShort added in v0.8.0

func (a *Client) GetPublishedStoreShort(params *GetPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreOK, error)

GetPublishedStoreShort gets published store

This API is used to get a published store basic info, exclude category and item information.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: store data</li></ul>

func (*Client) GetStore deprecated

func (a *Client) GetStore(params *GetStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetStoreOK, *GetStoreNotFound, error)

Deprecated: Use GetStoreShort instead.

GetStore gets a store

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

func (*Client) GetStoreShort added in v0.8.0

func (a *Client) GetStoreShort(params *GetStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetStoreOK, error)

GetStoreShort gets a store

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

func (*Client) ImportStore deprecated

Deprecated: Use ImportStoreShort instead.

ImportStore imports a store

This API is used to import a store.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li></ul>

func (*Client) ImportStoreShort added in v0.8.0

func (a *Client) ImportStoreShort(params *ImportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStoreOK, error)

ImportStoreShort imports a store

This API is used to import a store.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li></ul>

func (*Client) ListStores deprecated

func (a *Client) ListStores(params *ListStoresParams, authInfo runtime.ClientAuthInfoWriter) (*ListStoresOK, error)

Deprecated: Use ListStoresShort instead.

ListStores lists stores

This API is used to list stores in a namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: the list of stores</li></ul>

func (*Client) ListStoresShort added in v0.8.0

func (a *Client) ListStoresShort(params *ListStoresParams, authInfo runtime.ClientAuthInfoWriter) (*ListStoresOK, error)

ListStoresShort lists stores

This API is used to list stores in a namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: the list of stores</li></ul>

func (*Client) PublicListStores deprecated

func (a *Client) PublicListStores(params *PublicListStoresParams) (*PublicListStoresOK, error)

Deprecated: Use PublicListStoresShort instead.

PublicListStores lists all stores

This API is used to list all stores in a namespace.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store)</li><li><i>Returns</i>: the list of stores</li></ul>

func (*Client) PublicListStoresShort added in v0.8.0

func (a *Client) PublicListStoresShort(params *PublicListStoresParams) (*PublicListStoresOK, error)

PublicListStoresShort lists all stores

This API is used to list all stores in a namespace.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store)</li><li><i>Returns</i>: the list of stores</li></ul>

func (*Client) RollbackPublishedStore deprecated

Deprecated: Use RollbackPublishedStoreShort instead.

RollbackPublishedStore rollbacks a published store

This API is used to rollback a published store. <p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li><li><i>Returns</i>: updated store info</li></ul>

func (*Client) RollbackPublishedStoreShort added in v0.8.0

func (a *Client) RollbackPublishedStoreShort(params *RollbackPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*RollbackPublishedStoreOK, error)

RollbackPublishedStoreShort rollbacks a published store

This API is used to rollback a published store. <p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li><li><i>Returns</i>: updated store info</li></ul>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateStore deprecated

Deprecated: Use UpdateStoreShort instead.

UpdateStore updates a store

This API is used to Update a store basic info.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li><li><i>Returns</i>: updated store data</li></ul>

func (*Client) UpdateStoreShort added in v0.8.0

func (a *Client) UpdateStoreShort(params *UpdateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStoreOK, error)

UpdateStoreShort updates a store

This API is used to Update a store basic info.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li><li><i>Returns</i>: updated store data</li></ul>

type ClientService

type ClientService interface {
	CloneStore(params *CloneStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CloneStoreOK, *CloneStoreBadRequest, *CloneStoreNotFound, error)
	CloneStoreShort(params *CloneStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CloneStoreOK, error)
	CreateStore(params *CreateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStoreCreated, *CreateStoreConflict, *CreateStoreUnprocessableEntity, error)
	CreateStoreShort(params *CreateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStoreCreated, error)
	DeletePublishedStore(params *DeletePublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePublishedStoreOK, *DeletePublishedStoreNotFound, error)
	DeletePublishedStoreShort(params *DeletePublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePublishedStoreOK, error)
	DeleteStore(params *DeleteStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStoreOK, *DeleteStoreNotFound, *DeleteStoreConflict, error)
	DeleteStoreShort(params *DeleteStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStoreOK, error)
	ExportStore(params *ExportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ExportStoreOK, *ExportStoreNotFound, error)
	ExportStoreShort(params *ExportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ExportStoreOK, error)
	GetPublishedStore(params *GetPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreOK, *GetPublishedStoreNotFound, error)
	GetPublishedStoreShort(params *GetPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreOK, error)
	GetPublishedStoreBackup(params *GetPublishedStoreBackupParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreBackupOK, *GetPublishedStoreBackupNotFound, error)
	GetPublishedStoreBackupShort(params *GetPublishedStoreBackupParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreBackupOK, error)
	GetStore(params *GetStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetStoreOK, *GetStoreNotFound, error)
	GetStoreShort(params *GetStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetStoreOK, error)
	ImportStore(params *ImportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStoreOK, *ImportStoreBadRequest, *ImportStoreNotFound, error)
	ImportStoreShort(params *ImportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStoreOK, error)
	ListStores(params *ListStoresParams, authInfo runtime.ClientAuthInfoWriter) (*ListStoresOK, error)
	ListStoresShort(params *ListStoresParams, authInfo runtime.ClientAuthInfoWriter) (*ListStoresOK, error)
	PublicListStores(params *PublicListStoresParams) (*PublicListStoresOK, error)
	PublicListStoresShort(params *PublicListStoresParams) (*PublicListStoresOK, error)
	RollbackPublishedStore(params *RollbackPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*RollbackPublishedStoreOK, *RollbackPublishedStoreNotFound, error)
	RollbackPublishedStoreShort(params *RollbackPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*RollbackPublishedStoreOK, error)
	UpdateStore(params *UpdateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStoreOK, *UpdateStoreNotFound, *UpdateStoreConflict, *UpdateStoreUnprocessableEntity, error)
	UpdateStoreShort(params *UpdateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStoreOK, 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 store API client.

type CloneStoreBadRequest

type CloneStoreBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

CloneStoreBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30122</td><td>Store's meta mismatch</td></tr></table>

func NewCloneStoreBadRequest

func NewCloneStoreBadRequest() *CloneStoreBadRequest

NewCloneStoreBadRequest creates a CloneStoreBadRequest with default headers values

func (*CloneStoreBadRequest) Error

func (o *CloneStoreBadRequest) Error() string

func (*CloneStoreBadRequest) GetPayload

func (*CloneStoreBadRequest) ToJSONString added in v0.25.0

func (o *CloneStoreBadRequest) ToJSONString() string

type CloneStoreNotFound

type CloneStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

CloneStoreNotFound 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 NewCloneStoreNotFound

func NewCloneStoreNotFound() *CloneStoreNotFound

NewCloneStoreNotFound creates a CloneStoreNotFound with default headers values

func (*CloneStoreNotFound) Error

func (o *CloneStoreNotFound) Error() string

func (*CloneStoreNotFound) GetPayload

func (*CloneStoreNotFound) ToJSONString added in v0.25.0

func (o *CloneStoreNotFound) ToJSONString() string

type CloneStoreOK

type CloneStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

CloneStoreOK handles this case with default header values.

successful operation

func NewCloneStoreOK

func NewCloneStoreOK() *CloneStoreOK

NewCloneStoreOK creates a CloneStoreOK with default headers values

func (*CloneStoreOK) Error

func (o *CloneStoreOK) Error() string

func (*CloneStoreOK) GetPayload

func (o *CloneStoreOK) GetPayload() *platformclientmodels.StoreInfo

func (*CloneStoreOK) ToJSONString added in v0.25.0

func (o *CloneStoreOK) ToJSONString() string

type CloneStoreParams

type CloneStoreParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*StoreID*/
	StoreID string
	/*TargetStoreID
	  default is published store

	*/
	TargetStoreID *string

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

CloneStoreParams contains all the parameters to send to the API endpoint for the clone store operation typically these are written to a http.Request

func NewCloneStoreParams

func NewCloneStoreParams() *CloneStoreParams

NewCloneStoreParams creates a new CloneStoreParams object with the default values initialized.

func NewCloneStoreParamsWithContext

func NewCloneStoreParamsWithContext(ctx context.Context) *CloneStoreParams

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

func NewCloneStoreParamsWithHTTPClient

func NewCloneStoreParamsWithHTTPClient(client *http.Client) *CloneStoreParams

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

func NewCloneStoreParamsWithTimeout

func NewCloneStoreParamsWithTimeout(timeout time.Duration) *CloneStoreParams

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

func (*CloneStoreParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the clone store params

func (*CloneStoreParams) SetContext

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

SetContext adds the context to the clone store params

func (*CloneStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the clone store params

func (*CloneStoreParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the clone store params

func (*CloneStoreParams) SetNamespace

func (o *CloneStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the clone store params

func (*CloneStoreParams) SetStoreID

func (o *CloneStoreParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the clone store params

func (*CloneStoreParams) SetTargetStoreID

func (o *CloneStoreParams) SetTargetStoreID(targetStoreID *string)

SetTargetStoreID adds the targetStoreId to the clone store params

func (*CloneStoreParams) SetTimeout

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

SetTimeout adds the timeout to the clone store params

func (*CloneStoreParams) WithContext

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

WithContext adds the context to the clone store params

func (*CloneStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the clone store params

func (*CloneStoreParams) WithNamespace

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

WithNamespace adds the namespace to the clone store params

func (*CloneStoreParams) WithStoreID

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

WithStoreID adds the storeID to the clone store params

func (*CloneStoreParams) WithTargetStoreID

func (o *CloneStoreParams) WithTargetStoreID(targetStoreID *string) *CloneStoreParams

WithTargetStoreID adds the targetStoreID to the clone store params

func (*CloneStoreParams) WithTimeout

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

WithTimeout adds the timeout to the clone store params

func (*CloneStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CloneStoreReader

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

CloneStoreReader is a Reader for the CloneStore structure.

func (*CloneStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateStoreConflict added in v0.7.0

type CreateStoreConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateStoreConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30174</td><td>Draft store already exists in namespace [{namespace}]</td></tr></table>

func NewCreateStoreConflict added in v0.7.0

func NewCreateStoreConflict() *CreateStoreConflict

NewCreateStoreConflict creates a CreateStoreConflict with default headers values

func (*CreateStoreConflict) Error added in v0.7.0

func (o *CreateStoreConflict) Error() string

func (*CreateStoreConflict) GetPayload added in v0.7.0

func (*CreateStoreConflict) ToJSONString added in v0.25.0

func (o *CreateStoreConflict) ToJSONString() string

type CreateStoreCreated

type CreateStoreCreated struct {
	Payload *platformclientmodels.StoreInfo
}

CreateStoreCreated handles this case with default header values.

successful operation

func NewCreateStoreCreated

func NewCreateStoreCreated() *CreateStoreCreated

NewCreateStoreCreated creates a CreateStoreCreated with default headers values

func (*CreateStoreCreated) Error

func (o *CreateStoreCreated) Error() string

func (*CreateStoreCreated) GetPayload

func (*CreateStoreCreated) ToJSONString added in v0.25.0

func (o *CreateStoreCreated) ToJSONString() string

type CreateStoreParams

type CreateStoreParams struct {

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

	*/
	Namespace string

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

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

func NewCreateStoreParams

func NewCreateStoreParams() *CreateStoreParams

NewCreateStoreParams creates a new CreateStoreParams object with the default values initialized.

func NewCreateStoreParamsWithContext

func NewCreateStoreParamsWithContext(ctx context.Context) *CreateStoreParams

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

func NewCreateStoreParamsWithHTTPClient

func NewCreateStoreParamsWithHTTPClient(client *http.Client) *CreateStoreParams

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

func NewCreateStoreParamsWithTimeout

func NewCreateStoreParamsWithTimeout(timeout time.Duration) *CreateStoreParams

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

func (*CreateStoreParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the create store params

func (*CreateStoreParams) SetBody

SetBody adds the body to the create store params

func (*CreateStoreParams) SetContext

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

SetContext adds the context to the create store params

func (*CreateStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create store params

func (*CreateStoreParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the create store params

func (*CreateStoreParams) SetNamespace

func (o *CreateStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create store params

func (*CreateStoreParams) SetTimeout

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

SetTimeout adds the timeout to the create store params

func (*CreateStoreParams) WithBody

WithBody adds the body to the create store params

func (*CreateStoreParams) WithContext

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

WithContext adds the context to the create store params

func (*CreateStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create store params

func (*CreateStoreParams) WithNamespace

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

WithNamespace adds the namespace to the create store params

func (*CreateStoreParams) WithTimeout

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

WithTimeout adds the timeout to the create store params

func (*CreateStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateStoreReader

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

CreateStoreReader is a Reader for the CreateStore structure.

func (*CreateStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateStoreUnprocessableEntity

type CreateStoreUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

CreateStoreUnprocessableEntity 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 NewCreateStoreUnprocessableEntity

func NewCreateStoreUnprocessableEntity() *CreateStoreUnprocessableEntity

NewCreateStoreUnprocessableEntity creates a CreateStoreUnprocessableEntity with default headers values

func (*CreateStoreUnprocessableEntity) Error

func (*CreateStoreUnprocessableEntity) GetPayload

func (*CreateStoreUnprocessableEntity) ToJSONString added in v0.25.0

func (o *CreateStoreUnprocessableEntity) ToJSONString() string

type DeletePublishedStoreNotFound

type DeletePublishedStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DeletePublishedStoreNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr></table>

func NewDeletePublishedStoreNotFound

func NewDeletePublishedStoreNotFound() *DeletePublishedStoreNotFound

NewDeletePublishedStoreNotFound creates a DeletePublishedStoreNotFound with default headers values

func (*DeletePublishedStoreNotFound) Error

func (*DeletePublishedStoreNotFound) GetPayload

func (*DeletePublishedStoreNotFound) ToJSONString added in v0.25.0

func (o *DeletePublishedStoreNotFound) ToJSONString() string

type DeletePublishedStoreOK

type DeletePublishedStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

DeletePublishedStoreOK handles this case with default header values.

successful operation

func NewDeletePublishedStoreOK

func NewDeletePublishedStoreOK() *DeletePublishedStoreOK

NewDeletePublishedStoreOK creates a DeletePublishedStoreOK with default headers values

func (*DeletePublishedStoreOK) Error

func (o *DeletePublishedStoreOK) Error() string

func (*DeletePublishedStoreOK) GetPayload

func (*DeletePublishedStoreOK) ToJSONString added in v0.25.0

func (o *DeletePublishedStoreOK) ToJSONString() string

type DeletePublishedStoreParams

type DeletePublishedStoreParams struct {

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

	*/
	Namespace string

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

DeletePublishedStoreParams contains all the parameters to send to the API endpoint for the delete published store operation typically these are written to a http.Request

func NewDeletePublishedStoreParams

func NewDeletePublishedStoreParams() *DeletePublishedStoreParams

NewDeletePublishedStoreParams creates a new DeletePublishedStoreParams object with the default values initialized.

func NewDeletePublishedStoreParamsWithContext

func NewDeletePublishedStoreParamsWithContext(ctx context.Context) *DeletePublishedStoreParams

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

func NewDeletePublishedStoreParamsWithHTTPClient

func NewDeletePublishedStoreParamsWithHTTPClient(client *http.Client) *DeletePublishedStoreParams

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

func NewDeletePublishedStoreParamsWithTimeout

func NewDeletePublishedStoreParamsWithTimeout(timeout time.Duration) *DeletePublishedStoreParams

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

func (*DeletePublishedStoreParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete published store params

func (*DeletePublishedStoreParams) SetContext

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

SetContext adds the context to the delete published store params

func (*DeletePublishedStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete published store params

func (*DeletePublishedStoreParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the delete published store params

func (*DeletePublishedStoreParams) SetNamespace

func (o *DeletePublishedStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete published store params

func (*DeletePublishedStoreParams) SetTimeout

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

SetTimeout adds the timeout to the delete published store params

func (*DeletePublishedStoreParams) WithContext

WithContext adds the context to the delete published store params

func (*DeletePublishedStoreParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete published store params

func (*DeletePublishedStoreParams) WithNamespace

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

WithNamespace adds the namespace to the delete published store params

func (*DeletePublishedStoreParams) WithTimeout

WithTimeout adds the timeout to the delete published store params

func (*DeletePublishedStoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePublishedStoreReader

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

DeletePublishedStoreReader is a Reader for the DeletePublishedStore structure.

func (*DeletePublishedStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteStoreConflict

type DeleteStoreConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

DeleteStoreConflict 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 NewDeleteStoreConflict

func NewDeleteStoreConflict() *DeleteStoreConflict

NewDeleteStoreConflict creates a DeleteStoreConflict with default headers values

func (*DeleteStoreConflict) Error

func (o *DeleteStoreConflict) Error() string

func (*DeleteStoreConflict) GetPayload

func (*DeleteStoreConflict) ToJSONString added in v0.25.0

func (o *DeleteStoreConflict) ToJSONString() string

type DeleteStoreNotFound

type DeleteStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DeleteStoreNotFound 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 NewDeleteStoreNotFound

func NewDeleteStoreNotFound() *DeleteStoreNotFound

NewDeleteStoreNotFound creates a DeleteStoreNotFound with default headers values

func (*DeleteStoreNotFound) Error

func (o *DeleteStoreNotFound) Error() string

func (*DeleteStoreNotFound) GetPayload

func (*DeleteStoreNotFound) ToJSONString added in v0.25.0

func (o *DeleteStoreNotFound) ToJSONString() string

type DeleteStoreOK

type DeleteStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

DeleteStoreOK handles this case with default header values.

successful operation

func NewDeleteStoreOK

func NewDeleteStoreOK() *DeleteStoreOK

NewDeleteStoreOK creates a DeleteStoreOK with default headers values

func (*DeleteStoreOK) Error

func (o *DeleteStoreOK) Error() string

func (*DeleteStoreOK) GetPayload

func (o *DeleteStoreOK) GetPayload() *platformclientmodels.StoreInfo

func (*DeleteStoreOK) ToJSONString added in v0.25.0

func (o *DeleteStoreOK) ToJSONString() string

type DeleteStoreParams

type DeleteStoreParams struct {

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

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

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

func NewDeleteStoreParams

func NewDeleteStoreParams() *DeleteStoreParams

NewDeleteStoreParams creates a new DeleteStoreParams object with the default values initialized.

func NewDeleteStoreParamsWithContext

func NewDeleteStoreParamsWithContext(ctx context.Context) *DeleteStoreParams

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

func NewDeleteStoreParamsWithHTTPClient

func NewDeleteStoreParamsWithHTTPClient(client *http.Client) *DeleteStoreParams

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

func NewDeleteStoreParamsWithTimeout

func NewDeleteStoreParamsWithTimeout(timeout time.Duration) *DeleteStoreParams

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

func (*DeleteStoreParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete store params

func (*DeleteStoreParams) SetContext

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

SetContext adds the context to the delete store params

func (*DeleteStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete store params

func (*DeleteStoreParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the delete store params

func (*DeleteStoreParams) SetNamespace

func (o *DeleteStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete store params

func (*DeleteStoreParams) SetStoreID

func (o *DeleteStoreParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the delete store params

func (*DeleteStoreParams) SetTimeout

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

SetTimeout adds the timeout to the delete store params

func (*DeleteStoreParams) WithContext

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

WithContext adds the context to the delete store params

func (*DeleteStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete store params

func (*DeleteStoreParams) WithNamespace

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

WithNamespace adds the namespace to the delete store params

func (*DeleteStoreParams) WithStoreID

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

WithStoreID adds the storeID to the delete store params

func (*DeleteStoreParams) WithTimeout

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

WithTimeout adds the timeout to the delete store params

func (*DeleteStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteStoreReader

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

DeleteStoreReader is a Reader for the DeleteStore structure.

func (*DeleteStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportStoreNotFound

type ExportStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ExportStoreNotFound 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 NewExportStoreNotFound

func NewExportStoreNotFound() *ExportStoreNotFound

NewExportStoreNotFound creates a ExportStoreNotFound with default headers values

func (*ExportStoreNotFound) Error

func (o *ExportStoreNotFound) Error() string

func (*ExportStoreNotFound) GetPayload

func (*ExportStoreNotFound) ToJSONString added in v0.25.0

func (o *ExportStoreNotFound) ToJSONString() string

type ExportStoreOK added in v0.7.0

type ExportStoreOK struct {
}

ExportStoreOK handles this case with default header values.

Successful operation

func NewExportStoreOK added in v0.7.0

func NewExportStoreOK() *ExportStoreOK

NewExportStoreOK creates a ExportStoreOK with default headers values

func (*ExportStoreOK) Error added in v0.7.0

func (o *ExportStoreOK) Error() string

type ExportStoreParams

type ExportStoreParams struct {

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

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

ExportStoreParams contains all the parameters to send to the API endpoint for the export store operation typically these are written to a http.Request

func NewExportStoreParams

func NewExportStoreParams() *ExportStoreParams

NewExportStoreParams creates a new ExportStoreParams object with the default values initialized.

func NewExportStoreParamsWithContext

func NewExportStoreParamsWithContext(ctx context.Context) *ExportStoreParams

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

func NewExportStoreParamsWithHTTPClient

func NewExportStoreParamsWithHTTPClient(client *http.Client) *ExportStoreParams

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

func NewExportStoreParamsWithTimeout

func NewExportStoreParamsWithTimeout(timeout time.Duration) *ExportStoreParams

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

func (*ExportStoreParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the export store params

func (*ExportStoreParams) SetContext

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

SetContext adds the context to the export store params

func (*ExportStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export store params

func (*ExportStoreParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the export store params

func (*ExportStoreParams) SetNamespace

func (o *ExportStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the export store params

func (*ExportStoreParams) SetStoreID

func (o *ExportStoreParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the export store params

func (*ExportStoreParams) SetTimeout

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

SetTimeout adds the timeout to the export store params

func (*ExportStoreParams) WithContext

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

WithContext adds the context to the export store params

func (*ExportStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export store params

func (*ExportStoreParams) WithNamespace

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

WithNamespace adds the namespace to the export store params

func (*ExportStoreParams) WithStoreID

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

WithStoreID adds the storeID to the export store params

func (*ExportStoreParams) WithTimeout

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

WithTimeout adds the timeout to the export store params

func (*ExportStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ExportStoreReader

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

ExportStoreReader is a Reader for the ExportStore structure.

func (*ExportStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublishedStoreBackupNotFound

type GetPublishedStoreBackupNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetPublishedStoreBackupNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>30143</td><td>Published store [{storeId}] backup doest not exist in namespace [{namespace}]</td></tr></table>

func NewGetPublishedStoreBackupNotFound

func NewGetPublishedStoreBackupNotFound() *GetPublishedStoreBackupNotFound

NewGetPublishedStoreBackupNotFound creates a GetPublishedStoreBackupNotFound with default headers values

func (*GetPublishedStoreBackupNotFound) Error

func (*GetPublishedStoreBackupNotFound) GetPayload

func (*GetPublishedStoreBackupNotFound) ToJSONString added in v0.25.0

func (o *GetPublishedStoreBackupNotFound) ToJSONString() string

type GetPublishedStoreBackupOK

type GetPublishedStoreBackupOK struct {
	Payload *platformclientmodels.StoreBackupInfo
}

GetPublishedStoreBackupOK handles this case with default header values.

successful operation

func NewGetPublishedStoreBackupOK

func NewGetPublishedStoreBackupOK() *GetPublishedStoreBackupOK

NewGetPublishedStoreBackupOK creates a GetPublishedStoreBackupOK with default headers values

func (*GetPublishedStoreBackupOK) Error

func (o *GetPublishedStoreBackupOK) Error() string

func (*GetPublishedStoreBackupOK) GetPayload

func (*GetPublishedStoreBackupOK) ToJSONString added in v0.25.0

func (o *GetPublishedStoreBackupOK) ToJSONString() string

type GetPublishedStoreBackupParams

type GetPublishedStoreBackupParams struct {

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

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

GetPublishedStoreBackupParams contains all the parameters to send to the API endpoint for the get published store backup operation typically these are written to a http.Request

func NewGetPublishedStoreBackupParams

func NewGetPublishedStoreBackupParams() *GetPublishedStoreBackupParams

NewGetPublishedStoreBackupParams creates a new GetPublishedStoreBackupParams object with the default values initialized.

func NewGetPublishedStoreBackupParamsWithContext

func NewGetPublishedStoreBackupParamsWithContext(ctx context.Context) *GetPublishedStoreBackupParams

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

func NewGetPublishedStoreBackupParamsWithHTTPClient

func NewGetPublishedStoreBackupParamsWithHTTPClient(client *http.Client) *GetPublishedStoreBackupParams

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

func NewGetPublishedStoreBackupParamsWithTimeout

func NewGetPublishedStoreBackupParamsWithTimeout(timeout time.Duration) *GetPublishedStoreBackupParams

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

func (*GetPublishedStoreBackupParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get published store backup params

func (*GetPublishedStoreBackupParams) SetContext

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

SetContext adds the context to the get published store backup params

func (*GetPublishedStoreBackupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get published store backup params

func (*GetPublishedStoreBackupParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get published store backup params

func (*GetPublishedStoreBackupParams) SetNamespace

func (o *GetPublishedStoreBackupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get published store backup params

func (*GetPublishedStoreBackupParams) SetTimeout

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

SetTimeout adds the timeout to the get published store backup params

func (*GetPublishedStoreBackupParams) WithContext

WithContext adds the context to the get published store backup params

func (*GetPublishedStoreBackupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get published store backup params

func (*GetPublishedStoreBackupParams) WithNamespace

WithNamespace adds the namespace to the get published store backup params

func (*GetPublishedStoreBackupParams) WithTimeout

WithTimeout adds the timeout to the get published store backup params

func (*GetPublishedStoreBackupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublishedStoreBackupReader

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

GetPublishedStoreBackupReader is a Reader for the GetPublishedStoreBackup structure.

func (*GetPublishedStoreBackupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublishedStoreNotFound

type GetPublishedStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetPublishedStoreNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr></table>

func NewGetPublishedStoreNotFound

func NewGetPublishedStoreNotFound() *GetPublishedStoreNotFound

NewGetPublishedStoreNotFound creates a GetPublishedStoreNotFound with default headers values

func (*GetPublishedStoreNotFound) Error

func (o *GetPublishedStoreNotFound) Error() string

func (*GetPublishedStoreNotFound) GetPayload

func (*GetPublishedStoreNotFound) ToJSONString added in v0.25.0

func (o *GetPublishedStoreNotFound) ToJSONString() string

type GetPublishedStoreOK

type GetPublishedStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

GetPublishedStoreOK handles this case with default header values.

successful operation

func NewGetPublishedStoreOK

func NewGetPublishedStoreOK() *GetPublishedStoreOK

NewGetPublishedStoreOK creates a GetPublishedStoreOK with default headers values

func (*GetPublishedStoreOK) Error

func (o *GetPublishedStoreOK) Error() string

func (*GetPublishedStoreOK) GetPayload

func (*GetPublishedStoreOK) ToJSONString added in v0.25.0

func (o *GetPublishedStoreOK) ToJSONString() string

type GetPublishedStoreParams

type GetPublishedStoreParams struct {

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

	*/
	Namespace string

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

GetPublishedStoreParams contains all the parameters to send to the API endpoint for the get published store operation typically these are written to a http.Request

func NewGetPublishedStoreParams

func NewGetPublishedStoreParams() *GetPublishedStoreParams

NewGetPublishedStoreParams creates a new GetPublishedStoreParams object with the default values initialized.

func NewGetPublishedStoreParamsWithContext

func NewGetPublishedStoreParamsWithContext(ctx context.Context) *GetPublishedStoreParams

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

func NewGetPublishedStoreParamsWithHTTPClient

func NewGetPublishedStoreParamsWithHTTPClient(client *http.Client) *GetPublishedStoreParams

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

func NewGetPublishedStoreParamsWithTimeout

func NewGetPublishedStoreParamsWithTimeout(timeout time.Duration) *GetPublishedStoreParams

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

func (*GetPublishedStoreParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get published store params

func (*GetPublishedStoreParams) SetContext

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

SetContext adds the context to the get published store params

func (*GetPublishedStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get published store params

func (*GetPublishedStoreParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get published store params

func (*GetPublishedStoreParams) SetNamespace

func (o *GetPublishedStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get published store params

func (*GetPublishedStoreParams) SetTimeout

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

SetTimeout adds the timeout to the get published store params

func (*GetPublishedStoreParams) WithContext

WithContext adds the context to the get published store params

func (*GetPublishedStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get published store params

func (*GetPublishedStoreParams) WithNamespace

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

WithNamespace adds the namespace to the get published store params

func (*GetPublishedStoreParams) WithTimeout

WithTimeout adds the timeout to the get published store params

func (*GetPublishedStoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublishedStoreReader

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

GetPublishedStoreReader is a Reader for the GetPublishedStore structure.

func (*GetPublishedStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStoreNotFound

type GetStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetStoreNotFound 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 NewGetStoreNotFound

func NewGetStoreNotFound() *GetStoreNotFound

NewGetStoreNotFound creates a GetStoreNotFound with default headers values

func (*GetStoreNotFound) Error

func (o *GetStoreNotFound) Error() string

func (*GetStoreNotFound) GetPayload

func (*GetStoreNotFound) ToJSONString added in v0.25.0

func (o *GetStoreNotFound) ToJSONString() string

type GetStoreOK

type GetStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

GetStoreOK handles this case with default header values.

successful operation

func NewGetStoreOK

func NewGetStoreOK() *GetStoreOK

NewGetStoreOK creates a GetStoreOK with default headers values

func (*GetStoreOK) Error

func (o *GetStoreOK) Error() string

func (*GetStoreOK) GetPayload

func (o *GetStoreOK) GetPayload() *platformclientmodels.StoreInfo

func (*GetStoreOK) ToJSONString added in v0.25.0

func (o *GetStoreOK) ToJSONString() string

type GetStoreParams

type GetStoreParams struct {

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

	*/
	Namespace string
	/*StoreID*/
	StoreID string

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

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

func NewGetStoreParams

func NewGetStoreParams() *GetStoreParams

NewGetStoreParams creates a new GetStoreParams object with the default values initialized.

func NewGetStoreParamsWithContext

func NewGetStoreParamsWithContext(ctx context.Context) *GetStoreParams

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

func NewGetStoreParamsWithHTTPClient

func NewGetStoreParamsWithHTTPClient(client *http.Client) *GetStoreParams

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

func NewGetStoreParamsWithTimeout

func NewGetStoreParamsWithTimeout(timeout time.Duration) *GetStoreParams

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

func (*GetStoreParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get store params

func (*GetStoreParams) SetContext

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

SetContext adds the context to the get store params

func (*GetStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get store params

func (*GetStoreParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get store params

func (*GetStoreParams) SetNamespace

func (o *GetStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get store params

func (*GetStoreParams) SetStoreID

func (o *GetStoreParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the get store params

func (*GetStoreParams) SetTimeout

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

SetTimeout adds the timeout to the get store params

func (*GetStoreParams) WithContext

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

WithContext adds the context to the get store params

func (*GetStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get store params

func (*GetStoreParams) WithNamespace

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

WithNamespace adds the namespace to the get store params

func (*GetStoreParams) WithStoreID

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

WithStoreID adds the storeID to the get store params

func (*GetStoreParams) WithTimeout

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

WithTimeout adds the timeout to the get store params

func (*GetStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetStoreReader

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

GetStoreReader is a Reader for the GetStore structure.

func (*GetStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportStoreBadRequest

type ImportStoreBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

ImportStoreBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30121</td><td>Store data is invalid</td></tr><tr><td>30122</td><td>Store's meta mismatch</td></tr></table>

func NewImportStoreBadRequest

func NewImportStoreBadRequest() *ImportStoreBadRequest

NewImportStoreBadRequest creates a ImportStoreBadRequest with default headers values

func (*ImportStoreBadRequest) Error

func (o *ImportStoreBadRequest) Error() string

func (*ImportStoreBadRequest) GetPayload

func (*ImportStoreBadRequest) ToJSONString added in v0.25.0

func (o *ImportStoreBadRequest) ToJSONString() string

type ImportStoreNotFound

type ImportStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ImportStoreNotFound 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 NewImportStoreNotFound

func NewImportStoreNotFound() *ImportStoreNotFound

NewImportStoreNotFound creates a ImportStoreNotFound with default headers values

func (*ImportStoreNotFound) Error

func (o *ImportStoreNotFound) Error() string

func (*ImportStoreNotFound) GetPayload

func (*ImportStoreNotFound) ToJSONString added in v0.25.0

func (o *ImportStoreNotFound) ToJSONString() string

type ImportStoreOK

type ImportStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

ImportStoreOK handles this case with default header values.

successful operation

func NewImportStoreOK

func NewImportStoreOK() *ImportStoreOK

NewImportStoreOK creates a ImportStoreOK with default headers values

func (*ImportStoreOK) Error

func (o *ImportStoreOK) Error() string

func (*ImportStoreOK) GetPayload

func (o *ImportStoreOK) GetPayload() *platformclientmodels.StoreInfo

func (*ImportStoreOK) ToJSONString added in v0.25.0

func (o *ImportStoreOK) ToJSONString() string

type ImportStoreParams

type ImportStoreParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*File*/
	File runtime.NamedReadCloser
	/*Namespace*/
	Namespace string
	/*StoreID
	  default we will use published store id,and will create published store if it dose not exist

	*/
	StoreID *string

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

ImportStoreParams contains all the parameters to send to the API endpoint for the import store operation typically these are written to a http.Request

func NewImportStoreParams

func NewImportStoreParams() *ImportStoreParams

NewImportStoreParams creates a new ImportStoreParams object with the default values initialized.

func NewImportStoreParamsWithContext

func NewImportStoreParamsWithContext(ctx context.Context) *ImportStoreParams

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

func NewImportStoreParamsWithHTTPClient

func NewImportStoreParamsWithHTTPClient(client *http.Client) *ImportStoreParams

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

func NewImportStoreParamsWithTimeout

func NewImportStoreParamsWithTimeout(timeout time.Duration) *ImportStoreParams

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

func (*ImportStoreParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the import store params

func (*ImportStoreParams) SetContext

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

SetContext adds the context to the import store params

func (*ImportStoreParams) SetFile

func (o *ImportStoreParams) SetFile(file runtime.NamedReadCloser)

SetFile adds the file to the import store params

func (*ImportStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import store params

func (*ImportStoreParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the import store params

func (*ImportStoreParams) SetNamespace

func (o *ImportStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the import store params

func (*ImportStoreParams) SetStoreID

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

SetStoreID adds the storeId to the import store params

func (*ImportStoreParams) SetTimeout

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

SetTimeout adds the timeout to the import store params

func (*ImportStoreParams) WithContext

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

WithContext adds the context to the import store params

func (*ImportStoreParams) WithFile

WithFile adds the file to the import store params

func (*ImportStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import store params

func (*ImportStoreParams) WithNamespace

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

WithNamespace adds the namespace to the import store params

func (*ImportStoreParams) WithStoreID

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

WithStoreID adds the storeID to the import store params

func (*ImportStoreParams) WithTimeout

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

WithTimeout adds the timeout to the import store params

func (*ImportStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ImportStoreReader

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

ImportStoreReader is a Reader for the ImportStore structure.

func (*ImportStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListStoresOK

type ListStoresOK struct {
	Payload []*platformclientmodels.StoreInfo
}

ListStoresOK handles this case with default header values.

successful operation

func NewListStoresOK

func NewListStoresOK() *ListStoresOK

NewListStoresOK creates a ListStoresOK with default headers values

func (*ListStoresOK) Error

func (o *ListStoresOK) Error() string

func (*ListStoresOK) GetPayload

func (o *ListStoresOK) GetPayload() []*platformclientmodels.StoreInfo

func (*ListStoresOK) ToJSONString added in v0.25.0

func (o *ListStoresOK) ToJSONString() string

type ListStoresParams

type ListStoresParams struct {

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

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

ListStoresParams contains all the parameters to send to the API endpoint for the list stores operation typically these are written to a http.Request

func NewListStoresParams

func NewListStoresParams() *ListStoresParams

NewListStoresParams creates a new ListStoresParams object with the default values initialized.

func NewListStoresParamsWithContext

func NewListStoresParamsWithContext(ctx context.Context) *ListStoresParams

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

func NewListStoresParamsWithHTTPClient

func NewListStoresParamsWithHTTPClient(client *http.Client) *ListStoresParams

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

func NewListStoresParamsWithTimeout

func NewListStoresParamsWithTimeout(timeout time.Duration) *ListStoresParams

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

func (*ListStoresParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the list stores params

func (*ListStoresParams) SetContext

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

SetContext adds the context to the list stores params

func (*ListStoresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list stores params

func (*ListStoresParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the list stores params

func (*ListStoresParams) SetNamespace

func (o *ListStoresParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list stores params

func (*ListStoresParams) SetTimeout

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

SetTimeout adds the timeout to the list stores params

func (*ListStoresParams) WithContext

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

WithContext adds the context to the list stores params

func (*ListStoresParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list stores params

func (*ListStoresParams) WithNamespace

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

WithNamespace adds the namespace to the list stores params

func (*ListStoresParams) WithTimeout

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

WithTimeout adds the timeout to the list stores params

func (*ListStoresParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListStoresReader

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

ListStoresReader is a Reader for the ListStores structure.

func (*ListStoresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListStoresOK

type PublicListStoresOK struct {
	Payload []*platformclientmodels.StoreInfo
}

PublicListStoresOK handles this case with default header values.

successful operation

func NewPublicListStoresOK

func NewPublicListStoresOK() *PublicListStoresOK

NewPublicListStoresOK creates a PublicListStoresOK with default headers values

func (*PublicListStoresOK) Error

func (o *PublicListStoresOK) Error() string

func (*PublicListStoresOK) GetPayload

func (*PublicListStoresOK) ToJSONString added in v0.25.0

func (o *PublicListStoresOK) ToJSONString() string

type PublicListStoresParams

type PublicListStoresParams struct {

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

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

PublicListStoresParams contains all the parameters to send to the API endpoint for the public list stores operation typically these are written to a http.Request

func NewPublicListStoresParams

func NewPublicListStoresParams() *PublicListStoresParams

NewPublicListStoresParams creates a new PublicListStoresParams object with the default values initialized.

func NewPublicListStoresParamsWithContext

func NewPublicListStoresParamsWithContext(ctx context.Context) *PublicListStoresParams

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

func NewPublicListStoresParamsWithHTTPClient

func NewPublicListStoresParamsWithHTTPClient(client *http.Client) *PublicListStoresParams

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

func NewPublicListStoresParamsWithTimeout

func NewPublicListStoresParamsWithTimeout(timeout time.Duration) *PublicListStoresParams

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

func (*PublicListStoresParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the public list stores params

func (*PublicListStoresParams) SetContext

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

SetContext adds the context to the public list stores params

func (*PublicListStoresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list stores params

func (*PublicListStoresParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the public list stores params

func (*PublicListStoresParams) SetNamespace

func (o *PublicListStoresParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list stores params

func (*PublicListStoresParams) SetTimeout

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

SetTimeout adds the timeout to the public list stores params

func (*PublicListStoresParams) WithContext

WithContext adds the context to the public list stores params

func (*PublicListStoresParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public list stores params

func (*PublicListStoresParams) WithNamespace

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

WithNamespace adds the namespace to the public list stores params

func (*PublicListStoresParams) WithTimeout

WithTimeout adds the timeout to the public list stores params

func (*PublicListStoresParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListStoresReader

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

PublicListStoresReader is a Reader for the PublicListStores structure.

func (*PublicListStoresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RollbackPublishedStoreNotFound

type RollbackPublishedStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

RollbackPublishedStoreNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>30143</td><td>Published store [{storeId}] backup doest not exist in namespace [{namespace}]</td></tr></table>

func NewRollbackPublishedStoreNotFound

func NewRollbackPublishedStoreNotFound() *RollbackPublishedStoreNotFound

NewRollbackPublishedStoreNotFound creates a RollbackPublishedStoreNotFound with default headers values

func (*RollbackPublishedStoreNotFound) Error

func (*RollbackPublishedStoreNotFound) GetPayload

func (*RollbackPublishedStoreNotFound) ToJSONString added in v0.25.0

func (o *RollbackPublishedStoreNotFound) ToJSONString() string

type RollbackPublishedStoreOK

type RollbackPublishedStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

RollbackPublishedStoreOK handles this case with default header values.

successful operation

func NewRollbackPublishedStoreOK

func NewRollbackPublishedStoreOK() *RollbackPublishedStoreOK

NewRollbackPublishedStoreOK creates a RollbackPublishedStoreOK with default headers values

func (*RollbackPublishedStoreOK) Error

func (o *RollbackPublishedStoreOK) Error() string

func (*RollbackPublishedStoreOK) GetPayload

func (*RollbackPublishedStoreOK) ToJSONString added in v0.25.0

func (o *RollbackPublishedStoreOK) ToJSONString() string

type RollbackPublishedStoreParams

type RollbackPublishedStoreParams struct {

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

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

RollbackPublishedStoreParams contains all the parameters to send to the API endpoint for the rollback published store operation typically these are written to a http.Request

func NewRollbackPublishedStoreParams

func NewRollbackPublishedStoreParams() *RollbackPublishedStoreParams

NewRollbackPublishedStoreParams creates a new RollbackPublishedStoreParams object with the default values initialized.

func NewRollbackPublishedStoreParamsWithContext

func NewRollbackPublishedStoreParamsWithContext(ctx context.Context) *RollbackPublishedStoreParams

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

func NewRollbackPublishedStoreParamsWithHTTPClient

func NewRollbackPublishedStoreParamsWithHTTPClient(client *http.Client) *RollbackPublishedStoreParams

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

func NewRollbackPublishedStoreParamsWithTimeout

func NewRollbackPublishedStoreParamsWithTimeout(timeout time.Duration) *RollbackPublishedStoreParams

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

func (*RollbackPublishedStoreParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the rollback published store params

func (*RollbackPublishedStoreParams) SetContext

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

SetContext adds the context to the rollback published store params

func (*RollbackPublishedStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rollback published store params

func (*RollbackPublishedStoreParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the rollback published store params

func (*RollbackPublishedStoreParams) SetNamespace

func (o *RollbackPublishedStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the rollback published store params

func (*RollbackPublishedStoreParams) SetTimeout

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

SetTimeout adds the timeout to the rollback published store params

func (*RollbackPublishedStoreParams) WithContext

WithContext adds the context to the rollback published store params

func (*RollbackPublishedStoreParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rollback published store params

func (*RollbackPublishedStoreParams) WithNamespace

WithNamespace adds the namespace to the rollback published store params

func (*RollbackPublishedStoreParams) WithTimeout

WithTimeout adds the timeout to the rollback published store params

func (*RollbackPublishedStoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RollbackPublishedStoreReader

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

RollbackPublishedStoreReader is a Reader for the RollbackPublishedStore structure.

func (*RollbackPublishedStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateStoreConflict

type UpdateStoreConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateStoreConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30171</td><td>Store [{store}] can't change default language to [{language}]</td></tr><tr><td>30172</td><td>Store [{store}] can't change default region to [{region}]</td></tr></table>

func NewUpdateStoreConflict

func NewUpdateStoreConflict() *UpdateStoreConflict

NewUpdateStoreConflict creates a UpdateStoreConflict with default headers values

func (*UpdateStoreConflict) Error

func (o *UpdateStoreConflict) Error() string

func (*UpdateStoreConflict) GetPayload

func (*UpdateStoreConflict) ToJSONString added in v0.25.0

func (o *UpdateStoreConflict) ToJSONString() string

type UpdateStoreNotFound

type UpdateStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateStoreNotFound 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 NewUpdateStoreNotFound

func NewUpdateStoreNotFound() *UpdateStoreNotFound

NewUpdateStoreNotFound creates a UpdateStoreNotFound with default headers values

func (*UpdateStoreNotFound) Error

func (o *UpdateStoreNotFound) Error() string

func (*UpdateStoreNotFound) GetPayload

func (*UpdateStoreNotFound) ToJSONString added in v0.25.0

func (o *UpdateStoreNotFound) ToJSONString() string

type UpdateStoreOK

type UpdateStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

UpdateStoreOK handles this case with default header values.

successful operation

func NewUpdateStoreOK

func NewUpdateStoreOK() *UpdateStoreOK

NewUpdateStoreOK creates a UpdateStoreOK with default headers values

func (*UpdateStoreOK) Error

func (o *UpdateStoreOK) Error() string

func (*UpdateStoreOK) GetPayload

func (o *UpdateStoreOK) GetPayload() *platformclientmodels.StoreInfo

func (*UpdateStoreOK) ToJSONString added in v0.25.0

func (o *UpdateStoreOK) ToJSONString() string

type UpdateStoreParams

type UpdateStoreParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.StoreUpdate
	/*Namespace*/
	Namespace string
	/*StoreID*/
	StoreID string

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

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

func NewUpdateStoreParams

func NewUpdateStoreParams() *UpdateStoreParams

NewUpdateStoreParams creates a new UpdateStoreParams object with the default values initialized.

func NewUpdateStoreParamsWithContext

func NewUpdateStoreParamsWithContext(ctx context.Context) *UpdateStoreParams

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

func NewUpdateStoreParamsWithHTTPClient

func NewUpdateStoreParamsWithHTTPClient(client *http.Client) *UpdateStoreParams

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

func NewUpdateStoreParamsWithTimeout

func NewUpdateStoreParamsWithTimeout(timeout time.Duration) *UpdateStoreParams

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

func (*UpdateStoreParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the update store params

func (*UpdateStoreParams) SetBody

SetBody adds the body to the update store params

func (*UpdateStoreParams) SetContext

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

SetContext adds the context to the update store params

func (*UpdateStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update store params

func (*UpdateStoreParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the update store params

func (*UpdateStoreParams) SetNamespace

func (o *UpdateStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update store params

func (*UpdateStoreParams) SetStoreID

func (o *UpdateStoreParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the update store params

func (*UpdateStoreParams) SetTimeout

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

SetTimeout adds the timeout to the update store params

func (*UpdateStoreParams) WithBody

WithBody adds the body to the update store params

func (*UpdateStoreParams) WithContext

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

WithContext adds the context to the update store params

func (*UpdateStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update store params

func (*UpdateStoreParams) WithNamespace

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

WithNamespace adds the namespace to the update store params

func (*UpdateStoreParams) WithStoreID

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

WithStoreID adds the storeID to the update store params

func (*UpdateStoreParams) WithTimeout

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

WithTimeout adds the timeout to the update store params

func (*UpdateStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateStoreReader

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

UpdateStoreReader is a Reader for the UpdateStore structure.

func (*UpdateStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateStoreUnprocessableEntity

type UpdateStoreUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateStoreUnprocessableEntity 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 NewUpdateStoreUnprocessableEntity

func NewUpdateStoreUnprocessableEntity() *UpdateStoreUnprocessableEntity

NewUpdateStoreUnprocessableEntity creates a UpdateStoreUnprocessableEntity with default headers values

func (*UpdateStoreUnprocessableEntity) Error

func (*UpdateStoreUnprocessableEntity) GetPayload

func (*UpdateStoreUnprocessableEntity) ToJSONString added in v0.25.0

func (o *UpdateStoreUnprocessableEntity) ToJSONString() string

Jump to

Keyboard shortcuts

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