Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) GetStatistic(params *GetStatisticParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatisticOK, error)deprecated
- func (a *Client) GetStatisticShort(params *GetStatisticParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatisticOK, error)
- func (a *Client) PublishAll(params *PublishAllParams, authInfo runtime.ClientAuthInfoWriter) (*PublishAllOK, *PublishAllBadRequest, *PublishAllNotFound, error)deprecated
- func (a *Client) PublishAllShort(params *PublishAllParams, authInfo runtime.ClientAuthInfoWriter) (*PublishAllOK, error)
- func (a *Client) PublishSelected(params *PublishSelectedParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSelectedOK, *PublishSelectedBadRequest, *PublishSelectedNotFound, ...)deprecated
- func (a *Client) PublishSelectedShort(params *PublishSelectedParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSelectedOK, error)
- func (a *Client) QueryChanges(params *QueryChangesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryChangesOK, error)deprecated
- func (a *Client) QueryChangesShort(params *QueryChangesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryChangesOK, error)
- func (a *Client) SelectAllRecords(params *SelectAllRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*SelectAllRecordsNoContent, *SelectAllRecordsNotFound, error)deprecated
- func (a *Client) SelectAllRecordsShort(params *SelectAllRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*SelectAllRecordsNoContent, error)
- func (a *Client) SelectRecord(params *SelectRecordParams, authInfo runtime.ClientAuthInfoWriter) (*SelectRecordNoContent, *SelectRecordNotFound, error)deprecated
- func (a *Client) SelectRecordShort(params *SelectRecordParams, authInfo runtime.ClientAuthInfoWriter) (*SelectRecordNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnselectAllRecords(params *UnselectAllRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*UnselectAllRecordsNoContent, *UnselectAllRecordsNotFound, error)deprecated
- func (a *Client) UnselectAllRecordsShort(params *UnselectAllRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*UnselectAllRecordsNoContent, error)
- func (a *Client) UnselectRecord(params *UnselectRecordParams, authInfo runtime.ClientAuthInfoWriter) (*UnselectRecordNoContent, *UnselectRecordNotFound, *UnselectRecordConflict, ...)deprecated
- func (a *Client) UnselectRecordShort(params *UnselectRecordParams, authInfo runtime.ClientAuthInfoWriter) (*UnselectRecordNoContent, error)
- type ClientService
- type GetStatisticOK
- type GetStatisticParams
- func (o *GetStatisticParams) SetAction(action *string)
- func (o *GetStatisticParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetStatisticParams) SetContext(ctx context.Context)
- func (o *GetStatisticParams) SetHTTPClient(client *http.Client)
- func (o *GetStatisticParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetStatisticParams) SetItemSku(itemSku *string)
- func (o *GetStatisticParams) SetItemType(itemType *string)
- func (o *GetStatisticParams) SetNamespace(namespace string)
- func (o *GetStatisticParams) SetStoreID(storeID string)
- func (o *GetStatisticParams) SetTimeout(timeout time.Duration)
- func (o *GetStatisticParams) SetType(typeVar *string)
- func (o *GetStatisticParams) SetUpdatedAtEnd(updatedAtEnd *string)
- func (o *GetStatisticParams) SetUpdatedAtStart(updatedAtStart *string)
- func (o *GetStatisticParams) WithAction(action *string) *GetStatisticParams
- func (o *GetStatisticParams) WithContext(ctx context.Context) *GetStatisticParams
- func (o *GetStatisticParams) WithHTTPClient(client *http.Client) *GetStatisticParams
- func (o *GetStatisticParams) WithItemSku(itemSku *string) *GetStatisticParams
- func (o *GetStatisticParams) WithItemType(itemType *string) *GetStatisticParams
- func (o *GetStatisticParams) WithNamespace(namespace string) *GetStatisticParams
- func (o *GetStatisticParams) WithStoreID(storeID string) *GetStatisticParams
- func (o *GetStatisticParams) WithTimeout(timeout time.Duration) *GetStatisticParams
- func (o *GetStatisticParams) WithType(typeVar *string) *GetStatisticParams
- func (o *GetStatisticParams) WithUpdatedAtEnd(updatedAtEnd *string) *GetStatisticParams
- func (o *GetStatisticParams) WithUpdatedAtStart(updatedAtStart *string) *GetStatisticParams
- func (o *GetStatisticParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStatisticReader
- type PublishAllBadRequest
- type PublishAllNotFound
- type PublishAllOK
- type PublishAllParams
- func (o *PublishAllParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublishAllParams) SetContext(ctx context.Context)
- func (o *PublishAllParams) SetHTTPClient(client *http.Client)
- func (o *PublishAllParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublishAllParams) SetNamespace(namespace string)
- func (o *PublishAllParams) SetStoreID(storeID string)
- func (o *PublishAllParams) SetTimeout(timeout time.Duration)
- func (o *PublishAllParams) WithContext(ctx context.Context) *PublishAllParams
- func (o *PublishAllParams) WithHTTPClient(client *http.Client) *PublishAllParams
- func (o *PublishAllParams) WithNamespace(namespace string) *PublishAllParams
- func (o *PublishAllParams) WithStoreID(storeID string) *PublishAllParams
- func (o *PublishAllParams) WithTimeout(timeout time.Duration) *PublishAllParams
- func (o *PublishAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublishAllReader
- type PublishSelectedBadRequest
- type PublishSelectedConflict
- type PublishSelectedNotFound
- type PublishSelectedOK
- type PublishSelectedParams
- func NewPublishSelectedParams() *PublishSelectedParams
- func NewPublishSelectedParamsWithContext(ctx context.Context) *PublishSelectedParams
- func NewPublishSelectedParamsWithHTTPClient(client *http.Client) *PublishSelectedParams
- func NewPublishSelectedParamsWithTimeout(timeout time.Duration) *PublishSelectedParams
- func (o *PublishSelectedParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublishSelectedParams) SetContext(ctx context.Context)
- func (o *PublishSelectedParams) SetHTTPClient(client *http.Client)
- func (o *PublishSelectedParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublishSelectedParams) SetNamespace(namespace string)
- func (o *PublishSelectedParams) SetStoreID(storeID string)
- func (o *PublishSelectedParams) SetTimeout(timeout time.Duration)
- func (o *PublishSelectedParams) WithContext(ctx context.Context) *PublishSelectedParams
- func (o *PublishSelectedParams) WithHTTPClient(client *http.Client) *PublishSelectedParams
- func (o *PublishSelectedParams) WithNamespace(namespace string) *PublishSelectedParams
- func (o *PublishSelectedParams) WithStoreID(storeID string) *PublishSelectedParams
- func (o *PublishSelectedParams) WithTimeout(timeout time.Duration) *PublishSelectedParams
- func (o *PublishSelectedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublishSelectedReader
- type QueryChangesOK
- type QueryChangesParams
- func (o *QueryChangesParams) SetAction(action *string)
- func (o *QueryChangesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryChangesParams) SetContext(ctx context.Context)
- func (o *QueryChangesParams) SetHTTPClient(client *http.Client)
- func (o *QueryChangesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryChangesParams) SetItemSku(itemSku *string)
- func (o *QueryChangesParams) SetItemType(itemType *string)
- func (o *QueryChangesParams) SetLimit(limit *int32)
- func (o *QueryChangesParams) SetNamespace(namespace string)
- func (o *QueryChangesParams) SetOffset(offset *int32)
- func (o *QueryChangesParams) SetSelected(selected *bool)
- func (o *QueryChangesParams) SetSortBy(sortBy []string)
- func (o *QueryChangesParams) SetStatus(status *string)
- func (o *QueryChangesParams) SetStoreID(storeID string)
- func (o *QueryChangesParams) SetTimeout(timeout time.Duration)
- func (o *QueryChangesParams) SetType(typeVar *string)
- func (o *QueryChangesParams) SetUpdatedAtEnd(updatedAtEnd *string)
- func (o *QueryChangesParams) SetUpdatedAtStart(updatedAtStart *string)
- func (o *QueryChangesParams) WithAction(action *string) *QueryChangesParams
- func (o *QueryChangesParams) WithContext(ctx context.Context) *QueryChangesParams
- func (o *QueryChangesParams) WithHTTPClient(client *http.Client) *QueryChangesParams
- func (o *QueryChangesParams) WithItemSku(itemSku *string) *QueryChangesParams
- func (o *QueryChangesParams) WithItemType(itemType *string) *QueryChangesParams
- func (o *QueryChangesParams) WithLimit(limit *int32) *QueryChangesParams
- func (o *QueryChangesParams) WithNamespace(namespace string) *QueryChangesParams
- func (o *QueryChangesParams) WithOffset(offset *int32) *QueryChangesParams
- func (o *QueryChangesParams) WithSelected(selected *bool) *QueryChangesParams
- func (o *QueryChangesParams) WithSortBy(sortBy []string) *QueryChangesParams
- func (o *QueryChangesParams) WithStatus(status *string) *QueryChangesParams
- func (o *QueryChangesParams) WithStoreID(storeID string) *QueryChangesParams
- func (o *QueryChangesParams) WithTimeout(timeout time.Duration) *QueryChangesParams
- func (o *QueryChangesParams) WithType(typeVar *string) *QueryChangesParams
- func (o *QueryChangesParams) WithUpdatedAtEnd(updatedAtEnd *string) *QueryChangesParams
- func (o *QueryChangesParams) WithUpdatedAtStart(updatedAtStart *string) *QueryChangesParams
- func (o *QueryChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryChangesReader
- type SelectAllRecordsNoContent
- type SelectAllRecordsNotFound
- type SelectAllRecordsParams
- func NewSelectAllRecordsParams() *SelectAllRecordsParams
- func NewSelectAllRecordsParamsWithContext(ctx context.Context) *SelectAllRecordsParams
- func NewSelectAllRecordsParamsWithHTTPClient(client *http.Client) *SelectAllRecordsParams
- func NewSelectAllRecordsParamsWithTimeout(timeout time.Duration) *SelectAllRecordsParams
- func (o *SelectAllRecordsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SelectAllRecordsParams) SetContext(ctx context.Context)
- func (o *SelectAllRecordsParams) SetHTTPClient(client *http.Client)
- func (o *SelectAllRecordsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SelectAllRecordsParams) SetNamespace(namespace string)
- func (o *SelectAllRecordsParams) SetStoreID(storeID string)
- func (o *SelectAllRecordsParams) SetTimeout(timeout time.Duration)
- func (o *SelectAllRecordsParams) WithContext(ctx context.Context) *SelectAllRecordsParams
- func (o *SelectAllRecordsParams) WithHTTPClient(client *http.Client) *SelectAllRecordsParams
- func (o *SelectAllRecordsParams) WithNamespace(namespace string) *SelectAllRecordsParams
- func (o *SelectAllRecordsParams) WithStoreID(storeID string) *SelectAllRecordsParams
- func (o *SelectAllRecordsParams) WithTimeout(timeout time.Duration) *SelectAllRecordsParams
- func (o *SelectAllRecordsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SelectAllRecordsReader
- type SelectRecordNoContent
- type SelectRecordNotFound
- type SelectRecordParams
- func (o *SelectRecordParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SelectRecordParams) SetChangeID(changeID string)
- func (o *SelectRecordParams) SetContext(ctx context.Context)
- func (o *SelectRecordParams) SetHTTPClient(client *http.Client)
- func (o *SelectRecordParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SelectRecordParams) SetNamespace(namespace string)
- func (o *SelectRecordParams) SetStoreID(storeID string)
- func (o *SelectRecordParams) SetTimeout(timeout time.Duration)
- func (o *SelectRecordParams) WithChangeID(changeID string) *SelectRecordParams
- func (o *SelectRecordParams) WithContext(ctx context.Context) *SelectRecordParams
- func (o *SelectRecordParams) WithHTTPClient(client *http.Client) *SelectRecordParams
- func (o *SelectRecordParams) WithNamespace(namespace string) *SelectRecordParams
- func (o *SelectRecordParams) WithStoreID(storeID string) *SelectRecordParams
- func (o *SelectRecordParams) WithTimeout(timeout time.Duration) *SelectRecordParams
- func (o *SelectRecordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SelectRecordReader
- type UnselectAllRecordsNoContent
- type UnselectAllRecordsNotFound
- type UnselectAllRecordsParams
- func NewUnselectAllRecordsParams() *UnselectAllRecordsParams
- func NewUnselectAllRecordsParamsWithContext(ctx context.Context) *UnselectAllRecordsParams
- func NewUnselectAllRecordsParamsWithHTTPClient(client *http.Client) *UnselectAllRecordsParams
- func NewUnselectAllRecordsParamsWithTimeout(timeout time.Duration) *UnselectAllRecordsParams
- func (o *UnselectAllRecordsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UnselectAllRecordsParams) SetContext(ctx context.Context)
- func (o *UnselectAllRecordsParams) SetHTTPClient(client *http.Client)
- func (o *UnselectAllRecordsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UnselectAllRecordsParams) SetNamespace(namespace string)
- func (o *UnselectAllRecordsParams) SetStoreID(storeID string)
- func (o *UnselectAllRecordsParams) SetTimeout(timeout time.Duration)
- func (o *UnselectAllRecordsParams) WithContext(ctx context.Context) *UnselectAllRecordsParams
- func (o *UnselectAllRecordsParams) WithHTTPClient(client *http.Client) *UnselectAllRecordsParams
- func (o *UnselectAllRecordsParams) WithNamespace(namespace string) *UnselectAllRecordsParams
- func (o *UnselectAllRecordsParams) WithStoreID(storeID string) *UnselectAllRecordsParams
- func (o *UnselectAllRecordsParams) WithTimeout(timeout time.Duration) *UnselectAllRecordsParams
- func (o *UnselectAllRecordsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnselectAllRecordsReader
- type UnselectRecordConflict
- type UnselectRecordNoContent
- type UnselectRecordNotFound
- type UnselectRecordParams
- func NewUnselectRecordParams() *UnselectRecordParams
- func NewUnselectRecordParamsWithContext(ctx context.Context) *UnselectRecordParams
- func NewUnselectRecordParamsWithHTTPClient(client *http.Client) *UnselectRecordParams
- func NewUnselectRecordParamsWithTimeout(timeout time.Duration) *UnselectRecordParams
- func (o *UnselectRecordParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UnselectRecordParams) SetChangeID(changeID string)
- func (o *UnselectRecordParams) SetContext(ctx context.Context)
- func (o *UnselectRecordParams) SetHTTPClient(client *http.Client)
- func (o *UnselectRecordParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UnselectRecordParams) SetNamespace(namespace string)
- func (o *UnselectRecordParams) SetStoreID(storeID string)
- func (o *UnselectRecordParams) SetTimeout(timeout time.Duration)
- func (o *UnselectRecordParams) WithChangeID(changeID string) *UnselectRecordParams
- func (o *UnselectRecordParams) WithContext(ctx context.Context) *UnselectRecordParams
- func (o *UnselectRecordParams) WithHTTPClient(client *http.Client) *UnselectRecordParams
- func (o *UnselectRecordParams) WithNamespace(namespace string) *UnselectRecordParams
- func (o *UnselectRecordParams) WithStoreID(storeID string) *UnselectRecordParams
- func (o *UnselectRecordParams) WithTimeout(timeout time.Duration) *UnselectRecordParams
- func (o *UnselectRecordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnselectRecordReader
Constants ¶
const ( GetStatisticCREATEConstant = "CREATE" GetStatisticDELETEConstant = "DELETE" GetStatisticUPDATEConstant = "UPDATE" )
Get the enum in GetStatisticParams
const ( GetStatisticAPPConstant = "APP" GetStatisticBUNDLEConstant = "BUNDLE" GetStatisticCODEConstant = "CODE" GetStatisticCOINSConstant = "COINS" GetStatisticEXTENSIONConstant = "EXTENSION" GetStatisticINGAMEITEMConstant = "INGAMEITEM" GetStatisticLOOTBOXConstant = "LOOTBOX" GetStatisticMEDIAConstant = "MEDIA" GetStatisticOPTIONBOXConstant = "OPTIONBOX" GetStatisticSEASONConstant = "SEASON" GetStatisticSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in GetStatisticParams
const ( GetStatisticCATEGORYConstant = "CATEGORY" GetStatisticITEMConstant = "ITEM" GetStatisticSECTIONConstant = "SECTION" GetStatisticSTOREConstant = "STORE" GetStatisticVIEWConstant = "VIEW" )
Get the enum in GetStatisticParams
const ( QueryChangesCREATEConstant = "CREATE" QueryChangesDELETEConstant = "DELETE" QueryChangesUPDATEConstant = "UPDATE" )
Get the enum in QueryChangesParams
const ( QueryChangesAPPConstant = "APP" QueryChangesBUNDLEConstant = "BUNDLE" QueryChangesCODEConstant = "CODE" QueryChangesCOINSConstant = "COINS" QueryChangesEXTENSIONConstant = "EXTENSION" QueryChangesINGAMEITEMConstant = "INGAMEITEM" QueryChangesLOOTBOXConstant = "LOOTBOX" QueryChangesMEDIAConstant = "MEDIA" QueryChangesOPTIONBOXConstant = "OPTIONBOX" QueryChangesSEASONConstant = "SEASON" QueryChangesSUBSCRIPTIONConstant = "SUBSCRIPTION" )
Get the enum in QueryChangesParams
const ( QueryChangesPUBLISHEDConstant = "PUBLISHED" QueryChangesUNPUBLISHEDConstant = "UNPUBLISHED" )
Get the enum in QueryChangesParams
const ( QueryChangesCATEGORYConstant = "CATEGORY" QueryChangesITEMConstant = "ITEM" QueryChangesSECTIONConstant = "SECTION" QueryChangesSTOREConstant = "STORE" QueryChangesVIEWConstant = "VIEW" )
Get the enum in QueryChangesParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for catalog changes API
func (*Client) GetStatistic
deprecated
added in
v0.22.0
func (a *Client) GetStatistic(params *GetStatisticParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatisticOK, error)
Deprecated: Use GetStatisticShort instead.
GetStatistic gets catalog changes statistics This API is used to query catalog changes statistics .<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: catalog changes statistics changes</li></ul>
func (*Client) GetStatisticShort ¶ added in v0.22.0
func (a *Client) GetStatisticShort(params *GetStatisticParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatisticOK, error)
GetStatisticShort gets catalog changes statistics
This API is used to query catalog changes statistics .<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: catalog changes statistics changes</li></ul>
func (*Client) PublishAll
deprecated
func (a *Client) PublishAll(params *PublishAllParams, authInfo runtime.ClientAuthInfoWriter) (*PublishAllOK, *PublishAllBadRequest, *PublishAllNotFound, error)
Deprecated: Use PublishAllShort instead.
PublishAll publishes all unpublished changes This API is used to publish all unpublished changes.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=1 (CREATE)</li><li><i>Returns</i>: no content</li></ul>
func (*Client) PublishAllShort ¶
func (a *Client) PublishAllShort(params *PublishAllParams, authInfo runtime.ClientAuthInfoWriter) (*PublishAllOK, error)
PublishAllShort publishes all unpublished changes
This API is used to publish all unpublished changes.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=1 (CREATE)</li><li><i>Returns</i>: no content</li></ul>
func (*Client) PublishSelected
deprecated
added in
v0.22.0
func (a *Client) PublishSelected(params *PublishSelectedParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSelectedOK, *PublishSelectedBadRequest, *PublishSelectedNotFound, *PublishSelectedConflict, error)
Deprecated: Use PublishSelectedShort instead.
PublishSelected publishes selected unpublished changes This API is used to publish selected unpublished changes.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=1 (CREATE)</li><li><i>Returns</i>: no content</li></ul>
func (*Client) PublishSelectedShort ¶ added in v0.22.0
func (a *Client) PublishSelectedShort(params *PublishSelectedParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSelectedOK, error)
PublishSelectedShort publishes selected unpublished changes
This API is used to publish selected unpublished changes.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=1 (CREATE)</li><li><i>Returns</i>: no content</li></ul>
func (*Client) QueryChanges
deprecated
func (a *Client) QueryChanges(params *QueryChangesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryChangesOK, error)
Deprecated: Use QueryChangesShort instead.
QueryChanges queries catalog changes This API is used to query changes .<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: the pagination of changes</li></ul>
func (*Client) QueryChangesShort ¶
func (a *Client) QueryChangesShort(params *QueryChangesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryChangesOK, error)
QueryChangesShort queries catalog changes
This API is used to query changes .<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: the pagination of changes</li></ul>
func (*Client) SelectAllRecords
deprecated
added in
v0.22.0
func (a *Client) SelectAllRecords(params *SelectAllRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*SelectAllRecordsNoContent, *SelectAllRecordsNotFound, error)
Deprecated: Use SelectAllRecordsShort instead.
SelectAllRecords selects all changes Select all changes.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li></ul>
func (*Client) SelectAllRecordsShort ¶ added in v0.22.0
func (a *Client) SelectAllRecordsShort(params *SelectAllRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*SelectAllRecordsNoContent, error)
SelectAllRecordsShort selects all changes
Select all changes.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li></ul>
func (*Client) SelectRecord
deprecated
added in
v0.22.0
func (a *Client) SelectRecord(params *SelectRecordParams, authInfo runtime.ClientAuthInfoWriter) (*SelectRecordNoContent, *SelectRecordNotFound, error)
Deprecated: Use SelectRecordShort instead.
SelectRecord selects a change Select a change, it will be included when partial publish.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li></ul>
func (*Client) SelectRecordShort ¶ added in v0.22.0
func (a *Client) SelectRecordShort(params *SelectRecordParams, authInfo runtime.ClientAuthInfoWriter) (*SelectRecordNoContent, error)
SelectRecordShort selects a change
Select a change, it will be included when partial publish.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li></ul>
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UnselectAllRecords
deprecated
added in
v0.22.0
func (a *Client) UnselectAllRecords(params *UnselectAllRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*UnselectAllRecordsNoContent, *UnselectAllRecordsNotFound, error)
Deprecated: Use UnselectAllRecordsShort instead.
UnselectAllRecords unselects all changes Unselect all change.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li></ul>
func (*Client) UnselectAllRecordsShort ¶ added in v0.22.0
func (a *Client) UnselectAllRecordsShort(params *UnselectAllRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*UnselectAllRecordsNoContent, error)
UnselectAllRecordsShort unselects all changes
Unselect all change.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li></ul>
func (*Client) UnselectRecord
deprecated
added in
v0.22.0
func (a *Client) UnselectRecord(params *UnselectRecordParams, authInfo runtime.ClientAuthInfoWriter) (*UnselectRecordNoContent, *UnselectRecordNotFound, *UnselectRecordConflict, error)
Deprecated: Use UnselectRecordShort instead.
UnselectRecord unselects a change Unselect a change, it will not be included when partial publish.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li></ul>
func (*Client) UnselectRecordShort ¶ added in v0.22.0
func (a *Client) UnselectRecordShort(params *UnselectRecordParams, authInfo runtime.ClientAuthInfoWriter) (*UnselectRecordNoContent, error)
UnselectRecordShort unselects a change
Unselect a change, it will not be included when partial publish.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li></ul>
type ClientService ¶
type ClientService interface { GetStatistic(params *GetStatisticParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatisticOK, error) GetStatisticShort(params *GetStatisticParams, authInfo runtime.ClientAuthInfoWriter) (*GetStatisticOK, error) PublishAll(params *PublishAllParams, authInfo runtime.ClientAuthInfoWriter) (*PublishAllOK, *PublishAllBadRequest, *PublishAllNotFound, error) PublishAllShort(params *PublishAllParams, authInfo runtime.ClientAuthInfoWriter) (*PublishAllOK, error) PublishSelected(params *PublishSelectedParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSelectedOK, *PublishSelectedBadRequest, *PublishSelectedNotFound, *PublishSelectedConflict, error) PublishSelectedShort(params *PublishSelectedParams, authInfo runtime.ClientAuthInfoWriter) (*PublishSelectedOK, error) QueryChanges(params *QueryChangesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryChangesOK, error) QueryChangesShort(params *QueryChangesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryChangesOK, error) SelectAllRecords(params *SelectAllRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*SelectAllRecordsNoContent, *SelectAllRecordsNotFound, error) SelectAllRecordsShort(params *SelectAllRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*SelectAllRecordsNoContent, error) SelectRecord(params *SelectRecordParams, authInfo runtime.ClientAuthInfoWriter) (*SelectRecordNoContent, *SelectRecordNotFound, error) SelectRecordShort(params *SelectRecordParams, authInfo runtime.ClientAuthInfoWriter) (*SelectRecordNoContent, error) UnselectAllRecords(params *UnselectAllRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*UnselectAllRecordsNoContent, *UnselectAllRecordsNotFound, error) UnselectAllRecordsShort(params *UnselectAllRecordsParams, authInfo runtime.ClientAuthInfoWriter) (*UnselectAllRecordsNoContent, error) UnselectRecord(params *UnselectRecordParams, authInfo runtime.ClientAuthInfoWriter) (*UnselectRecordNoContent, *UnselectRecordNotFound, *UnselectRecordConflict, error) UnselectRecordShort(params *UnselectRecordParams, authInfo runtime.ClientAuthInfoWriter) (*UnselectRecordNoContent, 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 catalog changes API client.
type GetStatisticOK ¶ added in v0.22.0
type GetStatisticOK struct {
Payload *platformclientmodels.CatalogChangeStatistics
}
GetStatisticOK handles this case with default header values.
successful operation
func NewGetStatisticOK ¶ added in v0.22.0
func NewGetStatisticOK() *GetStatisticOK
NewGetStatisticOK creates a GetStatisticOK with default headers values
func (*GetStatisticOK) Error ¶ added in v0.22.0
func (o *GetStatisticOK) Error() string
func (*GetStatisticOK) GetPayload ¶ added in v0.22.0
func (o *GetStatisticOK) GetPayload() *platformclientmodels.CatalogChangeStatistics
func (*GetStatisticOK) ToJSONString ¶ added in v0.25.0
func (o *GetStatisticOK) ToJSONString() string
type GetStatisticParams ¶ added in v0.22.0
type GetStatisticParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Action*/ Action *string /*ItemSku*/ ItemSku *string /*ItemType*/ ItemType *string /*Namespace*/ Namespace string /*StoreID*/ StoreID string /*Type*/ Type *string /*UpdatedAtEnd updated at end , using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ */ UpdatedAtEnd *string /*UpdatedAtStart updated at start , using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ */ UpdatedAtStart *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStatisticParams contains all the parameters to send to the API endpoint for the get statistic operation typically these are written to a http.Request
func NewGetStatisticParams ¶ added in v0.22.0
func NewGetStatisticParams() *GetStatisticParams
NewGetStatisticParams creates a new GetStatisticParams object with the default values initialized.
func NewGetStatisticParamsWithContext ¶ added in v0.22.0
func NewGetStatisticParamsWithContext(ctx context.Context) *GetStatisticParams
NewGetStatisticParamsWithContext creates a new GetStatisticParams object with the default values initialized, and the ability to set a context for a request
func NewGetStatisticParamsWithHTTPClient ¶ added in v0.22.0
func NewGetStatisticParamsWithHTTPClient(client *http.Client) *GetStatisticParams
NewGetStatisticParamsWithHTTPClient creates a new GetStatisticParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetStatisticParamsWithTimeout ¶ added in v0.22.0
func NewGetStatisticParamsWithTimeout(timeout time.Duration) *GetStatisticParams
NewGetStatisticParamsWithTimeout creates a new GetStatisticParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetStatisticParams) SetAction ¶ added in v0.22.0
func (o *GetStatisticParams) SetAction(action *string)
SetAction adds the action to the get statistic params
func (*GetStatisticParams) SetAuthInfoWriter ¶ added in v0.22.0
func (o *GetStatisticParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get statistic params
func (*GetStatisticParams) SetContext ¶ added in v0.22.0
func (o *GetStatisticParams) SetContext(ctx context.Context)
SetContext adds the context to the get statistic params
func (*GetStatisticParams) SetHTTPClient ¶ added in v0.22.0
func (o *GetStatisticParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get statistic params
func (*GetStatisticParams) SetHTTPClientTransport ¶ added in v0.22.0
func (o *GetStatisticParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get statistic params
func (*GetStatisticParams) SetItemSku ¶ added in v0.22.0
func (o *GetStatisticParams) SetItemSku(itemSku *string)
SetItemSku adds the itemSku to the get statistic params
func (*GetStatisticParams) SetItemType ¶ added in v0.22.0
func (o *GetStatisticParams) SetItemType(itemType *string)
SetItemType adds the itemType to the get statistic params
func (*GetStatisticParams) SetNamespace ¶ added in v0.22.0
func (o *GetStatisticParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get statistic params
func (*GetStatisticParams) SetStoreID ¶ added in v0.22.0
func (o *GetStatisticParams) SetStoreID(storeID string)
SetStoreID adds the storeId to the get statistic params
func (*GetStatisticParams) SetTimeout ¶ added in v0.22.0
func (o *GetStatisticParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get statistic params
func (*GetStatisticParams) SetType ¶ added in v0.22.0
func (o *GetStatisticParams) SetType(typeVar *string)
SetType adds the type to the get statistic params
func (*GetStatisticParams) SetUpdatedAtEnd ¶ added in v0.22.0
func (o *GetStatisticParams) SetUpdatedAtEnd(updatedAtEnd *string)
SetUpdatedAtEnd adds the updatedAtEnd to the get statistic params
func (*GetStatisticParams) SetUpdatedAtStart ¶ added in v0.22.0
func (o *GetStatisticParams) SetUpdatedAtStart(updatedAtStart *string)
SetUpdatedAtStart adds the updatedAtStart to the get statistic params
func (*GetStatisticParams) WithAction ¶ added in v0.22.0
func (o *GetStatisticParams) WithAction(action *string) *GetStatisticParams
WithAction adds the action to the get statistic params
func (*GetStatisticParams) WithContext ¶ added in v0.22.0
func (o *GetStatisticParams) WithContext(ctx context.Context) *GetStatisticParams
WithContext adds the context to the get statistic params
func (*GetStatisticParams) WithHTTPClient ¶ added in v0.22.0
func (o *GetStatisticParams) WithHTTPClient(client *http.Client) *GetStatisticParams
WithHTTPClient adds the HTTPClient to the get statistic params
func (*GetStatisticParams) WithItemSku ¶ added in v0.22.0
func (o *GetStatisticParams) WithItemSku(itemSku *string) *GetStatisticParams
WithItemSku adds the itemSku to the get statistic params
func (*GetStatisticParams) WithItemType ¶ added in v0.22.0
func (o *GetStatisticParams) WithItemType(itemType *string) *GetStatisticParams
WithItemType adds the itemType to the get statistic params
func (*GetStatisticParams) WithNamespace ¶ added in v0.22.0
func (o *GetStatisticParams) WithNamespace(namespace string) *GetStatisticParams
WithNamespace adds the namespace to the get statistic params
func (*GetStatisticParams) WithStoreID ¶ added in v0.22.0
func (o *GetStatisticParams) WithStoreID(storeID string) *GetStatisticParams
WithStoreID adds the storeID to the get statistic params
func (*GetStatisticParams) WithTimeout ¶ added in v0.22.0
func (o *GetStatisticParams) WithTimeout(timeout time.Duration) *GetStatisticParams
WithTimeout adds the timeout to the get statistic params
func (*GetStatisticParams) WithType ¶ added in v0.22.0
func (o *GetStatisticParams) WithType(typeVar *string) *GetStatisticParams
WithType adds the typeVar to the get statistic params
func (*GetStatisticParams) WithUpdatedAtEnd ¶ added in v0.22.0
func (o *GetStatisticParams) WithUpdatedAtEnd(updatedAtEnd *string) *GetStatisticParams
WithUpdatedAtEnd adds the updatedAtEnd to the get statistic params
func (*GetStatisticParams) WithUpdatedAtStart ¶ added in v0.22.0
func (o *GetStatisticParams) WithUpdatedAtStart(updatedAtStart *string) *GetStatisticParams
WithUpdatedAtStart adds the updatedAtStart to the get statistic params
func (*GetStatisticParams) WriteToRequest ¶ added in v0.22.0
func (o *GetStatisticParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStatisticReader ¶ added in v0.22.0
type GetStatisticReader struct {
// contains filtered or unexported fields
}
GetStatisticReader is a Reader for the GetStatistic structure.
func (*GetStatisticReader) ReadResponse ¶ added in v0.22.0
func (o *GetStatisticReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublishAllBadRequest ¶
type PublishAllBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
PublishAllBadRequest 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 NewPublishAllBadRequest ¶
func NewPublishAllBadRequest() *PublishAllBadRequest
NewPublishAllBadRequest creates a PublishAllBadRequest with default headers values
func (*PublishAllBadRequest) Error ¶
func (o *PublishAllBadRequest) Error() string
func (*PublishAllBadRequest) GetPayload ¶
func (o *PublishAllBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*PublishAllBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PublishAllBadRequest) ToJSONString() string
type PublishAllNotFound ¶
type PublishAllNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublishAllNotFound 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 NewPublishAllNotFound ¶
func NewPublishAllNotFound() *PublishAllNotFound
NewPublishAllNotFound creates a PublishAllNotFound with default headers values
func (*PublishAllNotFound) Error ¶
func (o *PublishAllNotFound) Error() string
func (*PublishAllNotFound) GetPayload ¶
func (o *PublishAllNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublishAllNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublishAllNotFound) ToJSONString() string
type PublishAllOK ¶
type PublishAllOK struct {
Payload *platformclientmodels.StoreInfo
}
PublishAllOK handles this case with default header values.
successful operation
func NewPublishAllOK ¶
func NewPublishAllOK() *PublishAllOK
NewPublishAllOK creates a PublishAllOK with default headers values
func (*PublishAllOK) Error ¶
func (o *PublishAllOK) Error() string
func (*PublishAllOK) GetPayload ¶
func (o *PublishAllOK) GetPayload() *platformclientmodels.StoreInfo
func (*PublishAllOK) ToJSONString ¶ added in v0.25.0
func (o *PublishAllOK) ToJSONString() string
type PublishAllParams ¶
type PublishAllParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*StoreID*/ StoreID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublishAllParams contains all the parameters to send to the API endpoint for the publish all operation typically these are written to a http.Request
func NewPublishAllParams ¶
func NewPublishAllParams() *PublishAllParams
NewPublishAllParams creates a new PublishAllParams object with the default values initialized.
func NewPublishAllParamsWithContext ¶
func NewPublishAllParamsWithContext(ctx context.Context) *PublishAllParams
NewPublishAllParamsWithContext creates a new PublishAllParams object with the default values initialized, and the ability to set a context for a request
func NewPublishAllParamsWithHTTPClient ¶
func NewPublishAllParamsWithHTTPClient(client *http.Client) *PublishAllParams
NewPublishAllParamsWithHTTPClient creates a new PublishAllParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublishAllParamsWithTimeout ¶
func NewPublishAllParamsWithTimeout(timeout time.Duration) *PublishAllParams
NewPublishAllParamsWithTimeout creates a new PublishAllParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublishAllParams) SetAuthInfoWriter ¶
func (o *PublishAllParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the publish all params
func (*PublishAllParams) SetContext ¶
func (o *PublishAllParams) SetContext(ctx context.Context)
SetContext adds the context to the publish all params
func (*PublishAllParams) SetHTTPClient ¶
func (o *PublishAllParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the publish all params
func (*PublishAllParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublishAllParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the publish all params
func (*PublishAllParams) SetNamespace ¶
func (o *PublishAllParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the publish all params
func (*PublishAllParams) SetStoreID ¶
func (o *PublishAllParams) SetStoreID(storeID string)
SetStoreID adds the storeId to the publish all params
func (*PublishAllParams) SetTimeout ¶
func (o *PublishAllParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the publish all params
func (*PublishAllParams) WithContext ¶
func (o *PublishAllParams) WithContext(ctx context.Context) *PublishAllParams
WithContext adds the context to the publish all params
func (*PublishAllParams) WithHTTPClient ¶
func (o *PublishAllParams) WithHTTPClient(client *http.Client) *PublishAllParams
WithHTTPClient adds the HTTPClient to the publish all params
func (*PublishAllParams) WithNamespace ¶
func (o *PublishAllParams) WithNamespace(namespace string) *PublishAllParams
WithNamespace adds the namespace to the publish all params
func (*PublishAllParams) WithStoreID ¶
func (o *PublishAllParams) WithStoreID(storeID string) *PublishAllParams
WithStoreID adds the storeID to the publish all params
func (*PublishAllParams) WithTimeout ¶
func (o *PublishAllParams) WithTimeout(timeout time.Duration) *PublishAllParams
WithTimeout adds the timeout to the publish all params
func (*PublishAllParams) WriteToRequest ¶
func (o *PublishAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublishAllReader ¶
type PublishAllReader struct {
// contains filtered or unexported fields
}
PublishAllReader is a Reader for the PublishAll structure.
func (*PublishAllReader) ReadResponse ¶
func (o *PublishAllReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublishSelectedBadRequest ¶ added in v0.22.0
type PublishSelectedBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
PublishSelectedBadRequest 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 NewPublishSelectedBadRequest ¶ added in v0.22.0
func NewPublishSelectedBadRequest() *PublishSelectedBadRequest
NewPublishSelectedBadRequest creates a PublishSelectedBadRequest with default headers values
func (*PublishSelectedBadRequest) Error ¶ added in v0.22.0
func (o *PublishSelectedBadRequest) Error() string
func (*PublishSelectedBadRequest) GetPayload ¶ added in v0.22.0
func (o *PublishSelectedBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*PublishSelectedBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PublishSelectedBadRequest) ToJSONString() string
type PublishSelectedConflict ¶ added in v0.26.0
type PublishSelectedConflict struct {
Payload *platformclientmodels.ErrorEntity
}
PublishSelectedConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</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></table>
func NewPublishSelectedConflict ¶ added in v0.26.0
func NewPublishSelectedConflict() *PublishSelectedConflict
NewPublishSelectedConflict creates a PublishSelectedConflict with default headers values
func (*PublishSelectedConflict) Error ¶ added in v0.26.0
func (o *PublishSelectedConflict) Error() string
func (*PublishSelectedConflict) GetPayload ¶ added in v0.26.0
func (o *PublishSelectedConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*PublishSelectedConflict) ToJSONString ¶ added in v0.26.0
func (o *PublishSelectedConflict) ToJSONString() string
type PublishSelectedNotFound ¶ added in v0.22.0
type PublishSelectedNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublishSelectedNotFound 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 NewPublishSelectedNotFound ¶ added in v0.22.0
func NewPublishSelectedNotFound() *PublishSelectedNotFound
NewPublishSelectedNotFound creates a PublishSelectedNotFound with default headers values
func (*PublishSelectedNotFound) Error ¶ added in v0.22.0
func (o *PublishSelectedNotFound) Error() string
func (*PublishSelectedNotFound) GetPayload ¶ added in v0.22.0
func (o *PublishSelectedNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublishSelectedNotFound) ToJSONString ¶ added in v0.25.0
func (o *PublishSelectedNotFound) ToJSONString() string
type PublishSelectedOK ¶ added in v0.22.0
type PublishSelectedOK struct {
Payload *platformclientmodels.StoreInfo
}
PublishSelectedOK handles this case with default header values.
successful operation
func NewPublishSelectedOK ¶ added in v0.22.0
func NewPublishSelectedOK() *PublishSelectedOK
NewPublishSelectedOK creates a PublishSelectedOK with default headers values
func (*PublishSelectedOK) Error ¶ added in v0.22.0
func (o *PublishSelectedOK) Error() string
func (*PublishSelectedOK) GetPayload ¶ added in v0.22.0
func (o *PublishSelectedOK) GetPayload() *platformclientmodels.StoreInfo
func (*PublishSelectedOK) ToJSONString ¶ added in v0.25.0
func (o *PublishSelectedOK) ToJSONString() string
type PublishSelectedParams ¶ added in v0.22.0
type PublishSelectedParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*StoreID*/ StoreID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublishSelectedParams contains all the parameters to send to the API endpoint for the publish selected operation typically these are written to a http.Request
func NewPublishSelectedParams ¶ added in v0.22.0
func NewPublishSelectedParams() *PublishSelectedParams
NewPublishSelectedParams creates a new PublishSelectedParams object with the default values initialized.
func NewPublishSelectedParamsWithContext ¶ added in v0.22.0
func NewPublishSelectedParamsWithContext(ctx context.Context) *PublishSelectedParams
NewPublishSelectedParamsWithContext creates a new PublishSelectedParams object with the default values initialized, and the ability to set a context for a request
func NewPublishSelectedParamsWithHTTPClient ¶ added in v0.22.0
func NewPublishSelectedParamsWithHTTPClient(client *http.Client) *PublishSelectedParams
NewPublishSelectedParamsWithHTTPClient creates a new PublishSelectedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublishSelectedParamsWithTimeout ¶ added in v0.22.0
func NewPublishSelectedParamsWithTimeout(timeout time.Duration) *PublishSelectedParams
NewPublishSelectedParamsWithTimeout creates a new PublishSelectedParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublishSelectedParams) SetAuthInfoWriter ¶ added in v0.22.0
func (o *PublishSelectedParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the publish selected params
func (*PublishSelectedParams) SetContext ¶ added in v0.22.0
func (o *PublishSelectedParams) SetContext(ctx context.Context)
SetContext adds the context to the publish selected params
func (*PublishSelectedParams) SetHTTPClient ¶ added in v0.22.0
func (o *PublishSelectedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the publish selected params
func (*PublishSelectedParams) SetHTTPClientTransport ¶ added in v0.22.0
func (o *PublishSelectedParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the publish selected params
func (*PublishSelectedParams) SetNamespace ¶ added in v0.22.0
func (o *PublishSelectedParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the publish selected params
func (*PublishSelectedParams) SetStoreID ¶ added in v0.22.0
func (o *PublishSelectedParams) SetStoreID(storeID string)
SetStoreID adds the storeId to the publish selected params
func (*PublishSelectedParams) SetTimeout ¶ added in v0.22.0
func (o *PublishSelectedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the publish selected params
func (*PublishSelectedParams) WithContext ¶ added in v0.22.0
func (o *PublishSelectedParams) WithContext(ctx context.Context) *PublishSelectedParams
WithContext adds the context to the publish selected params
func (*PublishSelectedParams) WithHTTPClient ¶ added in v0.22.0
func (o *PublishSelectedParams) WithHTTPClient(client *http.Client) *PublishSelectedParams
WithHTTPClient adds the HTTPClient to the publish selected params
func (*PublishSelectedParams) WithNamespace ¶ added in v0.22.0
func (o *PublishSelectedParams) WithNamespace(namespace string) *PublishSelectedParams
WithNamespace adds the namespace to the publish selected params
func (*PublishSelectedParams) WithStoreID ¶ added in v0.22.0
func (o *PublishSelectedParams) WithStoreID(storeID string) *PublishSelectedParams
WithStoreID adds the storeID to the publish selected params
func (*PublishSelectedParams) WithTimeout ¶ added in v0.22.0
func (o *PublishSelectedParams) WithTimeout(timeout time.Duration) *PublishSelectedParams
WithTimeout adds the timeout to the publish selected params
func (*PublishSelectedParams) WriteToRequest ¶ added in v0.22.0
func (o *PublishSelectedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublishSelectedReader ¶ added in v0.22.0
type PublishSelectedReader struct {
// contains filtered or unexported fields
}
PublishSelectedReader is a Reader for the PublishSelected structure.
func (*PublishSelectedReader) ReadResponse ¶ added in v0.22.0
func (o *PublishSelectedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryChangesOK ¶
type QueryChangesOK struct {
Payload []*platformclientmodels.CatalogChangePagingSlicedResult
}
QueryChangesOK handles this case with default header values.
successful operation
func NewQueryChangesOK ¶
func NewQueryChangesOK() *QueryChangesOK
NewQueryChangesOK creates a QueryChangesOK with default headers values
func (*QueryChangesOK) Error ¶
func (o *QueryChangesOK) Error() string
func (*QueryChangesOK) GetPayload ¶
func (o *QueryChangesOK) GetPayload() []*platformclientmodels.CatalogChangePagingSlicedResult
func (*QueryChangesOK) ToJSONString ¶ added in v0.25.0
func (o *QueryChangesOK) ToJSONString() string
type QueryChangesParams ¶
type QueryChangesParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Action*/ Action *string /*ItemSku*/ ItemSku *string /*ItemType*/ ItemType *string /*Limit limit */ Limit *int32 /*Namespace*/ Namespace string /*Offset offset */ Offset *int32 /*Selected*/ Selected *bool /*SortBy default is updatedAt:desc, allow values: [createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc],and support sort group, eg: sortBy=title:asc,createdAt:desc. Make sure to always use more than one sort if the first sort is not an unique valuefor example, if you wish to sort by title, make sure to include other sort such as sku or createdAt after the first sort, eg: title:asc,updatedAt:desc */ SortBy []string /*Status default is UNPUBLISHED */ Status *string /*StoreID*/ StoreID string /*Type*/ Type *string /*UpdatedAtEnd updated at end , using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ */ UpdatedAtEnd *string /*UpdatedAtStart updated at start , using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ */ UpdatedAtStart *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryChangesParams contains all the parameters to send to the API endpoint for the query changes operation typically these are written to a http.Request
func NewQueryChangesParams ¶
func NewQueryChangesParams() *QueryChangesParams
NewQueryChangesParams creates a new QueryChangesParams object with the default values initialized.
func NewQueryChangesParamsWithContext ¶
func NewQueryChangesParamsWithContext(ctx context.Context) *QueryChangesParams
NewQueryChangesParamsWithContext creates a new QueryChangesParams object with the default values initialized, and the ability to set a context for a request
func NewQueryChangesParamsWithHTTPClient ¶
func NewQueryChangesParamsWithHTTPClient(client *http.Client) *QueryChangesParams
NewQueryChangesParamsWithHTTPClient creates a new QueryChangesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryChangesParamsWithTimeout ¶
func NewQueryChangesParamsWithTimeout(timeout time.Duration) *QueryChangesParams
NewQueryChangesParamsWithTimeout creates a new QueryChangesParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryChangesParams) SetAction ¶
func (o *QueryChangesParams) SetAction(action *string)
SetAction adds the action to the query changes params
func (*QueryChangesParams) SetAuthInfoWriter ¶
func (o *QueryChangesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query changes params
func (*QueryChangesParams) SetContext ¶
func (o *QueryChangesParams) SetContext(ctx context.Context)
SetContext adds the context to the query changes params
func (*QueryChangesParams) SetHTTPClient ¶
func (o *QueryChangesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query changes params
func (*QueryChangesParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *QueryChangesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query changes params
func (*QueryChangesParams) SetItemSku ¶ added in v0.22.0
func (o *QueryChangesParams) SetItemSku(itemSku *string)
SetItemSku adds the itemSku to the query changes params
func (*QueryChangesParams) SetItemType ¶
func (o *QueryChangesParams) SetItemType(itemType *string)
SetItemType adds the itemType to the query changes params
func (*QueryChangesParams) SetLimit ¶
func (o *QueryChangesParams) SetLimit(limit *int32)
SetLimit adds the limit to the query changes params
func (*QueryChangesParams) SetNamespace ¶
func (o *QueryChangesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query changes params
func (*QueryChangesParams) SetOffset ¶
func (o *QueryChangesParams) SetOffset(offset *int32)
SetOffset adds the offset to the query changes params
func (*QueryChangesParams) SetSelected ¶ added in v0.22.0
func (o *QueryChangesParams) SetSelected(selected *bool)
SetSelected adds the selected to the query changes params
func (*QueryChangesParams) SetSortBy ¶
func (o *QueryChangesParams) SetSortBy(sortBy []string)
SetSortBy adds the sortBy to the query changes params
func (*QueryChangesParams) SetStatus ¶
func (o *QueryChangesParams) SetStatus(status *string)
SetStatus adds the status to the query changes params
func (*QueryChangesParams) SetStoreID ¶
func (o *QueryChangesParams) SetStoreID(storeID string)
SetStoreID adds the storeId to the query changes params
func (*QueryChangesParams) SetTimeout ¶
func (o *QueryChangesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query changes params
func (*QueryChangesParams) SetType ¶
func (o *QueryChangesParams) SetType(typeVar *string)
SetType adds the type to the query changes params
func (*QueryChangesParams) SetUpdatedAtEnd ¶
func (o *QueryChangesParams) SetUpdatedAtEnd(updatedAtEnd *string)
SetUpdatedAtEnd adds the updatedAtEnd to the query changes params
func (*QueryChangesParams) SetUpdatedAtStart ¶
func (o *QueryChangesParams) SetUpdatedAtStart(updatedAtStart *string)
SetUpdatedAtStart adds the updatedAtStart to the query changes params
func (*QueryChangesParams) WithAction ¶
func (o *QueryChangesParams) WithAction(action *string) *QueryChangesParams
WithAction adds the action to the query changes params
func (*QueryChangesParams) WithContext ¶
func (o *QueryChangesParams) WithContext(ctx context.Context) *QueryChangesParams
WithContext adds the context to the query changes params
func (*QueryChangesParams) WithHTTPClient ¶
func (o *QueryChangesParams) WithHTTPClient(client *http.Client) *QueryChangesParams
WithHTTPClient adds the HTTPClient to the query changes params
func (*QueryChangesParams) WithItemSku ¶ added in v0.22.0
func (o *QueryChangesParams) WithItemSku(itemSku *string) *QueryChangesParams
WithItemSku adds the itemSku to the query changes params
func (*QueryChangesParams) WithItemType ¶
func (o *QueryChangesParams) WithItemType(itemType *string) *QueryChangesParams
WithItemType adds the itemType to the query changes params
func (*QueryChangesParams) WithLimit ¶
func (o *QueryChangesParams) WithLimit(limit *int32) *QueryChangesParams
WithLimit adds the limit to the query changes params
func (*QueryChangesParams) WithNamespace ¶
func (o *QueryChangesParams) WithNamespace(namespace string) *QueryChangesParams
WithNamespace adds the namespace to the query changes params
func (*QueryChangesParams) WithOffset ¶
func (o *QueryChangesParams) WithOffset(offset *int32) *QueryChangesParams
WithOffset adds the offset to the query changes params
func (*QueryChangesParams) WithSelected ¶ added in v0.22.0
func (o *QueryChangesParams) WithSelected(selected *bool) *QueryChangesParams
WithSelected adds the selected to the query changes params
func (*QueryChangesParams) WithSortBy ¶
func (o *QueryChangesParams) WithSortBy(sortBy []string) *QueryChangesParams
WithSortBy adds the sortBy to the query changes params
func (*QueryChangesParams) WithStatus ¶
func (o *QueryChangesParams) WithStatus(status *string) *QueryChangesParams
WithStatus adds the status to the query changes params
func (*QueryChangesParams) WithStoreID ¶
func (o *QueryChangesParams) WithStoreID(storeID string) *QueryChangesParams
WithStoreID adds the storeID to the query changes params
func (*QueryChangesParams) WithTimeout ¶
func (o *QueryChangesParams) WithTimeout(timeout time.Duration) *QueryChangesParams
WithTimeout adds the timeout to the query changes params
func (*QueryChangesParams) WithType ¶
func (o *QueryChangesParams) WithType(typeVar *string) *QueryChangesParams
WithType adds the typeVar to the query changes params
func (*QueryChangesParams) WithUpdatedAtEnd ¶
func (o *QueryChangesParams) WithUpdatedAtEnd(updatedAtEnd *string) *QueryChangesParams
WithUpdatedAtEnd adds the updatedAtEnd to the query changes params
func (*QueryChangesParams) WithUpdatedAtStart ¶
func (o *QueryChangesParams) WithUpdatedAtStart(updatedAtStart *string) *QueryChangesParams
WithUpdatedAtStart adds the updatedAtStart to the query changes params
func (*QueryChangesParams) WriteToRequest ¶
func (o *QueryChangesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryChangesReader ¶
type QueryChangesReader struct {
// contains filtered or unexported fields
}
QueryChangesReader is a Reader for the QueryChanges structure.
func (*QueryChangesReader) ReadResponse ¶
func (o *QueryChangesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SelectAllRecordsNoContent ¶ added in v0.22.0
type SelectAllRecordsNoContent struct { }
SelectAllRecordsNoContent handles this case with default header values.
No Content
func NewSelectAllRecordsNoContent ¶ added in v0.22.0
func NewSelectAllRecordsNoContent() *SelectAllRecordsNoContent
NewSelectAllRecordsNoContent creates a SelectAllRecordsNoContent with default headers values
func (*SelectAllRecordsNoContent) Error ¶ added in v0.22.0
func (o *SelectAllRecordsNoContent) Error() string
type SelectAllRecordsNotFound ¶ added in v0.22.0
type SelectAllRecordsNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
SelectAllRecordsNotFound 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 NewSelectAllRecordsNotFound ¶ added in v0.22.0
func NewSelectAllRecordsNotFound() *SelectAllRecordsNotFound
NewSelectAllRecordsNotFound creates a SelectAllRecordsNotFound with default headers values
func (*SelectAllRecordsNotFound) Error ¶ added in v0.22.0
func (o *SelectAllRecordsNotFound) Error() string
func (*SelectAllRecordsNotFound) GetPayload ¶ added in v0.22.0
func (o *SelectAllRecordsNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*SelectAllRecordsNotFound) ToJSONString ¶ added in v0.25.0
func (o *SelectAllRecordsNotFound) ToJSONString() string
type SelectAllRecordsParams ¶ added in v0.22.0
type SelectAllRecordsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*StoreID*/ StoreID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SelectAllRecordsParams contains all the parameters to send to the API endpoint for the select all records operation typically these are written to a http.Request
func NewSelectAllRecordsParams ¶ added in v0.22.0
func NewSelectAllRecordsParams() *SelectAllRecordsParams
NewSelectAllRecordsParams creates a new SelectAllRecordsParams object with the default values initialized.
func NewSelectAllRecordsParamsWithContext ¶ added in v0.22.0
func NewSelectAllRecordsParamsWithContext(ctx context.Context) *SelectAllRecordsParams
NewSelectAllRecordsParamsWithContext creates a new SelectAllRecordsParams object with the default values initialized, and the ability to set a context for a request
func NewSelectAllRecordsParamsWithHTTPClient ¶ added in v0.22.0
func NewSelectAllRecordsParamsWithHTTPClient(client *http.Client) *SelectAllRecordsParams
NewSelectAllRecordsParamsWithHTTPClient creates a new SelectAllRecordsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSelectAllRecordsParamsWithTimeout ¶ added in v0.22.0
func NewSelectAllRecordsParamsWithTimeout(timeout time.Duration) *SelectAllRecordsParams
NewSelectAllRecordsParamsWithTimeout creates a new SelectAllRecordsParams object with the default values initialized, and the ability to set a timeout on a request
func (*SelectAllRecordsParams) SetAuthInfoWriter ¶ added in v0.22.0
func (o *SelectAllRecordsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the select all records params
func (*SelectAllRecordsParams) SetContext ¶ added in v0.22.0
func (o *SelectAllRecordsParams) SetContext(ctx context.Context)
SetContext adds the context to the select all records params
func (*SelectAllRecordsParams) SetHTTPClient ¶ added in v0.22.0
func (o *SelectAllRecordsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the select all records params
func (*SelectAllRecordsParams) SetHTTPClientTransport ¶ added in v0.22.0
func (o *SelectAllRecordsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the select all records params
func (*SelectAllRecordsParams) SetNamespace ¶ added in v0.22.0
func (o *SelectAllRecordsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the select all records params
func (*SelectAllRecordsParams) SetStoreID ¶ added in v0.22.0
func (o *SelectAllRecordsParams) SetStoreID(storeID string)
SetStoreID adds the storeId to the select all records params
func (*SelectAllRecordsParams) SetTimeout ¶ added in v0.22.0
func (o *SelectAllRecordsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the select all records params
func (*SelectAllRecordsParams) WithContext ¶ added in v0.22.0
func (o *SelectAllRecordsParams) WithContext(ctx context.Context) *SelectAllRecordsParams
WithContext adds the context to the select all records params
func (*SelectAllRecordsParams) WithHTTPClient ¶ added in v0.22.0
func (o *SelectAllRecordsParams) WithHTTPClient(client *http.Client) *SelectAllRecordsParams
WithHTTPClient adds the HTTPClient to the select all records params
func (*SelectAllRecordsParams) WithNamespace ¶ added in v0.22.0
func (o *SelectAllRecordsParams) WithNamespace(namespace string) *SelectAllRecordsParams
WithNamespace adds the namespace to the select all records params
func (*SelectAllRecordsParams) WithStoreID ¶ added in v0.22.0
func (o *SelectAllRecordsParams) WithStoreID(storeID string) *SelectAllRecordsParams
WithStoreID adds the storeID to the select all records params
func (*SelectAllRecordsParams) WithTimeout ¶ added in v0.22.0
func (o *SelectAllRecordsParams) WithTimeout(timeout time.Duration) *SelectAllRecordsParams
WithTimeout adds the timeout to the select all records params
func (*SelectAllRecordsParams) WriteToRequest ¶ added in v0.22.0
func (o *SelectAllRecordsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SelectAllRecordsReader ¶ added in v0.22.0
type SelectAllRecordsReader struct {
// contains filtered or unexported fields
}
SelectAllRecordsReader is a Reader for the SelectAllRecords structure.
func (*SelectAllRecordsReader) ReadResponse ¶ added in v0.22.0
func (o *SelectAllRecordsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SelectRecordNoContent ¶ added in v0.22.0
type SelectRecordNoContent struct { }
SelectRecordNoContent handles this case with default header values.
No Content
func NewSelectRecordNoContent ¶ added in v0.22.0
func NewSelectRecordNoContent() *SelectRecordNoContent
NewSelectRecordNoContent creates a SelectRecordNoContent with default headers values
func (*SelectRecordNoContent) Error ¶ added in v0.22.0
func (o *SelectRecordNoContent) Error() string
type SelectRecordNotFound ¶ added in v0.22.0
type SelectRecordNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
SelectRecordNotFound 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>30041</td><td>Changelog [{changelogId}] doest not exist in namespace [{namespace}]</td></tr></table>
func NewSelectRecordNotFound ¶ added in v0.22.0
func NewSelectRecordNotFound() *SelectRecordNotFound
NewSelectRecordNotFound creates a SelectRecordNotFound with default headers values
func (*SelectRecordNotFound) Error ¶ added in v0.22.0
func (o *SelectRecordNotFound) Error() string
func (*SelectRecordNotFound) GetPayload ¶ added in v0.22.0
func (o *SelectRecordNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*SelectRecordNotFound) ToJSONString ¶ added in v0.25.0
func (o *SelectRecordNotFound) ToJSONString() string
type SelectRecordParams ¶ added in v0.22.0
type SelectRecordParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChangeID*/ ChangeID string /*Namespace*/ Namespace string /*StoreID*/ StoreID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SelectRecordParams contains all the parameters to send to the API endpoint for the select record operation typically these are written to a http.Request
func NewSelectRecordParams ¶ added in v0.22.0
func NewSelectRecordParams() *SelectRecordParams
NewSelectRecordParams creates a new SelectRecordParams object with the default values initialized.
func NewSelectRecordParamsWithContext ¶ added in v0.22.0
func NewSelectRecordParamsWithContext(ctx context.Context) *SelectRecordParams
NewSelectRecordParamsWithContext creates a new SelectRecordParams object with the default values initialized, and the ability to set a context for a request
func NewSelectRecordParamsWithHTTPClient ¶ added in v0.22.0
func NewSelectRecordParamsWithHTTPClient(client *http.Client) *SelectRecordParams
NewSelectRecordParamsWithHTTPClient creates a new SelectRecordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSelectRecordParamsWithTimeout ¶ added in v0.22.0
func NewSelectRecordParamsWithTimeout(timeout time.Duration) *SelectRecordParams
NewSelectRecordParamsWithTimeout creates a new SelectRecordParams object with the default values initialized, and the ability to set a timeout on a request
func (*SelectRecordParams) SetAuthInfoWriter ¶ added in v0.22.0
func (o *SelectRecordParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the select record params
func (*SelectRecordParams) SetChangeID ¶ added in v0.22.0
func (o *SelectRecordParams) SetChangeID(changeID string)
SetChangeID adds the changeId to the select record params
func (*SelectRecordParams) SetContext ¶ added in v0.22.0
func (o *SelectRecordParams) SetContext(ctx context.Context)
SetContext adds the context to the select record params
func (*SelectRecordParams) SetHTTPClient ¶ added in v0.22.0
func (o *SelectRecordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the select record params
func (*SelectRecordParams) SetHTTPClientTransport ¶ added in v0.22.0
func (o *SelectRecordParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the select record params
func (*SelectRecordParams) SetNamespace ¶ added in v0.22.0
func (o *SelectRecordParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the select record params
func (*SelectRecordParams) SetStoreID ¶ added in v0.22.0
func (o *SelectRecordParams) SetStoreID(storeID string)
SetStoreID adds the storeId to the select record params
func (*SelectRecordParams) SetTimeout ¶ added in v0.22.0
func (o *SelectRecordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the select record params
func (*SelectRecordParams) WithChangeID ¶ added in v0.22.0
func (o *SelectRecordParams) WithChangeID(changeID string) *SelectRecordParams
WithChangeID adds the changeID to the select record params
func (*SelectRecordParams) WithContext ¶ added in v0.22.0
func (o *SelectRecordParams) WithContext(ctx context.Context) *SelectRecordParams
WithContext adds the context to the select record params
func (*SelectRecordParams) WithHTTPClient ¶ added in v0.22.0
func (o *SelectRecordParams) WithHTTPClient(client *http.Client) *SelectRecordParams
WithHTTPClient adds the HTTPClient to the select record params
func (*SelectRecordParams) WithNamespace ¶ added in v0.22.0
func (o *SelectRecordParams) WithNamespace(namespace string) *SelectRecordParams
WithNamespace adds the namespace to the select record params
func (*SelectRecordParams) WithStoreID ¶ added in v0.22.0
func (o *SelectRecordParams) WithStoreID(storeID string) *SelectRecordParams
WithStoreID adds the storeID to the select record params
func (*SelectRecordParams) WithTimeout ¶ added in v0.22.0
func (o *SelectRecordParams) WithTimeout(timeout time.Duration) *SelectRecordParams
WithTimeout adds the timeout to the select record params
func (*SelectRecordParams) WriteToRequest ¶ added in v0.22.0
func (o *SelectRecordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SelectRecordReader ¶ added in v0.22.0
type SelectRecordReader struct {
// contains filtered or unexported fields
}
SelectRecordReader is a Reader for the SelectRecord structure.
func (*SelectRecordReader) ReadResponse ¶ added in v0.22.0
func (o *SelectRecordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnselectAllRecordsNoContent ¶ added in v0.22.0
type UnselectAllRecordsNoContent struct { }
UnselectAllRecordsNoContent handles this case with default header values.
No Content
func NewUnselectAllRecordsNoContent ¶ added in v0.22.0
func NewUnselectAllRecordsNoContent() *UnselectAllRecordsNoContent
NewUnselectAllRecordsNoContent creates a UnselectAllRecordsNoContent with default headers values
func (*UnselectAllRecordsNoContent) Error ¶ added in v0.22.0
func (o *UnselectAllRecordsNoContent) Error() string
type UnselectAllRecordsNotFound ¶ added in v0.22.0
type UnselectAllRecordsNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
UnselectAllRecordsNotFound 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 NewUnselectAllRecordsNotFound ¶ added in v0.22.0
func NewUnselectAllRecordsNotFound() *UnselectAllRecordsNotFound
NewUnselectAllRecordsNotFound creates a UnselectAllRecordsNotFound with default headers values
func (*UnselectAllRecordsNotFound) Error ¶ added in v0.22.0
func (o *UnselectAllRecordsNotFound) Error() string
func (*UnselectAllRecordsNotFound) GetPayload ¶ added in v0.22.0
func (o *UnselectAllRecordsNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*UnselectAllRecordsNotFound) ToJSONString ¶ added in v0.25.0
func (o *UnselectAllRecordsNotFound) ToJSONString() string
type UnselectAllRecordsParams ¶ added in v0.22.0
type UnselectAllRecordsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*StoreID*/ StoreID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnselectAllRecordsParams contains all the parameters to send to the API endpoint for the unselect all records operation typically these are written to a http.Request
func NewUnselectAllRecordsParams ¶ added in v0.22.0
func NewUnselectAllRecordsParams() *UnselectAllRecordsParams
NewUnselectAllRecordsParams creates a new UnselectAllRecordsParams object with the default values initialized.
func NewUnselectAllRecordsParamsWithContext ¶ added in v0.22.0
func NewUnselectAllRecordsParamsWithContext(ctx context.Context) *UnselectAllRecordsParams
NewUnselectAllRecordsParamsWithContext creates a new UnselectAllRecordsParams object with the default values initialized, and the ability to set a context for a request
func NewUnselectAllRecordsParamsWithHTTPClient ¶ added in v0.22.0
func NewUnselectAllRecordsParamsWithHTTPClient(client *http.Client) *UnselectAllRecordsParams
NewUnselectAllRecordsParamsWithHTTPClient creates a new UnselectAllRecordsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUnselectAllRecordsParamsWithTimeout ¶ added in v0.22.0
func NewUnselectAllRecordsParamsWithTimeout(timeout time.Duration) *UnselectAllRecordsParams
NewUnselectAllRecordsParamsWithTimeout creates a new UnselectAllRecordsParams object with the default values initialized, and the ability to set a timeout on a request
func (*UnselectAllRecordsParams) SetAuthInfoWriter ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the unselect all records params
func (*UnselectAllRecordsParams) SetContext ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) SetContext(ctx context.Context)
SetContext adds the context to the unselect all records params
func (*UnselectAllRecordsParams) SetHTTPClient ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unselect all records params
func (*UnselectAllRecordsParams) SetHTTPClientTransport ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the unselect all records params
func (*UnselectAllRecordsParams) SetNamespace ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the unselect all records params
func (*UnselectAllRecordsParams) SetStoreID ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) SetStoreID(storeID string)
SetStoreID adds the storeId to the unselect all records params
func (*UnselectAllRecordsParams) SetTimeout ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unselect all records params
func (*UnselectAllRecordsParams) WithContext ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) WithContext(ctx context.Context) *UnselectAllRecordsParams
WithContext adds the context to the unselect all records params
func (*UnselectAllRecordsParams) WithHTTPClient ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) WithHTTPClient(client *http.Client) *UnselectAllRecordsParams
WithHTTPClient adds the HTTPClient to the unselect all records params
func (*UnselectAllRecordsParams) WithNamespace ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) WithNamespace(namespace string) *UnselectAllRecordsParams
WithNamespace adds the namespace to the unselect all records params
func (*UnselectAllRecordsParams) WithStoreID ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) WithStoreID(storeID string) *UnselectAllRecordsParams
WithStoreID adds the storeID to the unselect all records params
func (*UnselectAllRecordsParams) WithTimeout ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) WithTimeout(timeout time.Duration) *UnselectAllRecordsParams
WithTimeout adds the timeout to the unselect all records params
func (*UnselectAllRecordsParams) WriteToRequest ¶ added in v0.22.0
func (o *UnselectAllRecordsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnselectAllRecordsReader ¶ added in v0.22.0
type UnselectAllRecordsReader struct {
// contains filtered or unexported fields
}
UnselectAllRecordsReader is a Reader for the UnselectAllRecords structure.
func (*UnselectAllRecordsReader) ReadResponse ¶ added in v0.22.0
func (o *UnselectAllRecordsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnselectRecordConflict ¶ added in v0.22.0
type UnselectRecordConflict struct {
Payload *platformclientmodels.ErrorEntity
}
UnselectRecordConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30071</td><td>Can't unselect item [{itemId}] when the item which is bound to is already selected in namespace [{namespace}]</td></tr><tr><td>30072</td><td>Can't unselect category [{categoryPath}] when item with this category is already selected in namespace [{namespace}]</td></tr><tr><td>30073</td><td>Can't unselect store change</td></tr><tr><td>30074</td><td>Can't unselect subscription's content [{itemId}] when subscription is already selected in namespace [{namespace}]</td></tr></table>
func NewUnselectRecordConflict ¶ added in v0.22.0
func NewUnselectRecordConflict() *UnselectRecordConflict
NewUnselectRecordConflict creates a UnselectRecordConflict with default headers values
func (*UnselectRecordConflict) Error ¶ added in v0.22.0
func (o *UnselectRecordConflict) Error() string
func (*UnselectRecordConflict) GetPayload ¶ added in v0.22.0
func (o *UnselectRecordConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*UnselectRecordConflict) ToJSONString ¶ added in v0.25.0
func (o *UnselectRecordConflict) ToJSONString() string
type UnselectRecordNoContent ¶ added in v0.22.0
type UnselectRecordNoContent struct { }
UnselectRecordNoContent handles this case with default header values.
No Content
func NewUnselectRecordNoContent ¶ added in v0.22.0
func NewUnselectRecordNoContent() *UnselectRecordNoContent
NewUnselectRecordNoContent creates a UnselectRecordNoContent with default headers values
func (*UnselectRecordNoContent) Error ¶ added in v0.22.0
func (o *UnselectRecordNoContent) Error() string
type UnselectRecordNotFound ¶ added in v0.22.0
type UnselectRecordNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
UnselectRecordNotFound 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>30041</td><td>Changelog [{changelogId}] doest not exist in namespace [{namespace}]</td></tr></table>
func NewUnselectRecordNotFound ¶ added in v0.22.0
func NewUnselectRecordNotFound() *UnselectRecordNotFound
NewUnselectRecordNotFound creates a UnselectRecordNotFound with default headers values
func (*UnselectRecordNotFound) Error ¶ added in v0.22.0
func (o *UnselectRecordNotFound) Error() string
func (*UnselectRecordNotFound) GetPayload ¶ added in v0.22.0
func (o *UnselectRecordNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*UnselectRecordNotFound) ToJSONString ¶ added in v0.25.0
func (o *UnselectRecordNotFound) ToJSONString() string
type UnselectRecordParams ¶ added in v0.22.0
type UnselectRecordParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ChangeID*/ ChangeID string /*Namespace*/ Namespace string /*StoreID*/ StoreID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnselectRecordParams contains all the parameters to send to the API endpoint for the unselect record operation typically these are written to a http.Request
func NewUnselectRecordParams ¶ added in v0.22.0
func NewUnselectRecordParams() *UnselectRecordParams
NewUnselectRecordParams creates a new UnselectRecordParams object with the default values initialized.
func NewUnselectRecordParamsWithContext ¶ added in v0.22.0
func NewUnselectRecordParamsWithContext(ctx context.Context) *UnselectRecordParams
NewUnselectRecordParamsWithContext creates a new UnselectRecordParams object with the default values initialized, and the ability to set a context for a request
func NewUnselectRecordParamsWithHTTPClient ¶ added in v0.22.0
func NewUnselectRecordParamsWithHTTPClient(client *http.Client) *UnselectRecordParams
NewUnselectRecordParamsWithHTTPClient creates a new UnselectRecordParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUnselectRecordParamsWithTimeout ¶ added in v0.22.0
func NewUnselectRecordParamsWithTimeout(timeout time.Duration) *UnselectRecordParams
NewUnselectRecordParamsWithTimeout creates a new UnselectRecordParams object with the default values initialized, and the ability to set a timeout on a request
func (*UnselectRecordParams) SetAuthInfoWriter ¶ added in v0.22.0
func (o *UnselectRecordParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the unselect record params
func (*UnselectRecordParams) SetChangeID ¶ added in v0.22.0
func (o *UnselectRecordParams) SetChangeID(changeID string)
SetChangeID adds the changeId to the unselect record params
func (*UnselectRecordParams) SetContext ¶ added in v0.22.0
func (o *UnselectRecordParams) SetContext(ctx context.Context)
SetContext adds the context to the unselect record params
func (*UnselectRecordParams) SetHTTPClient ¶ added in v0.22.0
func (o *UnselectRecordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unselect record params
func (*UnselectRecordParams) SetHTTPClientTransport ¶ added in v0.22.0
func (o *UnselectRecordParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the unselect record params
func (*UnselectRecordParams) SetNamespace ¶ added in v0.22.0
func (o *UnselectRecordParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the unselect record params
func (*UnselectRecordParams) SetStoreID ¶ added in v0.22.0
func (o *UnselectRecordParams) SetStoreID(storeID string)
SetStoreID adds the storeId to the unselect record params
func (*UnselectRecordParams) SetTimeout ¶ added in v0.22.0
func (o *UnselectRecordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unselect record params
func (*UnselectRecordParams) WithChangeID ¶ added in v0.22.0
func (o *UnselectRecordParams) WithChangeID(changeID string) *UnselectRecordParams
WithChangeID adds the changeID to the unselect record params
func (*UnselectRecordParams) WithContext ¶ added in v0.22.0
func (o *UnselectRecordParams) WithContext(ctx context.Context) *UnselectRecordParams
WithContext adds the context to the unselect record params
func (*UnselectRecordParams) WithHTTPClient ¶ added in v0.22.0
func (o *UnselectRecordParams) WithHTTPClient(client *http.Client) *UnselectRecordParams
WithHTTPClient adds the HTTPClient to the unselect record params
func (*UnselectRecordParams) WithNamespace ¶ added in v0.22.0
func (o *UnselectRecordParams) WithNamespace(namespace string) *UnselectRecordParams
WithNamespace adds the namespace to the unselect record params
func (*UnselectRecordParams) WithStoreID ¶ added in v0.22.0
func (o *UnselectRecordParams) WithStoreID(storeID string) *UnselectRecordParams
WithStoreID adds the storeID to the unselect record params
func (*UnselectRecordParams) WithTimeout ¶ added in v0.22.0
func (o *UnselectRecordParams) WithTimeout(timeout time.Duration) *UnselectRecordParams
WithTimeout adds the timeout to the unselect record params
func (*UnselectRecordParams) WriteToRequest ¶ added in v0.22.0
func (o *UnselectRecordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnselectRecordReader ¶ added in v0.22.0
type UnselectRecordReader struct {
// contains filtered or unexported fields
}
UnselectRecordReader is a Reader for the UnselectRecord structure.
func (*UnselectRecordReader) ReadResponse ¶ added in v0.22.0
func (o *UnselectRecordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- catalog_changes_client.go
- get_statistic_parameters.go
- get_statistic_responses.go
- publish_all_parameters.go
- publish_all_responses.go
- publish_selected_parameters.go
- publish_selected_responses.go
- query_changes_parameters.go
- query_changes_responses.go
- select_all_records_parameters.go
- select_all_records_responses.go
- select_record_parameters.go
- select_record_responses.go
- unselect_all_records_parameters.go
- unselect_all_records_responses.go
- unselect_record_parameters.go
- unselect_record_responses.go