Help us shape the future of Go! Take the 2026 Go Developer Survey

store

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	GetCatalogDefinitionAPPConstant      = "APP"
	GetCatalogDefinitionCATEGORYConstant = "CATEGORY"
	GetCatalogDefinitionITEMConstant     = "ITEM"
	GetCatalogDefinitionSECTIONConstant  = "SECTION"
	GetCatalogDefinitionVIEWConstant     = "VIEW"
)

Deprecated: 2025-07-16 - Use GetCatalogDefinitionCatalogType<EnumValue>Constant instead. Get the enum in GetCatalogDefinitionParams

View Source
const (
	GetCatalogDefinitionCatalogTypeAPPConstant      = "APP"
	GetCatalogDefinitionCatalogTypeCATEGORYConstant = "CATEGORY"
	GetCatalogDefinitionCatalogTypeITEMConstant     = "ITEM"
	GetCatalogDefinitionCatalogTypeSECTIONConstant  = "SECTION"
	GetCatalogDefinitionCatalogTypeVIEWConstant     = "VIEW"
)

Get the enum in GetCatalogDefinitionParams

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

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

CloneStoreShort clone 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.

Other detail info:

  • Returns : clone store info

func (*Client) CreateStoreShort

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

CreateStoreShort create a store This API is used to create a non published store in a namespace.

Other detail info:

  • Returns : created store data

func (*Client) DeletePublishedStoreShort

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

DeletePublishedStoreShort delete published store This API is used to delete published store including category and items before release to public.

Warning: Please do not use this API once published to public user.

func (*Client) DeleteStoreShort

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

DeleteStoreShort delete a store This API is used to delete a store. Only non published store can be deleted. Other detail info:

  • Returns : store

func (*Client) DownloadCSVTemplatesShort

func (a *Client) DownloadCSVTemplatesShort(params *DownloadCSVTemplatesParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*DownloadCSVTemplatesResponse, error)

DownloadCSVTemplatesShort download store csv templates This API is used to download store csv templates for store importing by CSV feature

func (*Client) ExportStore1Short

func (a *Client) ExportStore1Short(params *ExportStore1Params, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStore1Response, error)

ExportStore1Short export a store This API is used to export a whole or partial store.

func (*Client) ExportStoreByCSVShort

func (a *Client) ExportStoreByCSVShort(params *ExportStoreByCSVParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStoreByCSVResponse, error)

ExportStoreByCSVShort export a store to csv format This API is used to export a store to CSV format

func (*Client) ExportStoreShort

func (a *Client) ExportStoreShort(params *ExportStoreParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStoreResponse, error)

ExportStoreShort export a store This API is used to export a store.

This api has been deprecated, pls use /v2/admin/namespaces/{namespace}/stores/export to export store.

func (*Client) GetCatalogConfigShort

func (a *Client) GetCatalogConfigShort(params *GetCatalogConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCatalogConfigResponse, error)

GetCatalogConfigShort get catalog config Get catalog config.

func (*Client) GetCatalogDefinitionShort

func (a *Client) GetCatalogDefinitionShort(params *GetCatalogDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCatalogDefinitionResponse, error)

GetCatalogDefinitionShort get catalog definition This API is used to get catalog definition for import/export store by CSV

Other detail info:

  • Returns : catalog definition

func (*Client) GetPublishedStoreBackupShort

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

GetPublishedStoreBackupShort get a published store's backup This API is used to get a store's backup.

Other detail info:

  • Returns : store backup info

func (*Client) GetPublishedStoreShort

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

GetPublishedStoreShort get published store This API is used to get a published store basic info, exclude category and item information.

Other detail info:

  • Returns : store data

func (*Client) GetStoreShort

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

GetStoreShort get a store This API is used to get a store.

Other detail info:

  • Returns : store data

func (*Client) ImportStore1Short

func (a *Client) ImportStore1Short(params *ImportStore1Params, authInfo runtime.ClientAuthInfoWriter) (*ImportStore1Response, error)

ImportStore1Short import a store This API is used to import a store.

func (*Client) ImportStoreByCSVShort

func (a *Client) ImportStoreByCSVShort(params *ImportStoreByCSVParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStoreByCSVResponse, error)

ImportStoreByCSVShort import store using csv format This API is used to import a store by CSV format, You must select at least one of item/section/display/category for uploading

func (*Client) ImportStoreShort

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

ImportStoreShort import a store This API is used to import a store.

This api has been deprecated, pls use /v2/admin/namespaces/{namespace}/stores/import to import store.

func (*Client) ListStoresShort

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

ListStoresShort list stores This API is used to list stores in a namespace.

Other detail info:

  • Returns : the list of stores

func (*Client) PublicListStoresShort

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

PublicListStoresShort list all stores This API is used to list all stores in a namespace.

Other detail info:

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

func (*Client) QueryImportHistoryShort

func (a *Client) QueryImportHistoryShort(params *QueryImportHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryImportHistoryResponse, error)

QueryImportHistoryShort query import store history This API is used to query import store history

func (*Client) RollbackPublishedStoreShort

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

RollbackPublishedStoreShort rollback a published store This API is used to rollback a published store.

Other detail info:

  • Returns : updated store info

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCatalogConfigShort

func (a *Client) UpdateCatalogConfigShort(params *UpdateCatalogConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCatalogConfigResponse, error)

UpdateCatalogConfigShort update catalog config Update catalog config. Other detail info:

  • Returns : updated catalog config

func (*Client) UpdateStoreShort

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

UpdateStoreShort update a store This API is used to Update a store basic info.

Other detail info:

  • Returns : updated store data

type ClientService

type ClientService interface {
	GetCatalogConfigShort(params *GetCatalogConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCatalogConfigResponse, error)
	UpdateCatalogConfigShort(params *UpdateCatalogConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCatalogConfigResponse, error)
	ListStoresShort(params *ListStoresParams, authInfo runtime.ClientAuthInfoWriter) (*ListStoresResponse, error)
	CreateStoreShort(params *CreateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStoreResponse, error)
	GetCatalogDefinitionShort(params *GetCatalogDefinitionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCatalogDefinitionResponse, error)
	DownloadCSVTemplatesShort(params *DownloadCSVTemplatesParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*DownloadCSVTemplatesResponse, error)
	ExportStoreByCSVShort(params *ExportStoreByCSVParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStoreByCSVResponse, error)
	ImportStoreShort(params *ImportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStoreResponse, error)
	GetPublishedStoreShort(params *GetPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreResponse, error)
	DeletePublishedStoreShort(params *DeletePublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePublishedStoreResponse, error)
	GetPublishedStoreBackupShort(params *GetPublishedStoreBackupParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreBackupResponse, error)
	RollbackPublishedStoreShort(params *RollbackPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*RollbackPublishedStoreResponse, error)
	GetStoreShort(params *GetStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetStoreResponse, error)
	UpdateStoreShort(params *UpdateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStoreResponse, error)
	DeleteStoreShort(params *DeleteStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStoreResponse, error)
	CloneStoreShort(params *CloneStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CloneStoreResponse, error)
	ExportStoreShort(params *ExportStoreParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStoreResponse, error)
	QueryImportHistoryShort(params *QueryImportHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*QueryImportHistoryResponse, error)
	ImportStoreByCSVShort(params *ImportStoreByCSVParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStoreByCSVResponse, error)
	PublicListStoresShort(params *PublicListStoresParams) (*PublicListStoresResponse, error)
	ImportStore1Short(params *ImportStore1Params, authInfo runtime.ClientAuthInfoWriter) (*ImportStore1Response, error)
	ExportStore1Short(params *ExportStore1Params, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportStore1Response, 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

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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *CloneStoreParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CloneStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the clone store params

func (*CloneStoreParams) SetHTTPClientTransport

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

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

func NewCreateStoreConflict() *CreateStoreConflict

NewCreateStoreConflict creates a CreateStoreConflict with default headers values

func (*CreateStoreConflict) Error

func (o *CreateStoreConflict) Error() string

func (*CreateStoreConflict) GetPayload

func (*CreateStoreConflict) ToJSONString

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *CreateStoreParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CreateStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create store params

func (*CreateStoreParams) SetHTTPClientTransport

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

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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *DeletePublishedStoreParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DeletePublishedStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete published store params

func (*DeletePublishedStoreParams) SetHTTPClientTransport

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 DeletePublishedStoreResponse

type DeletePublishedStoreResponse struct {
	platformclientmodels.ApiResponse
	Data *platformclientmodels.StoreInfo

	Error404 *platformclientmodels.ErrorEntity
}

func (*DeletePublishedStoreResponse) Unpack

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

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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *DeleteStoreParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DeleteStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete store params

func (*DeleteStoreParams) SetHTTPClientTransport

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 DownloadCSVTemplatesOK

type DownloadCSVTemplatesOK struct {
	Payload io.Writer
}

DownloadCSVTemplatesOK handles this case with default header values.

Successful operation

func NewDownloadCSVTemplatesOK

func NewDownloadCSVTemplatesOK(writer io.Writer) *DownloadCSVTemplatesOK

NewDownloadCSVTemplatesOK creates a DownloadCSVTemplatesOK with default headers values

func (*DownloadCSVTemplatesOK) Error

func (o *DownloadCSVTemplatesOK) Error() string

func (*DownloadCSVTemplatesOK) GetPayload

func (o *DownloadCSVTemplatesOK) GetPayload() io.Writer

func (*DownloadCSVTemplatesOK) ToJSONString

func (o *DownloadCSVTemplatesOK) ToJSONString() string

type DownloadCSVTemplatesParams

type DownloadCSVTemplatesParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

DownloadCSVTemplatesParams contains all the parameters to send to the API endpoint for the download csv templates operation typically these are written to a http.Request

func NewDownloadCSVTemplatesParams

func NewDownloadCSVTemplatesParams() *DownloadCSVTemplatesParams

NewDownloadCSVTemplatesParams creates a new DownloadCSVTemplatesParams object with the default values initialized.

func NewDownloadCSVTemplatesParamsWithContext

func NewDownloadCSVTemplatesParamsWithContext(ctx context.Context) *DownloadCSVTemplatesParams

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

func NewDownloadCSVTemplatesParamsWithHTTPClient

func NewDownloadCSVTemplatesParamsWithHTTPClient(client *http.Client) *DownloadCSVTemplatesParams

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

func NewDownloadCSVTemplatesParamsWithTimeout

func NewDownloadCSVTemplatesParamsWithTimeout(timeout time.Duration) *DownloadCSVTemplatesParams

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

func (*DownloadCSVTemplatesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the download csv templates params

func (*DownloadCSVTemplatesParams) SetContext

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

SetContext adds the context to the download csv templates params

func (*DownloadCSVTemplatesParams) SetFlightId

func (o *DownloadCSVTemplatesParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DownloadCSVTemplatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the download csv templates params

func (*DownloadCSVTemplatesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the download csv templates params

func (*DownloadCSVTemplatesParams) SetNamespace

func (o *DownloadCSVTemplatesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the download csv templates params

func (*DownloadCSVTemplatesParams) SetTimeout

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

SetTimeout adds the timeout to the download csv templates params

func (*DownloadCSVTemplatesParams) WithContext

WithContext adds the context to the download csv templates params

func (*DownloadCSVTemplatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the download csv templates params

func (*DownloadCSVTemplatesParams) WithNamespace

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

WithNamespace adds the namespace to the download csv templates params

func (*DownloadCSVTemplatesParams) WithTimeout

WithTimeout adds the timeout to the download csv templates params

func (*DownloadCSVTemplatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DownloadCSVTemplatesReader

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

DownloadCSVTemplatesReader is a Reader for the DownloadCSVTemplates structure.

func (*DownloadCSVTemplatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DownloadCSVTemplatesResponse

type DownloadCSVTemplatesResponse struct {
	platformclientmodels.ApiResponse
	Data io.Writer
}

func (*DownloadCSVTemplatesResponse) Unpack

type ExportStore1NotFound

type ExportStore1NotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ExportStore1NotFound 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 NewExportStore1NotFound

func NewExportStore1NotFound() *ExportStore1NotFound

NewExportStore1NotFound creates a ExportStore1NotFound with default headers values

func (*ExportStore1NotFound) Error

func (o *ExportStore1NotFound) Error() string

func (*ExportStore1NotFound) GetPayload

func (*ExportStore1NotFound) ToJSONString

func (o *ExportStore1NotFound) ToJSONString() string

type ExportStore1OK

type ExportStore1OK struct {
	Payload io.Writer
}

ExportStore1OK handles this case with default header values.

Successful operation

func NewExportStore1OK

func NewExportStore1OK(writer io.Writer) *ExportStore1OK

NewExportStore1OK creates a ExportStore1OK with default headers values

func (*ExportStore1OK) Error

func (o *ExportStore1OK) Error() string

func (*ExportStore1OK) GetPayload

func (o *ExportStore1OK) GetPayload() io.Writer

func (*ExportStore1OK) ToJSONString

func (o *ExportStore1OK) ToJSONString() string

type ExportStore1Params

type ExportStore1Params struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewExportStore1Params

func NewExportStore1Params() *ExportStore1Params

NewExportStore1Params creates a new ExportStore1Params object with the default values initialized.

func NewExportStore1ParamsWithContext

func NewExportStore1ParamsWithContext(ctx context.Context) *ExportStore1Params

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

func NewExportStore1ParamsWithHTTPClient

func NewExportStore1ParamsWithHTTPClient(client *http.Client) *ExportStore1Params

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

func NewExportStore1ParamsWithTimeout

func NewExportStore1ParamsWithTimeout(timeout time.Duration) *ExportStore1Params

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

func (*ExportStore1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the export store 1 params

func (*ExportStore1Params) SetBody

SetBody adds the body to the export store 1 params

func (*ExportStore1Params) SetContext

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

SetContext adds the context to the export store 1 params

func (*ExportStore1Params) SetFlightId

func (o *ExportStore1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ExportStore1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export store 1 params

func (*ExportStore1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the export store 1 params

func (*ExportStore1Params) SetNamespace

func (o *ExportStore1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the export store 1 params

func (*ExportStore1Params) SetStoreID

func (o *ExportStore1Params) SetStoreID(storeID string)

SetStoreID adds the storeId to the export store 1 params

func (*ExportStore1Params) SetTimeout

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

SetTimeout adds the timeout to the export store 1 params

func (*ExportStore1Params) WithBody

WithBody adds the body to the export store 1 params

func (*ExportStore1Params) WithContext

WithContext adds the context to the export store 1 params

func (*ExportStore1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export store 1 params

func (*ExportStore1Params) WithNamespace

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

WithNamespace adds the namespace to the export store 1 params

func (*ExportStore1Params) WithStoreID

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

WithStoreID adds the storeID to the export store 1 params

func (*ExportStore1Params) WithTimeout

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

WithTimeout adds the timeout to the export store 1 params

func (*ExportStore1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ExportStore1Reader

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

ExportStore1Reader is a Reader for the ExportStore1 structure.

func (*ExportStore1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportStore1Response

type ExportStore1Response struct {
	platformclientmodels.ApiResponse
	Data io.Writer

	Error404 *platformclientmodels.ErrorEntity
}

func (*ExportStore1Response) Unpack

type ExportStoreByCSVBadRequest

type ExportStoreByCSVBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

ExportStoreByCSVBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30025</td><td>[{header}] is required by CSV import/export for catalogType [{catalogType}]</td></tr></table>

func NewExportStoreByCSVBadRequest

func NewExportStoreByCSVBadRequest() *ExportStoreByCSVBadRequest

NewExportStoreByCSVBadRequest creates a ExportStoreByCSVBadRequest with default headers values

func (*ExportStoreByCSVBadRequest) Error

func (*ExportStoreByCSVBadRequest) GetPayload

func (*ExportStoreByCSVBadRequest) ToJSONString

func (o *ExportStoreByCSVBadRequest) ToJSONString() string

type ExportStoreByCSVConflict

type ExportStoreByCSVConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

ExportStoreByCSVConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30076</td><td>CSV header [{headerName}] is not supported for CatalogType [{catalogType}]</td></tr></table>

func NewExportStoreByCSVConflict

func NewExportStoreByCSVConflict() *ExportStoreByCSVConflict

NewExportStoreByCSVConflict creates a ExportStoreByCSVConflict with default headers values

func (*ExportStoreByCSVConflict) Error

func (o *ExportStoreByCSVConflict) Error() string

func (*ExportStoreByCSVConflict) GetPayload

func (*ExportStoreByCSVConflict) ToJSONString

func (o *ExportStoreByCSVConflict) ToJSONString() string

type ExportStoreByCSVNotFound

type ExportStoreByCSVNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ExportStoreByCSVNotFound 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><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewExportStoreByCSVNotFound

func NewExportStoreByCSVNotFound() *ExportStoreByCSVNotFound

NewExportStoreByCSVNotFound creates a ExportStoreByCSVNotFound with default headers values

func (*ExportStoreByCSVNotFound) Error

func (o *ExportStoreByCSVNotFound) Error() string

func (*ExportStoreByCSVNotFound) GetPayload

func (*ExportStoreByCSVNotFound) ToJSONString

func (o *ExportStoreByCSVNotFound) ToJSONString() string

type ExportStoreByCSVOK

type ExportStoreByCSVOK struct {
	Payload io.Writer
}

ExportStoreByCSVOK handles this case with default header values.

Successful operation

func NewExportStoreByCSVOK

func NewExportStoreByCSVOK(writer io.Writer) *ExportStoreByCSVOK

NewExportStoreByCSVOK creates a ExportStoreByCSVOK with default headers values

func (*ExportStoreByCSVOK) Error

func (o *ExportStoreByCSVOK) Error() string

func (*ExportStoreByCSVOK) GetPayload

func (o *ExportStoreByCSVOK) GetPayload() io.Writer

func (*ExportStoreByCSVOK) ToJSONString

func (o *ExportStoreByCSVOK) ToJSONString() string

type ExportStoreByCSVParams

type ExportStoreByCSVParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.ExportStoreToCSVRequest
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewExportStoreByCSVParams

func NewExportStoreByCSVParams() *ExportStoreByCSVParams

NewExportStoreByCSVParams creates a new ExportStoreByCSVParams object with the default values initialized.

func NewExportStoreByCSVParamsWithContext

func NewExportStoreByCSVParamsWithContext(ctx context.Context) *ExportStoreByCSVParams

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

func NewExportStoreByCSVParamsWithHTTPClient

func NewExportStoreByCSVParamsWithHTTPClient(client *http.Client) *ExportStoreByCSVParams

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

func NewExportStoreByCSVParamsWithTimeout

func NewExportStoreByCSVParamsWithTimeout(timeout time.Duration) *ExportStoreByCSVParams

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

func (*ExportStoreByCSVParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the export store by csv params

func (*ExportStoreByCSVParams) SetBody

SetBody adds the body to the export store by csv params

func (*ExportStoreByCSVParams) SetContext

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

SetContext adds the context to the export store by csv params

func (*ExportStoreByCSVParams) SetFlightId

func (o *ExportStoreByCSVParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ExportStoreByCSVParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export store by csv params

func (*ExportStoreByCSVParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the export store by csv params

func (*ExportStoreByCSVParams) SetNamespace

func (o *ExportStoreByCSVParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the export store by csv params

func (*ExportStoreByCSVParams) SetTimeout

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

SetTimeout adds the timeout to the export store by csv params

func (*ExportStoreByCSVParams) WithBody

WithBody adds the body to the export store by csv params

func (*ExportStoreByCSVParams) WithContext

WithContext adds the context to the export store by csv params

func (*ExportStoreByCSVParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export store by csv params

func (*ExportStoreByCSVParams) WithNamespace

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

WithNamespace adds the namespace to the export store by csv params

func (*ExportStoreByCSVParams) WithTimeout

WithTimeout adds the timeout to the export store by csv params

func (*ExportStoreByCSVParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExportStoreByCSVReader

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

ExportStoreByCSVReader is a Reader for the ExportStoreByCSV structure.

func (*ExportStoreByCSVReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportStoreByCSVResponse

func (*ExportStoreByCSVResponse) Unpack

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

func (o *ExportStoreNotFound) ToJSONString() string

type ExportStoreOK

type ExportStoreOK struct {
	Payload io.Writer
}

ExportStoreOK handles this case with default header values.

Successful operation

func NewExportStoreOK

func NewExportStoreOK(writer io.Writer) *ExportStoreOK

NewExportStoreOK creates a ExportStoreOK with default headers values

func (*ExportStoreOK) Error

func (o *ExportStoreOK) Error() string

func (*ExportStoreOK) GetPayload

func (o *ExportStoreOK) GetPayload() io.Writer

func (*ExportStoreOK) ToJSONString

func (o *ExportStoreOK) ToJSONString() 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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *ExportStoreParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ExportStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export store params

func (*ExportStoreParams) SetHTTPClientTransport

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 ExportStoreResponse

type ExportStoreResponse struct {
	platformclientmodels.ApiResponse
	Data io.Writer

	Error404 *platformclientmodels.ErrorEntity
}

func (*ExportStoreResponse) Unpack

type GetCatalogConfigOK

type GetCatalogConfigOK struct {
	Payload *platformclientmodels.CatalogConfigInfo
}

GetCatalogConfigOK handles this case with default header values.

successful operation

func NewGetCatalogConfigOK

func NewGetCatalogConfigOK() *GetCatalogConfigOK

NewGetCatalogConfigOK creates a GetCatalogConfigOK with default headers values

func (*GetCatalogConfigOK) Error

func (o *GetCatalogConfigOK) Error() string

func (*GetCatalogConfigOK) GetPayload

func (*GetCatalogConfigOK) ToJSONString

func (o *GetCatalogConfigOK) ToJSONString() string

type GetCatalogConfigParams

type GetCatalogConfigParams struct {

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

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetCatalogConfigParams contains all the parameters to send to the API endpoint for the get catalog config operation typically these are written to a http.Request

func NewGetCatalogConfigParams

func NewGetCatalogConfigParams() *GetCatalogConfigParams

NewGetCatalogConfigParams creates a new GetCatalogConfigParams object with the default values initialized.

func NewGetCatalogConfigParamsWithContext

func NewGetCatalogConfigParamsWithContext(ctx context.Context) *GetCatalogConfigParams

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

func NewGetCatalogConfigParamsWithHTTPClient

func NewGetCatalogConfigParamsWithHTTPClient(client *http.Client) *GetCatalogConfigParams

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

func NewGetCatalogConfigParamsWithTimeout

func NewGetCatalogConfigParamsWithTimeout(timeout time.Duration) *GetCatalogConfigParams

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

func (*GetCatalogConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get catalog config params

func (*GetCatalogConfigParams) SetContext

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

SetContext adds the context to the get catalog config params

func (*GetCatalogConfigParams) SetFlightId

func (o *GetCatalogConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetCatalogConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get catalog config params

func (*GetCatalogConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get catalog config params

func (*GetCatalogConfigParams) SetNamespace

func (o *GetCatalogConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get catalog config params

func (*GetCatalogConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get catalog config params

func (*GetCatalogConfigParams) WithContext

WithContext adds the context to the get catalog config params

func (*GetCatalogConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get catalog config params

func (*GetCatalogConfigParams) WithNamespace

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

WithNamespace adds the namespace to the get catalog config params

func (*GetCatalogConfigParams) WithTimeout

WithTimeout adds the timeout to the get catalog config params

func (*GetCatalogConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCatalogConfigReader

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

GetCatalogConfigReader is a Reader for the GetCatalogConfig structure.

func (*GetCatalogConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCatalogDefinitionOK

type GetCatalogDefinitionOK struct {
	Payload []*platformclientmodels.CatalogDefinitionInfo
}

GetCatalogDefinitionOK handles this case with default header values.

successful operation

func NewGetCatalogDefinitionOK

func NewGetCatalogDefinitionOK() *GetCatalogDefinitionOK

NewGetCatalogDefinitionOK creates a GetCatalogDefinitionOK with default headers values

func (*GetCatalogDefinitionOK) Error

func (o *GetCatalogDefinitionOK) Error() string

func (*GetCatalogDefinitionOK) GetPayload

func (*GetCatalogDefinitionOK) ToJSONString

func (o *GetCatalogDefinitionOK) ToJSONString() string

type GetCatalogDefinitionParams

type GetCatalogDefinitionParams struct {

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

	*/
	Namespace string
	/*CatalogType*/
	CatalogType string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetCatalogDefinitionParams contains all the parameters to send to the API endpoint for the get catalog definition operation typically these are written to a http.Request

func NewGetCatalogDefinitionParams

func NewGetCatalogDefinitionParams() *GetCatalogDefinitionParams

NewGetCatalogDefinitionParams creates a new GetCatalogDefinitionParams object with the default values initialized.

func NewGetCatalogDefinitionParamsWithContext

func NewGetCatalogDefinitionParamsWithContext(ctx context.Context) *GetCatalogDefinitionParams

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

func NewGetCatalogDefinitionParamsWithHTTPClient

func NewGetCatalogDefinitionParamsWithHTTPClient(client *http.Client) *GetCatalogDefinitionParams

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

func NewGetCatalogDefinitionParamsWithTimeout

func NewGetCatalogDefinitionParamsWithTimeout(timeout time.Duration) *GetCatalogDefinitionParams

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

func (*GetCatalogDefinitionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get catalog definition params

func (*GetCatalogDefinitionParams) SetCatalogType

func (o *GetCatalogDefinitionParams) SetCatalogType(catalogType string)

SetCatalogType adds the catalogType to the get catalog definition params

func (*GetCatalogDefinitionParams) SetContext

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

SetContext adds the context to the get catalog definition params

func (*GetCatalogDefinitionParams) SetFlightId

func (o *GetCatalogDefinitionParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetCatalogDefinitionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get catalog definition params

func (*GetCatalogDefinitionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get catalog definition params

func (*GetCatalogDefinitionParams) SetNamespace

func (o *GetCatalogDefinitionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get catalog definition params

func (*GetCatalogDefinitionParams) SetTimeout

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

SetTimeout adds the timeout to the get catalog definition params

func (*GetCatalogDefinitionParams) WithCatalogType

func (o *GetCatalogDefinitionParams) WithCatalogType(catalogType string) *GetCatalogDefinitionParams

WithCatalogType adds the catalogType to the get catalog definition params

func (*GetCatalogDefinitionParams) WithContext

WithContext adds the context to the get catalog definition params

func (*GetCatalogDefinitionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get catalog definition params

func (*GetCatalogDefinitionParams) WithNamespace

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

WithNamespace adds the namespace to the get catalog definition params

func (*GetCatalogDefinitionParams) WithTimeout

WithTimeout adds the timeout to the get catalog definition params

func (*GetCatalogDefinitionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCatalogDefinitionReader

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

GetCatalogDefinitionReader is a Reader for the GetCatalogDefinition structure.

func (*GetCatalogDefinitionReader) ReadResponse

func (o *GetCatalogDefinitionReader) 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 does 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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *GetPublishedStoreBackupParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetPublishedStoreBackupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get published store backup params

func (*GetPublishedStoreBackupParams) SetHTTPClientTransport

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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *GetPublishedStoreParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetPublishedStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get published store params

func (*GetPublishedStoreParams) SetHTTPClientTransport

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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *GetStoreParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get store params

func (*GetStoreParams) SetHTTPClientTransport

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 ImportStore1BadRequest

type ImportStore1BadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

ImportStore1BadRequest 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 NewImportStore1BadRequest

func NewImportStore1BadRequest() *ImportStore1BadRequest

NewImportStore1BadRequest creates a ImportStore1BadRequest with default headers values

func (*ImportStore1BadRequest) Error

func (o *ImportStore1BadRequest) Error() string

func (*ImportStore1BadRequest) GetPayload

func (*ImportStore1BadRequest) ToJSONString

func (o *ImportStore1BadRequest) ToJSONString() string

type ImportStore1NotFound

type ImportStore1NotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ImportStore1NotFound 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 NewImportStore1NotFound

func NewImportStore1NotFound() *ImportStore1NotFound

NewImportStore1NotFound creates a ImportStore1NotFound with default headers values

func (*ImportStore1NotFound) Error

func (o *ImportStore1NotFound) Error() string

func (*ImportStore1NotFound) GetPayload

func (*ImportStore1NotFound) ToJSONString

func (o *ImportStore1NotFound) ToJSONString() string

type ImportStore1OK

type ImportStore1OK struct {
	Payload *platformclientmodels.ImportStoreResult
}

ImportStore1OK handles this case with default header values.

successful operation

func NewImportStore1OK

func NewImportStore1OK() *ImportStore1OK

NewImportStore1OK creates a ImportStore1OK with default headers values

func (*ImportStore1OK) Error

func (o *ImportStore1OK) Error() string

func (*ImportStore1OK) GetPayload

func (*ImportStore1OK) ToJSONString

func (o *ImportStore1OK) ToJSONString() string

type ImportStore1Params

type ImportStore1Params 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
	/*StrictMode
	  default strict mode is true, if strict mode is false, will not do any validation.

	*/
	StrictMode *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewImportStore1Params

func NewImportStore1Params() *ImportStore1Params

NewImportStore1Params creates a new ImportStore1Params object with the default values initialized.

func NewImportStore1ParamsWithContext

func NewImportStore1ParamsWithContext(ctx context.Context) *ImportStore1Params

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

func NewImportStore1ParamsWithHTTPClient

func NewImportStore1ParamsWithHTTPClient(client *http.Client) *ImportStore1Params

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

func NewImportStore1ParamsWithTimeout

func NewImportStore1ParamsWithTimeout(timeout time.Duration) *ImportStore1Params

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

func (*ImportStore1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the import store 1 params

func (*ImportStore1Params) SetContext

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

SetContext adds the context to the import store 1 params

func (*ImportStore1Params) SetFile

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

SetFile adds the file to the import store 1 params

func (*ImportStore1Params) SetFlightId

func (o *ImportStore1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ImportStore1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import store 1 params

func (*ImportStore1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the import store 1 params

func (*ImportStore1Params) SetNamespace

func (o *ImportStore1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the import store 1 params

func (*ImportStore1Params) SetStoreID

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

SetStoreID adds the storeId to the import store 1 params

func (*ImportStore1Params) SetStrictMode

func (o *ImportStore1Params) SetStrictMode(strictMode *bool)

SetStrictMode adds the strictMode to the import store 1 params

func (*ImportStore1Params) SetTimeout

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

SetTimeout adds the timeout to the import store 1 params

func (*ImportStore1Params) WithContext

WithContext adds the context to the import store 1 params

func (*ImportStore1Params) WithFile

WithFile adds the file to the import store 1 params

func (*ImportStore1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import store 1 params

func (*ImportStore1Params) WithNamespace

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

WithNamespace adds the namespace to the import store 1 params

func (*ImportStore1Params) WithStoreID

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

WithStoreID adds the storeID to the import store 1 params

func (*ImportStore1Params) WithStrictMode

func (o *ImportStore1Params) WithStrictMode(strictMode *bool) *ImportStore1Params

WithStrictMode adds the strictMode to the import store 1 params

func (*ImportStore1Params) WithTimeout

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

WithTimeout adds the timeout to the import store 1 params

func (*ImportStore1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ImportStore1Reader

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

ImportStore1Reader is a Reader for the ImportStore1 structure.

func (*ImportStore1Reader) ReadResponse

func (o *ImportStore1Reader) 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><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr><tr><td>30122</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30375</td><td>Item id [{itemId}] of sku [{sku}] is duplicate with un-published deleted item in namespace [{namespace}]</td></tr><tr><td>37041</td><td>Ticket booth [{boothName}] does not exist in namespace [{namespace}]</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

func (o *ImportStoreBadRequest) ToJSONString() string

type ImportStoreByCSVBadRequest

type ImportStoreByCSVBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

ImportStoreByCSVBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30024</td><td>Unable to parse CSV cell [{content}]</td></tr><tr><td>30025</td><td>[{header}] is required by CSV import/export for catalogType [{catalogType}]</td></tr><tr><td>30121</td><td>Store data is invalid</td></tr></table>

func NewImportStoreByCSVBadRequest

func NewImportStoreByCSVBadRequest() *ImportStoreByCSVBadRequest

NewImportStoreByCSVBadRequest creates a ImportStoreByCSVBadRequest with default headers values

func (*ImportStoreByCSVBadRequest) Error

func (*ImportStoreByCSVBadRequest) GetPayload

func (*ImportStoreByCSVBadRequest) ToJSONString

func (o *ImportStoreByCSVBadRequest) ToJSONString() string

type ImportStoreByCSVConflict

type ImportStoreByCSVConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

ImportStoreByCSVConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30076</td><td>CSV header [{headerName}] is not supported for CatalogType [{catalogType}]</td></tr><tr><td>30382</td><td>Duplicated Item sku [{sku}]</td></tr></table>

func NewImportStoreByCSVConflict

func NewImportStoreByCSVConflict() *ImportStoreByCSVConflict

NewImportStoreByCSVConflict creates a ImportStoreByCSVConflict with default headers values

func (*ImportStoreByCSVConflict) Error

func (o *ImportStoreByCSVConflict) Error() string

func (*ImportStoreByCSVConflict) GetPayload

func (*ImportStoreByCSVConflict) ToJSONString

func (o *ImportStoreByCSVConflict) ToJSONString() string

type ImportStoreByCSVNotFound

type ImportStoreByCSVNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ImportStoreByCSVNotFound 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><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr></table>

func NewImportStoreByCSVNotFound

func NewImportStoreByCSVNotFound() *ImportStoreByCSVNotFound

NewImportStoreByCSVNotFound creates a ImportStoreByCSVNotFound with default headers values

func (*ImportStoreByCSVNotFound) Error

func (o *ImportStoreByCSVNotFound) Error() string

func (*ImportStoreByCSVNotFound) GetPayload

func (*ImportStoreByCSVNotFound) ToJSONString

func (o *ImportStoreByCSVNotFound) ToJSONString() string

type ImportStoreByCSVOK

type ImportStoreByCSVOK struct {
	Payload *platformclientmodels.ImportStoreResult
}

ImportStoreByCSVOK handles this case with default header values.

successful operation

func NewImportStoreByCSVOK

func NewImportStoreByCSVOK() *ImportStoreByCSVOK

NewImportStoreByCSVOK creates a ImportStoreByCSVOK with default headers values

func (*ImportStoreByCSVOK) Error

func (o *ImportStoreByCSVOK) Error() string

func (*ImportStoreByCSVOK) GetPayload

func (*ImportStoreByCSVOK) ToJSONString

func (o *ImportStoreByCSVOK) ToJSONString() string

type ImportStoreByCSVParams

type ImportStoreByCSVParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Category*/
	Category runtime.NamedReadCloser
	/*Display*/
	Display runtime.NamedReadCloser
	/*Item*/
	Item runtime.NamedReadCloser
	/*Notes*/
	Notes *string
	/*Section*/
	Section runtime.NamedReadCloser
	/*Namespace*/
	Namespace string
	/*StoreID*/
	StoreID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewImportStoreByCSVParams

func NewImportStoreByCSVParams() *ImportStoreByCSVParams

NewImportStoreByCSVParams creates a new ImportStoreByCSVParams object with the default values initialized.

func NewImportStoreByCSVParamsWithContext

func NewImportStoreByCSVParamsWithContext(ctx context.Context) *ImportStoreByCSVParams

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

func NewImportStoreByCSVParamsWithHTTPClient

func NewImportStoreByCSVParamsWithHTTPClient(client *http.Client) *ImportStoreByCSVParams

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

func NewImportStoreByCSVParamsWithTimeout

func NewImportStoreByCSVParamsWithTimeout(timeout time.Duration) *ImportStoreByCSVParams

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

func (*ImportStoreByCSVParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the import store by csv params

func (*ImportStoreByCSVParams) SetCategory

func (o *ImportStoreByCSVParams) SetCategory(category runtime.NamedReadCloser)

SetCategory adds the category to the import store by csv params

func (*ImportStoreByCSVParams) SetContext

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

SetContext adds the context to the import store by csv params

func (*ImportStoreByCSVParams) SetDisplay

func (o *ImportStoreByCSVParams) SetDisplay(display runtime.NamedReadCloser)

SetDisplay adds the display to the import store by csv params

func (*ImportStoreByCSVParams) SetFlightId

func (o *ImportStoreByCSVParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ImportStoreByCSVParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import store by csv params

func (*ImportStoreByCSVParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the import store by csv params

func (*ImportStoreByCSVParams) SetItem

SetItem adds the item to the import store by csv params

func (*ImportStoreByCSVParams) SetNamespace

func (o *ImportStoreByCSVParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the import store by csv params

func (*ImportStoreByCSVParams) SetNotes

func (o *ImportStoreByCSVParams) SetNotes(notes *string)

SetNotes adds the notes to the import store by csv params

func (*ImportStoreByCSVParams) SetSection

func (o *ImportStoreByCSVParams) SetSection(section runtime.NamedReadCloser)

SetSection adds the section to the import store by csv params

func (*ImportStoreByCSVParams) SetStoreID

func (o *ImportStoreByCSVParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the import store by csv params

func (*ImportStoreByCSVParams) SetTimeout

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

SetTimeout adds the timeout to the import store by csv params

func (*ImportStoreByCSVParams) WithCategory

WithCategory adds the category to the import store by csv params

func (*ImportStoreByCSVParams) WithContext

WithContext adds the context to the import store by csv params

func (*ImportStoreByCSVParams) WithDisplay

WithDisplay adds the display to the import store by csv params

func (*ImportStoreByCSVParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import store by csv params

func (*ImportStoreByCSVParams) WithItem

WithItem adds the item to the import store by csv params

func (*ImportStoreByCSVParams) WithNamespace

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

WithNamespace adds the namespace to the import store by csv params

func (*ImportStoreByCSVParams) WithNotes

WithNotes adds the notes to the import store by csv params

func (*ImportStoreByCSVParams) WithSection

WithSection adds the section to the import store by csv params

func (*ImportStoreByCSVParams) WithStoreID

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

WithStoreID adds the storeID to the import store by csv params

func (*ImportStoreByCSVParams) WithTimeout

WithTimeout adds the timeout to the import store by csv params

func (*ImportStoreByCSVParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ImportStoreByCSVReader

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

ImportStoreByCSVReader is a Reader for the ImportStoreByCSV structure.

func (*ImportStoreByCSVReader) ReadResponse

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

ReadResponse reads a server response into the received o.

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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *ImportStoreParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ImportStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import store params

func (*ImportStoreParams) SetHTTPClientTransport

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *ListStoresParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ListStoresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list stores params

func (*ListStoresParams) SetHTTPClientTransport

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 ListStoresResponse

type ListStoresResponse struct {
	platformclientmodels.ApiResponse
	Data []*platformclientmodels.StoreInfo
}

func (*ListStoresResponse) Unpack

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *PublicListStoresParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicListStoresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list stores params

func (*PublicListStoresParams) SetHTTPClientTransport

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 PublicListStoresResponse

type PublicListStoresResponse struct {
	platformclientmodels.ApiResponse
	Data []*platformclientmodels.StoreInfo
}

func (*PublicListStoresResponse) Unpack

type QueryImportHistoryBadRequest

type QueryImportHistoryBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

QueryImportHistoryBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20027</td><td>Invalid time range</td></tr></table>

func NewQueryImportHistoryBadRequest

func NewQueryImportHistoryBadRequest() *QueryImportHistoryBadRequest

NewQueryImportHistoryBadRequest creates a QueryImportHistoryBadRequest with default headers values

func (*QueryImportHistoryBadRequest) Error

func (*QueryImportHistoryBadRequest) GetPayload

func (*QueryImportHistoryBadRequest) ToJSONString

func (o *QueryImportHistoryBadRequest) ToJSONString() string

type QueryImportHistoryOK

type QueryImportHistoryOK struct {
	Payload *platformclientmodels.ImportStoreHistoryPagingResult
}

QueryImportHistoryOK handles this case with default header values.

successful operation

func NewQueryImportHistoryOK

func NewQueryImportHistoryOK() *QueryImportHistoryOK

NewQueryImportHistoryOK creates a QueryImportHistoryOK with default headers values

func (*QueryImportHistoryOK) Error

func (o *QueryImportHistoryOK) Error() string

func (*QueryImportHistoryOK) GetPayload

func (*QueryImportHistoryOK) ToJSONString

func (o *QueryImportHistoryOK) ToJSONString() string

type QueryImportHistoryParams

type QueryImportHistoryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*StoreID*/
	StoreID string
	/*End*/
	End *string
	/*Limit
	    limit. <div style="border-left: 4px solid #ffc107; background-color: #fff8e1; padding: 10px; margin: 10px 0;">
	    For performance and stability reasons, it is recommended to keep the
	    <code>limit</code> value <strong>no greater than 100</strong>. Using higher values may lead to increased response times or degraded service performance.
	</div>


	*/
	Limit *int32
	/*Offset*/
	Offset *int32
	/*SortBy
	  default createdAt:desc. Allowed values: [createdAt:asc, createdAt:desc]

	*/
	SortBy *string
	/*Start*/
	Start *string
	/*Success*/
	Success *bool

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

QueryImportHistoryParams contains all the parameters to send to the API endpoint for the query import history operation typically these are written to a http.Request

func NewQueryImportHistoryParams

func NewQueryImportHistoryParams() *QueryImportHistoryParams

NewQueryImportHistoryParams creates a new QueryImportHistoryParams object with the default values initialized.

func NewQueryImportHistoryParamsWithContext

func NewQueryImportHistoryParamsWithContext(ctx context.Context) *QueryImportHistoryParams

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

func NewQueryImportHistoryParamsWithHTTPClient

func NewQueryImportHistoryParamsWithHTTPClient(client *http.Client) *QueryImportHistoryParams

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

func NewQueryImportHistoryParamsWithTimeout

func NewQueryImportHistoryParamsWithTimeout(timeout time.Duration) *QueryImportHistoryParams

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

func (*QueryImportHistoryParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the query import history params

func (*QueryImportHistoryParams) SetContext

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

SetContext adds the context to the query import history params

func (*QueryImportHistoryParams) SetEnd

func (o *QueryImportHistoryParams) SetEnd(end *string)

SetEnd adds the end to the query import history params

func (*QueryImportHistoryParams) SetFlightId

func (o *QueryImportHistoryParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*QueryImportHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query import history params

func (*QueryImportHistoryParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the query import history params

func (*QueryImportHistoryParams) SetLimit

func (o *QueryImportHistoryParams) SetLimit(limit *int32)

SetLimit adds the limit to the query import history params

func (*QueryImportHistoryParams) SetNamespace

func (o *QueryImportHistoryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query import history params

func (*QueryImportHistoryParams) SetOffset

func (o *QueryImportHistoryParams) SetOffset(offset *int32)

SetOffset adds the offset to the query import history params

func (*QueryImportHistoryParams) SetSortBy

func (o *QueryImportHistoryParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the query import history params

func (*QueryImportHistoryParams) SetStart

func (o *QueryImportHistoryParams) SetStart(start *string)

SetStart adds the start to the query import history params

func (*QueryImportHistoryParams) SetStoreID

func (o *QueryImportHistoryParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the query import history params

func (*QueryImportHistoryParams) SetSuccess

func (o *QueryImportHistoryParams) SetSuccess(success *bool)

SetSuccess adds the success to the query import history params

func (*QueryImportHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the query import history params

func (*QueryImportHistoryParams) WithContext

WithContext adds the context to the query import history params

func (*QueryImportHistoryParams) WithEnd

WithEnd adds the end to the query import history params

func (*QueryImportHistoryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query import history params

func (*QueryImportHistoryParams) WithLimit

WithLimit adds the limit to the query import history params

func (*QueryImportHistoryParams) WithNamespace

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

WithNamespace adds the namespace to the query import history params

func (*QueryImportHistoryParams) WithOffset

WithOffset adds the offset to the query import history params

func (*QueryImportHistoryParams) WithSortBy

WithSortBy adds the sortBy to the query import history params

func (*QueryImportHistoryParams) WithStart

WithStart adds the start to the query import history params

func (*QueryImportHistoryParams) WithStoreID

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

WithStoreID adds the storeID to the query import history params

func (*QueryImportHistoryParams) WithSuccess

func (o *QueryImportHistoryParams) WithSuccess(success *bool) *QueryImportHistoryParams

WithSuccess adds the success to the query import history params

func (*QueryImportHistoryParams) WithTimeout

WithTimeout adds the timeout to the query import history params

func (*QueryImportHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryImportHistoryReader

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

QueryImportHistoryReader is a Reader for the QueryImportHistory structure.

func (*QueryImportHistoryReader) ReadResponse

func (o *QueryImportHistoryReader) 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 does 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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *RollbackPublishedStoreParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*RollbackPublishedStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rollback published store params

func (*RollbackPublishedStoreParams) SetHTTPClientTransport

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 RollbackPublishedStoreResponse

type RollbackPublishedStoreResponse struct {
	platformclientmodels.ApiResponse
	Data *platformclientmodels.StoreInfo

	Error404 *platformclientmodels.ErrorEntity
}

func (*RollbackPublishedStoreResponse) Unpack

type UpdateCatalogConfigOK

type UpdateCatalogConfigOK struct {
	Payload *platformclientmodels.CatalogConfigInfo
}

UpdateCatalogConfigOK handles this case with default header values.

successful operation

func NewUpdateCatalogConfigOK

func NewUpdateCatalogConfigOK() *UpdateCatalogConfigOK

NewUpdateCatalogConfigOK creates a UpdateCatalogConfigOK with default headers values

func (*UpdateCatalogConfigOK) Error

func (o *UpdateCatalogConfigOK) Error() string

func (*UpdateCatalogConfigOK) GetPayload

func (*UpdateCatalogConfigOK) ToJSONString

func (o *UpdateCatalogConfigOK) ToJSONString() string

type UpdateCatalogConfigParams

type UpdateCatalogConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.CatalogConfigUpdate
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UpdateCatalogConfigParams contains all the parameters to send to the API endpoint for the update catalog config operation typically these are written to a http.Request

func NewUpdateCatalogConfigParams

func NewUpdateCatalogConfigParams() *UpdateCatalogConfigParams

NewUpdateCatalogConfigParams creates a new UpdateCatalogConfigParams object with the default values initialized.

func NewUpdateCatalogConfigParamsWithContext

func NewUpdateCatalogConfigParamsWithContext(ctx context.Context) *UpdateCatalogConfigParams

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

func NewUpdateCatalogConfigParamsWithHTTPClient

func NewUpdateCatalogConfigParamsWithHTTPClient(client *http.Client) *UpdateCatalogConfigParams

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

func NewUpdateCatalogConfigParamsWithTimeout

func NewUpdateCatalogConfigParamsWithTimeout(timeout time.Duration) *UpdateCatalogConfigParams

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

func (*UpdateCatalogConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update catalog config params

func (*UpdateCatalogConfigParams) SetBody

SetBody adds the body to the update catalog config params

func (*UpdateCatalogConfigParams) SetContext

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

SetContext adds the context to the update catalog config params

func (*UpdateCatalogConfigParams) SetFlightId

func (o *UpdateCatalogConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateCatalogConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update catalog config params

func (*UpdateCatalogConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update catalog config params

func (*UpdateCatalogConfigParams) SetNamespace

func (o *UpdateCatalogConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update catalog config params

func (*UpdateCatalogConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update catalog config params

func (*UpdateCatalogConfigParams) WithBody

WithBody adds the body to the update catalog config params

func (*UpdateCatalogConfigParams) WithContext

WithContext adds the context to the update catalog config params

func (*UpdateCatalogConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update catalog config params

func (*UpdateCatalogConfigParams) WithNamespace

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

WithNamespace adds the namespace to the update catalog config params

func (*UpdateCatalogConfigParams) WithTimeout

WithTimeout adds the timeout to the update catalog config params

func (*UpdateCatalogConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCatalogConfigReader

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

UpdateCatalogConfigReader is a Reader for the UpdateCatalogConfig structure.

func (*UpdateCatalogConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCatalogConfigUnprocessableEntity

type UpdateCatalogConfigUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateCatalogConfigUnprocessableEntity 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 NewUpdateCatalogConfigUnprocessableEntity

func NewUpdateCatalogConfigUnprocessableEntity() *UpdateCatalogConfigUnprocessableEntity

NewUpdateCatalogConfigUnprocessableEntity creates a UpdateCatalogConfigUnprocessableEntity with default headers values

func (*UpdateCatalogConfigUnprocessableEntity) Error

func (*UpdateCatalogConfigUnprocessableEntity) GetPayload

func (*UpdateCatalogConfigUnprocessableEntity) ToJSONString

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

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

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *UpdateStoreParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update store params

func (*UpdateStoreParams) SetHTTPClientTransport

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

func (o *UpdateStoreUnprocessableEntity) ToJSONString() string

Jump to

Keyboard shortcuts

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