Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateSection(params *CreateSectionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSectionCreated, *CreateSectionBadRequest, *CreateSectionNotFound, ...)deprecated
- func (a *Client) CreateSectionShort(params *CreateSectionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSectionCreated, error)
- func (a *Client) DeleteSection(params *DeleteSectionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSectionNoContent, *DeleteSectionNotFound, *DeleteSectionConflict, error)deprecated
- func (a *Client) DeleteSectionShort(params *DeleteSectionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSectionNoContent, error)
- func (a *Client) GetSection(params *GetSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionOK, *GetSectionNotFound, error)deprecated
- func (a *Client) GetSectionShort(params *GetSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionOK, error)
- func (a *Client) PublicListActiveSections(params *PublicListActiveSectionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListActiveSectionsOK, *PublicListActiveSectionsNotFound, error)deprecated
- func (a *Client) PublicListActiveSectionsShort(params *PublicListActiveSectionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListActiveSectionsOK, error)
- func (a *Client) PurgeExpiredSection(params *PurgeExpiredSectionParams, authInfo runtime.ClientAuthInfoWriter) (*PurgeExpiredSectionNoContent, *PurgeExpiredSectionNotFound, error)deprecated
- func (a *Client) PurgeExpiredSectionShort(params *PurgeExpiredSectionParams, authInfo runtime.ClientAuthInfoWriter) (*PurgeExpiredSectionNoContent, error)
- func (a *Client) QuerySections(params *QuerySectionsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySectionsOK, *QuerySectionsNotFound, *QuerySectionsUnprocessableEntity, ...)deprecated
- func (a *Client) QuerySectionsShort(params *QuerySectionsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySectionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateSection(params *UpdateSectionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSectionOK, *UpdateSectionBadRequest, *UpdateSectionNotFound, ...)deprecated
- func (a *Client) UpdateSectionShort(params *UpdateSectionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSectionOK, error)
- type ClientService
- type CreateSectionBadRequest
- type CreateSectionConflict
- type CreateSectionCreated
- type CreateSectionNotFound
- type CreateSectionParams
- func (o *CreateSectionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateSectionParams) SetBody(body *platformclientmodels.SectionCreate)
- func (o *CreateSectionParams) SetContext(ctx context.Context)
- func (o *CreateSectionParams) SetHTTPClient(client *http.Client)
- func (o *CreateSectionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateSectionParams) SetNamespace(namespace string)
- func (o *CreateSectionParams) SetStoreID(storeID string)
- func (o *CreateSectionParams) SetTimeout(timeout time.Duration)
- func (o *CreateSectionParams) WithBody(body *platformclientmodels.SectionCreate) *CreateSectionParams
- func (o *CreateSectionParams) WithContext(ctx context.Context) *CreateSectionParams
- func (o *CreateSectionParams) WithHTTPClient(client *http.Client) *CreateSectionParams
- func (o *CreateSectionParams) WithNamespace(namespace string) *CreateSectionParams
- func (o *CreateSectionParams) WithStoreID(storeID string) *CreateSectionParams
- func (o *CreateSectionParams) WithTimeout(timeout time.Duration) *CreateSectionParams
- func (o *CreateSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSectionReader
- type CreateSectionUnprocessableEntity
- type DeleteSectionConflict
- type DeleteSectionNoContent
- type DeleteSectionNotFound
- type DeleteSectionParams
- func (o *DeleteSectionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteSectionParams) SetContext(ctx context.Context)
- func (o *DeleteSectionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSectionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteSectionParams) SetNamespace(namespace string)
- func (o *DeleteSectionParams) SetSectionID(sectionID string)
- func (o *DeleteSectionParams) SetStoreID(storeID string)
- func (o *DeleteSectionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSectionParams) WithContext(ctx context.Context) *DeleteSectionParams
- func (o *DeleteSectionParams) WithHTTPClient(client *http.Client) *DeleteSectionParams
- func (o *DeleteSectionParams) WithNamespace(namespace string) *DeleteSectionParams
- func (o *DeleteSectionParams) WithSectionID(sectionID string) *DeleteSectionParams
- func (o *DeleteSectionParams) WithStoreID(storeID string) *DeleteSectionParams
- func (o *DeleteSectionParams) WithTimeout(timeout time.Duration) *DeleteSectionParams
- func (o *DeleteSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSectionReader
- type GetSectionNotFound
- type GetSectionOK
- type GetSectionParams
- func (o *GetSectionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetSectionParams) SetContext(ctx context.Context)
- func (o *GetSectionParams) SetHTTPClient(client *http.Client)
- func (o *GetSectionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetSectionParams) SetNamespace(namespace string)
- func (o *GetSectionParams) SetSectionID(sectionID string)
- func (o *GetSectionParams) SetStoreID(storeID *string)
- func (o *GetSectionParams) SetTimeout(timeout time.Duration)
- func (o *GetSectionParams) WithContext(ctx context.Context) *GetSectionParams
- func (o *GetSectionParams) WithHTTPClient(client *http.Client) *GetSectionParams
- func (o *GetSectionParams) WithNamespace(namespace string) *GetSectionParams
- func (o *GetSectionParams) WithSectionID(sectionID string) *GetSectionParams
- func (o *GetSectionParams) WithStoreID(storeID *string) *GetSectionParams
- func (o *GetSectionParams) WithTimeout(timeout time.Duration) *GetSectionParams
- func (o *GetSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSectionReader
- type PublicListActiveSectionsNotFound
- type PublicListActiveSectionsOK
- type PublicListActiveSectionsParams
- func NewPublicListActiveSectionsParams() *PublicListActiveSectionsParams
- func NewPublicListActiveSectionsParamsWithContext(ctx context.Context) *PublicListActiveSectionsParams
- func NewPublicListActiveSectionsParamsWithHTTPClient(client *http.Client) *PublicListActiveSectionsParams
- func NewPublicListActiveSectionsParamsWithTimeout(timeout time.Duration) *PublicListActiveSectionsParams
- func (o *PublicListActiveSectionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListActiveSectionsParams) SetAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool)
- func (o *PublicListActiveSectionsParams) SetContext(ctx context.Context)
- func (o *PublicListActiveSectionsParams) SetHTTPClient(client *http.Client)
- func (o *PublicListActiveSectionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicListActiveSectionsParams) SetLanguage(language *string)
- func (o *PublicListActiveSectionsParams) SetNamespace(namespace string)
- func (o *PublicListActiveSectionsParams) SetRegion(region *string)
- func (o *PublicListActiveSectionsParams) SetStoreID(storeID *string)
- func (o *PublicListActiveSectionsParams) SetTimeout(timeout time.Duration)
- func (o *PublicListActiveSectionsParams) SetUserID(userID string)
- func (o *PublicListActiveSectionsParams) SetViewID(viewID *string)
- func (o *PublicListActiveSectionsParams) WithAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool) *PublicListActiveSectionsParams
- func (o *PublicListActiveSectionsParams) WithContext(ctx context.Context) *PublicListActiveSectionsParams
- func (o *PublicListActiveSectionsParams) WithHTTPClient(client *http.Client) *PublicListActiveSectionsParams
- func (o *PublicListActiveSectionsParams) WithLanguage(language *string) *PublicListActiveSectionsParams
- func (o *PublicListActiveSectionsParams) WithNamespace(namespace string) *PublicListActiveSectionsParams
- func (o *PublicListActiveSectionsParams) WithRegion(region *string) *PublicListActiveSectionsParams
- func (o *PublicListActiveSectionsParams) WithStoreID(storeID *string) *PublicListActiveSectionsParams
- func (o *PublicListActiveSectionsParams) WithTimeout(timeout time.Duration) *PublicListActiveSectionsParams
- func (o *PublicListActiveSectionsParams) WithUserID(userID string) *PublicListActiveSectionsParams
- func (o *PublicListActiveSectionsParams) WithViewID(viewID *string) *PublicListActiveSectionsParams
- func (o *PublicListActiveSectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListActiveSectionsReader
- type PurgeExpiredSectionNoContent
- type PurgeExpiredSectionNotFound
- type PurgeExpiredSectionParams
- func NewPurgeExpiredSectionParams() *PurgeExpiredSectionParams
- func NewPurgeExpiredSectionParamsWithContext(ctx context.Context) *PurgeExpiredSectionParams
- func NewPurgeExpiredSectionParamsWithHTTPClient(client *http.Client) *PurgeExpiredSectionParams
- func NewPurgeExpiredSectionParamsWithTimeout(timeout time.Duration) *PurgeExpiredSectionParams
- func (o *PurgeExpiredSectionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PurgeExpiredSectionParams) SetContext(ctx context.Context)
- func (o *PurgeExpiredSectionParams) SetHTTPClient(client *http.Client)
- func (o *PurgeExpiredSectionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PurgeExpiredSectionParams) SetNamespace(namespace string)
- func (o *PurgeExpiredSectionParams) SetStoreID(storeID string)
- func (o *PurgeExpiredSectionParams) SetTimeout(timeout time.Duration)
- func (o *PurgeExpiredSectionParams) WithContext(ctx context.Context) *PurgeExpiredSectionParams
- func (o *PurgeExpiredSectionParams) WithHTTPClient(client *http.Client) *PurgeExpiredSectionParams
- func (o *PurgeExpiredSectionParams) WithNamespace(namespace string) *PurgeExpiredSectionParams
- func (o *PurgeExpiredSectionParams) WithStoreID(storeID string) *PurgeExpiredSectionParams
- func (o *PurgeExpiredSectionParams) WithTimeout(timeout time.Duration) *PurgeExpiredSectionParams
- func (o *PurgeExpiredSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PurgeExpiredSectionReader
- type QuerySectionsNotFound
- type QuerySectionsOK
- type QuerySectionsParams
- func (o *QuerySectionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QuerySectionsParams) SetContext(ctx context.Context)
- func (o *QuerySectionsParams) SetEnd(end *string)
- func (o *QuerySectionsParams) SetHTTPClient(client *http.Client)
- func (o *QuerySectionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QuerySectionsParams) SetLimit(limit *int32)
- func (o *QuerySectionsParams) SetNamespace(namespace string)
- func (o *QuerySectionsParams) SetOffset(offset *int32)
- func (o *QuerySectionsParams) SetStart(start *string)
- func (o *QuerySectionsParams) SetStoreID(storeID *string)
- func (o *QuerySectionsParams) SetTimeout(timeout time.Duration)
- func (o *QuerySectionsParams) SetViewID(viewID *string)
- func (o *QuerySectionsParams) WithContext(ctx context.Context) *QuerySectionsParams
- func (o *QuerySectionsParams) WithEnd(end *string) *QuerySectionsParams
- func (o *QuerySectionsParams) WithHTTPClient(client *http.Client) *QuerySectionsParams
- func (o *QuerySectionsParams) WithLimit(limit *int32) *QuerySectionsParams
- func (o *QuerySectionsParams) WithNamespace(namespace string) *QuerySectionsParams
- func (o *QuerySectionsParams) WithOffset(offset *int32) *QuerySectionsParams
- func (o *QuerySectionsParams) WithStart(start *string) *QuerySectionsParams
- func (o *QuerySectionsParams) WithStoreID(storeID *string) *QuerySectionsParams
- func (o *QuerySectionsParams) WithTimeout(timeout time.Duration) *QuerySectionsParams
- func (o *QuerySectionsParams) WithViewID(viewID *string) *QuerySectionsParams
- func (o *QuerySectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuerySectionsReader
- type QuerySectionsUnprocessableEntity
- type UpdateSectionBadRequest
- type UpdateSectionConflict
- type UpdateSectionNotFound
- type UpdateSectionOK
- type UpdateSectionParams
- func (o *UpdateSectionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateSectionParams) SetBody(body *platformclientmodels.SectionUpdate)
- func (o *UpdateSectionParams) SetContext(ctx context.Context)
- func (o *UpdateSectionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateSectionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateSectionParams) SetNamespace(namespace string)
- func (o *UpdateSectionParams) SetSectionID(sectionID string)
- func (o *UpdateSectionParams) SetStoreID(storeID string)
- func (o *UpdateSectionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateSectionParams) WithBody(body *platformclientmodels.SectionUpdate) *UpdateSectionParams
- func (o *UpdateSectionParams) WithContext(ctx context.Context) *UpdateSectionParams
- func (o *UpdateSectionParams) WithHTTPClient(client *http.Client) *UpdateSectionParams
- func (o *UpdateSectionParams) WithNamespace(namespace string) *UpdateSectionParams
- func (o *UpdateSectionParams) WithSectionID(sectionID string) *UpdateSectionParams
- func (o *UpdateSectionParams) WithStoreID(storeID string) *UpdateSectionParams
- func (o *UpdateSectionParams) WithTimeout(timeout time.Duration) *UpdateSectionParams
- func (o *UpdateSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateSectionReader
- type UpdateSectionUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for section API
func (*Client) CreateSection
deprecated
func (a *Client) CreateSection(params *CreateSectionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSectionCreated, *CreateSectionBadRequest, *CreateSectionNotFound, *CreateSectionConflict, *CreateSectionUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use CreateSectionShort instead.
CreateSection create a section This API is used to create a section.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STORE", action=1 (CREATE)
- Returns : created a section
## Restrictions for section extension and localization extension
1. Cannot use "." as the key name -
{ "data.2": "value" }
2. Cannot use "$" as the prefix in key names -
{ "$data": "value" }
func (*Client) CreateSectionShort ¶
func (a *Client) CreateSectionShort(params *CreateSectionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSectionCreated, error)
CreateSectionShort create a section This API is used to create a section.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STORE", action=1 (CREATE)
- Returns : created a section
## Restrictions for section extension and localization extension
1. Cannot use "." as the key name -
{ "data.2": "value" }
2. Cannot use "$" as the prefix in key names -
{ "$data": "value" }
func (*Client) DeleteSection
deprecated
func (a *Client) DeleteSection(params *DeleteSectionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSectionNoContent, *DeleteSectionNotFound, *DeleteSectionConflict, error)
Deprecated: 2022-08-10 - Use DeleteSectionShort instead.
DeleteSection delete a section This API is used to delete s section.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STORE", action=8 (DELETE)
func (*Client) DeleteSectionShort ¶
func (a *Client) DeleteSectionShort(params *DeleteSectionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSectionNoContent, error)
DeleteSectionShort delete a section This API is used to delete s section.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STORE", action=8 (DELETE)
func (*Client) GetSection
deprecated
func (a *Client) GetSection(params *GetSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionOK, *GetSectionNotFound, error)
Deprecated: 2022-08-10 - Use GetSectionShort instead.
GetSection get a section This API is used to get a section.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)
- Returns : section data
func (*Client) GetSectionShort ¶
func (a *Client) GetSectionShort(params *GetSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionOK, error)
GetSectionShort get a section This API is used to get a section.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)
- Returns : section data
func (*Client) PublicListActiveSections
deprecated
func (a *Client) PublicListActiveSections(params *PublicListActiveSectionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListActiveSectionsOK, *PublicListActiveSectionsNotFound, error)
Deprecated: 2022-08-10 - Use PublicListActiveSectionsShort instead.
PublicListActiveSections list active section contents This API is used to list active section contents.
Other detail info:
- Required permission : resource=NAMESPACE:{namespace}:USER:{userId}:STORE, action=2 (READ)
- Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store sections)
- Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store sections)
- Returns : active section contents
func (*Client) PublicListActiveSectionsShort ¶
func (a *Client) PublicListActiveSectionsShort(params *PublicListActiveSectionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListActiveSectionsOK, error)
PublicListActiveSectionsShort list active section contents This API is used to list active section contents.
Other detail info:
- Required permission : resource=NAMESPACE:{namespace}:USER:{userId}:STORE, action=2 (READ)
- Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store sections)
- Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store sections)
- Returns : active section contents
func (*Client) PurgeExpiredSection
deprecated
func (a *Client) PurgeExpiredSection(params *PurgeExpiredSectionParams, authInfo runtime.ClientAuthInfoWriter) (*PurgeExpiredSectionNoContent, *PurgeExpiredSectionNotFound, error)
Deprecated: 2022-08-10 - Use PurgeExpiredSectionShort instead.
PurgeExpiredSection purge expired section This API is used to purge expired section.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STORE", action=8 (DELETE)
func (*Client) PurgeExpiredSectionShort ¶
func (a *Client) PurgeExpiredSectionShort(params *PurgeExpiredSectionParams, authInfo runtime.ClientAuthInfoWriter) (*PurgeExpiredSectionNoContent, error)
PurgeExpiredSectionShort purge expired section This API is used to purge expired section.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STORE", action=8 (DELETE)
func (*Client) QuerySections
deprecated
func (a *Client) QuerySections(params *QuerySectionsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySectionsOK, *QuerySectionsNotFound, *QuerySectionsUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use QuerySectionsShort instead.
QuerySections list sections This API is used to query sections.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)
- Returns : paginated sections
func (*Client) QuerySectionsShort ¶
func (a *Client) QuerySectionsShort(params *QuerySectionsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySectionsOK, error)
QuerySectionsShort list sections This API is used to query sections.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)
- Returns : paginated sections
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateSection
deprecated
func (a *Client) UpdateSection(params *UpdateSectionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSectionOK, *UpdateSectionBadRequest, *UpdateSectionNotFound, *UpdateSectionConflict, *UpdateSectionUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use UpdateSectionShort instead.
UpdateSection update s section This API is used to update s section.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)
- Returns : updated section data
## Restrictions for section extension and localization extension
1. Cannot use "." as the key name -
{ "data.2": "value" }
2. Cannot use "$" as the prefix in key names -
{ "$data": "value" }
func (*Client) UpdateSectionShort ¶
func (a *Client) UpdateSectionShort(params *UpdateSectionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSectionOK, error)
UpdateSectionShort update s section This API is used to update s section.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)
- Returns : updated section data
## Restrictions for section extension and localization extension
1. Cannot use "." as the key name -
{ "data.2": "value" }
2. Cannot use "$" as the prefix in key names -
{ "$data": "value" }
type ClientService ¶
type ClientService interface { QuerySections(params *QuerySectionsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySectionsOK, *QuerySectionsNotFound, *QuerySectionsUnprocessableEntity, error) QuerySectionsShort(params *QuerySectionsParams, authInfo runtime.ClientAuthInfoWriter) (*QuerySectionsOK, error) CreateSection(params *CreateSectionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSectionCreated, *CreateSectionBadRequest, *CreateSectionNotFound, *CreateSectionConflict, *CreateSectionUnprocessableEntity, error) CreateSectionShort(params *CreateSectionParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSectionCreated, error) PurgeExpiredSection(params *PurgeExpiredSectionParams, authInfo runtime.ClientAuthInfoWriter) (*PurgeExpiredSectionNoContent, *PurgeExpiredSectionNotFound, error) PurgeExpiredSectionShort(params *PurgeExpiredSectionParams, authInfo runtime.ClientAuthInfoWriter) (*PurgeExpiredSectionNoContent, error) GetSection(params *GetSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionOK, *GetSectionNotFound, error) GetSectionShort(params *GetSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionOK, error) UpdateSection(params *UpdateSectionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSectionOK, *UpdateSectionBadRequest, *UpdateSectionNotFound, *UpdateSectionConflict, *UpdateSectionUnprocessableEntity, error) UpdateSectionShort(params *UpdateSectionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateSectionOK, error) DeleteSection(params *DeleteSectionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSectionNoContent, *DeleteSectionNotFound, *DeleteSectionConflict, error) DeleteSectionShort(params *DeleteSectionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSectionNoContent, error) PublicListActiveSections(params *PublicListActiveSectionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListActiveSectionsOK, *PublicListActiveSectionsNotFound, error) PublicListActiveSectionsShort(params *PublicListActiveSectionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListActiveSectionsOK, 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 section API client.
type CreateSectionBadRequest ¶
type CreateSectionBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
CreateSectionBadRequest 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><tr><td>30021</td><td>Default language [{language}] required</td></tr><tr><td>30023</td><td>Catalog plugin grpc server address required</td></tr></table>
func NewCreateSectionBadRequest ¶
func NewCreateSectionBadRequest() *CreateSectionBadRequest
NewCreateSectionBadRequest creates a CreateSectionBadRequest with default headers values
func (*CreateSectionBadRequest) Error ¶
func (o *CreateSectionBadRequest) Error() string
func (*CreateSectionBadRequest) GetPayload ¶
func (o *CreateSectionBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*CreateSectionBadRequest) ToJSONString ¶
func (o *CreateSectionBadRequest) ToJSONString() string
type CreateSectionConflict ¶
type CreateSectionConflict struct {
Payload *platformclientmodels.ErrorEntity
}
CreateSectionConflict 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 NewCreateSectionConflict ¶
func NewCreateSectionConflict() *CreateSectionConflict
NewCreateSectionConflict creates a CreateSectionConflict with default headers values
func (*CreateSectionConflict) Error ¶
func (o *CreateSectionConflict) Error() string
func (*CreateSectionConflict) GetPayload ¶
func (o *CreateSectionConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*CreateSectionConflict) ToJSONString ¶
func (o *CreateSectionConflict) ToJSONString() string
type CreateSectionCreated ¶
type CreateSectionCreated struct {
Payload *platformclientmodels.FullSectionInfo
}
CreateSectionCreated handles this case with default header values.
successful operation
func NewCreateSectionCreated ¶
func NewCreateSectionCreated() *CreateSectionCreated
NewCreateSectionCreated creates a CreateSectionCreated with default headers values
func (*CreateSectionCreated) Error ¶
func (o *CreateSectionCreated) Error() string
func (*CreateSectionCreated) GetPayload ¶
func (o *CreateSectionCreated) GetPayload() *platformclientmodels.FullSectionInfo
func (*CreateSectionCreated) ToJSONString ¶
func (o *CreateSectionCreated) ToJSONString() string
type CreateSectionNotFound ¶
type CreateSectionNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
CreateSectionNotFound 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>30641</td><td>View [{viewId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewCreateSectionNotFound ¶
func NewCreateSectionNotFound() *CreateSectionNotFound
NewCreateSectionNotFound creates a CreateSectionNotFound with default headers values
func (*CreateSectionNotFound) Error ¶
func (o *CreateSectionNotFound) Error() string
func (*CreateSectionNotFound) GetPayload ¶
func (o *CreateSectionNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*CreateSectionNotFound) ToJSONString ¶
func (o *CreateSectionNotFound) ToJSONString() string
type CreateSectionParams ¶
type CreateSectionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.SectionCreate /*Namespace Namespace */ Namespace string /*StoreID*/ StoreID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateSectionParams contains all the parameters to send to the API endpoint for the create section operation typically these are written to a http.Request
func NewCreateSectionParams ¶
func NewCreateSectionParams() *CreateSectionParams
NewCreateSectionParams creates a new CreateSectionParams object with the default values initialized.
func NewCreateSectionParamsWithContext ¶
func NewCreateSectionParamsWithContext(ctx context.Context) *CreateSectionParams
NewCreateSectionParamsWithContext creates a new CreateSectionParams object with the default values initialized, and the ability to set a context for a request
func NewCreateSectionParamsWithHTTPClient ¶
func NewCreateSectionParamsWithHTTPClient(client *http.Client) *CreateSectionParams
NewCreateSectionParamsWithHTTPClient creates a new CreateSectionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateSectionParamsWithTimeout ¶
func NewCreateSectionParamsWithTimeout(timeout time.Duration) *CreateSectionParams
NewCreateSectionParamsWithTimeout creates a new CreateSectionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSectionParams) SetAuthInfoWriter ¶
func (o *CreateSectionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create section params
func (*CreateSectionParams) SetBody ¶
func (o *CreateSectionParams) SetBody(body *platformclientmodels.SectionCreate)
SetBody adds the body to the create section params
func (*CreateSectionParams) SetContext ¶
func (o *CreateSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the create section params
func (*CreateSectionParams) SetHTTPClient ¶
func (o *CreateSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create section params
func (*CreateSectionParams) SetHTTPClientTransport ¶
func (o *CreateSectionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create section params
func (*CreateSectionParams) SetNamespace ¶
func (o *CreateSectionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create section params
func (*CreateSectionParams) SetStoreID ¶
func (o *CreateSectionParams) SetStoreID(storeID string)
SetStoreID adds the storeId to the create section params
func (*CreateSectionParams) SetTimeout ¶
func (o *CreateSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create section params
func (*CreateSectionParams) WithBody ¶
func (o *CreateSectionParams) WithBody(body *platformclientmodels.SectionCreate) *CreateSectionParams
WithBody adds the body to the create section params
func (*CreateSectionParams) WithContext ¶
func (o *CreateSectionParams) WithContext(ctx context.Context) *CreateSectionParams
WithContext adds the context to the create section params
func (*CreateSectionParams) WithHTTPClient ¶
func (o *CreateSectionParams) WithHTTPClient(client *http.Client) *CreateSectionParams
WithHTTPClient adds the HTTPClient to the create section params
func (*CreateSectionParams) WithNamespace ¶
func (o *CreateSectionParams) WithNamespace(namespace string) *CreateSectionParams
WithNamespace adds the namespace to the create section params
func (*CreateSectionParams) WithStoreID ¶
func (o *CreateSectionParams) WithStoreID(storeID string) *CreateSectionParams
WithStoreID adds the storeID to the create section params
func (*CreateSectionParams) WithTimeout ¶
func (o *CreateSectionParams) WithTimeout(timeout time.Duration) *CreateSectionParams
WithTimeout adds the timeout to the create section params
func (*CreateSectionParams) WriteToRequest ¶
func (o *CreateSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSectionReader ¶
type CreateSectionReader struct {
// contains filtered or unexported fields
}
CreateSectionReader is a Reader for the CreateSection structure.
func (*CreateSectionReader) ReadResponse ¶
func (o *CreateSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateSectionUnprocessableEntity ¶
type CreateSectionUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
CreateSectionUnprocessableEntity 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 NewCreateSectionUnprocessableEntity ¶
func NewCreateSectionUnprocessableEntity() *CreateSectionUnprocessableEntity
NewCreateSectionUnprocessableEntity creates a CreateSectionUnprocessableEntity with default headers values
func (*CreateSectionUnprocessableEntity) Error ¶
func (o *CreateSectionUnprocessableEntity) Error() string
func (*CreateSectionUnprocessableEntity) GetPayload ¶
func (o *CreateSectionUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*CreateSectionUnprocessableEntity) ToJSONString ¶
func (o *CreateSectionUnprocessableEntity) ToJSONString() string
type DeleteSectionConflict ¶
type DeleteSectionConflict struct {
Payload *platformclientmodels.ErrorEntity
}
DeleteSectionConflict 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 NewDeleteSectionConflict ¶
func NewDeleteSectionConflict() *DeleteSectionConflict
NewDeleteSectionConflict creates a DeleteSectionConflict with default headers values
func (*DeleteSectionConflict) Error ¶
func (o *DeleteSectionConflict) Error() string
func (*DeleteSectionConflict) GetPayload ¶
func (o *DeleteSectionConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*DeleteSectionConflict) ToJSONString ¶
func (o *DeleteSectionConflict) ToJSONString() string
type DeleteSectionNoContent ¶
type DeleteSectionNoContent struct { }
DeleteSectionNoContent handles this case with default header values.
Delete section successfully
func NewDeleteSectionNoContent ¶
func NewDeleteSectionNoContent() *DeleteSectionNoContent
NewDeleteSectionNoContent creates a DeleteSectionNoContent with default headers values
func (*DeleteSectionNoContent) Error ¶
func (o *DeleteSectionNoContent) Error() string
type DeleteSectionNotFound ¶
type DeleteSectionNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
DeleteSectionNotFound 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>30741</td><td>Section [{sectionId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewDeleteSectionNotFound ¶
func NewDeleteSectionNotFound() *DeleteSectionNotFound
NewDeleteSectionNotFound creates a DeleteSectionNotFound with default headers values
func (*DeleteSectionNotFound) Error ¶
func (o *DeleteSectionNotFound) Error() string
func (*DeleteSectionNotFound) GetPayload ¶
func (o *DeleteSectionNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*DeleteSectionNotFound) ToJSONString ¶
func (o *DeleteSectionNotFound) ToJSONString() string
type DeleteSectionParams ¶
type DeleteSectionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*SectionID*/ SectionID string /*StoreID*/ StoreID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSectionParams contains all the parameters to send to the API endpoint for the delete section operation typically these are written to a http.Request
func NewDeleteSectionParams ¶
func NewDeleteSectionParams() *DeleteSectionParams
NewDeleteSectionParams creates a new DeleteSectionParams object with the default values initialized.
func NewDeleteSectionParamsWithContext ¶
func NewDeleteSectionParamsWithContext(ctx context.Context) *DeleteSectionParams
NewDeleteSectionParamsWithContext creates a new DeleteSectionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSectionParamsWithHTTPClient ¶
func NewDeleteSectionParamsWithHTTPClient(client *http.Client) *DeleteSectionParams
NewDeleteSectionParamsWithHTTPClient creates a new DeleteSectionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSectionParamsWithTimeout ¶
func NewDeleteSectionParamsWithTimeout(timeout time.Duration) *DeleteSectionParams
NewDeleteSectionParamsWithTimeout creates a new DeleteSectionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSectionParams) SetAuthInfoWriter ¶
func (o *DeleteSectionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete section params
func (*DeleteSectionParams) SetContext ¶
func (o *DeleteSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete section params
func (*DeleteSectionParams) SetHTTPClient ¶
func (o *DeleteSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete section params
func (*DeleteSectionParams) SetHTTPClientTransport ¶
func (o *DeleteSectionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete section params
func (*DeleteSectionParams) SetNamespace ¶
func (o *DeleteSectionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete section params
func (*DeleteSectionParams) SetSectionID ¶
func (o *DeleteSectionParams) SetSectionID(sectionID string)
SetSectionID adds the sectionId to the delete section params
func (*DeleteSectionParams) SetStoreID ¶
func (o *DeleteSectionParams) SetStoreID(storeID string)
SetStoreID adds the storeId to the delete section params
func (*DeleteSectionParams) SetTimeout ¶
func (o *DeleteSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete section params
func (*DeleteSectionParams) WithContext ¶
func (o *DeleteSectionParams) WithContext(ctx context.Context) *DeleteSectionParams
WithContext adds the context to the delete section params
func (*DeleteSectionParams) WithHTTPClient ¶
func (o *DeleteSectionParams) WithHTTPClient(client *http.Client) *DeleteSectionParams
WithHTTPClient adds the HTTPClient to the delete section params
func (*DeleteSectionParams) WithNamespace ¶
func (o *DeleteSectionParams) WithNamespace(namespace string) *DeleteSectionParams
WithNamespace adds the namespace to the delete section params
func (*DeleteSectionParams) WithSectionID ¶
func (o *DeleteSectionParams) WithSectionID(sectionID string) *DeleteSectionParams
WithSectionID adds the sectionID to the delete section params
func (*DeleteSectionParams) WithStoreID ¶
func (o *DeleteSectionParams) WithStoreID(storeID string) *DeleteSectionParams
WithStoreID adds the storeID to the delete section params
func (*DeleteSectionParams) WithTimeout ¶
func (o *DeleteSectionParams) WithTimeout(timeout time.Duration) *DeleteSectionParams
WithTimeout adds the timeout to the delete section params
func (*DeleteSectionParams) WriteToRequest ¶
func (o *DeleteSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSectionReader ¶
type DeleteSectionReader struct {
// contains filtered or unexported fields
}
DeleteSectionReader is a Reader for the DeleteSection structure.
func (*DeleteSectionReader) ReadResponse ¶
func (o *DeleteSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSectionNotFound ¶
type GetSectionNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetSectionNotFound 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>30741</td><td>Section [{sectionId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewGetSectionNotFound ¶
func NewGetSectionNotFound() *GetSectionNotFound
NewGetSectionNotFound creates a GetSectionNotFound with default headers values
func (*GetSectionNotFound) Error ¶
func (o *GetSectionNotFound) Error() string
func (*GetSectionNotFound) GetPayload ¶
func (o *GetSectionNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GetSectionNotFound) ToJSONString ¶
func (o *GetSectionNotFound) ToJSONString() string
type GetSectionOK ¶
type GetSectionOK struct {
Payload *platformclientmodels.FullSectionInfo
}
GetSectionOK handles this case with default header values.
successful operation
func NewGetSectionOK ¶
func NewGetSectionOK() *GetSectionOK
NewGetSectionOK creates a GetSectionOK with default headers values
func (*GetSectionOK) Error ¶
func (o *GetSectionOK) Error() string
func (*GetSectionOK) GetPayload ¶
func (o *GetSectionOK) GetPayload() *platformclientmodels.FullSectionInfo
func (*GetSectionOK) ToJSONString ¶
func (o *GetSectionOK) ToJSONString() string
type GetSectionParams ¶
type GetSectionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*SectionID*/ SectionID string /*StoreID default is published store id */ StoreID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSectionParams contains all the parameters to send to the API endpoint for the get section operation typically these are written to a http.Request
func NewGetSectionParams ¶
func NewGetSectionParams() *GetSectionParams
NewGetSectionParams creates a new GetSectionParams object with the default values initialized.
func NewGetSectionParamsWithContext ¶
func NewGetSectionParamsWithContext(ctx context.Context) *GetSectionParams
NewGetSectionParamsWithContext creates a new GetSectionParams object with the default values initialized, and the ability to set a context for a request
func NewGetSectionParamsWithHTTPClient ¶
func NewGetSectionParamsWithHTTPClient(client *http.Client) *GetSectionParams
NewGetSectionParamsWithHTTPClient creates a new GetSectionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSectionParamsWithTimeout ¶
func NewGetSectionParamsWithTimeout(timeout time.Duration) *GetSectionParams
NewGetSectionParamsWithTimeout creates a new GetSectionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSectionParams) SetAuthInfoWriter ¶
func (o *GetSectionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get section params
func (*GetSectionParams) SetContext ¶
func (o *GetSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get section params
func (*GetSectionParams) SetHTTPClient ¶
func (o *GetSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get section params
func (*GetSectionParams) SetHTTPClientTransport ¶
func (o *GetSectionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get section params
func (*GetSectionParams) SetNamespace ¶
func (o *GetSectionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get section params
func (*GetSectionParams) SetSectionID ¶
func (o *GetSectionParams) SetSectionID(sectionID string)
SetSectionID adds the sectionId to the get section params
func (*GetSectionParams) SetStoreID ¶
func (o *GetSectionParams) SetStoreID(storeID *string)
SetStoreID adds the storeId to the get section params
func (*GetSectionParams) SetTimeout ¶
func (o *GetSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get section params
func (*GetSectionParams) WithContext ¶
func (o *GetSectionParams) WithContext(ctx context.Context) *GetSectionParams
WithContext adds the context to the get section params
func (*GetSectionParams) WithHTTPClient ¶
func (o *GetSectionParams) WithHTTPClient(client *http.Client) *GetSectionParams
WithHTTPClient adds the HTTPClient to the get section params
func (*GetSectionParams) WithNamespace ¶
func (o *GetSectionParams) WithNamespace(namespace string) *GetSectionParams
WithNamespace adds the namespace to the get section params
func (*GetSectionParams) WithSectionID ¶
func (o *GetSectionParams) WithSectionID(sectionID string) *GetSectionParams
WithSectionID adds the sectionID to the get section params
func (*GetSectionParams) WithStoreID ¶
func (o *GetSectionParams) WithStoreID(storeID *string) *GetSectionParams
WithStoreID adds the storeID to the get section params
func (*GetSectionParams) WithTimeout ¶
func (o *GetSectionParams) WithTimeout(timeout time.Duration) *GetSectionParams
WithTimeout adds the timeout to the get section params
func (*GetSectionParams) WriteToRequest ¶
func (o *GetSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSectionReader ¶
type GetSectionReader struct {
// contains filtered or unexported fields
}
GetSectionReader is a Reader for the GetSection structure.
func (*GetSectionReader) ReadResponse ¶
func (o *GetSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicListActiveSectionsNotFound ¶
type PublicListActiveSectionsNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PublicListActiveSectionsNotFound 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 NewPublicListActiveSectionsNotFound ¶
func NewPublicListActiveSectionsNotFound() *PublicListActiveSectionsNotFound
NewPublicListActiveSectionsNotFound creates a PublicListActiveSectionsNotFound with default headers values
func (*PublicListActiveSectionsNotFound) Error ¶
func (o *PublicListActiveSectionsNotFound) Error() string
func (*PublicListActiveSectionsNotFound) GetPayload ¶
func (o *PublicListActiveSectionsNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicListActiveSectionsNotFound) ToJSONString ¶
func (o *PublicListActiveSectionsNotFound) ToJSONString() string
type PublicListActiveSectionsOK ¶
type PublicListActiveSectionsOK struct {
Payload []*platformclientmodels.SectionInfo
}
PublicListActiveSectionsOK handles this case with default header values.
successful operation
func NewPublicListActiveSectionsOK ¶
func NewPublicListActiveSectionsOK() *PublicListActiveSectionsOK
NewPublicListActiveSectionsOK creates a PublicListActiveSectionsOK with default headers values
func (*PublicListActiveSectionsOK) Error ¶
func (o *PublicListActiveSectionsOK) Error() string
func (*PublicListActiveSectionsOK) GetPayload ¶
func (o *PublicListActiveSectionsOK) GetPayload() []*platformclientmodels.SectionInfo
func (*PublicListActiveSectionsOK) ToJSONString ¶
func (o *PublicListActiveSectionsOK) ToJSONString() string
type PublicListActiveSectionsParams ¶
type PublicListActiveSectionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*UserID*/ UserID string /*AutoCalcEstimatedPrice*/ AutoCalcEstimatedPrice *bool /*Language*/ Language *string /*Region*/ Region *string /*StoreID default is published store id */ StoreID *string /*ViewID*/ ViewID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicListActiveSectionsParams contains all the parameters to send to the API endpoint for the public list active sections operation typically these are written to a http.Request
func NewPublicListActiveSectionsParams ¶
func NewPublicListActiveSectionsParams() *PublicListActiveSectionsParams
NewPublicListActiveSectionsParams creates a new PublicListActiveSectionsParams object with the default values initialized.
func NewPublicListActiveSectionsParamsWithContext ¶
func NewPublicListActiveSectionsParamsWithContext(ctx context.Context) *PublicListActiveSectionsParams
NewPublicListActiveSectionsParamsWithContext creates a new PublicListActiveSectionsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicListActiveSectionsParamsWithHTTPClient ¶
func NewPublicListActiveSectionsParamsWithHTTPClient(client *http.Client) *PublicListActiveSectionsParams
NewPublicListActiveSectionsParamsWithHTTPClient creates a new PublicListActiveSectionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicListActiveSectionsParamsWithTimeout ¶
func NewPublicListActiveSectionsParamsWithTimeout(timeout time.Duration) *PublicListActiveSectionsParams
NewPublicListActiveSectionsParamsWithTimeout creates a new PublicListActiveSectionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicListActiveSectionsParams) SetAuthInfoWriter ¶
func (o *PublicListActiveSectionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public list active sections params
func (*PublicListActiveSectionsParams) SetAutoCalcEstimatedPrice ¶ added in v0.60.0
func (o *PublicListActiveSectionsParams) SetAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool)
SetAutoCalcEstimatedPrice adds the autoCalcEstimatedPrice to the public list active sections params
func (*PublicListActiveSectionsParams) SetContext ¶
func (o *PublicListActiveSectionsParams) SetContext(ctx context.Context)
SetContext adds the context to the public list active sections params
func (*PublicListActiveSectionsParams) SetHTTPClient ¶
func (o *PublicListActiveSectionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public list active sections params
func (*PublicListActiveSectionsParams) SetHTTPClientTransport ¶
func (o *PublicListActiveSectionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public list active sections params
func (*PublicListActiveSectionsParams) SetLanguage ¶
func (o *PublicListActiveSectionsParams) SetLanguage(language *string)
SetLanguage adds the language to the public list active sections params
func (*PublicListActiveSectionsParams) SetNamespace ¶
func (o *PublicListActiveSectionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public list active sections params
func (*PublicListActiveSectionsParams) SetRegion ¶
func (o *PublicListActiveSectionsParams) SetRegion(region *string)
SetRegion adds the region to the public list active sections params
func (*PublicListActiveSectionsParams) SetStoreID ¶
func (o *PublicListActiveSectionsParams) SetStoreID(storeID *string)
SetStoreID adds the storeId to the public list active sections params
func (*PublicListActiveSectionsParams) SetTimeout ¶
func (o *PublicListActiveSectionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public list active sections params
func (*PublicListActiveSectionsParams) SetUserID ¶
func (o *PublicListActiveSectionsParams) SetUserID(userID string)
SetUserID adds the userId to the public list active sections params
func (*PublicListActiveSectionsParams) SetViewID ¶
func (o *PublicListActiveSectionsParams) SetViewID(viewID *string)
SetViewID adds the viewId to the public list active sections params
func (*PublicListActiveSectionsParams) WithAutoCalcEstimatedPrice ¶ added in v0.60.0
func (o *PublicListActiveSectionsParams) WithAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool) *PublicListActiveSectionsParams
WithAutoCalcEstimatedPrice adds the autoCalcEstimatedPrice to the public list active sections params
func (*PublicListActiveSectionsParams) WithContext ¶
func (o *PublicListActiveSectionsParams) WithContext(ctx context.Context) *PublicListActiveSectionsParams
WithContext adds the context to the public list active sections params
func (*PublicListActiveSectionsParams) WithHTTPClient ¶
func (o *PublicListActiveSectionsParams) WithHTTPClient(client *http.Client) *PublicListActiveSectionsParams
WithHTTPClient adds the HTTPClient to the public list active sections params
func (*PublicListActiveSectionsParams) WithLanguage ¶
func (o *PublicListActiveSectionsParams) WithLanguage(language *string) *PublicListActiveSectionsParams
WithLanguage adds the language to the public list active sections params
func (*PublicListActiveSectionsParams) WithNamespace ¶
func (o *PublicListActiveSectionsParams) WithNamespace(namespace string) *PublicListActiveSectionsParams
WithNamespace adds the namespace to the public list active sections params
func (*PublicListActiveSectionsParams) WithRegion ¶
func (o *PublicListActiveSectionsParams) WithRegion(region *string) *PublicListActiveSectionsParams
WithRegion adds the region to the public list active sections params
func (*PublicListActiveSectionsParams) WithStoreID ¶
func (o *PublicListActiveSectionsParams) WithStoreID(storeID *string) *PublicListActiveSectionsParams
WithStoreID adds the storeID to the public list active sections params
func (*PublicListActiveSectionsParams) WithTimeout ¶
func (o *PublicListActiveSectionsParams) WithTimeout(timeout time.Duration) *PublicListActiveSectionsParams
WithTimeout adds the timeout to the public list active sections params
func (*PublicListActiveSectionsParams) WithUserID ¶
func (o *PublicListActiveSectionsParams) WithUserID(userID string) *PublicListActiveSectionsParams
WithUserID adds the userID to the public list active sections params
func (*PublicListActiveSectionsParams) WithViewID ¶
func (o *PublicListActiveSectionsParams) WithViewID(viewID *string) *PublicListActiveSectionsParams
WithViewID adds the viewID to the public list active sections params
func (*PublicListActiveSectionsParams) WriteToRequest ¶
func (o *PublicListActiveSectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicListActiveSectionsReader ¶
type PublicListActiveSectionsReader struct {
// contains filtered or unexported fields
}
PublicListActiveSectionsReader is a Reader for the PublicListActiveSections structure.
func (*PublicListActiveSectionsReader) ReadResponse ¶
func (o *PublicListActiveSectionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PurgeExpiredSectionNoContent ¶
type PurgeExpiredSectionNoContent struct { }
PurgeExpiredSectionNoContent handles this case with default header values.
purge expired section successfully
func NewPurgeExpiredSectionNoContent ¶
func NewPurgeExpiredSectionNoContent() *PurgeExpiredSectionNoContent
NewPurgeExpiredSectionNoContent creates a PurgeExpiredSectionNoContent with default headers values
func (*PurgeExpiredSectionNoContent) Error ¶
func (o *PurgeExpiredSectionNoContent) Error() string
type PurgeExpiredSectionNotFound ¶
type PurgeExpiredSectionNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PurgeExpiredSectionNotFound 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 NewPurgeExpiredSectionNotFound ¶
func NewPurgeExpiredSectionNotFound() *PurgeExpiredSectionNotFound
NewPurgeExpiredSectionNotFound creates a PurgeExpiredSectionNotFound with default headers values
func (*PurgeExpiredSectionNotFound) Error ¶
func (o *PurgeExpiredSectionNotFound) Error() string
func (*PurgeExpiredSectionNotFound) GetPayload ¶
func (o *PurgeExpiredSectionNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PurgeExpiredSectionNotFound) ToJSONString ¶
func (o *PurgeExpiredSectionNotFound) ToJSONString() string
type PurgeExpiredSectionParams ¶
type PurgeExpiredSectionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*StoreID*/ StoreID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PurgeExpiredSectionParams contains all the parameters to send to the API endpoint for the purge expired section operation typically these are written to a http.Request
func NewPurgeExpiredSectionParams ¶
func NewPurgeExpiredSectionParams() *PurgeExpiredSectionParams
NewPurgeExpiredSectionParams creates a new PurgeExpiredSectionParams object with the default values initialized.
func NewPurgeExpiredSectionParamsWithContext ¶
func NewPurgeExpiredSectionParamsWithContext(ctx context.Context) *PurgeExpiredSectionParams
NewPurgeExpiredSectionParamsWithContext creates a new PurgeExpiredSectionParams object with the default values initialized, and the ability to set a context for a request
func NewPurgeExpiredSectionParamsWithHTTPClient ¶
func NewPurgeExpiredSectionParamsWithHTTPClient(client *http.Client) *PurgeExpiredSectionParams
NewPurgeExpiredSectionParamsWithHTTPClient creates a new PurgeExpiredSectionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPurgeExpiredSectionParamsWithTimeout ¶
func NewPurgeExpiredSectionParamsWithTimeout(timeout time.Duration) *PurgeExpiredSectionParams
NewPurgeExpiredSectionParamsWithTimeout creates a new PurgeExpiredSectionParams object with the default values initialized, and the ability to set a timeout on a request
func (*PurgeExpiredSectionParams) SetAuthInfoWriter ¶
func (o *PurgeExpiredSectionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the purge expired section params
func (*PurgeExpiredSectionParams) SetContext ¶
func (o *PurgeExpiredSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the purge expired section params
func (*PurgeExpiredSectionParams) SetHTTPClient ¶
func (o *PurgeExpiredSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the purge expired section params
func (*PurgeExpiredSectionParams) SetHTTPClientTransport ¶
func (o *PurgeExpiredSectionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the purge expired section params
func (*PurgeExpiredSectionParams) SetNamespace ¶
func (o *PurgeExpiredSectionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the purge expired section params
func (*PurgeExpiredSectionParams) SetStoreID ¶
func (o *PurgeExpiredSectionParams) SetStoreID(storeID string)
SetStoreID adds the storeId to the purge expired section params
func (*PurgeExpiredSectionParams) SetTimeout ¶
func (o *PurgeExpiredSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the purge expired section params
func (*PurgeExpiredSectionParams) WithContext ¶
func (o *PurgeExpiredSectionParams) WithContext(ctx context.Context) *PurgeExpiredSectionParams
WithContext adds the context to the purge expired section params
func (*PurgeExpiredSectionParams) WithHTTPClient ¶
func (o *PurgeExpiredSectionParams) WithHTTPClient(client *http.Client) *PurgeExpiredSectionParams
WithHTTPClient adds the HTTPClient to the purge expired section params
func (*PurgeExpiredSectionParams) WithNamespace ¶
func (o *PurgeExpiredSectionParams) WithNamespace(namespace string) *PurgeExpiredSectionParams
WithNamespace adds the namespace to the purge expired section params
func (*PurgeExpiredSectionParams) WithStoreID ¶
func (o *PurgeExpiredSectionParams) WithStoreID(storeID string) *PurgeExpiredSectionParams
WithStoreID adds the storeID to the purge expired section params
func (*PurgeExpiredSectionParams) WithTimeout ¶
func (o *PurgeExpiredSectionParams) WithTimeout(timeout time.Duration) *PurgeExpiredSectionParams
WithTimeout adds the timeout to the purge expired section params
func (*PurgeExpiredSectionParams) WriteToRequest ¶
func (o *PurgeExpiredSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PurgeExpiredSectionReader ¶
type PurgeExpiredSectionReader struct {
// contains filtered or unexported fields
}
PurgeExpiredSectionReader is a Reader for the PurgeExpiredSection structure.
func (*PurgeExpiredSectionReader) ReadResponse ¶
func (o *PurgeExpiredSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuerySectionsNotFound ¶
type QuerySectionsNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
QuerySectionsNotFound 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 NewQuerySectionsNotFound ¶
func NewQuerySectionsNotFound() *QuerySectionsNotFound
NewQuerySectionsNotFound creates a QuerySectionsNotFound with default headers values
func (*QuerySectionsNotFound) Error ¶
func (o *QuerySectionsNotFound) Error() string
func (*QuerySectionsNotFound) GetPayload ¶
func (o *QuerySectionsNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*QuerySectionsNotFound) ToJSONString ¶
func (o *QuerySectionsNotFound) ToJSONString() string
type QuerySectionsOK ¶
type QuerySectionsOK struct {
Payload *platformclientmodels.SectionPagingSlicedResult
}
QuerySectionsOK handles this case with default header values.
successful operation
func NewQuerySectionsOK ¶
func NewQuerySectionsOK() *QuerySectionsOK
NewQuerySectionsOK creates a QuerySectionsOK with default headers values
func (*QuerySectionsOK) Error ¶
func (o *QuerySectionsOK) Error() string
func (*QuerySectionsOK) GetPayload ¶
func (o *QuerySectionsOK) GetPayload() *platformclientmodels.SectionPagingSlicedResult
func (*QuerySectionsOK) ToJSONString ¶
func (o *QuerySectionsOK) ToJSONString() string
type QuerySectionsParams ¶
type QuerySectionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace*/ Namespace string /*End section active range time end, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ */ End *string /*Limit limit */ Limit *int32 /*Offset offset */ Offset *int32 /*Start section active range time start , using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ */ Start *string /*StoreID default is published store id */ StoreID *string /*ViewID*/ ViewID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuerySectionsParams contains all the parameters to send to the API endpoint for the query sections operation typically these are written to a http.Request
func NewQuerySectionsParams ¶
func NewQuerySectionsParams() *QuerySectionsParams
NewQuerySectionsParams creates a new QuerySectionsParams object with the default values initialized.
func NewQuerySectionsParamsWithContext ¶
func NewQuerySectionsParamsWithContext(ctx context.Context) *QuerySectionsParams
NewQuerySectionsParamsWithContext creates a new QuerySectionsParams object with the default values initialized, and the ability to set a context for a request
func NewQuerySectionsParamsWithHTTPClient ¶
func NewQuerySectionsParamsWithHTTPClient(client *http.Client) *QuerySectionsParams
NewQuerySectionsParamsWithHTTPClient creates a new QuerySectionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQuerySectionsParamsWithTimeout ¶
func NewQuerySectionsParamsWithTimeout(timeout time.Duration) *QuerySectionsParams
NewQuerySectionsParamsWithTimeout creates a new QuerySectionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QuerySectionsParams) SetAuthInfoWriter ¶
func (o *QuerySectionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query sections params
func (*QuerySectionsParams) SetContext ¶
func (o *QuerySectionsParams) SetContext(ctx context.Context)
SetContext adds the context to the query sections params
func (*QuerySectionsParams) SetEnd ¶
func (o *QuerySectionsParams) SetEnd(end *string)
SetEnd adds the end to the query sections params
func (*QuerySectionsParams) SetHTTPClient ¶
func (o *QuerySectionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query sections params
func (*QuerySectionsParams) SetHTTPClientTransport ¶
func (o *QuerySectionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query sections params
func (*QuerySectionsParams) SetLimit ¶
func (o *QuerySectionsParams) SetLimit(limit *int32)
SetLimit adds the limit to the query sections params
func (*QuerySectionsParams) SetNamespace ¶
func (o *QuerySectionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query sections params
func (*QuerySectionsParams) SetOffset ¶
func (o *QuerySectionsParams) SetOffset(offset *int32)
SetOffset adds the offset to the query sections params
func (*QuerySectionsParams) SetStart ¶
func (o *QuerySectionsParams) SetStart(start *string)
SetStart adds the start to the query sections params
func (*QuerySectionsParams) SetStoreID ¶
func (o *QuerySectionsParams) SetStoreID(storeID *string)
SetStoreID adds the storeId to the query sections params
func (*QuerySectionsParams) SetTimeout ¶
func (o *QuerySectionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query sections params
func (*QuerySectionsParams) SetViewID ¶
func (o *QuerySectionsParams) SetViewID(viewID *string)
SetViewID adds the viewId to the query sections params
func (*QuerySectionsParams) WithContext ¶
func (o *QuerySectionsParams) WithContext(ctx context.Context) *QuerySectionsParams
WithContext adds the context to the query sections params
func (*QuerySectionsParams) WithEnd ¶
func (o *QuerySectionsParams) WithEnd(end *string) *QuerySectionsParams
WithEnd adds the end to the query sections params
func (*QuerySectionsParams) WithHTTPClient ¶
func (o *QuerySectionsParams) WithHTTPClient(client *http.Client) *QuerySectionsParams
WithHTTPClient adds the HTTPClient to the query sections params
func (*QuerySectionsParams) WithLimit ¶
func (o *QuerySectionsParams) WithLimit(limit *int32) *QuerySectionsParams
WithLimit adds the limit to the query sections params
func (*QuerySectionsParams) WithNamespace ¶
func (o *QuerySectionsParams) WithNamespace(namespace string) *QuerySectionsParams
WithNamespace adds the namespace to the query sections params
func (*QuerySectionsParams) WithOffset ¶
func (o *QuerySectionsParams) WithOffset(offset *int32) *QuerySectionsParams
WithOffset adds the offset to the query sections params
func (*QuerySectionsParams) WithStart ¶
func (o *QuerySectionsParams) WithStart(start *string) *QuerySectionsParams
WithStart adds the start to the query sections params
func (*QuerySectionsParams) WithStoreID ¶
func (o *QuerySectionsParams) WithStoreID(storeID *string) *QuerySectionsParams
WithStoreID adds the storeID to the query sections params
func (*QuerySectionsParams) WithTimeout ¶
func (o *QuerySectionsParams) WithTimeout(timeout time.Duration) *QuerySectionsParams
WithTimeout adds the timeout to the query sections params
func (*QuerySectionsParams) WithViewID ¶
func (o *QuerySectionsParams) WithViewID(viewID *string) *QuerySectionsParams
WithViewID adds the viewID to the query sections params
func (*QuerySectionsParams) WriteToRequest ¶
func (o *QuerySectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuerySectionsReader ¶
type QuerySectionsReader struct {
// contains filtered or unexported fields
}
QuerySectionsReader is a Reader for the QuerySections structure.
func (*QuerySectionsReader) ReadResponse ¶
func (o *QuerySectionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuerySectionsUnprocessableEntity ¶
type QuerySectionsUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
QuerySectionsUnprocessableEntity 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 NewQuerySectionsUnprocessableEntity ¶
func NewQuerySectionsUnprocessableEntity() *QuerySectionsUnprocessableEntity
NewQuerySectionsUnprocessableEntity creates a QuerySectionsUnprocessableEntity with default headers values
func (*QuerySectionsUnprocessableEntity) Error ¶
func (o *QuerySectionsUnprocessableEntity) Error() string
func (*QuerySectionsUnprocessableEntity) GetPayload ¶
func (o *QuerySectionsUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*QuerySectionsUnprocessableEntity) ToJSONString ¶
func (o *QuerySectionsUnprocessableEntity) ToJSONString() string
type UpdateSectionBadRequest ¶
type UpdateSectionBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
UpdateSectionBadRequest 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><tr><td>30021</td><td>Default language [{language}] required</td></tr><tr><td>30023</td><td>Catalog plugin grpc server address required</td></tr></table>
func NewUpdateSectionBadRequest ¶
func NewUpdateSectionBadRequest() *UpdateSectionBadRequest
NewUpdateSectionBadRequest creates a UpdateSectionBadRequest with default headers values
func (*UpdateSectionBadRequest) Error ¶
func (o *UpdateSectionBadRequest) Error() string
func (*UpdateSectionBadRequest) GetPayload ¶
func (o *UpdateSectionBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*UpdateSectionBadRequest) ToJSONString ¶
func (o *UpdateSectionBadRequest) ToJSONString() string
type UpdateSectionConflict ¶
type UpdateSectionConflict struct {
Payload *platformclientmodels.ErrorEntity
}
UpdateSectionConflict 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 NewUpdateSectionConflict ¶
func NewUpdateSectionConflict() *UpdateSectionConflict
NewUpdateSectionConflict creates a UpdateSectionConflict with default headers values
func (*UpdateSectionConflict) Error ¶
func (o *UpdateSectionConflict) Error() string
func (*UpdateSectionConflict) GetPayload ¶
func (o *UpdateSectionConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*UpdateSectionConflict) ToJSONString ¶
func (o *UpdateSectionConflict) ToJSONString() string
type UpdateSectionNotFound ¶
type UpdateSectionNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
UpdateSectionNotFound 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>30641</td><td>View [{viewId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30741</td><td>Section [{sectionId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewUpdateSectionNotFound ¶
func NewUpdateSectionNotFound() *UpdateSectionNotFound
NewUpdateSectionNotFound creates a UpdateSectionNotFound with default headers values
func (*UpdateSectionNotFound) Error ¶
func (o *UpdateSectionNotFound) Error() string
func (*UpdateSectionNotFound) GetPayload ¶
func (o *UpdateSectionNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*UpdateSectionNotFound) ToJSONString ¶
func (o *UpdateSectionNotFound) ToJSONString() string
type UpdateSectionOK ¶
type UpdateSectionOK struct {
Payload *platformclientmodels.FullSectionInfo
}
UpdateSectionOK handles this case with default header values.
successful operation
func NewUpdateSectionOK ¶
func NewUpdateSectionOK() *UpdateSectionOK
NewUpdateSectionOK creates a UpdateSectionOK with default headers values
func (*UpdateSectionOK) Error ¶
func (o *UpdateSectionOK) Error() string
func (*UpdateSectionOK) GetPayload ¶
func (o *UpdateSectionOK) GetPayload() *platformclientmodels.FullSectionInfo
func (*UpdateSectionOK) ToJSONString ¶
func (o *UpdateSectionOK) ToJSONString() string
type UpdateSectionParams ¶
type UpdateSectionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.SectionUpdate /*Namespace*/ Namespace string /*SectionID*/ SectionID string /*StoreID*/ StoreID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateSectionParams contains all the parameters to send to the API endpoint for the update section operation typically these are written to a http.Request
func NewUpdateSectionParams ¶
func NewUpdateSectionParams() *UpdateSectionParams
NewUpdateSectionParams creates a new UpdateSectionParams object with the default values initialized.
func NewUpdateSectionParamsWithContext ¶
func NewUpdateSectionParamsWithContext(ctx context.Context) *UpdateSectionParams
NewUpdateSectionParamsWithContext creates a new UpdateSectionParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateSectionParamsWithHTTPClient ¶
func NewUpdateSectionParamsWithHTTPClient(client *http.Client) *UpdateSectionParams
NewUpdateSectionParamsWithHTTPClient creates a new UpdateSectionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateSectionParamsWithTimeout ¶
func NewUpdateSectionParamsWithTimeout(timeout time.Duration) *UpdateSectionParams
NewUpdateSectionParamsWithTimeout creates a new UpdateSectionParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateSectionParams) SetAuthInfoWriter ¶
func (o *UpdateSectionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update section params
func (*UpdateSectionParams) SetBody ¶
func (o *UpdateSectionParams) SetBody(body *platformclientmodels.SectionUpdate)
SetBody adds the body to the update section params
func (*UpdateSectionParams) SetContext ¶
func (o *UpdateSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the update section params
func (*UpdateSectionParams) SetHTTPClient ¶
func (o *UpdateSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update section params
func (*UpdateSectionParams) SetHTTPClientTransport ¶
func (o *UpdateSectionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update section params
func (*UpdateSectionParams) SetNamespace ¶
func (o *UpdateSectionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update section params
func (*UpdateSectionParams) SetSectionID ¶
func (o *UpdateSectionParams) SetSectionID(sectionID string)
SetSectionID adds the sectionId to the update section params
func (*UpdateSectionParams) SetStoreID ¶
func (o *UpdateSectionParams) SetStoreID(storeID string)
SetStoreID adds the storeId to the update section params
func (*UpdateSectionParams) SetTimeout ¶
func (o *UpdateSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update section params
func (*UpdateSectionParams) WithBody ¶
func (o *UpdateSectionParams) WithBody(body *platformclientmodels.SectionUpdate) *UpdateSectionParams
WithBody adds the body to the update section params
func (*UpdateSectionParams) WithContext ¶
func (o *UpdateSectionParams) WithContext(ctx context.Context) *UpdateSectionParams
WithContext adds the context to the update section params
func (*UpdateSectionParams) WithHTTPClient ¶
func (o *UpdateSectionParams) WithHTTPClient(client *http.Client) *UpdateSectionParams
WithHTTPClient adds the HTTPClient to the update section params
func (*UpdateSectionParams) WithNamespace ¶
func (o *UpdateSectionParams) WithNamespace(namespace string) *UpdateSectionParams
WithNamespace adds the namespace to the update section params
func (*UpdateSectionParams) WithSectionID ¶
func (o *UpdateSectionParams) WithSectionID(sectionID string) *UpdateSectionParams
WithSectionID adds the sectionID to the update section params
func (*UpdateSectionParams) WithStoreID ¶
func (o *UpdateSectionParams) WithStoreID(storeID string) *UpdateSectionParams
WithStoreID adds the storeID to the update section params
func (*UpdateSectionParams) WithTimeout ¶
func (o *UpdateSectionParams) WithTimeout(timeout time.Duration) *UpdateSectionParams
WithTimeout adds the timeout to the update section params
func (*UpdateSectionParams) WriteToRequest ¶
func (o *UpdateSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateSectionReader ¶
type UpdateSectionReader struct {
// contains filtered or unexported fields
}
UpdateSectionReader is a Reader for the UpdateSection structure.
func (*UpdateSectionReader) ReadResponse ¶
func (o *UpdateSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateSectionUnprocessableEntity ¶
type UpdateSectionUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
UpdateSectionUnprocessableEntity 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 NewUpdateSectionUnprocessableEntity ¶
func NewUpdateSectionUnprocessableEntity() *UpdateSectionUnprocessableEntity
NewUpdateSectionUnprocessableEntity creates a UpdateSectionUnprocessableEntity with default headers values
func (*UpdateSectionUnprocessableEntity) Error ¶
func (o *UpdateSectionUnprocessableEntity) Error() string
func (*UpdateSectionUnprocessableEntity) GetPayload ¶
func (o *UpdateSectionUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*UpdateSectionUnprocessableEntity) ToJSONString ¶
func (o *UpdateSectionUnprocessableEntity) ToJSONString() string
Source Files ¶
- create_section_parameters.go
- create_section_responses.go
- delete_section_parameters.go
- delete_section_responses.go
- get_section_parameters.go
- get_section_responses.go
- public_list_active_sections_parameters.go
- public_list_active_sections_responses.go
- purge_expired_section_parameters.go
- purge_expired_section_responses.go
- query_sections_parameters.go
- query_sections_responses.go
- section_client.go
- update_section_parameters.go
- update_section_responses.go