item

package
v0.1.0-alpha.11 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	PublicQueryItemsDEMOConstant     = "DEMO"
	PublicQueryItemsDLCConstant      = "DLC"
	PublicQueryItemsGAMEConstant     = "GAME"
	PublicQueryItemsSOFTWAREConstant = "SOFTWARE"
)

Get the enum in PublicQueryItemsParams

View Source
const (
	PublicQueryItemsAPPConstant          = "APP"
	PublicQueryItemsBUNDLEConstant       = "BUNDLE"
	PublicQueryItemsCODEConstant         = "CODE"
	PublicQueryItemsCOINSConstant        = "COINS"
	PublicQueryItemsEXTENSIONConstant    = "EXTENSION"
	PublicQueryItemsINGAMEITEMConstant   = "INGAMEITEM"
	PublicQueryItemsLOOTBOXConstant      = "LOOTBOX"
	PublicQueryItemsMEDIAConstant        = "MEDIA"
	PublicQueryItemsOPTIONBOXConstant    = "OPTIONBOX"
	PublicQueryItemsSEASONConstant       = "SEASON"
	PublicQueryItemsSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in PublicQueryItemsParams

View Source
const (
	PublicQueryItemsNameConstant             = "name"
	PublicQueryItemsNameAscConstant          = "name:asc"
	PublicQueryItemsNameDescConstant         = "name:desc"
	PublicQueryItemsCreatedAtConstant        = "createdAt"
	PublicQueryItemsCreatedAtAscConstant     = "createdAt:asc"
	PublicQueryItemsCreatedAtDescConstant    = "createdAt:desc"
	PublicQueryItemsUpdatedAtConstant        = "updatedAt"
	PublicQueryItemsUpdatedAtAscConstant     = "updatedAt:asc"
	PublicQueryItemsUpdatedAtDescConstant    = "updatedAt:desc"
	PublicQueryItemsDisplayOrderConstant     = "displayOrder"
	PublicQueryItemsDisplayOrderAscConstant  = "displayOrder:asc"
	PublicQueryItemsDisplayOrderDescConstant = "displayOrder:desc"
)

Get the enum in PublicQueryItemsParams

View Source
const (
	PublicSearchItemsAPPConstant          = "APP"
	PublicSearchItemsBUNDLEConstant       = "BUNDLE"
	PublicSearchItemsCODEConstant         = "CODE"
	PublicSearchItemsCOINSConstant        = "COINS"
	PublicSearchItemsEXTENSIONConstant    = "EXTENSION"
	PublicSearchItemsINGAMEITEMConstant   = "INGAMEITEM"
	PublicSearchItemsLOOTBOXConstant      = "LOOTBOX"
	PublicSearchItemsMEDIAConstant        = "MEDIA"
	PublicSearchItemsOPTIONBOXConstant    = "OPTIONBOX"
	PublicSearchItemsSEASONConstant       = "SEASON"
	PublicSearchItemsSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in PublicSearchItemsParams

View Source
const (
	QueryItems1DEMOConstant     = "DEMO"
	QueryItems1DLCConstant      = "DLC"
	QueryItems1GAMEConstant     = "GAME"
	QueryItems1SOFTWAREConstant = "SOFTWARE"
)

Get the enum in QueryItems1Params

View Source
const (
	QueryItems1ACTIVEConstant   = "ACTIVE"
	QueryItems1INACTIVEConstant = "INACTIVE"
)

Get the enum in QueryItems1Params

View Source
const (
	QueryItems1APPConstant          = "APP"
	QueryItems1BUNDLEConstant       = "BUNDLE"
	QueryItems1CODEConstant         = "CODE"
	QueryItems1COINSConstant        = "COINS"
	QueryItems1EXTENSIONConstant    = "EXTENSION"
	QueryItems1INGAMEITEMConstant   = "INGAMEITEM"
	QueryItems1LOOTBOXConstant      = "LOOTBOX"
	QueryItems1MEDIAConstant        = "MEDIA"
	QueryItems1OPTIONBOXConstant    = "OPTIONBOX"
	QueryItems1SEASONConstant       = "SEASON"
	QueryItems1SUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in QueryItems1Params

View Source
const (
	QueryItems1NameConstant             = "name"
	QueryItems1NameAscConstant          = "name:asc"
	QueryItems1NameDescConstant         = "name:desc"
	QueryItems1CreatedAtConstant        = "createdAt"
	QueryItems1CreatedAtAscConstant     = "createdAt:asc"
	QueryItems1CreatedAtDescConstant    = "createdAt:desc"
	QueryItems1UpdatedAtConstant        = "updatedAt"
	QueryItems1UpdatedAtAscConstant     = "updatedAt:asc"
	QueryItems1UpdatedAtDescConstant    = "updatedAt:desc"
	QueryItems1DisplayOrderConstant     = "displayOrder"
	QueryItems1DisplayOrderAscConstant  = "displayOrder:asc"
	QueryItems1DisplayOrderDescConstant = "displayOrder:desc"
)

Get the enum in QueryItems1Params

View Source
const (
	QueryItemsDEMOConstant     = "DEMO"
	QueryItemsDLCConstant      = "DLC"
	QueryItemsGAMEConstant     = "GAME"
	QueryItemsSOFTWAREConstant = "SOFTWARE"
)

Get the enum in QueryItemsParams

View Source
const (
	QueryItemsAPPConstant          = "APP"
	QueryItemsBUNDLEConstant       = "BUNDLE"
	QueryItemsCODEConstant         = "CODE"
	QueryItemsCOINSConstant        = "COINS"
	QueryItemsEXTENSIONConstant    = "EXTENSION"
	QueryItemsINGAMEITEMConstant   = "INGAMEITEM"
	QueryItemsLOOTBOXConstant      = "LOOTBOX"
	QueryItemsMEDIAConstant        = "MEDIA"
	QueryItemsOPTIONBOXConstant    = "OPTIONBOX"
	QueryItemsSEASONConstant       = "SEASON"
	QueryItemsSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in QueryItemsParams

View Source
const (
	QueryItemsNameConstant             = "name"
	QueryItemsNameAscConstant          = "name:asc"
	QueryItemsNameDescConstant         = "name:desc"
	QueryItemsCreatedAtConstant        = "createdAt"
	QueryItemsCreatedAtAscConstant     = "createdAt:asc"
	QueryItemsCreatedAtDescConstant    = "createdAt:desc"
	QueryItemsUpdatedAtConstant        = "updatedAt"
	QueryItemsUpdatedAtAscConstant     = "updatedAt:asc"
	QueryItemsUpdatedAtDescConstant    = "updatedAt:desc"
	QueryItemsDisplayOrderConstant     = "displayOrder"
	QueryItemsDisplayOrderAscConstant  = "displayOrder:asc"
	QueryItemsDisplayOrderDescConstant = "displayOrder:desc"
)

Get the enum in QueryItemsParams

View Source
const (
	QueryUncategorizedItemsNameConstant             = "name"
	QueryUncategorizedItemsNameAscConstant          = "name:asc"
	QueryUncategorizedItemsNameDescConstant         = "name:desc"
	QueryUncategorizedItemsCreatedAtConstant        = "createdAt"
	QueryUncategorizedItemsCreatedAtAscConstant     = "createdAt:asc"
	QueryUncategorizedItemsCreatedAtDescConstant    = "createdAt:desc"
	QueryUncategorizedItemsUpdatedAtConstant        = "updatedAt"
	QueryUncategorizedItemsUpdatedAtAscConstant     = "updatedAt:asc"
	QueryUncategorizedItemsUpdatedAtDescConstant    = "updatedAt:desc"
	QueryUncategorizedItemsDisplayOrderConstant     = "displayOrder"
	QueryUncategorizedItemsDisplayOrderAscConstant  = "displayOrder:asc"
	QueryUncategorizedItemsDisplayOrderDescConstant = "displayOrder:desc"
)

Get the enum in QueryUncategorizedItemsParams

View Source
const (
	SearchItemTypeConfigAPPConstant          = "APP"
	SearchItemTypeConfigBUNDLEConstant       = "BUNDLE"
	SearchItemTypeConfigCODEConstant         = "CODE"
	SearchItemTypeConfigCOINSConstant        = "COINS"
	SearchItemTypeConfigEXTENSIONConstant    = "EXTENSION"
	SearchItemTypeConfigINGAMEITEMConstant   = "INGAMEITEM"
	SearchItemTypeConfigLOOTBOXConstant      = "LOOTBOX"
	SearchItemTypeConfigMEDIAConstant        = "MEDIA"
	SearchItemTypeConfigOPTIONBOXConstant    = "OPTIONBOX"
	SearchItemTypeConfigSEASONConstant       = "SEASON"
	SearchItemTypeConfigSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in SearchItemTypeConfigParams

View Source
const (
	SearchItemsAPPConstant          = "APP"
	SearchItemsBUNDLEConstant       = "BUNDLE"
	SearchItemsCODEConstant         = "CODE"
	SearchItemsCOINSConstant        = "COINS"
	SearchItemsEXTENSIONConstant    = "EXTENSION"
	SearchItemsINGAMEITEMConstant   = "INGAMEITEM"
	SearchItemsLOOTBOXConstant      = "LOOTBOX"
	SearchItemsMEDIAConstant        = "MEDIA"
	SearchItemsOPTIONBOXConstant    = "OPTIONBOX"
	SearchItemsSEASONConstant       = "SEASON"
	SearchItemsSUBSCRIPTIONConstant = "SUBSCRIPTION"
)

Get the enum in SearchItemsParams

Variables

This section is empty.

Functions

This section is empty.

Types

type AcquireItemNotFound

type AcquireItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

AcquireItemNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewAcquireItemNotFound

func NewAcquireItemNotFound() *AcquireItemNotFound

NewAcquireItemNotFound creates a AcquireItemNotFound with default headers values

func (*AcquireItemNotFound) Error

func (o *AcquireItemNotFound) Error() string

func (*AcquireItemNotFound) GetPayload

func (*AcquireItemNotFound) ToJSONString

func (o *AcquireItemNotFound) ToJSONString() string

type AcquireItemOK

type AcquireItemOK struct {
	Payload *platformclientmodels.ItemAcquireResult
}

AcquireItemOK handles this case with default header values.

successful operation

func NewAcquireItemOK

func NewAcquireItemOK() *AcquireItemOK

NewAcquireItemOK creates a AcquireItemOK with default headers values

func (*AcquireItemOK) Error

func (o *AcquireItemOK) Error() string

func (*AcquireItemOK) GetPayload

func (*AcquireItemOK) ToJSONString

func (o *AcquireItemOK) ToJSONString() string

type AcquireItemParams

type AcquireItemParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.ItemAcquireRequest
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string

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

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

AcquireItemParams contains all the parameters to send to the API endpoint for the acquire item operation typically these are written to a http.Request

func NewAcquireItemParams

func NewAcquireItemParams() *AcquireItemParams

NewAcquireItemParams creates a new AcquireItemParams object with the default values initialized.

func NewAcquireItemParamsWithContext

func NewAcquireItemParamsWithContext(ctx context.Context) *AcquireItemParams

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

func NewAcquireItemParamsWithHTTPClient

func NewAcquireItemParamsWithHTTPClient(client *http.Client) *AcquireItemParams

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

func NewAcquireItemParamsWithTimeout

func NewAcquireItemParamsWithTimeout(timeout time.Duration) *AcquireItemParams

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

func (*AcquireItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the acquire item params

func (*AcquireItemParams) SetBody

SetBody adds the body to the acquire item params

func (*AcquireItemParams) SetContext

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

SetContext adds the context to the acquire item params

func (*AcquireItemParams) SetFlightId

func (o *AcquireItemParams) SetFlightId(flightId string)

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

func (*AcquireItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the acquire item params

func (*AcquireItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the acquire item params

func (*AcquireItemParams) SetItemID

func (o *AcquireItemParams) SetItemID(itemID string)

SetItemID adds the itemId to the acquire item params

func (*AcquireItemParams) SetNamespace

func (o *AcquireItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the acquire item params

func (*AcquireItemParams) SetTimeout

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

SetTimeout adds the timeout to the acquire item params

func (*AcquireItemParams) WithBody

WithBody adds the body to the acquire item params

func (*AcquireItemParams) WithContext

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

WithContext adds the context to the acquire item params

func (*AcquireItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the acquire item params

func (*AcquireItemParams) WithItemID

func (o *AcquireItemParams) WithItemID(itemID string) *AcquireItemParams

WithItemID adds the itemID to the acquire item params

func (*AcquireItemParams) WithNamespace

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

WithNamespace adds the namespace to the acquire item params

func (*AcquireItemParams) WithTimeout

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

WithTimeout adds the timeout to the acquire item params

func (*AcquireItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AcquireItemReader

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

AcquireItemReader is a Reader for the AcquireItem structure.

func (*AcquireItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkGetLocaleItemsNotFound

type BulkGetLocaleItemsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

BulkGetLocaleItemsNotFound 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 NewBulkGetLocaleItemsNotFound

func NewBulkGetLocaleItemsNotFound() *BulkGetLocaleItemsNotFound

NewBulkGetLocaleItemsNotFound creates a BulkGetLocaleItemsNotFound with default headers values

func (*BulkGetLocaleItemsNotFound) Error

func (*BulkGetLocaleItemsNotFound) GetPayload

func (*BulkGetLocaleItemsNotFound) ToJSONString

func (o *BulkGetLocaleItemsNotFound) ToJSONString() string

type BulkGetLocaleItemsOK

type BulkGetLocaleItemsOK struct {
	Payload []*platformclientmodels.ItemInfo
}

BulkGetLocaleItemsOK handles this case with default header values.

successful operation

func NewBulkGetLocaleItemsOK

func NewBulkGetLocaleItemsOK() *BulkGetLocaleItemsOK

NewBulkGetLocaleItemsOK creates a BulkGetLocaleItemsOK with default headers values

func (*BulkGetLocaleItemsOK) Error

func (o *BulkGetLocaleItemsOK) Error() string

func (*BulkGetLocaleItemsOK) GetPayload

func (*BulkGetLocaleItemsOK) ToJSONString

func (o *BulkGetLocaleItemsOK) ToJSONString() string

type BulkGetLocaleItemsParams

type BulkGetLocaleItemsParams struct {

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

	*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*Language*/
	Language *string
	/*Region*/
	Region *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*ItemIds
	  commas separated item ids

	*/
	ItemIds string

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

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

BulkGetLocaleItemsParams contains all the parameters to send to the API endpoint for the bulk get locale items operation typically these are written to a http.Request

func NewBulkGetLocaleItemsParams

func NewBulkGetLocaleItemsParams() *BulkGetLocaleItemsParams

NewBulkGetLocaleItemsParams creates a new BulkGetLocaleItemsParams object with the default values initialized.

func NewBulkGetLocaleItemsParamsWithContext

func NewBulkGetLocaleItemsParamsWithContext(ctx context.Context) *BulkGetLocaleItemsParams

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

func NewBulkGetLocaleItemsParamsWithHTTPClient

func NewBulkGetLocaleItemsParamsWithHTTPClient(client *http.Client) *BulkGetLocaleItemsParams

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

func NewBulkGetLocaleItemsParamsWithTimeout

func NewBulkGetLocaleItemsParamsWithTimeout(timeout time.Duration) *BulkGetLocaleItemsParams

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

func (*BulkGetLocaleItemsParams) SetActiveOnly

func (o *BulkGetLocaleItemsParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the bulk get locale items params

func (*BulkGetLocaleItemsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the bulk get locale items params

func (*BulkGetLocaleItemsParams) SetContext

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

SetContext adds the context to the bulk get locale items params

func (*BulkGetLocaleItemsParams) SetFlightId

func (o *BulkGetLocaleItemsParams) SetFlightId(flightId string)

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

func (*BulkGetLocaleItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk get locale items params

func (*BulkGetLocaleItemsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the bulk get locale items params

func (*BulkGetLocaleItemsParams) SetItemIds

func (o *BulkGetLocaleItemsParams) SetItemIds(itemIds string)

SetItemIds adds the itemIds to the bulk get locale items params

func (*BulkGetLocaleItemsParams) SetLanguage

func (o *BulkGetLocaleItemsParams) SetLanguage(language *string)

SetLanguage adds the language to the bulk get locale items params

func (*BulkGetLocaleItemsParams) SetNamespace

func (o *BulkGetLocaleItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the bulk get locale items params

func (*BulkGetLocaleItemsParams) SetRegion

func (o *BulkGetLocaleItemsParams) SetRegion(region *string)

SetRegion adds the region to the bulk get locale items params

func (*BulkGetLocaleItemsParams) SetStoreID

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

SetStoreID adds the storeId to the bulk get locale items params

func (*BulkGetLocaleItemsParams) SetTimeout

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

SetTimeout adds the timeout to the bulk get locale items params

func (*BulkGetLocaleItemsParams) WithActiveOnly

func (o *BulkGetLocaleItemsParams) WithActiveOnly(activeOnly *bool) *BulkGetLocaleItemsParams

WithActiveOnly adds the activeOnly to the bulk get locale items params

func (*BulkGetLocaleItemsParams) WithContext

WithContext adds the context to the bulk get locale items params

func (*BulkGetLocaleItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the bulk get locale items params

func (*BulkGetLocaleItemsParams) WithItemIds

func (o *BulkGetLocaleItemsParams) WithItemIds(itemIds string) *BulkGetLocaleItemsParams

WithItemIds adds the itemIds to the bulk get locale items params

func (*BulkGetLocaleItemsParams) WithLanguage

func (o *BulkGetLocaleItemsParams) WithLanguage(language *string) *BulkGetLocaleItemsParams

WithLanguage adds the language to the bulk get locale items params

func (*BulkGetLocaleItemsParams) WithNamespace

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

WithNamespace adds the namespace to the bulk get locale items params

func (*BulkGetLocaleItemsParams) WithRegion

WithRegion adds the region to the bulk get locale items params

func (*BulkGetLocaleItemsParams) WithStoreID

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

WithStoreID adds the storeID to the bulk get locale items params

func (*BulkGetLocaleItemsParams) WithTimeout

WithTimeout adds the timeout to the bulk get locale items params

func (*BulkGetLocaleItemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkGetLocaleItemsReader

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

BulkGetLocaleItemsReader is a Reader for the BulkGetLocaleItems structure.

func (*BulkGetLocaleItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkUpdateRegionDataBadRequest

type BulkUpdateRegionDataBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

BulkUpdateRegionDataBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30022</td><td>Default region [{region}] is required</td></tr><tr><td>30321</td><td>Invalid item discount amount</td></tr><tr><td>30327</td><td>Invalid item trial price</td></tr><tr><td>30330</td><td>Invalid item region price currency namespace [{namespace}]</td></tr></table>

func NewBulkUpdateRegionDataBadRequest

func NewBulkUpdateRegionDataBadRequest() *BulkUpdateRegionDataBadRequest

NewBulkUpdateRegionDataBadRequest creates a BulkUpdateRegionDataBadRequest with default headers values

func (*BulkUpdateRegionDataBadRequest) Error

func (*BulkUpdateRegionDataBadRequest) GetPayload

func (*BulkUpdateRegionDataBadRequest) ToJSONString

func (o *BulkUpdateRegionDataBadRequest) ToJSONString() string

type BulkUpdateRegionDataConflict

type BulkUpdateRegionDataConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

BulkUpdateRegionDataConflict 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 NewBulkUpdateRegionDataConflict

func NewBulkUpdateRegionDataConflict() *BulkUpdateRegionDataConflict

NewBulkUpdateRegionDataConflict creates a BulkUpdateRegionDataConflict with default headers values

func (*BulkUpdateRegionDataConflict) Error

func (*BulkUpdateRegionDataConflict) GetPayload

func (*BulkUpdateRegionDataConflict) ToJSONString

func (o *BulkUpdateRegionDataConflict) ToJSONString() string

type BulkUpdateRegionDataNoContent

type BulkUpdateRegionDataNoContent struct {
}

BulkUpdateRegionDataNoContent handles this case with default header values.

No Content

func NewBulkUpdateRegionDataNoContent

func NewBulkUpdateRegionDataNoContent() *BulkUpdateRegionDataNoContent

NewBulkUpdateRegionDataNoContent creates a BulkUpdateRegionDataNoContent with default headers values

func (*BulkUpdateRegionDataNoContent) Error

type BulkUpdateRegionDataNotFound

type BulkUpdateRegionDataNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

BulkUpdateRegionDataNotFound 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>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30343</td><td>Item of sku [{sku}] does not exist</td></tr></table>

func NewBulkUpdateRegionDataNotFound

func NewBulkUpdateRegionDataNotFound() *BulkUpdateRegionDataNotFound

NewBulkUpdateRegionDataNotFound creates a BulkUpdateRegionDataNotFound with default headers values

func (*BulkUpdateRegionDataNotFound) Error

func (*BulkUpdateRegionDataNotFound) GetPayload

func (*BulkUpdateRegionDataNotFound) ToJSONString

func (o *BulkUpdateRegionDataNotFound) ToJSONString() string

type BulkUpdateRegionDataParams

type BulkUpdateRegionDataParams struct {

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

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

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

BulkUpdateRegionDataParams contains all the parameters to send to the API endpoint for the bulk update region data operation typically these are written to a http.Request

func NewBulkUpdateRegionDataParams

func NewBulkUpdateRegionDataParams() *BulkUpdateRegionDataParams

NewBulkUpdateRegionDataParams creates a new BulkUpdateRegionDataParams object with the default values initialized.

func NewBulkUpdateRegionDataParamsWithContext

func NewBulkUpdateRegionDataParamsWithContext(ctx context.Context) *BulkUpdateRegionDataParams

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

func NewBulkUpdateRegionDataParamsWithHTTPClient

func NewBulkUpdateRegionDataParamsWithHTTPClient(client *http.Client) *BulkUpdateRegionDataParams

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

func NewBulkUpdateRegionDataParamsWithTimeout

func NewBulkUpdateRegionDataParamsWithTimeout(timeout time.Duration) *BulkUpdateRegionDataParams

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

func (*BulkUpdateRegionDataParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the bulk update region data params

func (*BulkUpdateRegionDataParams) SetBody

SetBody adds the body to the bulk update region data params

func (*BulkUpdateRegionDataParams) SetContext

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

SetContext adds the context to the bulk update region data params

func (*BulkUpdateRegionDataParams) SetFlightId

func (o *BulkUpdateRegionDataParams) SetFlightId(flightId string)

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

func (*BulkUpdateRegionDataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk update region data params

func (*BulkUpdateRegionDataParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the bulk update region data params

func (*BulkUpdateRegionDataParams) SetNamespace

func (o *BulkUpdateRegionDataParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the bulk update region data params

func (*BulkUpdateRegionDataParams) SetStoreID

func (o *BulkUpdateRegionDataParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the bulk update region data params

func (*BulkUpdateRegionDataParams) SetTimeout

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

SetTimeout adds the timeout to the bulk update region data params

func (*BulkUpdateRegionDataParams) WithBody

WithBody adds the body to the bulk update region data params

func (*BulkUpdateRegionDataParams) WithContext

WithContext adds the context to the bulk update region data params

func (*BulkUpdateRegionDataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk update region data params

func (*BulkUpdateRegionDataParams) WithNamespace

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

WithNamespace adds the namespace to the bulk update region data params

func (*BulkUpdateRegionDataParams) WithStoreID

WithStoreID adds the storeID to the bulk update region data params

func (*BulkUpdateRegionDataParams) WithTimeout

WithTimeout adds the timeout to the bulk update region data params

func (*BulkUpdateRegionDataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkUpdateRegionDataReader

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

BulkUpdateRegionDataReader is a Reader for the BulkUpdateRegionData structure.

func (*BulkUpdateRegionDataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkUpdateRegionDataUnprocessableEntity

type BulkUpdateRegionDataUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

BulkUpdateRegionDataUnprocessableEntity 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 NewBulkUpdateRegionDataUnprocessableEntity

func NewBulkUpdateRegionDataUnprocessableEntity() *BulkUpdateRegionDataUnprocessableEntity

NewBulkUpdateRegionDataUnprocessableEntity creates a BulkUpdateRegionDataUnprocessableEntity with default headers values

func (*BulkUpdateRegionDataUnprocessableEntity) Error

func (*BulkUpdateRegionDataUnprocessableEntity) GetPayload

func (*BulkUpdateRegionDataUnprocessableEntity) ToJSONString

type Client

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

Client for item API

func (*Client) AcquireItem deprecated

Deprecated: 2022-08-10 - Use AcquireItemShort instead.

AcquireItem acquire item

[SERVICE COMMUNICATION ONLY] This api is used for acquiring a published item while the item is maxCount limited, it will decrease the sale available count.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : acquire result

func (*Client) AcquireItemShort

func (a *Client) AcquireItemShort(params *AcquireItemParams, authInfo runtime.ClientAuthInfoWriter) (*AcquireItemOK, error)

AcquireItemShort acquire item

[SERVICE COMMUNICATION ONLY] This api is used for acquiring a published item while the item is maxCount limited, it will decrease the sale available count.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : acquire result

func (*Client) BulkGetLocaleItems deprecated

Deprecated: 2022-08-10 - Use BulkGetLocaleItemsShort instead.

BulkGetLocaleItems bulk get locale items This API is used to bulk get locale items. If item not exist in specific region, default region item will return.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of items info

func (*Client) BulkGetLocaleItemsShort

func (a *Client) BulkGetLocaleItemsShort(params *BulkGetLocaleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetLocaleItemsOK, error)

BulkGetLocaleItemsShort bulk get locale items This API is used to bulk get locale items. If item not exist in specific region, default region item will return.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of items info

func (*Client) BulkUpdateRegionData deprecated

Deprecated: 2022-08-10 - Use BulkUpdateRegionDataShort instead.

BulkUpdateRegionData update item's region data in bulk This API is used to update region data of items in bulk Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)

func (*Client) BulkUpdateRegionDataShort

func (a *Client) BulkUpdateRegionDataShort(params *BulkUpdateRegionDataParams, authInfo runtime.ClientAuthInfoWriter) (*BulkUpdateRegionDataNoContent, error)

BulkUpdateRegionDataShort update item's region data in bulk This API is used to update region data of items in bulk Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)

func (*Client) CreateItem deprecated

Deprecated: 2022-08-10 - Use CreateItemShort instead.

CreateItem create an item This API is used to create an item. APP item only can created in publisher namespace.

An item create example:

{

   "categoryPath": "/games",

   "localizations": {

       "en": {

           "title":"required",

           "description":"optional",

           "longDescription":"optional",

           "localExt": {

                  "properties":[

                                   {

                                       "key1":"value1",

                                       "key2":"value2"

                                   }

                  ],

                  "functions":[

                                   {

                                       "key1":"value1",

                                       "key2":"value2"

                                   }

                 ]

           }

        }

   },

   "images": [

     {

           "as":"optional, image for",

           "caption":"optional",

           "height":10,

           "width":10,

           "imageUrl":"http://img-url-required",

           "smallImageUrl":"http://small-img-url-required"

     }

   ],

   "thumbnailUrl": "optional, thumbnail url",

   "status": "ACTIVE",

   "listable": true,

   "purchasable": true,

   "itemType": "APP(allowed: [APP,COINS,INGAMEITEM,CODE,BUNDLE])",

   "name": "required, also will be used as entitlement name",

   "entitlementType": "DURABLE(allowed:[DURABLE,CONSUMABLE], should be CONSUMABLE when item type is COINS)",

   "useCount": 1(optional, required if the entitlement type is consumable),

   "stackable": false,

   "appId": "optional, required if itemType is APP",

   "appType": "GAME(optional, required if itemType is APP)",

   "seasonType": "PASS(optional, required if itemType is SEASON)",

   "baseAppId": "optional, set value of game app id if you want to link to a game",

   "targetCurrencyCode": "optional, required if itemType is COINS",

   "targetNamespace": "optional, required when itemType is INGAMEITEM, the targetNamespace will only take effect when the item

   created belongs to the publisher namespace",

   "sku": "optional, commonly unique item code",

   "regionData": {

       "US(store's default region is required)": [

         {

            "price":10,

            "discountPercentage": 0(integer, optional, range[0,100], discountedPrice = price  * ((100 - discountPercentage) * 0.01),

              will use it to calculate discounted price if it is not 0),

            "discountAmount":0(integer, optional, range[0,itemPrice], will use it to calculate discounted price if discountPercentage is 0),

            "currencyCode":"code(required, example: USD)",

            "currencyNamespace":"test-ns-required(allow publisher namespace if namespace is publisher namespace, allow publisher and game namespace if namespace is not publisher namespace)",

            "trialPrice":5(required while fixedTrialCycles set, should >=0 and <= price, will same as price if not present),

            "purchaseAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",

            "expireAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",

            "discountPurchaseAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",

            "discountExpireAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"

         }

       ]

   },

   "itemIds": [

       "itemId"

   ],

   "itemQty": {

       "itemId":1

   },

   "recurring": {

       "cycle":"MONTHLY(allowed: [WEEKLY,MONTHLY,QUARTERLY,YEARLY])",

       "fixedFreeDays":0(integer, fixed free days, 0 means not set),

       "fixedTrialCycles":0(integer, fixed trial cycles, 0 means not set, will not take effect if fixedFreeDays set),

       "graceDays":7(integer, recurring grace days, retry recurring charge within configured days if charge fail, default 7)

   },

   "tags": [

       "exampleTag24"

   ],

   "features": [

       "feature"

   ],

   "clazz": "weapon",

   "boothName": "C_campaign1",

   "displayOrder": 1000,

   "ext": {

       "properties":[

           {

               "key1":"value1",

               "key2":"value2"

           }

       ],

       "functions":[

           {

               "key1":"value1",

               "key2":"value2"

           }

       ]

   },

   "maxCountPerUser": 1(integer, optional, -1 means UNLIMITED),

   "maxCount": 1(integer, optional, -1 means UNLIMITED, unset when itemType is CODE)

}

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=1 (CREATE)
  • Returns : created item data

## Restrictions for item extension and localization extension and inventory config custom attributes

1. Cannot use "." as the key name -

{ "data.2": "value" }

2. Cannot use "$" as the prefix in key names -

{ "$data": "value" }

func (*Client) CreateItemShort

func (a *Client) CreateItemShort(params *CreateItemParams, authInfo runtime.ClientAuthInfoWriter) (*CreateItemCreated, error)

CreateItemShort create an item This API is used to create an item. APP item only can created in publisher namespace.

An item create example:

{

   "categoryPath": "/games",

   "localizations": {

       "en": {

           "title":"required",

           "description":"optional",

           "longDescription":"optional",

           "localExt": {

                  "properties":[

                                   {

                                       "key1":"value1",

                                       "key2":"value2"

                                   }

                  ],

                  "functions":[

                                   {

                                       "key1":"value1",

                                       "key2":"value2"

                                   }

                 ]

           }

        }

   },

   "images": [

     {

           "as":"optional, image for",

           "caption":"optional",

           "height":10,

           "width":10,

           "imageUrl":"http://img-url-required",

           "smallImageUrl":"http://small-img-url-required"

     }

   ],

   "thumbnailUrl": "optional, thumbnail url",

   "status": "ACTIVE",

   "listable": true,

   "purchasable": true,

   "itemType": "APP(allowed: [APP,COINS,INGAMEITEM,CODE,BUNDLE])",

   "name": "required, also will be used as entitlement name",

   "entitlementType": "DURABLE(allowed:[DURABLE,CONSUMABLE], should be CONSUMABLE when item type is COINS)",

   "useCount": 1(optional, required if the entitlement type is consumable),

   "stackable": false,

   "appId": "optional, required if itemType is APP",

   "appType": "GAME(optional, required if itemType is APP)",

   "seasonType": "PASS(optional, required if itemType is SEASON)",

   "baseAppId": "optional, set value of game app id if you want to link to a game",

   "targetCurrencyCode": "optional, required if itemType is COINS",

   "targetNamespace": "optional, required when itemType is INGAMEITEM, the targetNamespace will only take effect when the item

   created belongs to the publisher namespace",

   "sku": "optional, commonly unique item code",

   "regionData": {

       "US(store's default region is required)": [

         {

            "price":10,

            "discountPercentage": 0(integer, optional, range[0,100], discountedPrice = price  * ((100 - discountPercentage) * 0.01),

              will use it to calculate discounted price if it is not 0),

            "discountAmount":0(integer, optional, range[0,itemPrice], will use it to calculate discounted price if discountPercentage is 0),

            "currencyCode":"code(required, example: USD)",

            "currencyNamespace":"test-ns-required(allow publisher namespace if namespace is publisher namespace, allow publisher and game namespace if namespace is not publisher namespace)",

            "trialPrice":5(required while fixedTrialCycles set, should >=0 and <= price, will same as price if not present),

            "purchaseAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",

            "expireAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",

            "discountPurchaseAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",

            "discountExpireAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"

         }

       ]

   },

   "itemIds": [

       "itemId"

   ],

   "itemQty": {

       "itemId":1

   },

   "recurring": {

       "cycle":"MONTHLY(allowed: [WEEKLY,MONTHLY,QUARTERLY,YEARLY])",

       "fixedFreeDays":0(integer, fixed free days, 0 means not set),

       "fixedTrialCycles":0(integer, fixed trial cycles, 0 means not set, will not take effect if fixedFreeDays set),

       "graceDays":7(integer, recurring grace days, retry recurring charge within configured days if charge fail, default 7)

   },

   "tags": [

       "exampleTag24"

   ],

   "features": [

       "feature"

   ],

   "clazz": "weapon",

   "boothName": "C_campaign1",

   "displayOrder": 1000,

   "ext": {

       "properties":[

           {

               "key1":"value1",

               "key2":"value2"

           }

       ],

       "functions":[

           {

               "key1":"value1",

               "key2":"value2"

           }

       ]

   },

   "maxCountPerUser": 1(integer, optional, -1 means UNLIMITED),

   "maxCount": 1(integer, optional, -1 means UNLIMITED, unset when itemType is CODE)

}

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=1 (CREATE)
  • Returns : created item data

## Restrictions for item extension and localization extension and inventory config custom attributes

1. Cannot use "." as the key name -

{ "data.2": "value" }

2. Cannot use "$" as the prefix in key names -

{ "$data": "value" }

func (*Client) CreateItemTypeConfig deprecated

Deprecated: 2022-08-10 - Use CreateItemTypeConfigShort instead.

CreateItemTypeConfig create an item type config

[Not Supported Yet In Starter] This API is used to create an item type config.

* Required permission : resource="ADMIN:ITEM:CONFIG", action=1 (CREATE) * Returns : item type config data

func (*Client) CreateItemTypeConfigShort

func (a *Client) CreateItemTypeConfigShort(params *CreateItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateItemTypeConfigCreated, error)

CreateItemTypeConfigShort create an item type config

[Not Supported Yet In Starter] This API is used to create an item type config.

* Required permission : resource="ADMIN:ITEM:CONFIG", action=1 (CREATE) * Returns : item type config data

func (*Client) DefeatureItem deprecated

Deprecated: 2022-08-10 - Use DefeatureItemShort instead.

DefeatureItem defeature an item Remove a feature from an item. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : updated item

func (*Client) DefeatureItemShort

func (a *Client) DefeatureItemShort(params *DefeatureItemParams, authInfo runtime.ClientAuthInfoWriter) (*DefeatureItemOK, error)

DefeatureItemShort defeature an item Remove a feature from an item. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : updated item

func (*Client) DeleteItem deprecated

Deprecated: 2022-08-10 - Use DeleteItemShort instead.

DeleteItem delete an item This API is used to delete an item permanently.

force: the default value should be: false. When the value is: * false: only the items in the draft store that have never been published yet can be removed. * true: the item in the draft store(even been published before) can be removed. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=8 (DELETE)

func (*Client) DeleteItemShort

func (a *Client) DeleteItemShort(params *DeleteItemParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteItemNoContent, error)

DeleteItemShort delete an item This API is used to delete an item permanently.

force: the default value should be: false. When the value is: * false: only the items in the draft store that have never been published yet can be removed. * true: the item in the draft store(even been published before) can be removed. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=8 (DELETE)

func (*Client) DeleteItemTypeConfig deprecated

Deprecated: 2022-08-10 - Use DeleteItemTypeConfigShort instead.

DeleteItemTypeConfig delete an item type config

[Not Supported Yet In Starter] This API is used to delete an item type config permanently.Other detail info:

 * Required permission : resource="ADMIN:ITEM:CONFIG", action=8 (DELETE)

func (*Client) DeleteItemTypeConfigShort

func (a *Client) DeleteItemTypeConfigShort(params *DeleteItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteItemTypeConfigNoContent, error)

DeleteItemTypeConfigShort delete an item type config

[Not Supported Yet In Starter] This API is used to delete an item type config permanently.Other detail info:

 * Required permission : resource="ADMIN:ITEM:CONFIG", action=8 (DELETE)

func (*Client) DisableItem deprecated

Deprecated: 2022-08-10 - Use DisableItemShort instead.

DisableItem disable an item Disable an item. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : updated item

func (*Client) DisableItemShort

func (a *Client) DisableItemShort(params *DisableItemParams, authInfo runtime.ClientAuthInfoWriter) (*DisableItemOK, error)

DisableItemShort disable an item Disable an item. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : updated item

func (*Client) EnableItem deprecated

Deprecated: 2022-08-10 - Use EnableItemShort instead.

EnableItem enable an item Enable an item. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : updated item

func (*Client) EnableItemShort

func (a *Client) EnableItemShort(params *EnableItemParams, authInfo runtime.ClientAuthInfoWriter) (*EnableItemOK, error)

EnableItemShort enable an item Enable an item. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : updated item

func (*Client) FeatureItem deprecated

Deprecated: 2022-08-10 - Use FeatureItemShort instead.

FeatureItem feature an item Add a feature to an item. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : updated item

func (*Client) FeatureItemShort

func (a *Client) FeatureItemShort(params *FeatureItemParams, authInfo runtime.ClientAuthInfoWriter) (*FeatureItemOK, error)

FeatureItemShort feature an item Add a feature to an item. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : updated item

func (*Client) GetApp deprecated

func (a *Client) GetApp(params *GetAppParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppOK, error)

Deprecated: 2022-08-10 - Use GetAppShort instead.

GetApp get an app info This API is used to get an app info.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : app data

func (*Client) GetAppShort

func (a *Client) GetAppShort(params *GetAppParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppOK, error)

GetAppShort get an app info This API is used to get an app info.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : app data

func (*Client) GetAvailablePredicateTypes deprecated

Deprecated: 2022-08-10 - Use GetAvailablePredicateTypesShort instead.

GetAvailablePredicateTypes get available predicate types Get available predicate types. Other detail info:

  • Required permission : resource=ADMIN:NAMESPACE:{namespace}:ITEM, action=2 (READ)
  • Returns : available predicate types

func (*Client) GetAvailablePredicateTypesShort

func (a *Client) GetAvailablePredicateTypesShort(params *GetAvailablePredicateTypesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAvailablePredicateTypesOK, error)

GetAvailablePredicateTypesShort get available predicate types Get available predicate types. Other detail info:

  • Required permission : resource=ADMIN:NAMESPACE:{namespace}:ITEM, action=2 (READ)
  • Returns : available predicate types

func (*Client) GetBulkItemIDBySkus deprecated

func (a *Client) GetBulkItemIDBySkus(params *GetBulkItemIDBySkusParams, authInfo runtime.ClientAuthInfoWriter) (*GetBulkItemIDBySkusOK, error)

Deprecated: 2022-08-10 - Use GetBulkItemIDBySkusShort instead.

GetBulkItemIDBySkus get multiple itemid by sku This API is used to get an list of itemId by list of sku.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : item data

func (*Client) GetBulkItemIDBySkusShort

func (a *Client) GetBulkItemIDBySkusShort(params *GetBulkItemIDBySkusParams, authInfo runtime.ClientAuthInfoWriter) (*GetBulkItemIDBySkusOK, error)

GetBulkItemIDBySkusShort get multiple itemid by sku This API is used to get an list of itemId by list of sku.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : item data

func (*Client) GetEstimatedPrice deprecated

Deprecated: 2022-08-10 - Use GetEstimatedPriceShort instead.

GetEstimatedPrice get estimated price This API is used to get estimated prices of a flexible pricing bundle

func (*Client) GetEstimatedPriceShort

func (a *Client) GetEstimatedPriceShort(params *GetEstimatedPriceParams, authInfo runtime.ClientAuthInfoWriter) (*GetEstimatedPriceOK, error)

GetEstimatedPriceShort get estimated price This API is used to get estimated prices of a flexible pricing bundle

func (*Client) GetItem deprecated

func (a *Client) GetItem(params *GetItemParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemOK, *GetItemNotFound, error)

Deprecated: 2022-08-10 - Use GetItemShort instead.

GetItem get an item This API is used to get an item.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : item data

func (*Client) GetItemByAppID deprecated

Deprecated: 2022-08-10 - Use GetItemByAppIDShort instead.

GetItemByAppID get item by appid This API is used to get the item by appId.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the item with that appId

func (*Client) GetItemByAppIDShort

func (a *Client) GetItemByAppIDShort(params *GetItemByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemByAppIDOK, error)

GetItemByAppIDShort get item by appid This API is used to get the item by appId.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the item with that appId

func (*Client) GetItemBySku deprecated

Deprecated: 2022-08-10 - Use GetItemBySkuShort instead.

GetItemBySku get item by sku This API is used to get the item by sku.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the item with sku

func (*Client) GetItemBySkuShort

func (a *Client) GetItemBySkuShort(params *GetItemBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemBySkuOK, error)

GetItemBySkuShort get item by sku This API is used to get the item by sku.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the item with sku

func (*Client) GetItemDynamicData deprecated

Deprecated: 2022-08-10 - Use GetItemDynamicDataShort instead.

GetItemDynamicData get item dynamic data Get item dynamic data for published item. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : item dynamic data

func (*Client) GetItemDynamicDataShort

func (a *Client) GetItemDynamicDataShort(params *GetItemDynamicDataParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemDynamicDataOK, error)

GetItemDynamicDataShort get item dynamic data Get item dynamic data for published item. Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : item dynamic data

func (*Client) GetItemIDBySku deprecated

Deprecated: 2022-08-10 - Use GetItemIDBySkuShort instead.

GetItemIDBySku get itemid by sku

[SERVICE COMMUNICATION ONLY] This API is used to get the itemId by sku.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the itemId with sku

func (*Client) GetItemIDBySkuShort

func (a *Client) GetItemIDBySkuShort(params *GetItemIDBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemIDBySkuOK, error)

GetItemIDBySkuShort get itemid by sku

[SERVICE COMMUNICATION ONLY] This API is used to get the itemId by sku.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the itemId with sku

func (*Client) GetItemShort

func (a *Client) GetItemShort(params *GetItemParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemOK, error)

GetItemShort get an item This API is used to get an item.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : item data

func (*Client) GetItemTypeConfig deprecated

Deprecated: 2022-08-10 - Use GetItemTypeConfigShort instead.

GetItemTypeConfig get an item type config

[Not Supported Yet In Starter] This API is used to get an item type config.

Other detail info:

  • Required permission : resource="ADMIN:ITEM:CONFIG", action=2 (READ)
  • Returns : item type config data

func (*Client) GetItemTypeConfigShort

func (a *Client) GetItemTypeConfigShort(params *GetItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemTypeConfigOK, error)

GetItemTypeConfigShort get an item type config

[Not Supported Yet In Starter] This API is used to get an item type config.

Other detail info:

  • Required permission : resource="ADMIN:ITEM:CONFIG", action=2 (READ)
  • Returns : item type config data

func (*Client) GetItems deprecated

func (a *Client) GetItems(params *GetItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemsOK, *GetItemsNotFound, error)

Deprecated: 2022-08-10 - Use GetItemsShort instead.

GetItems get items This API is used to get items.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of items info

func (*Client) GetItemsShort

func (a *Client) GetItemsShort(params *GetItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemsOK, error)

GetItemsShort get items This API is used to get items.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of items info

func (*Client) GetLocaleItem deprecated

Deprecated: 2022-08-10 - Use GetLocaleItemShort instead.

GetLocaleItem get an item in locale This API is used to get an item in specific locale. If item not exist in specific region, default region item will return.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : item data

func (*Client) GetLocaleItemBySku deprecated

Deprecated: 2022-08-10 - Use GetLocaleItemBySkuShort instead.

GetLocaleItemBySku get an item by sku in locale This API is used to get an item by sku in specific locale. If item not exist in specific region, default region item will return.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : item data

func (*Client) GetLocaleItemBySkuShort

func (a *Client) GetLocaleItemBySkuShort(params *GetLocaleItemBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocaleItemBySkuOK, error)

GetLocaleItemBySkuShort get an item by sku in locale This API is used to get an item by sku in specific locale. If item not exist in specific region, default region item will return.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : item data

func (*Client) GetLocaleItemShort

func (a *Client) GetLocaleItemShort(params *GetLocaleItemParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocaleItemOK, error)

GetLocaleItemShort get an item in locale This API is used to get an item in specific locale. If item not exist in specific region, default region item will return.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : item data

func (*Client) ListBasicItemsByFeatures deprecated

func (a *Client) ListBasicItemsByFeatures(params *ListBasicItemsByFeaturesParams, authInfo runtime.ClientAuthInfoWriter) (*ListBasicItemsByFeaturesOK, error)

Deprecated: 2022-08-10 - Use ListBasicItemsByFeaturesShort instead.

ListBasicItemsByFeatures list basic items by features

[SERVICE COMMUNICATION ONLY] This API is used to list basic items by features.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of basic items

func (*Client) ListBasicItemsByFeaturesShort

func (a *Client) ListBasicItemsByFeaturesShort(params *ListBasicItemsByFeaturesParams, authInfo runtime.ClientAuthInfoWriter) (*ListBasicItemsByFeaturesOK, error)

ListBasicItemsByFeaturesShort list basic items by features

[SERVICE COMMUNICATION ONLY] This API is used to list basic items by features.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of basic items

func (*Client) ListItemTypeConfigs deprecated

func (a *Client) ListItemTypeConfigs(params *ListItemTypeConfigsParams, authInfo runtime.ClientAuthInfoWriter) (*ListItemTypeConfigsOK, error)

Deprecated: 2022-08-10 - Use ListItemTypeConfigsShort instead.

ListItemTypeConfigs get all item type configs

[Not Supported Yet In Starter] This API is used to get all item type configs.

Other detail info:

  • Required permission : resource="ADMIN:ITEM:CONFIG", action=2 (READ)
  • Returns : the list of items

func (*Client) ListItemTypeConfigsShort

func (a *Client) ListItemTypeConfigsShort(params *ListItemTypeConfigsParams, authInfo runtime.ClientAuthInfoWriter) (*ListItemTypeConfigsOK, error)

ListItemTypeConfigsShort get all item type configs

[Not Supported Yet In Starter] This API is used to get all item type configs.

Other detail info:

  • Required permission : resource="ADMIN:ITEM:CONFIG", action=2 (READ)
  • Returns : the list of items

func (*Client) PublicBulkGetItems deprecated

Deprecated: 2022-08-10 - Use PublicBulkGetItemsShort instead.

PublicBulkGetItems bulk get locale items This API is used to bulk get locale items. If item not exist in specific region, default region item will return.

Other detail info:

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

func (*Client) PublicBulkGetItemsShort

func (a *Client) PublicBulkGetItemsShort(params *PublicBulkGetItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicBulkGetItemsOK, error)

PublicBulkGetItemsShort bulk get locale items This API is used to bulk get locale items. If item not exist in specific region, default region item will return.

Other detail info:

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

func (*Client) PublicGetApp deprecated

func (a *Client) PublicGetApp(params *PublicGetAppParams) (*PublicGetAppOK, *PublicGetAppNotFound, error)

Deprecated: 2022-08-10 - Use PublicGetAppShort instead.

PublicGetApp get an app in locale This API is used to get an app in locale. If app not exist in specific region, default region app will return.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store app)
  • Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store app)
  • Returns : app data

func (*Client) PublicGetAppShort

func (a *Client) PublicGetAppShort(params *PublicGetAppParams) (*PublicGetAppOK, error)

PublicGetAppShort get an app in locale This API is used to get an app in locale. If app not exist in specific region, default region app will return.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store app)
  • Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store app)
  • Returns : app data

func (*Client) PublicGetEstimatedPrice deprecated

Deprecated: 2022-08-10 - Use PublicGetEstimatedPriceShort instead.

PublicGetEstimatedPrice get estimated price This API is used to get estimated prices of item

func (*Client) PublicGetEstimatedPriceShort

func (a *Client) PublicGetEstimatedPriceShort(params *PublicGetEstimatedPriceParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetEstimatedPriceOK, error)

PublicGetEstimatedPriceShort get estimated price This API is used to get estimated prices of item

func (*Client) PublicGetItem deprecated

Deprecated: 2022-08-10 - Use PublicGetItemShort instead.

PublicGetItem get an item in locale This API is used to get an item in locale. If item not exist in specific region, default region item will return.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)
  • Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)
  • Returns : item data

func (*Client) PublicGetItemByAppID deprecated

Deprecated: 2022-08-10 - Use PublicGetItemByAppIDShort instead.

PublicGetItemByAppID get item by appid This API is used to get item by appId.

Other detail info:

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

func (*Client) PublicGetItemByAppIDShort

func (a *Client) PublicGetItemByAppIDShort(params *PublicGetItemByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetItemByAppIDOK, error)

PublicGetItemByAppIDShort get item by appid This API is used to get item by appId.

Other detail info:

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

func (*Client) PublicGetItemBySku deprecated

Deprecated: 2022-08-10 - Use PublicGetItemBySkuShort instead.

PublicGetItemBySku get item by sku This API is used to get the item by sku.

Other detail info:

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

func (*Client) PublicGetItemBySkuShort

func (a *Client) PublicGetItemBySkuShort(params *PublicGetItemBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetItemBySkuOK, error)

PublicGetItemBySkuShort get item by sku This API is used to get the item by sku.

Other detail info:

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

func (*Client) PublicGetItemDynamicData deprecated

Deprecated: 2022-08-10 - Use PublicGetItemDynamicDataShort instead.

PublicGetItemDynamicData get item dynamic data Get item dynamic data for a published item. Other detail info:

  • Returns : item dynamic data

func (*Client) PublicGetItemDynamicDataShort

func (a *Client) PublicGetItemDynamicDataShort(params *PublicGetItemDynamicDataParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetItemDynamicDataOK, error)

PublicGetItemDynamicDataShort get item dynamic data Get item dynamic data for a published item. Other detail info:

  • Returns : item dynamic data

func (*Client) PublicGetItemShort

func (a *Client) PublicGetItemShort(params *PublicGetItemParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetItemOK, error)

PublicGetItemShort get an item in locale This API is used to get an item in locale. If item not exist in specific region, default region item will return.

Other detail info:

  • Optional permission : resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)
  • Optional permission : resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)
  • Returns : item data

func (*Client) PublicQueryItems deprecated

Deprecated: 2022-08-10 - Use PublicQueryItemsShort instead.

PublicQueryItems query items by criteria This API is used to query items by criteria within a store. If item not exist in specific region, default region item will return.

Other detail info:

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

func (*Client) PublicQueryItemsShort

func (a *Client) PublicQueryItemsShort(params *PublicQueryItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryItemsOK, error)

PublicQueryItemsShort query items by criteria This API is used to query items by criteria within a store. If item not exist in specific region, default region item will return.

Other detail info:

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

func (*Client) PublicSearchItems deprecated

Deprecated: 2022-08-10 - Use PublicSearchItemsShort instead.

PublicSearchItems search items by keyword This API is used to search items by keyword in title, description and long description, It's language constrained, also if item not exist in specific region, default region item will return.

Other detail info:

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

func (*Client) PublicSearchItemsShort

func (a *Client) PublicSearchItemsShort(params *PublicSearchItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchItemsOK, error)

PublicSearchItemsShort search items by keyword This API is used to search items by keyword in title, description and long description, It's language constrained, also if item not exist in specific region, default region item will return.

Other detail info:

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

func (*Client) PublicValidateItemPurchaseCondition deprecated

Deprecated: 2022-08-10 - Use PublicValidateItemPurchaseConditionShort instead.

PublicValidateItemPurchaseCondition validate user item purchase condition This API is used to validate user item purchase condition

func (*Client) PublicValidateItemPurchaseConditionShort

func (a *Client) PublicValidateItemPurchaseConditionShort(params *PublicValidateItemPurchaseConditionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicValidateItemPurchaseConditionOK, error)

PublicValidateItemPurchaseConditionShort validate user item purchase condition This API is used to validate user item purchase condition

func (*Client) QueryItems deprecated

Deprecated: 2022-08-10 - Use QueryItemsShort instead.

QueryItems query items by criteria This API is used to query items by criteria within a store.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of items

func (*Client) QueryItems1 deprecated

Deprecated: 2022-08-10 - Use QueryItems1Short instead.

QueryItems1 query items by criteria This API is used to query items by criteria within a store.

The behaviour for itemStatus query parameter: * TRUE: Show only ACTIVE items * FALSE: Show only INACTIVE items * Not provided: show both ACTIVE and INACTIVE items Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of items

func (*Client) QueryItems1Short

func (a *Client) QueryItems1Short(params *QueryItems1Params, authInfo runtime.ClientAuthInfoWriter) (*QueryItems1OK, error)

QueryItems1Short query items by criteria This API is used to query items by criteria within a store.

The behaviour for itemStatus query parameter: * TRUE: Show only ACTIVE items * FALSE: Show only INACTIVE items * Not provided: show both ACTIVE and INACTIVE items Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of items

func (*Client) QueryItemsShort

func (a *Client) QueryItemsShort(params *QueryItemsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryItemsOK, error)

QueryItemsShort query items by criteria This API is used to query items by criteria within a store.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of items

func (*Client) QueryUncategorizedItems deprecated

Deprecated: 2022-08-10 - Use QueryUncategorizedItemsShort instead.

QueryUncategorizedItems query uncategorized items This API is used to query uncategorized items within a store.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of uncategorized items

func (*Client) QueryUncategorizedItemsShort

func (a *Client) QueryUncategorizedItemsShort(params *QueryUncategorizedItemsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUncategorizedItemsOK, error)

QueryUncategorizedItemsShort query uncategorized items This API is used to query uncategorized items within a store.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of uncategorized items

func (*Client) ReturnItem deprecated

Deprecated: 2022-08-10 - Use ReturnItemShort instead.

ReturnItem return item

[SERVICE COMMUNICATION ONLY] This api is used for returning a published item while the item is maxCount limited, it will increase the sale available count if orderNo already acquired.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)

func (*Client) ReturnItemShort

func (a *Client) ReturnItemShort(params *ReturnItemParams, authInfo runtime.ClientAuthInfoWriter) (*ReturnItemNoContent, error)

ReturnItemShort return item

[SERVICE COMMUNICATION ONLY] This api is used for returning a published item while the item is maxCount limited, it will increase the sale available count if orderNo already acquired.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)

func (*Client) SearchItemTypeConfig deprecated

Deprecated: 2022-08-10 - Use SearchItemTypeConfigShort instead.

SearchItemTypeConfig get an item type config

[Not Supported Yet In Starter] This API is used to get an item type config.

Other detail info:

  • Required permission : resource="ADMIN:ITEM:CONFIG", action=2 (READ)
  • Returns : item type config data

func (*Client) SearchItemTypeConfigShort

func (a *Client) SearchItemTypeConfigShort(params *SearchItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SearchItemTypeConfigOK, error)

SearchItemTypeConfigShort get an item type config

[Not Supported Yet In Starter] This API is used to get an item type config.

Other detail info:

  • Required permission : resource="ADMIN:ITEM:CONFIG", action=2 (READ)
  • Returns : item type config data

func (*Client) SearchItems deprecated

Deprecated: 2022-08-10 - Use SearchItemsShort instead.

SearchItems search items by keyword This API is used to search items by keyword in title, description and long description within a store.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of items

func (*Client) SearchItemsShort

func (a *Client) SearchItemsShort(params *SearchItemsParams, authInfo runtime.ClientAuthInfoWriter) (*SearchItemsOK, error)

SearchItemsShort search items by keyword This API is used to search items by keyword in title, description and long description within a store.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=2 (READ)
  • Returns : the list of items

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SyncInGameItem deprecated

Deprecated: 2022-08-10 - Use SyncInGameItemShort instead.

SyncInGameItem sync an in game item

[Not Supported Yet In Starter] This API is used to sync an in game item in game namespace to publisher namespace, only INGAMEITEM, CODE, COINS and SEASON are supported

The synced item has an additional field targetItemId besides targetNamespace, mostly this item should not modified manually again.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : item data

func (*Client) SyncInGameItemShort

func (a *Client) SyncInGameItemShort(params *SyncInGameItemParams, authInfo runtime.ClientAuthInfoWriter) (*SyncInGameItemOK, error)

SyncInGameItemShort sync an in game item

[Not Supported Yet In Starter] This API is used to sync an in game item in game namespace to publisher namespace, only INGAMEITEM, CODE, COINS and SEASON are supported

The synced item has an additional field targetItemId besides targetNamespace, mostly this item should not modified manually again.

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : item data

func (*Client) UpdateApp deprecated

Deprecated: 2022-08-10 - Use UpdateAppShort instead.

UpdateApp update an app This API is used to update an app.

An app update example:

{

  "developer": "accelbyte",

  "publisher": "accelbyte",

  "websiteUrl": "http://accelbyte.io",

  "forumUrl": "http://accelbyte.io",

  "platforms": ["Windows(allowed values: Windows, MacOS, Linux, IOS, Android)"],

  "platformRequirements": {

    "Windows": [

      {

        "label":"minimum(can be minimum or recommended)",

        "osVersion":"os version",

        "processor":"processor",

        "ram":"RAM",

        "graphics":"graphics",

        "directXVersion":"directXVersion",

        "diskSpace":"diskSpace",

        "soundCard":"soundCard",

        "additionals":"additionals"

      }

     ]

  },

  "carousel": [

    {

      "type":"image(allowed values: image, video)",

      "videoSource":"generic(allowed values:generic, youtube, viemo)",

      "url":"url",

      "alt":"alternative url or text",

      "thumbnailUrl":"thumbnail url",

      "previewUrl":"preview url",

    }

  ],

  "localizations": {

    "en": {

      "slogan":"slogan",

      "announcement":"announcement",

    }

  },

  "primaryGenre": "Action",

  "genres": ["Action", "Adventure"],

  "players": ["Single"],

  "releaseDate": "optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"

}

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : updated app data

func (*Client) UpdateAppShort

func (a *Client) UpdateAppShort(params *UpdateAppParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOK, error)

UpdateAppShort update an app This API is used to update an app.

An app update example:

{

  "developer": "accelbyte",

  "publisher": "accelbyte",

  "websiteUrl": "http://accelbyte.io",

  "forumUrl": "http://accelbyte.io",

  "platforms": ["Windows(allowed values: Windows, MacOS, Linux, IOS, Android)"],

  "platformRequirements": {

    "Windows": [

      {

        "label":"minimum(can be minimum or recommended)",

        "osVersion":"os version",

        "processor":"processor",

        "ram":"RAM",

        "graphics":"graphics",

        "directXVersion":"directXVersion",

        "diskSpace":"diskSpace",

        "soundCard":"soundCard",

        "additionals":"additionals"

      }

     ]

  },

  "carousel": [

    {

      "type":"image(allowed values: image, video)",

      "videoSource":"generic(allowed values:generic, youtube, viemo)",

      "url":"url",

      "alt":"alternative url or text",

      "thumbnailUrl":"thumbnail url",

      "previewUrl":"preview url",

    }

  ],

  "localizations": {

    "en": {

      "slogan":"slogan",

      "announcement":"announcement",

    }

  },

  "primaryGenre": "Action",

  "genres": ["Action", "Adventure"],

  "players": ["Single"],

  "releaseDate": "optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"

}

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : updated app data

func (*Client) UpdateItem deprecated

Deprecated: 2022-08-10 - Use UpdateItemShort instead.

UpdateItem update an item This API is used to update an item.

An item update example:

{

    "categoryPath": "/games",

    "localizations": {

       "en": {

           "title":"required",

           "description":"optional",

           "longDescription":"optional",

           "localExt": {

                  "properties":[

                                   {

                                       "key1":"value1",

                                       "key2":"value2"

                                   }

                  ],

                  "functions":[

                                   {

                                       "key1":"value1",

                                       "key2":"value2"

                                   }

                 ]

           }

       }

   },

   "images": [

     {

           "as":"optional, image for",

           "caption":"optional",

           "height":10,

           "width":10,

           "imageUrl":"http://img-url-required",

           "smallImageUrl":"http://small-img-url-required"

     }

   ],

   "thumbnailUrl": "optional, thumbnail url",

   "status": "ACTIVE",

   "listable": true,

   "purchasable": true,

   "itemType": "APP(allowed: [APP,COINS,INGAMEITEM,CODE,BUNDLE])",

   "name": "optional",

   "entitlementType": "DURABLE(allowed:[DURABLE,CONSUMABLE], should be CONSUMABLE when item type is COINS)",

   "useCount": 1(optional, required if the entitlement type is consumable),

   "stackable": false,

   "appId": "optional, required if itemType is APP",

   "baseAppId": "optional, set value of game app id if you want to link to a game",

   "appType": "GAME(optional, required if itemType is APP)",

   "seasonType": "PASS(optional, required if itemType is SEASON)",

   "sku": "optional, commonly unique item code",

   "targetCurrencyCode": "optional, required if itemType is COINS",

   "targetNamespace": "optional, required when itemType is INGAMEITEM, the targetNamespace will only take effect when the item

   created belongs to the publisher namespace",

   "regionData": {

       "US(store's default region is required)": [

         {

            "price":10,

            "discountPercentage":0(integer, optional, range[0,100], discountedPrice = price*((100 - discountPercentage) * 0.01),

              if it is not 0, will use it to calculate discounted price),

            "discountAmount":0(integer, optional, range[0,itemPrice], will use it to calculate discounted price if discountPercentage is 0),

            "currencyCode":"code(required, example: USD)",

            "currencyNamespace":"test-ns-required(allow publisher namespace if namespace is publisher namespace, allow publisher and game namespace if namespace is not publisher namespace)",

            "trialPrice":5(required while fixedTrialCycles set, should >=0 and <= price, will same as price if not present),

            "purchaseAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",

            "expireAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",

            "discountPurchaseAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",

            "discountExpireAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"

         }

       ]

   },

   "itemIds": [

       "itemId"

   ],

   "itemQty": {

       "itemId":1

   },

   "recurring": {

       "cycle":"MONTHLY(allowed: [WEEKLY,MONTHLY,QUARTERLY,YEARLY])",

       "fixedFreeDays":0(integer, fixed free days, 0 means not set),

       "fixedTrialCycles":0(integer, fixed trial cycles, 0 means not set, will not take effect if fixedFreeDays set),

       "graceDays":7(integer, recurring grace days, retry recurring charge within configured days if charge fail, default 7)

   },

   "tags": [

       "exampleTag24"

   ],

   "features": [

       "feature"

   ],

   "clazz": "weapon",

   "boothName": "C_campaign1",

   "displayOrder": 1000,

   "ext": {

       "properties":[

           {

               "key1":"value1",

               "key2":"value2"

           }

       ],

       "functions":[

           {

               "key1":"value1",

               "key2":"value2"

           }

       ]

   },

   "maxCountPerUser": 1(integer, optional, -1 means UNLIMITED),

   "maxCount": 1(integer, optional, -1 means UNLIMITED, new value should >= old value if both old value and new value is

   limited, unset when item type is CODE)

}

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : updated item data

## Restrictions for item 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) UpdateItemPurchaseCondition deprecated

Deprecated: 2022-08-10 - Use UpdateItemPurchaseConditionShort instead.

UpdateItemPurchaseCondition update item purchase condition This API is used to update item purchase condition

func (*Client) UpdateItemPurchaseConditionShort

func (a *Client) UpdateItemPurchaseConditionShort(params *UpdateItemPurchaseConditionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateItemPurchaseConditionOK, error)

UpdateItemPurchaseConditionShort update item purchase condition This API is used to update item purchase condition

func (*Client) UpdateItemShort

func (a *Client) UpdateItemShort(params *UpdateItemParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateItemOK, error)

UpdateItemShort update an item This API is used to update an item.

An item update example:

{

    "categoryPath": "/games",

    "localizations": {

       "en": {

           "title":"required",

           "description":"optional",

           "longDescription":"optional",

           "localExt": {

                  "properties":[

                                   {

                                       "key1":"value1",

                                       "key2":"value2"

                                   }

                  ],

                  "functions":[

                                   {

                                       "key1":"value1",

                                       "key2":"value2"

                                   }

                 ]

           }

       }

   },

   "images": [

     {

           "as":"optional, image for",

           "caption":"optional",

           "height":10,

           "width":10,

           "imageUrl":"http://img-url-required",

           "smallImageUrl":"http://small-img-url-required"

     }

   ],

   "thumbnailUrl": "optional, thumbnail url",

   "status": "ACTIVE",

   "listable": true,

   "purchasable": true,

   "itemType": "APP(allowed: [APP,COINS,INGAMEITEM,CODE,BUNDLE])",

   "name": "optional",

   "entitlementType": "DURABLE(allowed:[DURABLE,CONSUMABLE], should be CONSUMABLE when item type is COINS)",

   "useCount": 1(optional, required if the entitlement type is consumable),

   "stackable": false,

   "appId": "optional, required if itemType is APP",

   "baseAppId": "optional, set value of game app id if you want to link to a game",

   "appType": "GAME(optional, required if itemType is APP)",

   "seasonType": "PASS(optional, required if itemType is SEASON)",

   "sku": "optional, commonly unique item code",

   "targetCurrencyCode": "optional, required if itemType is COINS",

   "targetNamespace": "optional, required when itemType is INGAMEITEM, the targetNamespace will only take effect when the item

   created belongs to the publisher namespace",

   "regionData": {

       "US(store's default region is required)": [

         {

            "price":10,

            "discountPercentage":0(integer, optional, range[0,100], discountedPrice = price*((100 - discountPercentage) * 0.01),

              if it is not 0, will use it to calculate discounted price),

            "discountAmount":0(integer, optional, range[0,itemPrice], will use it to calculate discounted price if discountPercentage is 0),

            "currencyCode":"code(required, example: USD)",

            "currencyNamespace":"test-ns-required(allow publisher namespace if namespace is publisher namespace, allow publisher and game namespace if namespace is not publisher namespace)",

            "trialPrice":5(required while fixedTrialCycles set, should >=0 and <= price, will same as price if not present),

            "purchaseAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",

            "expireAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",

            "discountPurchaseAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",

            "discountExpireAt":"optional yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"

         }

       ]

   },

   "itemIds": [

       "itemId"

   ],

   "itemQty": {

       "itemId":1

   },

   "recurring": {

       "cycle":"MONTHLY(allowed: [WEEKLY,MONTHLY,QUARTERLY,YEARLY])",

       "fixedFreeDays":0(integer, fixed free days, 0 means not set),

       "fixedTrialCycles":0(integer, fixed trial cycles, 0 means not set, will not take effect if fixedFreeDays set),

       "graceDays":7(integer, recurring grace days, retry recurring charge within configured days if charge fail, default 7)

   },

   "tags": [

       "exampleTag24"

   ],

   "features": [

       "feature"

   ],

   "clazz": "weapon",

   "boothName": "C_campaign1",

   "displayOrder": 1000,

   "ext": {

       "properties":[

           {

               "key1":"value1",

               "key2":"value2"

           }

       ],

       "functions":[

           {

               "key1":"value1",

               "key2":"value2"

           }

       ]

   },

   "maxCountPerUser": 1(integer, optional, -1 means UNLIMITED),

   "maxCount": 1(integer, optional, -1 means UNLIMITED, new value should >= old value if both old value and new value is

   limited, unset when item type is CODE)

}

Other detail info:

  • Required permission : resource="ADMIN:NAMESPACE:{namespace}:ITEM", action=4 (UPDATE)
  • Returns : updated item data

## Restrictions for item 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) UpdateItemTypeConfig deprecated

Deprecated: 2022-08-10 - Use UpdateItemTypeConfigShort instead.

UpdateItemTypeConfig update an item type config

[Not Supported Yet In Starter] This API is used to update an item type config.

* Required permission : resource="ADMIN:ITEM:CONFIG", action=4 (UPDATE) * Returns : item type config data

func (*Client) UpdateItemTypeConfigShort

func (a *Client) UpdateItemTypeConfigShort(params *UpdateItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateItemTypeConfigOK, error)

UpdateItemTypeConfigShort update an item type config

[Not Supported Yet In Starter] This API is used to update an item type config.

* Required permission : resource="ADMIN:ITEM:CONFIG", action=4 (UPDATE) * Returns : item type config data

func (*Client) ValidateItemPurchaseCondition deprecated

Deprecated: 2022-08-10 - Use ValidateItemPurchaseConditionShort instead.

ValidateItemPurchaseCondition validate user purchase condition This API is used to validate user purchase condition

func (*Client) ValidateItemPurchaseConditionShort

func (a *Client) ValidateItemPurchaseConditionShort(params *ValidateItemPurchaseConditionParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateItemPurchaseConditionOK, error)

ValidateItemPurchaseConditionShort validate user purchase condition This API is used to validate user purchase condition

type ClientService

type ClientService interface {
	ListItemTypeConfigs(params *ListItemTypeConfigsParams, authInfo runtime.ClientAuthInfoWriter) (*ListItemTypeConfigsOK, error)
	ListItemTypeConfigsShort(params *ListItemTypeConfigsParams, authInfo runtime.ClientAuthInfoWriter) (*ListItemTypeConfigsOK, error)
	CreateItemTypeConfig(params *CreateItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateItemTypeConfigCreated, *CreateItemTypeConfigBadRequest, *CreateItemTypeConfigConflict, *CreateItemTypeConfigUnprocessableEntity, error)
	CreateItemTypeConfigShort(params *CreateItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateItemTypeConfigCreated, error)
	SearchItemTypeConfig(params *SearchItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SearchItemTypeConfigOK, *SearchItemTypeConfigNotFound, error)
	SearchItemTypeConfigShort(params *SearchItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SearchItemTypeConfigOK, error)
	GetItemTypeConfig(params *GetItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemTypeConfigOK, *GetItemTypeConfigNotFound, error)
	GetItemTypeConfigShort(params *GetItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemTypeConfigOK, error)
	UpdateItemTypeConfig(params *UpdateItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateItemTypeConfigOK, *UpdateItemTypeConfigNotFound, *UpdateItemTypeConfigConflict, *UpdateItemTypeConfigUnprocessableEntity, error)
	UpdateItemTypeConfigShort(params *UpdateItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateItemTypeConfigOK, error)
	DeleteItemTypeConfig(params *DeleteItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteItemTypeConfigNoContent, *DeleteItemTypeConfigNotFound, error)
	DeleteItemTypeConfigShort(params *DeleteItemTypeConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteItemTypeConfigNoContent, error)
	SyncInGameItem(params *SyncInGameItemParams, authInfo runtime.ClientAuthInfoWriter) (*SyncInGameItemOK, *SyncInGameItemBadRequest, *SyncInGameItemNotFound, *SyncInGameItemConflict, *SyncInGameItemUnprocessableEntity, error)
	SyncInGameItemShort(params *SyncInGameItemParams, authInfo runtime.ClientAuthInfoWriter) (*SyncInGameItemOK, error)
	CreateItem(params *CreateItemParams, authInfo runtime.ClientAuthInfoWriter) (*CreateItemCreated, *CreateItemBadRequest, *CreateItemNotFound, *CreateItemConflict, *CreateItemUnprocessableEntity, error)
	CreateItemShort(params *CreateItemParams, authInfo runtime.ClientAuthInfoWriter) (*CreateItemCreated, error)
	GetItemByAppID(params *GetItemByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemByAppIDOK, *GetItemByAppIDNotFound, error)
	GetItemByAppIDShort(params *GetItemByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemByAppIDOK, error)
	QueryItems(params *QueryItemsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryItemsOK, *QueryItemsNotFound, *QueryItemsUnprocessableEntity, error)
	QueryItemsShort(params *QueryItemsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryItemsOK, error)
	ListBasicItemsByFeatures(params *ListBasicItemsByFeaturesParams, authInfo runtime.ClientAuthInfoWriter) (*ListBasicItemsByFeaturesOK, error)
	ListBasicItemsByFeaturesShort(params *ListBasicItemsByFeaturesParams, authInfo runtime.ClientAuthInfoWriter) (*ListBasicItemsByFeaturesOK, error)
	GetItems(params *GetItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemsOK, *GetItemsNotFound, error)
	GetItemsShort(params *GetItemsParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemsOK, error)
	GetItemBySku(params *GetItemBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemBySkuOK, *GetItemBySkuNotFound, error)
	GetItemBySkuShort(params *GetItemBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemBySkuOK, error)
	GetLocaleItemBySku(params *GetLocaleItemBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocaleItemBySkuOK, *GetLocaleItemBySkuNotFound, error)
	GetLocaleItemBySkuShort(params *GetLocaleItemBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocaleItemBySkuOK, error)
	GetEstimatedPrice(params *GetEstimatedPriceParams, authInfo runtime.ClientAuthInfoWriter) (*GetEstimatedPriceOK, *GetEstimatedPriceNotFound, error)
	GetEstimatedPriceShort(params *GetEstimatedPriceParams, authInfo runtime.ClientAuthInfoWriter) (*GetEstimatedPriceOK, error)
	GetItemIDBySku(params *GetItemIDBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemIDBySkuOK, *GetItemIDBySkuNotFound, error)
	GetItemIDBySkuShort(params *GetItemIDBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemIDBySkuOK, error)
	GetBulkItemIDBySkus(params *GetBulkItemIDBySkusParams, authInfo runtime.ClientAuthInfoWriter) (*GetBulkItemIDBySkusOK, error)
	GetBulkItemIDBySkusShort(params *GetBulkItemIDBySkusParams, authInfo runtime.ClientAuthInfoWriter) (*GetBulkItemIDBySkusOK, error)
	BulkGetLocaleItems(params *BulkGetLocaleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetLocaleItemsOK, *BulkGetLocaleItemsNotFound, error)
	BulkGetLocaleItemsShort(params *BulkGetLocaleItemsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkGetLocaleItemsOK, error)
	GetAvailablePredicateTypes(params *GetAvailablePredicateTypesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAvailablePredicateTypesOK, *GetAvailablePredicateTypesNotFound, error)
	GetAvailablePredicateTypesShort(params *GetAvailablePredicateTypesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAvailablePredicateTypesOK, error)
	ValidateItemPurchaseCondition(params *ValidateItemPurchaseConditionParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateItemPurchaseConditionOK, *ValidateItemPurchaseConditionUnprocessableEntity, error)
	ValidateItemPurchaseConditionShort(params *ValidateItemPurchaseConditionParams, authInfo runtime.ClientAuthInfoWriter) (*ValidateItemPurchaseConditionOK, error)
	BulkUpdateRegionData(params *BulkUpdateRegionDataParams, authInfo runtime.ClientAuthInfoWriter) (*BulkUpdateRegionDataNoContent, *BulkUpdateRegionDataBadRequest, *BulkUpdateRegionDataNotFound, *BulkUpdateRegionDataConflict, *BulkUpdateRegionDataUnprocessableEntity, error)
	BulkUpdateRegionDataShort(params *BulkUpdateRegionDataParams, authInfo runtime.ClientAuthInfoWriter) (*BulkUpdateRegionDataNoContent, error)
	SearchItems(params *SearchItemsParams, authInfo runtime.ClientAuthInfoWriter) (*SearchItemsOK, *SearchItemsNotFound, error)
	SearchItemsShort(params *SearchItemsParams, authInfo runtime.ClientAuthInfoWriter) (*SearchItemsOK, error)
	QueryUncategorizedItems(params *QueryUncategorizedItemsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUncategorizedItemsOK, *QueryUncategorizedItemsNotFound, *QueryUncategorizedItemsUnprocessableEntity, error)
	QueryUncategorizedItemsShort(params *QueryUncategorizedItemsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUncategorizedItemsOK, error)
	GetItem(params *GetItemParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemOK, *GetItemNotFound, error)
	GetItemShort(params *GetItemParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemOK, error)
	UpdateItem(params *UpdateItemParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateItemOK, *UpdateItemBadRequest, *UpdateItemNotFound, *UpdateItemConflict, *UpdateItemUnprocessableEntity, error)
	UpdateItemShort(params *UpdateItemParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateItemOK, error)
	DeleteItem(params *DeleteItemParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteItemNoContent, *DeleteItemNotFound, error)
	DeleteItemShort(params *DeleteItemParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteItemNoContent, error)
	AcquireItem(params *AcquireItemParams, authInfo runtime.ClientAuthInfoWriter) (*AcquireItemOK, *AcquireItemNotFound, error)
	AcquireItemShort(params *AcquireItemParams, authInfo runtime.ClientAuthInfoWriter) (*AcquireItemOK, error)
	GetApp(params *GetAppParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppOK, error)
	GetAppShort(params *GetAppParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppOK, error)
	UpdateApp(params *UpdateAppParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOK, *UpdateAppNotFound, *UpdateAppConflict, *UpdateAppUnprocessableEntity, error)
	UpdateAppShort(params *UpdateAppParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOK, error)
	DisableItem(params *DisableItemParams, authInfo runtime.ClientAuthInfoWriter) (*DisableItemOK, *DisableItemNotFound, *DisableItemConflict, error)
	DisableItemShort(params *DisableItemParams, authInfo runtime.ClientAuthInfoWriter) (*DisableItemOK, error)
	GetItemDynamicData(params *GetItemDynamicDataParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemDynamicDataOK, *GetItemDynamicDataNotFound, error)
	GetItemDynamicDataShort(params *GetItemDynamicDataParams, authInfo runtime.ClientAuthInfoWriter) (*GetItemDynamicDataOK, error)
	EnableItem(params *EnableItemParams, authInfo runtime.ClientAuthInfoWriter) (*EnableItemOK, *EnableItemNotFound, *EnableItemConflict, error)
	EnableItemShort(params *EnableItemParams, authInfo runtime.ClientAuthInfoWriter) (*EnableItemOK, error)
	FeatureItem(params *FeatureItemParams, authInfo runtime.ClientAuthInfoWriter) (*FeatureItemOK, *FeatureItemNotFound, *FeatureItemConflict, error)
	FeatureItemShort(params *FeatureItemParams, authInfo runtime.ClientAuthInfoWriter) (*FeatureItemOK, error)
	DefeatureItem(params *DefeatureItemParams, authInfo runtime.ClientAuthInfoWriter) (*DefeatureItemOK, *DefeatureItemNotFound, *DefeatureItemConflict, error)
	DefeatureItemShort(params *DefeatureItemParams, authInfo runtime.ClientAuthInfoWriter) (*DefeatureItemOK, error)
	GetLocaleItem(params *GetLocaleItemParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocaleItemOK, *GetLocaleItemNotFound, error)
	GetLocaleItemShort(params *GetLocaleItemParams, authInfo runtime.ClientAuthInfoWriter) (*GetLocaleItemOK, error)
	UpdateItemPurchaseCondition(params *UpdateItemPurchaseConditionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateItemPurchaseConditionOK, *UpdateItemPurchaseConditionBadRequest, *UpdateItemPurchaseConditionNotFound, *UpdateItemPurchaseConditionConflict, *UpdateItemPurchaseConditionUnprocessableEntity, error)
	UpdateItemPurchaseConditionShort(params *UpdateItemPurchaseConditionParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateItemPurchaseConditionOK, error)
	ReturnItem(params *ReturnItemParams, authInfo runtime.ClientAuthInfoWriter) (*ReturnItemNoContent, *ReturnItemNotFound, *ReturnItemUnprocessableEntity, error)
	ReturnItemShort(params *ReturnItemParams, authInfo runtime.ClientAuthInfoWriter) (*ReturnItemNoContent, error)
	PublicGetItemByAppID(params *PublicGetItemByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetItemByAppIDOK, *PublicGetItemByAppIDNotFound, error)
	PublicGetItemByAppIDShort(params *PublicGetItemByAppIDParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetItemByAppIDOK, error)
	PublicQueryItems(params *PublicQueryItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryItemsOK, *PublicQueryItemsNotFound, *PublicQueryItemsUnprocessableEntity, error)
	PublicQueryItemsShort(params *PublicQueryItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicQueryItemsOK, error)
	PublicGetItemBySku(params *PublicGetItemBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetItemBySkuOK, *PublicGetItemBySkuNotFound, error)
	PublicGetItemBySkuShort(params *PublicGetItemBySkuParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetItemBySkuOK, error)
	PublicGetEstimatedPrice(params *PublicGetEstimatedPriceParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetEstimatedPriceOK, *PublicGetEstimatedPriceNotFound, error)
	PublicGetEstimatedPriceShort(params *PublicGetEstimatedPriceParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetEstimatedPriceOK, error)
	PublicBulkGetItems(params *PublicBulkGetItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicBulkGetItemsOK, *PublicBulkGetItemsNotFound, error)
	PublicBulkGetItemsShort(params *PublicBulkGetItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicBulkGetItemsOK, error)
	PublicValidateItemPurchaseCondition(params *PublicValidateItemPurchaseConditionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicValidateItemPurchaseConditionOK, *PublicValidateItemPurchaseConditionUnprocessableEntity, error)
	PublicValidateItemPurchaseConditionShort(params *PublicValidateItemPurchaseConditionParams, authInfo runtime.ClientAuthInfoWriter) (*PublicValidateItemPurchaseConditionOK, error)
	PublicSearchItems(params *PublicSearchItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchItemsOK, *PublicSearchItemsNotFound, error)
	PublicSearchItemsShort(params *PublicSearchItemsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicSearchItemsOK, error)
	PublicGetApp(params *PublicGetAppParams) (*PublicGetAppOK, *PublicGetAppNotFound, error)
	PublicGetAppShort(params *PublicGetAppParams) (*PublicGetAppOK, error)
	PublicGetItemDynamicData(params *PublicGetItemDynamicDataParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetItemDynamicDataOK, *PublicGetItemDynamicDataNotFound, error)
	PublicGetItemDynamicDataShort(params *PublicGetItemDynamicDataParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetItemDynamicDataOK, error)
	PublicGetItem(params *PublicGetItemParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetItemOK, *PublicGetItemNotFound, error)
	PublicGetItemShort(params *PublicGetItemParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetItemOK, error)
	QueryItems1(params *QueryItems1Params, authInfo runtime.ClientAuthInfoWriter) (*QueryItems1OK, *QueryItems1NotFound, *QueryItems1UnprocessableEntity, error)
	QueryItems1Short(params *QueryItems1Params, authInfo runtime.ClientAuthInfoWriter) (*QueryItems1OK, 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 item API client.

type CreateItemBadRequest

type CreateItemBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateItemBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20024</td><td>unsupported operation</td></tr><tr><td>30301</td><td>Unsupported Item Type [{itemType}] for box item [{itemId}] with expiration</td></tr><tr><td>30322</td><td>Bundle item [{itemId}] can't be bundled</td></tr><tr><td>30325</td><td>Code item [{itemId}] can't be bundled</td></tr><tr><td>30326</td><td>Subscription item [{itemId}] can't be bundled</td></tr><tr><td>30329</td><td>Invalid bundled item [{itemId}] quantity</td></tr><tr><td>30021</td><td>Default language [{language}] required</td></tr><tr><td>30321</td><td>Invalid item discount amount</td></tr><tr><td>30022</td><td>Default region [{region}] is required</td></tr><tr><td>30323</td><td>Target namespace is required</td></tr><tr><td>30327</td><td>Invalid item trial price</td></tr><tr><td>30330</td><td>Invalid item region price currency namespace [{namespace}]</td></tr><tr><td>30332</td><td>Invalid option box item [{itemId}] quantity</td></tr><tr><td>30333</td><td>Item [{itemId}] item type [{itemType}] can't be bundled into option box</td></tr><tr><td>30334</td><td>Option box item [{itemId}] can't be bundled</td></tr><tr><td>30337</td><td>Invalid loot box item [{itemId}] quantity</td></tr><tr><td>30338</td><td>Item [{itemId}] item type [{itemType}] can't be bundled into loot box</td></tr><tr><td>30339</td><td>Loot box item [{itemId}] can't be bundled</td></tr></table>

func NewCreateItemBadRequest

func NewCreateItemBadRequest() *CreateItemBadRequest

NewCreateItemBadRequest creates a CreateItemBadRequest with default headers values

func (*CreateItemBadRequest) Error

func (o *CreateItemBadRequest) Error() string

func (*CreateItemBadRequest) GetPayload

func (*CreateItemBadRequest) ToJSONString

func (o *CreateItemBadRequest) ToJSONString() string

type CreateItemConflict

type CreateItemConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateItemConflict 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><tr><td>30175</td><td>Duplicated currencyCode [{currencyCode}] in Region [{region}]</td></tr><tr><td>30373</td><td>ItemType [{itemType}] is not allowed in namespace [{namespace}]</td></tr><tr><td>30376</td><td>Publisher namespace don’t allow sellback item</td></tr><tr><td>30377</td><td>This item type [{itemType}] don’t allow sellback</td></tr><tr><td>30378</td><td>Sale price don’t allow real currency [{currencyCode}]</td></tr><tr><td>30380</td><td>Box item [{itemId}] duration and end date can’t be set at the same time</td></tr><tr><td>30381</td><td>Currency [{currency}] is not set for bundle Item [{itemId}] in region [{region}]</td></tr></table>

func NewCreateItemConflict

func NewCreateItemConflict() *CreateItemConflict

NewCreateItemConflict creates a CreateItemConflict with default headers values

func (*CreateItemConflict) Error

func (o *CreateItemConflict) Error() string

func (*CreateItemConflict) GetPayload

func (*CreateItemConflict) ToJSONString

func (o *CreateItemConflict) ToJSONString() string

type CreateItemCreated

type CreateItemCreated struct {
	Payload *platformclientmodels.FullItemInfo
}

CreateItemCreated handles this case with default header values.

successful operation

func NewCreateItemCreated

func NewCreateItemCreated() *CreateItemCreated

NewCreateItemCreated creates a CreateItemCreated with default headers values

func (*CreateItemCreated) Error

func (o *CreateItemCreated) Error() string

func (*CreateItemCreated) GetPayload

func (*CreateItemCreated) ToJSONString

func (o *CreateItemCreated) ToJSONString() string

type CreateItemNotFound

type CreateItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateItemNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30241</td><td>Category [{categoryPath}] does not exist in namespace [{namespace}]</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewCreateItemNotFound

func NewCreateItemNotFound() *CreateItemNotFound

NewCreateItemNotFound creates a CreateItemNotFound with default headers values

func (*CreateItemNotFound) Error

func (o *CreateItemNotFound) Error() string

func (*CreateItemNotFound) GetPayload

func (*CreateItemNotFound) ToJSONString

func (o *CreateItemNotFound) ToJSONString() string

type CreateItemParams

type CreateItemParams struct {

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

	*/
	Namespace string
	/*StoreID*/
	StoreID string

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

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

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

func NewCreateItemParams

func NewCreateItemParams() *CreateItemParams

NewCreateItemParams creates a new CreateItemParams object with the default values initialized.

func NewCreateItemParamsWithContext

func NewCreateItemParamsWithContext(ctx context.Context) *CreateItemParams

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

func NewCreateItemParamsWithHTTPClient

func NewCreateItemParamsWithHTTPClient(client *http.Client) *CreateItemParams

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

func NewCreateItemParamsWithTimeout

func NewCreateItemParamsWithTimeout(timeout time.Duration) *CreateItemParams

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

func (*CreateItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create item params

func (*CreateItemParams) SetBody

SetBody adds the body to the create item params

func (*CreateItemParams) SetContext

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

SetContext adds the context to the create item params

func (*CreateItemParams) SetFlightId

func (o *CreateItemParams) SetFlightId(flightId string)

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

func (*CreateItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create item params

func (*CreateItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create item params

func (*CreateItemParams) SetNamespace

func (o *CreateItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create item params

func (*CreateItemParams) SetStoreID

func (o *CreateItemParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the create item params

func (*CreateItemParams) SetTimeout

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

SetTimeout adds the timeout to the create item params

func (*CreateItemParams) WithBody

WithBody adds the body to the create item params

func (*CreateItemParams) WithContext

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

WithContext adds the context to the create item params

func (*CreateItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create item params

func (*CreateItemParams) WithNamespace

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

WithNamespace adds the namespace to the create item params

func (*CreateItemParams) WithStoreID

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

WithStoreID adds the storeID to the create item params

func (*CreateItemParams) WithTimeout

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

WithTimeout adds the timeout to the create item params

func (*CreateItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateItemReader

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

CreateItemReader is a Reader for the CreateItem structure.

func (*CreateItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateItemTypeConfigBadRequest

type CreateItemTypeConfigBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateItemTypeConfigBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30336</td><td>Item type [{itemType}] does not support</td></tr></table>

func NewCreateItemTypeConfigBadRequest

func NewCreateItemTypeConfigBadRequest() *CreateItemTypeConfigBadRequest

NewCreateItemTypeConfigBadRequest creates a CreateItemTypeConfigBadRequest with default headers values

func (*CreateItemTypeConfigBadRequest) Error

func (*CreateItemTypeConfigBadRequest) GetPayload

func (*CreateItemTypeConfigBadRequest) ToJSONString

func (o *CreateItemTypeConfigBadRequest) ToJSONString() string

type CreateItemTypeConfigConflict

type CreateItemTypeConfigConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateItemTypeConfigConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30371</td><td>Item type config for type [{itemType}] and clazz [{clazz}] already exists</td></tr></table>

func NewCreateItemTypeConfigConflict

func NewCreateItemTypeConfigConflict() *CreateItemTypeConfigConflict

NewCreateItemTypeConfigConflict creates a CreateItemTypeConfigConflict with default headers values

func (*CreateItemTypeConfigConflict) Error

func (*CreateItemTypeConfigConflict) GetPayload

func (*CreateItemTypeConfigConflict) ToJSONString

func (o *CreateItemTypeConfigConflict) ToJSONString() string

type CreateItemTypeConfigCreated

type CreateItemTypeConfigCreated struct {
}

CreateItemTypeConfigCreated handles this case with default header values.

item type config created

func NewCreateItemTypeConfigCreated

func NewCreateItemTypeConfigCreated() *CreateItemTypeConfigCreated

NewCreateItemTypeConfigCreated creates a CreateItemTypeConfigCreated with default headers values

func (*CreateItemTypeConfigCreated) Error

type CreateItemTypeConfigParams

type CreateItemTypeConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.ItemTypeConfigCreate

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

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

CreateItemTypeConfigParams contains all the parameters to send to the API endpoint for the create item type config operation typically these are written to a http.Request

func NewCreateItemTypeConfigParams

func NewCreateItemTypeConfigParams() *CreateItemTypeConfigParams

NewCreateItemTypeConfigParams creates a new CreateItemTypeConfigParams object with the default values initialized.

func NewCreateItemTypeConfigParamsWithContext

func NewCreateItemTypeConfigParamsWithContext(ctx context.Context) *CreateItemTypeConfigParams

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

func NewCreateItemTypeConfigParamsWithHTTPClient

func NewCreateItemTypeConfigParamsWithHTTPClient(client *http.Client) *CreateItemTypeConfigParams

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

func NewCreateItemTypeConfigParamsWithTimeout

func NewCreateItemTypeConfigParamsWithTimeout(timeout time.Duration) *CreateItemTypeConfigParams

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

func (*CreateItemTypeConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create item type config params

func (*CreateItemTypeConfigParams) SetBody

SetBody adds the body to the create item type config params

func (*CreateItemTypeConfigParams) SetContext

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

SetContext adds the context to the create item type config params

func (*CreateItemTypeConfigParams) SetFlightId

func (o *CreateItemTypeConfigParams) SetFlightId(flightId string)

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

func (*CreateItemTypeConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create item type config params

func (*CreateItemTypeConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create item type config params

func (*CreateItemTypeConfigParams) SetTimeout

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

SetTimeout adds the timeout to the create item type config params

func (*CreateItemTypeConfigParams) WithBody

WithBody adds the body to the create item type config params

func (*CreateItemTypeConfigParams) WithContext

WithContext adds the context to the create item type config params

func (*CreateItemTypeConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create item type config params

func (*CreateItemTypeConfigParams) WithTimeout

WithTimeout adds the timeout to the create item type config params

func (*CreateItemTypeConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateItemTypeConfigReader

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

CreateItemTypeConfigReader is a Reader for the CreateItemTypeConfig structure.

func (*CreateItemTypeConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateItemTypeConfigUnprocessableEntity

type CreateItemTypeConfigUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

CreateItemTypeConfigUnprocessableEntity 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 NewCreateItemTypeConfigUnprocessableEntity

func NewCreateItemTypeConfigUnprocessableEntity() *CreateItemTypeConfigUnprocessableEntity

NewCreateItemTypeConfigUnprocessableEntity creates a CreateItemTypeConfigUnprocessableEntity with default headers values

func (*CreateItemTypeConfigUnprocessableEntity) Error

func (*CreateItemTypeConfigUnprocessableEntity) GetPayload

func (*CreateItemTypeConfigUnprocessableEntity) ToJSONString

type CreateItemUnprocessableEntity

type CreateItemUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

CreateItemUnprocessableEntity 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 NewCreateItemUnprocessableEntity

func NewCreateItemUnprocessableEntity() *CreateItemUnprocessableEntity

NewCreateItemUnprocessableEntity creates a CreateItemUnprocessableEntity with default headers values

func (*CreateItemUnprocessableEntity) Error

func (*CreateItemUnprocessableEntity) GetPayload

func (*CreateItemUnprocessableEntity) ToJSONString

func (o *CreateItemUnprocessableEntity) ToJSONString() string

type DefeatureItemConflict

type DefeatureItemConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

DefeatureItemConflict 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 NewDefeatureItemConflict

func NewDefeatureItemConflict() *DefeatureItemConflict

NewDefeatureItemConflict creates a DefeatureItemConflict with default headers values

func (*DefeatureItemConflict) Error

func (o *DefeatureItemConflict) Error() string

func (*DefeatureItemConflict) GetPayload

func (*DefeatureItemConflict) ToJSONString

func (o *DefeatureItemConflict) ToJSONString() string

type DefeatureItemNotFound

type DefeatureItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

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

func NewDefeatureItemNotFound

func NewDefeatureItemNotFound() *DefeatureItemNotFound

NewDefeatureItemNotFound creates a DefeatureItemNotFound with default headers values

func (*DefeatureItemNotFound) Error

func (o *DefeatureItemNotFound) Error() string

func (*DefeatureItemNotFound) GetPayload

func (*DefeatureItemNotFound) ToJSONString

func (o *DefeatureItemNotFound) ToJSONString() string

type DefeatureItemOK

type DefeatureItemOK struct {
	Payload *platformclientmodels.FullItemInfo
}

DefeatureItemOK handles this case with default header values.

successful operation

func NewDefeatureItemOK

func NewDefeatureItemOK() *DefeatureItemOK

NewDefeatureItemOK creates a DefeatureItemOK with default headers values

func (*DefeatureItemOK) Error

func (o *DefeatureItemOK) Error() string

func (*DefeatureItemOK) GetPayload

func (*DefeatureItemOK) ToJSONString

func (o *DefeatureItemOK) ToJSONString() string

type DefeatureItemParams

type DefeatureItemParams struct {

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

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

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

DefeatureItemParams contains all the parameters to send to the API endpoint for the defeature item operation typically these are written to a http.Request

func NewDefeatureItemParams

func NewDefeatureItemParams() *DefeatureItemParams

NewDefeatureItemParams creates a new DefeatureItemParams object with the default values initialized.

func NewDefeatureItemParamsWithContext

func NewDefeatureItemParamsWithContext(ctx context.Context) *DefeatureItemParams

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

func NewDefeatureItemParamsWithHTTPClient

func NewDefeatureItemParamsWithHTTPClient(client *http.Client) *DefeatureItemParams

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

func NewDefeatureItemParamsWithTimeout

func NewDefeatureItemParamsWithTimeout(timeout time.Duration) *DefeatureItemParams

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

func (*DefeatureItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the defeature item params

func (*DefeatureItemParams) SetContext

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

SetContext adds the context to the defeature item params

func (*DefeatureItemParams) SetFeature

func (o *DefeatureItemParams) SetFeature(feature string)

SetFeature adds the feature to the defeature item params

func (*DefeatureItemParams) SetFlightId

func (o *DefeatureItemParams) SetFlightId(flightId string)

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

func (*DefeatureItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the defeature item params

func (*DefeatureItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the defeature item params

func (*DefeatureItemParams) SetItemID

func (o *DefeatureItemParams) SetItemID(itemID string)

SetItemID adds the itemId to the defeature item params

func (*DefeatureItemParams) SetNamespace

func (o *DefeatureItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the defeature item params

func (*DefeatureItemParams) SetStoreID

func (o *DefeatureItemParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the defeature item params

func (*DefeatureItemParams) SetTimeout

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

SetTimeout adds the timeout to the defeature item params

func (*DefeatureItemParams) WithContext

WithContext adds the context to the defeature item params

func (*DefeatureItemParams) WithFeature

func (o *DefeatureItemParams) WithFeature(feature string) *DefeatureItemParams

WithFeature adds the feature to the defeature item params

func (*DefeatureItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the defeature item params

func (*DefeatureItemParams) WithItemID

func (o *DefeatureItemParams) WithItemID(itemID string) *DefeatureItemParams

WithItemID adds the itemID to the defeature item params

func (*DefeatureItemParams) WithNamespace

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

WithNamespace adds the namespace to the defeature item params

func (*DefeatureItemParams) WithStoreID

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

WithStoreID adds the storeID to the defeature item params

func (*DefeatureItemParams) WithTimeout

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

WithTimeout adds the timeout to the defeature item params

func (*DefeatureItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DefeatureItemReader

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

DefeatureItemReader is a Reader for the DefeatureItem structure.

func (*DefeatureItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteItemNoContent

type DeleteItemNoContent struct {
}

DeleteItemNoContent handles this case with default header values.

Delete item successfully

func NewDeleteItemNoContent

func NewDeleteItemNoContent() *DeleteItemNoContent

NewDeleteItemNoContent creates a DeleteItemNoContent with default headers values

func (*DeleteItemNoContent) Error

func (o *DeleteItemNoContent) Error() string

type DeleteItemNotFound

type DeleteItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DeleteItemNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30335</td><td>Item [{itemId}] can't be deleted in non-forced mode if item has been published</td></tr></table>

func NewDeleteItemNotFound

func NewDeleteItemNotFound() *DeleteItemNotFound

NewDeleteItemNotFound creates a DeleteItemNotFound with default headers values

func (*DeleteItemNotFound) Error

func (o *DeleteItemNotFound) Error() string

func (*DeleteItemNotFound) GetPayload

func (*DeleteItemNotFound) ToJSONString

func (o *DeleteItemNotFound) ToJSONString() string

type DeleteItemParams

type DeleteItemParams struct {

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

	*/
	Namespace string
	/*Force
	  default is false

	*/
	Force *bool
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

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

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

func NewDeleteItemParams

func NewDeleteItemParams() *DeleteItemParams

NewDeleteItemParams creates a new DeleteItemParams object with the default values initialized.

func NewDeleteItemParamsWithContext

func NewDeleteItemParamsWithContext(ctx context.Context) *DeleteItemParams

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

func NewDeleteItemParamsWithHTTPClient

func NewDeleteItemParamsWithHTTPClient(client *http.Client) *DeleteItemParams

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

func NewDeleteItemParamsWithTimeout

func NewDeleteItemParamsWithTimeout(timeout time.Duration) *DeleteItemParams

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

func (*DeleteItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete item params

func (*DeleteItemParams) SetContext

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

SetContext adds the context to the delete item params

func (*DeleteItemParams) SetFlightId

func (o *DeleteItemParams) SetFlightId(flightId string)

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

func (*DeleteItemParams) SetForce

func (o *DeleteItemParams) SetForce(force *bool)

SetForce adds the force to the delete item params

func (*DeleteItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete item params

func (*DeleteItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete item params

func (*DeleteItemParams) SetItemID

func (o *DeleteItemParams) SetItemID(itemID string)

SetItemID adds the itemId to the delete item params

func (*DeleteItemParams) SetNamespace

func (o *DeleteItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete item params

func (*DeleteItemParams) SetStoreID

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

SetStoreID adds the storeId to the delete item params

func (*DeleteItemParams) SetTimeout

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

SetTimeout adds the timeout to the delete item params

func (*DeleteItemParams) WithContext

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

WithContext adds the context to the delete item params

func (*DeleteItemParams) WithForce

func (o *DeleteItemParams) WithForce(force *bool) *DeleteItemParams

WithForce adds the force to the delete item params

func (*DeleteItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete item params

func (*DeleteItemParams) WithItemID

func (o *DeleteItemParams) WithItemID(itemID string) *DeleteItemParams

WithItemID adds the itemID to the delete item params

func (*DeleteItemParams) WithNamespace

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

WithNamespace adds the namespace to the delete item params

func (*DeleteItemParams) WithStoreID

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

WithStoreID adds the storeID to the delete item params

func (*DeleteItemParams) WithTimeout

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

WithTimeout adds the timeout to the delete item params

func (*DeleteItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteItemReader

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

DeleteItemReader is a Reader for the DeleteItem structure.

func (*DeleteItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteItemTypeConfigNoContent

type DeleteItemTypeConfigNoContent struct {
}

DeleteItemTypeConfigNoContent handles this case with default header values.

Delete item successfully

func NewDeleteItemTypeConfigNoContent

func NewDeleteItemTypeConfigNoContent() *DeleteItemTypeConfigNoContent

NewDeleteItemTypeConfigNoContent creates a DeleteItemTypeConfigNoContent with default headers values

func (*DeleteItemTypeConfigNoContent) Error

type DeleteItemTypeConfigNotFound

type DeleteItemTypeConfigNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DeleteItemTypeConfigNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30541</td><td>Item type config [{id}] doesn't exist</td></tr></table>

func NewDeleteItemTypeConfigNotFound

func NewDeleteItemTypeConfigNotFound() *DeleteItemTypeConfigNotFound

NewDeleteItemTypeConfigNotFound creates a DeleteItemTypeConfigNotFound with default headers values

func (*DeleteItemTypeConfigNotFound) Error

func (*DeleteItemTypeConfigNotFound) GetPayload

func (*DeleteItemTypeConfigNotFound) ToJSONString

func (o *DeleteItemTypeConfigNotFound) ToJSONString() string

type DeleteItemTypeConfigParams

type DeleteItemTypeConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ID*/
	ID string

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

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

DeleteItemTypeConfigParams contains all the parameters to send to the API endpoint for the delete item type config operation typically these are written to a http.Request

func NewDeleteItemTypeConfigParams

func NewDeleteItemTypeConfigParams() *DeleteItemTypeConfigParams

NewDeleteItemTypeConfigParams creates a new DeleteItemTypeConfigParams object with the default values initialized.

func NewDeleteItemTypeConfigParamsWithContext

func NewDeleteItemTypeConfigParamsWithContext(ctx context.Context) *DeleteItemTypeConfigParams

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

func NewDeleteItemTypeConfigParamsWithHTTPClient

func NewDeleteItemTypeConfigParamsWithHTTPClient(client *http.Client) *DeleteItemTypeConfigParams

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

func NewDeleteItemTypeConfigParamsWithTimeout

func NewDeleteItemTypeConfigParamsWithTimeout(timeout time.Duration) *DeleteItemTypeConfigParams

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

func (*DeleteItemTypeConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete item type config params

func (*DeleteItemTypeConfigParams) SetContext

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

SetContext adds the context to the delete item type config params

func (*DeleteItemTypeConfigParams) SetFlightId

func (o *DeleteItemTypeConfigParams) SetFlightId(flightId string)

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

func (*DeleteItemTypeConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete item type config params

func (*DeleteItemTypeConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete item type config params

func (*DeleteItemTypeConfigParams) SetID

func (o *DeleteItemTypeConfigParams) SetID(idVar string)

SetID adds the id to the delete item type config params

func (*DeleteItemTypeConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete item type config params

func (*DeleteItemTypeConfigParams) WithContext

WithContext adds the context to the delete item type config params

func (*DeleteItemTypeConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete item type config params

func (*DeleteItemTypeConfigParams) WithID

WithID adds the idVar to the delete item type config params

func (*DeleteItemTypeConfigParams) WithTimeout

WithTimeout adds the timeout to the delete item type config params

func (*DeleteItemTypeConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteItemTypeConfigReader

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

DeleteItemTypeConfigReader is a Reader for the DeleteItemTypeConfig structure.

func (*DeleteItemTypeConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DisableItemConflict

type DisableItemConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

DisableItemConflict 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 NewDisableItemConflict

func NewDisableItemConflict() *DisableItemConflict

NewDisableItemConflict creates a DisableItemConflict with default headers values

func (*DisableItemConflict) Error

func (o *DisableItemConflict) Error() string

func (*DisableItemConflict) GetPayload

func (*DisableItemConflict) ToJSONString

func (o *DisableItemConflict) ToJSONString() string

type DisableItemNotFound

type DisableItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

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

func NewDisableItemNotFound

func NewDisableItemNotFound() *DisableItemNotFound

NewDisableItemNotFound creates a DisableItemNotFound with default headers values

func (*DisableItemNotFound) Error

func (o *DisableItemNotFound) Error() string

func (*DisableItemNotFound) GetPayload

func (*DisableItemNotFound) ToJSONString

func (o *DisableItemNotFound) ToJSONString() string

type DisableItemOK

type DisableItemOK struct {
	Payload *platformclientmodels.FullItemInfo
}

DisableItemOK handles this case with default header values.

successful operation

func NewDisableItemOK

func NewDisableItemOK() *DisableItemOK

NewDisableItemOK creates a DisableItemOK with default headers values

func (*DisableItemOK) Error

func (o *DisableItemOK) Error() string

func (*DisableItemOK) GetPayload

func (*DisableItemOK) ToJSONString

func (o *DisableItemOK) ToJSONString() string

type DisableItemParams

type DisableItemParams struct {

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

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

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

DisableItemParams contains all the parameters to send to the API endpoint for the disable item operation typically these are written to a http.Request

func NewDisableItemParams

func NewDisableItemParams() *DisableItemParams

NewDisableItemParams creates a new DisableItemParams object with the default values initialized.

func NewDisableItemParamsWithContext

func NewDisableItemParamsWithContext(ctx context.Context) *DisableItemParams

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

func NewDisableItemParamsWithHTTPClient

func NewDisableItemParamsWithHTTPClient(client *http.Client) *DisableItemParams

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

func NewDisableItemParamsWithTimeout

func NewDisableItemParamsWithTimeout(timeout time.Duration) *DisableItemParams

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

func (*DisableItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the disable item params

func (*DisableItemParams) SetContext

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

SetContext adds the context to the disable item params

func (*DisableItemParams) SetFlightId

func (o *DisableItemParams) SetFlightId(flightId string)

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

func (*DisableItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable item params

func (*DisableItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the disable item params

func (*DisableItemParams) SetItemID

func (o *DisableItemParams) SetItemID(itemID string)

SetItemID adds the itemId to the disable item params

func (*DisableItemParams) SetNamespace

func (o *DisableItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the disable item params

func (*DisableItemParams) SetStoreID

func (o *DisableItemParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the disable item params

func (*DisableItemParams) SetTimeout

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

SetTimeout adds the timeout to the disable item params

func (*DisableItemParams) WithContext

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

WithContext adds the context to the disable item params

func (*DisableItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the disable item params

func (*DisableItemParams) WithItemID

func (o *DisableItemParams) WithItemID(itemID string) *DisableItemParams

WithItemID adds the itemID to the disable item params

func (*DisableItemParams) WithNamespace

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

WithNamespace adds the namespace to the disable item params

func (*DisableItemParams) WithStoreID

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

WithStoreID adds the storeID to the disable item params

func (*DisableItemParams) WithTimeout

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

WithTimeout adds the timeout to the disable item params

func (*DisableItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DisableItemReader

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

DisableItemReader is a Reader for the DisableItem structure.

func (*DisableItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnableItemConflict

type EnableItemConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

EnableItemConflict 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 NewEnableItemConflict

func NewEnableItemConflict() *EnableItemConflict

NewEnableItemConflict creates a EnableItemConflict with default headers values

func (*EnableItemConflict) Error

func (o *EnableItemConflict) Error() string

func (*EnableItemConflict) GetPayload

func (*EnableItemConflict) ToJSONString

func (o *EnableItemConflict) ToJSONString() string

type EnableItemNotFound

type EnableItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

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

func NewEnableItemNotFound

func NewEnableItemNotFound() *EnableItemNotFound

NewEnableItemNotFound creates a EnableItemNotFound with default headers values

func (*EnableItemNotFound) Error

func (o *EnableItemNotFound) Error() string

func (*EnableItemNotFound) GetPayload

func (*EnableItemNotFound) ToJSONString

func (o *EnableItemNotFound) ToJSONString() string

type EnableItemOK

type EnableItemOK struct {
	Payload *platformclientmodels.FullItemInfo
}

EnableItemOK handles this case with default header values.

successful operation

func NewEnableItemOK

func NewEnableItemOK() *EnableItemOK

NewEnableItemOK creates a EnableItemOK with default headers values

func (*EnableItemOK) Error

func (o *EnableItemOK) Error() string

func (*EnableItemOK) GetPayload

func (*EnableItemOK) ToJSONString

func (o *EnableItemOK) ToJSONString() string

type EnableItemParams

type EnableItemParams struct {

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

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

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

EnableItemParams contains all the parameters to send to the API endpoint for the enable item operation typically these are written to a http.Request

func NewEnableItemParams

func NewEnableItemParams() *EnableItemParams

NewEnableItemParams creates a new EnableItemParams object with the default values initialized.

func NewEnableItemParamsWithContext

func NewEnableItemParamsWithContext(ctx context.Context) *EnableItemParams

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

func NewEnableItemParamsWithHTTPClient

func NewEnableItemParamsWithHTTPClient(client *http.Client) *EnableItemParams

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

func NewEnableItemParamsWithTimeout

func NewEnableItemParamsWithTimeout(timeout time.Duration) *EnableItemParams

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

func (*EnableItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the enable item params

func (*EnableItemParams) SetContext

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

SetContext adds the context to the enable item params

func (*EnableItemParams) SetFlightId

func (o *EnableItemParams) SetFlightId(flightId string)

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

func (*EnableItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable item params

func (*EnableItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the enable item params

func (*EnableItemParams) SetItemID

func (o *EnableItemParams) SetItemID(itemID string)

SetItemID adds the itemId to the enable item params

func (*EnableItemParams) SetNamespace

func (o *EnableItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the enable item params

func (*EnableItemParams) SetStoreID

func (o *EnableItemParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the enable item params

func (*EnableItemParams) SetTimeout

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

SetTimeout adds the timeout to the enable item params

func (*EnableItemParams) WithContext

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

WithContext adds the context to the enable item params

func (*EnableItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enable item params

func (*EnableItemParams) WithItemID

func (o *EnableItemParams) WithItemID(itemID string) *EnableItemParams

WithItemID adds the itemID to the enable item params

func (*EnableItemParams) WithNamespace

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

WithNamespace adds the namespace to the enable item params

func (*EnableItemParams) WithStoreID

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

WithStoreID adds the storeID to the enable item params

func (*EnableItemParams) WithTimeout

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

WithTimeout adds the timeout to the enable item params

func (*EnableItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnableItemReader

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

EnableItemReader is a Reader for the EnableItem structure.

func (*EnableItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FeatureItemConflict

type FeatureItemConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

FeatureItemConflict 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 NewFeatureItemConflict

func NewFeatureItemConflict() *FeatureItemConflict

NewFeatureItemConflict creates a FeatureItemConflict with default headers values

func (*FeatureItemConflict) Error

func (o *FeatureItemConflict) Error() string

func (*FeatureItemConflict) GetPayload

func (*FeatureItemConflict) ToJSONString

func (o *FeatureItemConflict) ToJSONString() string

type FeatureItemNotFound

type FeatureItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

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

func NewFeatureItemNotFound

func NewFeatureItemNotFound() *FeatureItemNotFound

NewFeatureItemNotFound creates a FeatureItemNotFound with default headers values

func (*FeatureItemNotFound) Error

func (o *FeatureItemNotFound) Error() string

func (*FeatureItemNotFound) GetPayload

func (*FeatureItemNotFound) ToJSONString

func (o *FeatureItemNotFound) ToJSONString() string

type FeatureItemOK

type FeatureItemOK struct {
	Payload *platformclientmodels.FullItemInfo
}

FeatureItemOK handles this case with default header values.

successful operation

func NewFeatureItemOK

func NewFeatureItemOK() *FeatureItemOK

NewFeatureItemOK creates a FeatureItemOK with default headers values

func (*FeatureItemOK) Error

func (o *FeatureItemOK) Error() string

func (*FeatureItemOK) GetPayload

func (*FeatureItemOK) ToJSONString

func (o *FeatureItemOK) ToJSONString() string

type FeatureItemParams

type FeatureItemParams struct {

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

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

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

FeatureItemParams contains all the parameters to send to the API endpoint for the feature item operation typically these are written to a http.Request

func NewFeatureItemParams

func NewFeatureItemParams() *FeatureItemParams

NewFeatureItemParams creates a new FeatureItemParams object with the default values initialized.

func NewFeatureItemParamsWithContext

func NewFeatureItemParamsWithContext(ctx context.Context) *FeatureItemParams

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

func NewFeatureItemParamsWithHTTPClient

func NewFeatureItemParamsWithHTTPClient(client *http.Client) *FeatureItemParams

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

func NewFeatureItemParamsWithTimeout

func NewFeatureItemParamsWithTimeout(timeout time.Duration) *FeatureItemParams

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

func (*FeatureItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the feature item params

func (*FeatureItemParams) SetContext

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

SetContext adds the context to the feature item params

func (*FeatureItemParams) SetFeature

func (o *FeatureItemParams) SetFeature(feature string)

SetFeature adds the feature to the feature item params

func (*FeatureItemParams) SetFlightId

func (o *FeatureItemParams) SetFlightId(flightId string)

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

func (*FeatureItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the feature item params

func (*FeatureItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the feature item params

func (*FeatureItemParams) SetItemID

func (o *FeatureItemParams) SetItemID(itemID string)

SetItemID adds the itemId to the feature item params

func (*FeatureItemParams) SetNamespace

func (o *FeatureItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the feature item params

func (*FeatureItemParams) SetStoreID

func (o *FeatureItemParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the feature item params

func (*FeatureItemParams) SetTimeout

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

SetTimeout adds the timeout to the feature item params

func (*FeatureItemParams) WithContext

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

WithContext adds the context to the feature item params

func (*FeatureItemParams) WithFeature

func (o *FeatureItemParams) WithFeature(feature string) *FeatureItemParams

WithFeature adds the feature to the feature item params

func (*FeatureItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the feature item params

func (*FeatureItemParams) WithItemID

func (o *FeatureItemParams) WithItemID(itemID string) *FeatureItemParams

WithItemID adds the itemID to the feature item params

func (*FeatureItemParams) WithNamespace

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

WithNamespace adds the namespace to the feature item params

func (*FeatureItemParams) WithStoreID

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

WithStoreID adds the storeID to the feature item params

func (*FeatureItemParams) WithTimeout

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

WithTimeout adds the timeout to the feature item params

func (*FeatureItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FeatureItemReader

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

FeatureItemReader is a Reader for the FeatureItem structure.

func (*FeatureItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAppOK

type GetAppOK struct {
	Payload *platformclientmodels.FullAppInfo
}

GetAppOK handles this case with default header values.

successful operation

func NewGetAppOK

func NewGetAppOK() *GetAppOK

NewGetAppOK creates a GetAppOK with default headers values

func (*GetAppOK) Error

func (o *GetAppOK) Error() string

func (*GetAppOK) GetPayload

func (o *GetAppOK) GetPayload() *platformclientmodels.FullAppInfo

func (*GetAppOK) ToJSONString

func (o *GetAppOK) ToJSONString() string

type GetAppParams

type GetAppParams struct {

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

	*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

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

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

func NewGetAppParams

func NewGetAppParams() *GetAppParams

NewGetAppParams creates a new GetAppParams object with the default values initialized.

func NewGetAppParamsWithContext

func NewGetAppParamsWithContext(ctx context.Context) *GetAppParams

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

func NewGetAppParamsWithHTTPClient

func NewGetAppParamsWithHTTPClient(client *http.Client) *GetAppParams

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

func NewGetAppParamsWithTimeout

func NewGetAppParamsWithTimeout(timeout time.Duration) *GetAppParams

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

func (*GetAppParams) SetActiveOnly

func (o *GetAppParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get app params

func (*GetAppParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get app params

func (*GetAppParams) SetContext

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

SetContext adds the context to the get app params

func (*GetAppParams) SetFlightId

func (o *GetAppParams) SetFlightId(flightId string)

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

func (*GetAppParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get app params

func (*GetAppParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get app params

func (*GetAppParams) SetItemID

func (o *GetAppParams) SetItemID(itemID string)

SetItemID adds the itemId to the get app params

func (*GetAppParams) SetNamespace

func (o *GetAppParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get app params

func (*GetAppParams) SetStoreID

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

SetStoreID adds the storeId to the get app params

func (*GetAppParams) SetTimeout

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

SetTimeout adds the timeout to the get app params

func (*GetAppParams) WithActiveOnly

func (o *GetAppParams) WithActiveOnly(activeOnly *bool) *GetAppParams

WithActiveOnly adds the activeOnly to the get app params

func (*GetAppParams) WithContext

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

WithContext adds the context to the get app params

func (*GetAppParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get app params

func (*GetAppParams) WithItemID

func (o *GetAppParams) WithItemID(itemID string) *GetAppParams

WithItemID adds the itemID to the get app params

func (*GetAppParams) WithNamespace

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

WithNamespace adds the namespace to the get app params

func (*GetAppParams) WithStoreID

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

WithStoreID adds the storeID to the get app params

func (*GetAppParams) WithTimeout

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

WithTimeout adds the timeout to the get app params

func (*GetAppParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAppReader

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

GetAppReader is a Reader for the GetApp structure.

func (*GetAppReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAvailablePredicateTypesNotFound

type GetAvailablePredicateTypesNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetAvailablePredicateTypesNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetAvailablePredicateTypesNotFound

func NewGetAvailablePredicateTypesNotFound() *GetAvailablePredicateTypesNotFound

NewGetAvailablePredicateTypesNotFound creates a GetAvailablePredicateTypesNotFound with default headers values

func (*GetAvailablePredicateTypesNotFound) Error

func (*GetAvailablePredicateTypesNotFound) GetPayload

func (*GetAvailablePredicateTypesNotFound) ToJSONString

func (o *GetAvailablePredicateTypesNotFound) ToJSONString() string

type GetAvailablePredicateTypesOK

type GetAvailablePredicateTypesOK struct {
	Payload []*platformclientmodels.AvailablePredicate
}

GetAvailablePredicateTypesOK handles this case with default header values.

successful operation

func NewGetAvailablePredicateTypesOK

func NewGetAvailablePredicateTypesOK() *GetAvailablePredicateTypesOK

NewGetAvailablePredicateTypesOK creates a GetAvailablePredicateTypesOK with default headers values

func (*GetAvailablePredicateTypesOK) Error

func (*GetAvailablePredicateTypesOK) GetPayload

func (*GetAvailablePredicateTypesOK) ToJSONString

func (o *GetAvailablePredicateTypesOK) ToJSONString() string

type GetAvailablePredicateTypesParams

type GetAvailablePredicateTypesParams struct {

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

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

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

GetAvailablePredicateTypesParams contains all the parameters to send to the API endpoint for the get available predicate types operation typically these are written to a http.Request

func NewGetAvailablePredicateTypesParams

func NewGetAvailablePredicateTypesParams() *GetAvailablePredicateTypesParams

NewGetAvailablePredicateTypesParams creates a new GetAvailablePredicateTypesParams object with the default values initialized.

func NewGetAvailablePredicateTypesParamsWithContext

func NewGetAvailablePredicateTypesParamsWithContext(ctx context.Context) *GetAvailablePredicateTypesParams

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

func NewGetAvailablePredicateTypesParamsWithHTTPClient

func NewGetAvailablePredicateTypesParamsWithHTTPClient(client *http.Client) *GetAvailablePredicateTypesParams

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

func NewGetAvailablePredicateTypesParamsWithTimeout

func NewGetAvailablePredicateTypesParamsWithTimeout(timeout time.Duration) *GetAvailablePredicateTypesParams

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

func (*GetAvailablePredicateTypesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get available predicate types params

func (*GetAvailablePredicateTypesParams) SetContext

SetContext adds the context to the get available predicate types params

func (*GetAvailablePredicateTypesParams) SetFlightId

func (o *GetAvailablePredicateTypesParams) SetFlightId(flightId string)

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

func (*GetAvailablePredicateTypesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get available predicate types params

func (*GetAvailablePredicateTypesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get available predicate types params

func (*GetAvailablePredicateTypesParams) SetNamespace

func (o *GetAvailablePredicateTypesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get available predicate types params

func (*GetAvailablePredicateTypesParams) SetTimeout

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

SetTimeout adds the timeout to the get available predicate types params

func (*GetAvailablePredicateTypesParams) WithContext

WithContext adds the context to the get available predicate types params

func (*GetAvailablePredicateTypesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get available predicate types params

func (*GetAvailablePredicateTypesParams) WithNamespace

WithNamespace adds the namespace to the get available predicate types params

func (*GetAvailablePredicateTypesParams) WithTimeout

WithTimeout adds the timeout to the get available predicate types params

func (*GetAvailablePredicateTypesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAvailablePredicateTypesReader

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

GetAvailablePredicateTypesReader is a Reader for the GetAvailablePredicateTypes structure.

func (*GetAvailablePredicateTypesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBulkItemIDBySkusOK

type GetBulkItemIDBySkusOK struct {
	Payload []*platformclientmodels.ItemID
}

GetBulkItemIDBySkusOK handles this case with default header values.

successful operation

func NewGetBulkItemIDBySkusOK

func NewGetBulkItemIDBySkusOK() *GetBulkItemIDBySkusOK

NewGetBulkItemIDBySkusOK creates a GetBulkItemIDBySkusOK with default headers values

func (*GetBulkItemIDBySkusOK) Error

func (o *GetBulkItemIDBySkusOK) Error() string

func (*GetBulkItemIDBySkusOK) GetPayload

func (*GetBulkItemIDBySkusOK) ToJSONString

func (o *GetBulkItemIDBySkusOK) ToJSONString() string

type GetBulkItemIDBySkusParams

type GetBulkItemIDBySkusParams struct {

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

	*/
	Namespace string
	/*Sku
	  list of sku

	*/
	Sku []string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

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

GetBulkItemIDBySkusParams contains all the parameters to send to the API endpoint for the get bulk item id by skus operation typically these are written to a http.Request

func NewGetBulkItemIDBySkusParams

func NewGetBulkItemIDBySkusParams() *GetBulkItemIDBySkusParams

NewGetBulkItemIDBySkusParams creates a new GetBulkItemIDBySkusParams object with the default values initialized.

func NewGetBulkItemIDBySkusParamsWithContext

func NewGetBulkItemIDBySkusParamsWithContext(ctx context.Context) *GetBulkItemIDBySkusParams

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

func NewGetBulkItemIDBySkusParamsWithHTTPClient

func NewGetBulkItemIDBySkusParamsWithHTTPClient(client *http.Client) *GetBulkItemIDBySkusParams

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

func NewGetBulkItemIDBySkusParamsWithTimeout

func NewGetBulkItemIDBySkusParamsWithTimeout(timeout time.Duration) *GetBulkItemIDBySkusParams

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

func (*GetBulkItemIDBySkusParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) SetContext

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

SetContext adds the context to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) SetFlightId

func (o *GetBulkItemIDBySkusParams) SetFlightId(flightId string)

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

func (*GetBulkItemIDBySkusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) SetNamespace

func (o *GetBulkItemIDBySkusParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) SetSku

func (o *GetBulkItemIDBySkusParams) SetSku(sku []string)

SetSku adds the sku to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) SetStoreID

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

SetStoreID adds the storeId to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) SetTimeout

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

SetTimeout adds the timeout to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) WithContext

WithContext adds the context to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) WithNamespace

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

WithNamespace adds the namespace to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) WithSku

WithSku adds the sku to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) WithStoreID

WithStoreID adds the storeID to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) WithTimeout

WithTimeout adds the timeout to the get bulk item id by skus params

func (*GetBulkItemIDBySkusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBulkItemIDBySkusReader

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

GetBulkItemIDBySkusReader is a Reader for the GetBulkItemIDBySkus structure.

func (*GetBulkItemIDBySkusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEstimatedPriceNotFound

type GetEstimatedPriceNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetEstimatedPriceNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetEstimatedPriceNotFound

func NewGetEstimatedPriceNotFound() *GetEstimatedPriceNotFound

NewGetEstimatedPriceNotFound creates a GetEstimatedPriceNotFound with default headers values

func (*GetEstimatedPriceNotFound) Error

func (o *GetEstimatedPriceNotFound) Error() string

func (*GetEstimatedPriceNotFound) GetPayload

func (*GetEstimatedPriceNotFound) ToJSONString

func (o *GetEstimatedPriceNotFound) ToJSONString() string

type GetEstimatedPriceOK

type GetEstimatedPriceOK struct {
	Payload *platformclientmodels.EstimatedPriceInfo
}

GetEstimatedPriceOK handles this case with default header values.

successful operation

func NewGetEstimatedPriceOK

func NewGetEstimatedPriceOK() *GetEstimatedPriceOK

NewGetEstimatedPriceOK creates a GetEstimatedPriceOK with default headers values

func (*GetEstimatedPriceOK) Error

func (o *GetEstimatedPriceOK) Error() string

func (*GetEstimatedPriceOK) GetPayload

func (*GetEstimatedPriceOK) ToJSONString

func (o *GetEstimatedPriceOK) ToJSONString() string

type GetEstimatedPriceParams

type GetEstimatedPriceParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*Platform*/
	Platform *string
	/*Region*/
	Region *string
	/*StoreID
	  use published store id by default

	*/
	StoreID *string
	/*ItemIds
	  commas separated item ids

	*/
	ItemIds string
	/*UserID*/
	UserID string

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

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

GetEstimatedPriceParams contains all the parameters to send to the API endpoint for the get estimated price operation typically these are written to a http.Request

func NewGetEstimatedPriceParams

func NewGetEstimatedPriceParams() *GetEstimatedPriceParams

NewGetEstimatedPriceParams creates a new GetEstimatedPriceParams object with the default values initialized.

func NewGetEstimatedPriceParamsWithContext

func NewGetEstimatedPriceParamsWithContext(ctx context.Context) *GetEstimatedPriceParams

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

func NewGetEstimatedPriceParamsWithHTTPClient

func NewGetEstimatedPriceParamsWithHTTPClient(client *http.Client) *GetEstimatedPriceParams

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

func NewGetEstimatedPriceParamsWithTimeout

func NewGetEstimatedPriceParamsWithTimeout(timeout time.Duration) *GetEstimatedPriceParams

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

func (*GetEstimatedPriceParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get estimated price params

func (*GetEstimatedPriceParams) SetContext

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

SetContext adds the context to the get estimated price params

func (*GetEstimatedPriceParams) SetFlightId

func (o *GetEstimatedPriceParams) SetFlightId(flightId string)

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

func (*GetEstimatedPriceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get estimated price params

func (*GetEstimatedPriceParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get estimated price params

func (*GetEstimatedPriceParams) SetItemIds

func (o *GetEstimatedPriceParams) SetItemIds(itemIds string)

SetItemIds adds the itemIds to the get estimated price params

func (*GetEstimatedPriceParams) SetNamespace

func (o *GetEstimatedPriceParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get estimated price params

func (*GetEstimatedPriceParams) SetPlatform

func (o *GetEstimatedPriceParams) SetPlatform(platform *string)

SetPlatform adds the platform to the get estimated price params

func (*GetEstimatedPriceParams) SetRegion

func (o *GetEstimatedPriceParams) SetRegion(region *string)

SetRegion adds the region to the get estimated price params

func (*GetEstimatedPriceParams) SetStoreID

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

SetStoreID adds the storeId to the get estimated price params

func (*GetEstimatedPriceParams) SetTimeout

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

SetTimeout adds the timeout to the get estimated price params

func (*GetEstimatedPriceParams) SetUserID

func (o *GetEstimatedPriceParams) SetUserID(userID string)

SetUserID adds the userId to the get estimated price params

func (*GetEstimatedPriceParams) WithContext

WithContext adds the context to the get estimated price params

func (*GetEstimatedPriceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get estimated price params

func (*GetEstimatedPriceParams) WithItemIds

func (o *GetEstimatedPriceParams) WithItemIds(itemIds string) *GetEstimatedPriceParams

WithItemIds adds the itemIds to the get estimated price params

func (*GetEstimatedPriceParams) WithNamespace

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

WithNamespace adds the namespace to the get estimated price params

func (*GetEstimatedPriceParams) WithPlatform

func (o *GetEstimatedPriceParams) WithPlatform(platform *string) *GetEstimatedPriceParams

WithPlatform adds the platform to the get estimated price params

func (*GetEstimatedPriceParams) WithRegion

func (o *GetEstimatedPriceParams) WithRegion(region *string) *GetEstimatedPriceParams

WithRegion adds the region to the get estimated price params

func (*GetEstimatedPriceParams) WithStoreID

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

WithStoreID adds the storeID to the get estimated price params

func (*GetEstimatedPriceParams) WithTimeout

WithTimeout adds the timeout to the get estimated price params

func (*GetEstimatedPriceParams) WithUserID

WithUserID adds the userID to the get estimated price params

func (*GetEstimatedPriceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEstimatedPriceReader

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

GetEstimatedPriceReader is a Reader for the GetEstimatedPrice structure.

func (*GetEstimatedPriceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemByAppIDNotFound

type GetItemByAppIDNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetItemByAppIDNotFound 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>30342</td><td>Item of appId [{appId}] does not exist</td></tr></table>

func NewGetItemByAppIDNotFound

func NewGetItemByAppIDNotFound() *GetItemByAppIDNotFound

NewGetItemByAppIDNotFound creates a GetItemByAppIDNotFound with default headers values

func (*GetItemByAppIDNotFound) Error

func (o *GetItemByAppIDNotFound) Error() string

func (*GetItemByAppIDNotFound) GetPayload

func (*GetItemByAppIDNotFound) ToJSONString

func (o *GetItemByAppIDNotFound) ToJSONString() string

type GetItemByAppIDOK

type GetItemByAppIDOK struct {
	Payload *platformclientmodels.FullItemInfo
}

GetItemByAppIDOK handles this case with default header values.

successful operation

func NewGetItemByAppIDOK

func NewGetItemByAppIDOK() *GetItemByAppIDOK

NewGetItemByAppIDOK creates a GetItemByAppIDOK with default headers values

func (*GetItemByAppIDOK) Error

func (o *GetItemByAppIDOK) Error() string

func (*GetItemByAppIDOK) GetPayload

func (*GetItemByAppIDOK) ToJSONString

func (o *GetItemByAppIDOK) ToJSONString() string

type GetItemByAppIDParams

type GetItemByAppIDParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*AppID*/
	AppID string

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

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

GetItemByAppIDParams contains all the parameters to send to the API endpoint for the get item by app id operation typically these are written to a http.Request

func NewGetItemByAppIDParams

func NewGetItemByAppIDParams() *GetItemByAppIDParams

NewGetItemByAppIDParams creates a new GetItemByAppIDParams object with the default values initialized.

func NewGetItemByAppIDParamsWithContext

func NewGetItemByAppIDParamsWithContext(ctx context.Context) *GetItemByAppIDParams

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

func NewGetItemByAppIDParamsWithHTTPClient

func NewGetItemByAppIDParamsWithHTTPClient(client *http.Client) *GetItemByAppIDParams

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

func NewGetItemByAppIDParamsWithTimeout

func NewGetItemByAppIDParamsWithTimeout(timeout time.Duration) *GetItemByAppIDParams

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

func (*GetItemByAppIDParams) SetActiveOnly

func (o *GetItemByAppIDParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get item by app id params

func (*GetItemByAppIDParams) SetAppID

func (o *GetItemByAppIDParams) SetAppID(appID string)

SetAppID adds the appId to the get item by app id params

func (*GetItemByAppIDParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get item by app id params

func (*GetItemByAppIDParams) SetContext

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

SetContext adds the context to the get item by app id params

func (*GetItemByAppIDParams) SetFlightId

func (o *GetItemByAppIDParams) SetFlightId(flightId string)

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

func (*GetItemByAppIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get item by app id params

func (*GetItemByAppIDParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get item by app id params

func (*GetItemByAppIDParams) SetNamespace

func (o *GetItemByAppIDParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get item by app id params

func (*GetItemByAppIDParams) SetStoreID

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

SetStoreID adds the storeId to the get item by app id params

func (*GetItemByAppIDParams) SetTimeout

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

SetTimeout adds the timeout to the get item by app id params

func (*GetItemByAppIDParams) WithActiveOnly

func (o *GetItemByAppIDParams) WithActiveOnly(activeOnly *bool) *GetItemByAppIDParams

WithActiveOnly adds the activeOnly to the get item by app id params

func (*GetItemByAppIDParams) WithAppID

func (o *GetItemByAppIDParams) WithAppID(appID string) *GetItemByAppIDParams

WithAppID adds the appID to the get item by app id params

func (*GetItemByAppIDParams) WithContext

WithContext adds the context to the get item by app id params

func (*GetItemByAppIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get item by app id params

func (*GetItemByAppIDParams) WithNamespace

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

WithNamespace adds the namespace to the get item by app id params

func (*GetItemByAppIDParams) WithStoreID

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

WithStoreID adds the storeID to the get item by app id params

func (*GetItemByAppIDParams) WithTimeout

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

WithTimeout adds the timeout to the get item by app id params

func (*GetItemByAppIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetItemByAppIDReader

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

GetItemByAppIDReader is a Reader for the GetItemByAppID structure.

func (*GetItemByAppIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemBySkuNotFound

type GetItemBySkuNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetItemBySkuNotFound 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>30343</td><td>Item of sku [{sku}] does not exist</td></tr></table>

func NewGetItemBySkuNotFound

func NewGetItemBySkuNotFound() *GetItemBySkuNotFound

NewGetItemBySkuNotFound creates a GetItemBySkuNotFound with default headers values

func (*GetItemBySkuNotFound) Error

func (o *GetItemBySkuNotFound) Error() string

func (*GetItemBySkuNotFound) GetPayload

func (*GetItemBySkuNotFound) ToJSONString

func (o *GetItemBySkuNotFound) ToJSONString() string

type GetItemBySkuOK

type GetItemBySkuOK struct {
	Payload *platformclientmodels.FullItemInfo
}

GetItemBySkuOK handles this case with default header values.

successful operation

func NewGetItemBySkuOK

func NewGetItemBySkuOK() *GetItemBySkuOK

NewGetItemBySkuOK creates a GetItemBySkuOK with default headers values

func (*GetItemBySkuOK) Error

func (o *GetItemBySkuOK) Error() string

func (*GetItemBySkuOK) GetPayload

func (*GetItemBySkuOK) ToJSONString

func (o *GetItemBySkuOK) ToJSONString() string

type GetItemBySkuParams

type GetItemBySkuParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*Sku*/
	Sku string

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

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

GetItemBySkuParams contains all the parameters to send to the API endpoint for the get item by sku operation typically these are written to a http.Request

func NewGetItemBySkuParams

func NewGetItemBySkuParams() *GetItemBySkuParams

NewGetItemBySkuParams creates a new GetItemBySkuParams object with the default values initialized.

func NewGetItemBySkuParamsWithContext

func NewGetItemBySkuParamsWithContext(ctx context.Context) *GetItemBySkuParams

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

func NewGetItemBySkuParamsWithHTTPClient

func NewGetItemBySkuParamsWithHTTPClient(client *http.Client) *GetItemBySkuParams

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

func NewGetItemBySkuParamsWithTimeout

func NewGetItemBySkuParamsWithTimeout(timeout time.Duration) *GetItemBySkuParams

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

func (*GetItemBySkuParams) SetActiveOnly

func (o *GetItemBySkuParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get item by sku params

func (*GetItemBySkuParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get item by sku params

func (*GetItemBySkuParams) SetContext

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

SetContext adds the context to the get item by sku params

func (*GetItemBySkuParams) SetFlightId

func (o *GetItemBySkuParams) SetFlightId(flightId string)

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

func (*GetItemBySkuParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get item by sku params

func (*GetItemBySkuParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get item by sku params

func (*GetItemBySkuParams) SetNamespace

func (o *GetItemBySkuParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get item by sku params

func (*GetItemBySkuParams) SetSku

func (o *GetItemBySkuParams) SetSku(sku string)

SetSku adds the sku to the get item by sku params

func (*GetItemBySkuParams) SetStoreID

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

SetStoreID adds the storeId to the get item by sku params

func (*GetItemBySkuParams) SetTimeout

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

SetTimeout adds the timeout to the get item by sku params

func (*GetItemBySkuParams) WithActiveOnly

func (o *GetItemBySkuParams) WithActiveOnly(activeOnly *bool) *GetItemBySkuParams

WithActiveOnly adds the activeOnly to the get item by sku params

func (*GetItemBySkuParams) WithContext

WithContext adds the context to the get item by sku params

func (*GetItemBySkuParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get item by sku params

func (*GetItemBySkuParams) WithNamespace

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

WithNamespace adds the namespace to the get item by sku params

func (*GetItemBySkuParams) WithSku

func (o *GetItemBySkuParams) WithSku(sku string) *GetItemBySkuParams

WithSku adds the sku to the get item by sku params

func (*GetItemBySkuParams) WithStoreID

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

WithStoreID adds the storeID to the get item by sku params

func (*GetItemBySkuParams) WithTimeout

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

WithTimeout adds the timeout to the get item by sku params

func (*GetItemBySkuParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetItemBySkuReader

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

GetItemBySkuReader is a Reader for the GetItemBySku structure.

func (*GetItemBySkuReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemDynamicDataNotFound

type GetItemDynamicDataNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetItemDynamicDataNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetItemDynamicDataNotFound

func NewGetItemDynamicDataNotFound() *GetItemDynamicDataNotFound

NewGetItemDynamicDataNotFound creates a GetItemDynamicDataNotFound with default headers values

func (*GetItemDynamicDataNotFound) Error

func (*GetItemDynamicDataNotFound) GetPayload

func (*GetItemDynamicDataNotFound) ToJSONString

func (o *GetItemDynamicDataNotFound) ToJSONString() string

type GetItemDynamicDataOK

type GetItemDynamicDataOK struct {
	Payload *platformclientmodels.ItemDynamicDataInfo
}

GetItemDynamicDataOK handles this case with default header values.

successful operation

func NewGetItemDynamicDataOK

func NewGetItemDynamicDataOK() *GetItemDynamicDataOK

NewGetItemDynamicDataOK creates a GetItemDynamicDataOK with default headers values

func (*GetItemDynamicDataOK) Error

func (o *GetItemDynamicDataOK) Error() string

func (*GetItemDynamicDataOK) GetPayload

func (*GetItemDynamicDataOK) ToJSONString

func (o *GetItemDynamicDataOK) ToJSONString() string

type GetItemDynamicDataParams

type GetItemDynamicDataParams struct {

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

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

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

GetItemDynamicDataParams contains all the parameters to send to the API endpoint for the get item dynamic data operation typically these are written to a http.Request

func NewGetItemDynamicDataParams

func NewGetItemDynamicDataParams() *GetItemDynamicDataParams

NewGetItemDynamicDataParams creates a new GetItemDynamicDataParams object with the default values initialized.

func NewGetItemDynamicDataParamsWithContext

func NewGetItemDynamicDataParamsWithContext(ctx context.Context) *GetItemDynamicDataParams

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

func NewGetItemDynamicDataParamsWithHTTPClient

func NewGetItemDynamicDataParamsWithHTTPClient(client *http.Client) *GetItemDynamicDataParams

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

func NewGetItemDynamicDataParamsWithTimeout

func NewGetItemDynamicDataParamsWithTimeout(timeout time.Duration) *GetItemDynamicDataParams

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

func (*GetItemDynamicDataParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get item dynamic data params

func (*GetItemDynamicDataParams) SetContext

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

SetContext adds the context to the get item dynamic data params

func (*GetItemDynamicDataParams) SetFlightId

func (o *GetItemDynamicDataParams) SetFlightId(flightId string)

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

func (*GetItemDynamicDataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get item dynamic data params

func (*GetItemDynamicDataParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get item dynamic data params

func (*GetItemDynamicDataParams) SetItemID

func (o *GetItemDynamicDataParams) SetItemID(itemID string)

SetItemID adds the itemId to the get item dynamic data params

func (*GetItemDynamicDataParams) SetNamespace

func (o *GetItemDynamicDataParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get item dynamic data params

func (*GetItemDynamicDataParams) SetTimeout

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

SetTimeout adds the timeout to the get item dynamic data params

func (*GetItemDynamicDataParams) WithContext

WithContext adds the context to the get item dynamic data params

func (*GetItemDynamicDataParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get item dynamic data params

func (*GetItemDynamicDataParams) WithItemID

WithItemID adds the itemID to the get item dynamic data params

func (*GetItemDynamicDataParams) WithNamespace

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

WithNamespace adds the namespace to the get item dynamic data params

func (*GetItemDynamicDataParams) WithTimeout

WithTimeout adds the timeout to the get item dynamic data params

func (*GetItemDynamicDataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetItemDynamicDataReader

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

GetItemDynamicDataReader is a Reader for the GetItemDynamicData structure.

func (*GetItemDynamicDataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemIDBySkuNotFound

type GetItemIDBySkuNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetItemIDBySkuNotFound 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>30343</td><td>Item of sku [{sku}] does not exist</td></tr></table>

func NewGetItemIDBySkuNotFound

func NewGetItemIDBySkuNotFound() *GetItemIDBySkuNotFound

NewGetItemIDBySkuNotFound creates a GetItemIDBySkuNotFound with default headers values

func (*GetItemIDBySkuNotFound) Error

func (o *GetItemIDBySkuNotFound) Error() string

func (*GetItemIDBySkuNotFound) GetPayload

func (*GetItemIDBySkuNotFound) ToJSONString

func (o *GetItemIDBySkuNotFound) ToJSONString() string

type GetItemIDBySkuOK

type GetItemIDBySkuOK struct {
	Payload *platformclientmodels.ItemID
}

GetItemIDBySkuOK handles this case with default header values.

successful operation

func NewGetItemIDBySkuOK

func NewGetItemIDBySkuOK() *GetItemIDBySkuOK

NewGetItemIDBySkuOK creates a GetItemIDBySkuOK with default headers values

func (*GetItemIDBySkuOK) Error

func (o *GetItemIDBySkuOK) Error() string

func (*GetItemIDBySkuOK) GetPayload

func (o *GetItemIDBySkuOK) GetPayload() *platformclientmodels.ItemID

func (*GetItemIDBySkuOK) ToJSONString

func (o *GetItemIDBySkuOK) ToJSONString() string

type GetItemIDBySkuParams

type GetItemIDBySkuParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*Sku*/
	Sku string

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

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

GetItemIDBySkuParams contains all the parameters to send to the API endpoint for the get item id by sku operation typically these are written to a http.Request

func NewGetItemIDBySkuParams

func NewGetItemIDBySkuParams() *GetItemIDBySkuParams

NewGetItemIDBySkuParams creates a new GetItemIDBySkuParams object with the default values initialized.

func NewGetItemIDBySkuParamsWithContext

func NewGetItemIDBySkuParamsWithContext(ctx context.Context) *GetItemIDBySkuParams

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

func NewGetItemIDBySkuParamsWithHTTPClient

func NewGetItemIDBySkuParamsWithHTTPClient(client *http.Client) *GetItemIDBySkuParams

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

func NewGetItemIDBySkuParamsWithTimeout

func NewGetItemIDBySkuParamsWithTimeout(timeout time.Duration) *GetItemIDBySkuParams

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

func (*GetItemIDBySkuParams) SetActiveOnly

func (o *GetItemIDBySkuParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get item id by sku params

func (*GetItemIDBySkuParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get item id by sku params

func (*GetItemIDBySkuParams) SetContext

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

SetContext adds the context to the get item id by sku params

func (*GetItemIDBySkuParams) SetFlightId

func (o *GetItemIDBySkuParams) SetFlightId(flightId string)

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

func (*GetItemIDBySkuParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get item id by sku params

func (*GetItemIDBySkuParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get item id by sku params

func (*GetItemIDBySkuParams) SetNamespace

func (o *GetItemIDBySkuParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get item id by sku params

func (*GetItemIDBySkuParams) SetSku

func (o *GetItemIDBySkuParams) SetSku(sku string)

SetSku adds the sku to the get item id by sku params

func (*GetItemIDBySkuParams) SetStoreID

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

SetStoreID adds the storeId to the get item id by sku params

func (*GetItemIDBySkuParams) SetTimeout

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

SetTimeout adds the timeout to the get item id by sku params

func (*GetItemIDBySkuParams) WithActiveOnly

func (o *GetItemIDBySkuParams) WithActiveOnly(activeOnly *bool) *GetItemIDBySkuParams

WithActiveOnly adds the activeOnly to the get item id by sku params

func (*GetItemIDBySkuParams) WithContext

WithContext adds the context to the get item id by sku params

func (*GetItemIDBySkuParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get item id by sku params

func (*GetItemIDBySkuParams) WithNamespace

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

WithNamespace adds the namespace to the get item id by sku params

func (*GetItemIDBySkuParams) WithSku

WithSku adds the sku to the get item id by sku params

func (*GetItemIDBySkuParams) WithStoreID

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

WithStoreID adds the storeID to the get item id by sku params

func (*GetItemIDBySkuParams) WithTimeout

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

WithTimeout adds the timeout to the get item id by sku params

func (*GetItemIDBySkuParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetItemIDBySkuReader

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

GetItemIDBySkuReader is a Reader for the GetItemIDBySku structure.

func (*GetItemIDBySkuReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemNotFound

type GetItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetItemNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetItemNotFound

func NewGetItemNotFound() *GetItemNotFound

NewGetItemNotFound creates a GetItemNotFound with default headers values

func (*GetItemNotFound) Error

func (o *GetItemNotFound) Error() string

func (*GetItemNotFound) GetPayload

func (*GetItemNotFound) ToJSONString

func (o *GetItemNotFound) ToJSONString() string

type GetItemOK

type GetItemOK struct {
	Payload *platformclientmodels.FullItemInfo
}

GetItemOK handles this case with default header values.

successful operation

func NewGetItemOK

func NewGetItemOK() *GetItemOK

NewGetItemOK creates a GetItemOK with default headers values

func (*GetItemOK) Error

func (o *GetItemOK) Error() string

func (*GetItemOK) GetPayload

func (o *GetItemOK) GetPayload() *platformclientmodels.FullItemInfo

func (*GetItemOK) ToJSONString

func (o *GetItemOK) ToJSONString() string

type GetItemParams

type GetItemParams struct {

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

	*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

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

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

func NewGetItemParams

func NewGetItemParams() *GetItemParams

NewGetItemParams creates a new GetItemParams object with the default values initialized.

func NewGetItemParamsWithContext

func NewGetItemParamsWithContext(ctx context.Context) *GetItemParams

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

func NewGetItemParamsWithHTTPClient

func NewGetItemParamsWithHTTPClient(client *http.Client) *GetItemParams

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

func NewGetItemParamsWithTimeout

func NewGetItemParamsWithTimeout(timeout time.Duration) *GetItemParams

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

func (*GetItemParams) SetActiveOnly

func (o *GetItemParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get item params

func (*GetItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get item params

func (*GetItemParams) SetContext

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

SetContext adds the context to the get item params

func (*GetItemParams) SetFlightId

func (o *GetItemParams) SetFlightId(flightId string)

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

func (*GetItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get item params

func (*GetItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get item params

func (*GetItemParams) SetItemID

func (o *GetItemParams) SetItemID(itemID string)

SetItemID adds the itemId to the get item params

func (*GetItemParams) SetNamespace

func (o *GetItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get item params

func (*GetItemParams) SetStoreID

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

SetStoreID adds the storeId to the get item params

func (*GetItemParams) SetTimeout

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

SetTimeout adds the timeout to the get item params

func (*GetItemParams) WithActiveOnly

func (o *GetItemParams) WithActiveOnly(activeOnly *bool) *GetItemParams

WithActiveOnly adds the activeOnly to the get item params

func (*GetItemParams) WithContext

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

WithContext adds the context to the get item params

func (*GetItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get item params

func (*GetItemParams) WithItemID

func (o *GetItemParams) WithItemID(itemID string) *GetItemParams

WithItemID adds the itemID to the get item params

func (*GetItemParams) WithNamespace

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

WithNamespace adds the namespace to the get item params

func (*GetItemParams) WithStoreID

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

WithStoreID adds the storeID to the get item params

func (*GetItemParams) WithTimeout

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

WithTimeout adds the timeout to the get item params

func (*GetItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetItemReader

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

GetItemReader is a Reader for the GetItem structure.

func (*GetItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemTypeConfigNotFound

type GetItemTypeConfigNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetItemTypeConfigNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30541</td><td>Item type config [{id}] doesn't exist</td></tr></table>

func NewGetItemTypeConfigNotFound

func NewGetItemTypeConfigNotFound() *GetItemTypeConfigNotFound

NewGetItemTypeConfigNotFound creates a GetItemTypeConfigNotFound with default headers values

func (*GetItemTypeConfigNotFound) Error

func (o *GetItemTypeConfigNotFound) Error() string

func (*GetItemTypeConfigNotFound) GetPayload

func (*GetItemTypeConfigNotFound) ToJSONString

func (o *GetItemTypeConfigNotFound) ToJSONString() string

type GetItemTypeConfigOK

type GetItemTypeConfigOK struct {
	Payload *platformclientmodels.ItemTypeConfigInfo
}

GetItemTypeConfigOK handles this case with default header values.

successful operation

func NewGetItemTypeConfigOK

func NewGetItemTypeConfigOK() *GetItemTypeConfigOK

NewGetItemTypeConfigOK creates a GetItemTypeConfigOK with default headers values

func (*GetItemTypeConfigOK) Error

func (o *GetItemTypeConfigOK) Error() string

func (*GetItemTypeConfigOK) GetPayload

func (*GetItemTypeConfigOK) ToJSONString

func (o *GetItemTypeConfigOK) ToJSONString() string

type GetItemTypeConfigParams

type GetItemTypeConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ID*/
	ID string

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

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

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

func NewGetItemTypeConfigParams

func NewGetItemTypeConfigParams() *GetItemTypeConfigParams

NewGetItemTypeConfigParams creates a new GetItemTypeConfigParams object with the default values initialized.

func NewGetItemTypeConfigParamsWithContext

func NewGetItemTypeConfigParamsWithContext(ctx context.Context) *GetItemTypeConfigParams

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

func NewGetItemTypeConfigParamsWithHTTPClient

func NewGetItemTypeConfigParamsWithHTTPClient(client *http.Client) *GetItemTypeConfigParams

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

func NewGetItemTypeConfigParamsWithTimeout

func NewGetItemTypeConfigParamsWithTimeout(timeout time.Duration) *GetItemTypeConfigParams

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

func (*GetItemTypeConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get item type config params

func (*GetItemTypeConfigParams) SetContext

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

SetContext adds the context to the get item type config params

func (*GetItemTypeConfigParams) SetFlightId

func (o *GetItemTypeConfigParams) SetFlightId(flightId string)

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

func (*GetItemTypeConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get item type config params

func (*GetItemTypeConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get item type config params

func (*GetItemTypeConfigParams) SetID

func (o *GetItemTypeConfigParams) SetID(idVar string)

SetID adds the id to the get item type config params

func (*GetItemTypeConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get item type config params

func (*GetItemTypeConfigParams) WithContext

WithContext adds the context to the get item type config params

func (*GetItemTypeConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get item type config params

func (*GetItemTypeConfigParams) WithID

WithID adds the idVar to the get item type config params

func (*GetItemTypeConfigParams) WithTimeout

WithTimeout adds the timeout to the get item type config params

func (*GetItemTypeConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetItemTypeConfigReader

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

GetItemTypeConfigReader is a Reader for the GetItemTypeConfig structure.

func (*GetItemTypeConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemsNotFound

type GetItemsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetItemsNotFound 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 NewGetItemsNotFound

func NewGetItemsNotFound() *GetItemsNotFound

NewGetItemsNotFound creates a GetItemsNotFound with default headers values

func (*GetItemsNotFound) Error

func (o *GetItemsNotFound) Error() string

func (*GetItemsNotFound) GetPayload

func (*GetItemsNotFound) ToJSONString

func (o *GetItemsNotFound) ToJSONString() string

type GetItemsOK

type GetItemsOK struct {
	Payload []*platformclientmodels.FullItemInfo
}

GetItemsOK handles this case with default header values.

successful operation

func NewGetItemsOK

func NewGetItemsOK() *GetItemsOK

NewGetItemsOK creates a GetItemsOK with default headers values

func (*GetItemsOK) Error

func (o *GetItemsOK) Error() string

func (*GetItemsOK) GetPayload

func (o *GetItemsOK) GetPayload() []*platformclientmodels.FullItemInfo

func (*GetItemsOK) ToJSONString

func (o *GetItemsOK) ToJSONString() string

type GetItemsParams

type GetItemsParams struct {

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

	*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*ItemIds
	  commas separated item ids

	*/
	ItemIds string

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

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

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

func NewGetItemsParams

func NewGetItemsParams() *GetItemsParams

NewGetItemsParams creates a new GetItemsParams object with the default values initialized.

func NewGetItemsParamsWithContext

func NewGetItemsParamsWithContext(ctx context.Context) *GetItemsParams

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

func NewGetItemsParamsWithHTTPClient

func NewGetItemsParamsWithHTTPClient(client *http.Client) *GetItemsParams

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

func NewGetItemsParamsWithTimeout

func NewGetItemsParamsWithTimeout(timeout time.Duration) *GetItemsParams

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

func (*GetItemsParams) SetActiveOnly

func (o *GetItemsParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get items params

func (*GetItemsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get items params

func (*GetItemsParams) SetContext

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

SetContext adds the context to the get items params

func (*GetItemsParams) SetFlightId

func (o *GetItemsParams) SetFlightId(flightId string)

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

func (*GetItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get items params

func (*GetItemsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get items params

func (*GetItemsParams) SetItemIds

func (o *GetItemsParams) SetItemIds(itemIds string)

SetItemIds adds the itemIds to the get items params

func (*GetItemsParams) SetNamespace

func (o *GetItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get items params

func (*GetItemsParams) SetStoreID

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

SetStoreID adds the storeId to the get items params

func (*GetItemsParams) SetTimeout

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

SetTimeout adds the timeout to the get items params

func (*GetItemsParams) WithActiveOnly

func (o *GetItemsParams) WithActiveOnly(activeOnly *bool) *GetItemsParams

WithActiveOnly adds the activeOnly to the get items params

func (*GetItemsParams) WithContext

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

WithContext adds the context to the get items params

func (*GetItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get items params

func (*GetItemsParams) WithItemIds

func (o *GetItemsParams) WithItemIds(itemIds string) *GetItemsParams

WithItemIds adds the itemIds to the get items params

func (*GetItemsParams) WithNamespace

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

WithNamespace adds the namespace to the get items params

func (*GetItemsParams) WithStoreID

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

WithStoreID adds the storeID to the get items params

func (*GetItemsParams) WithTimeout

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

WithTimeout adds the timeout to the get items params

func (*GetItemsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetItemsReader

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

GetItemsReader is a Reader for the GetItems structure.

func (*GetItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLocaleItemBySkuNotFound

type GetLocaleItemBySkuNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetLocaleItemBySkuNotFound 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>30343</td><td>Item of sku [{sku}] does not exist</td></tr></table>

func NewGetLocaleItemBySkuNotFound

func NewGetLocaleItemBySkuNotFound() *GetLocaleItemBySkuNotFound

NewGetLocaleItemBySkuNotFound creates a GetLocaleItemBySkuNotFound with default headers values

func (*GetLocaleItemBySkuNotFound) Error

func (*GetLocaleItemBySkuNotFound) GetPayload

func (*GetLocaleItemBySkuNotFound) ToJSONString

func (o *GetLocaleItemBySkuNotFound) ToJSONString() string

type GetLocaleItemBySkuOK

type GetLocaleItemBySkuOK struct {
	Payload *platformclientmodels.PopulatedItemInfo
}

GetLocaleItemBySkuOK handles this case with default header values.

successful operation

func NewGetLocaleItemBySkuOK

func NewGetLocaleItemBySkuOK() *GetLocaleItemBySkuOK

NewGetLocaleItemBySkuOK creates a GetLocaleItemBySkuOK with default headers values

func (*GetLocaleItemBySkuOK) Error

func (o *GetLocaleItemBySkuOK) Error() string

func (*GetLocaleItemBySkuOK) GetPayload

func (*GetLocaleItemBySkuOK) ToJSONString

func (o *GetLocaleItemBySkuOK) ToJSONString() string

type GetLocaleItemBySkuParams

type GetLocaleItemBySkuParams struct {

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

	*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*Language*/
	Language *string
	/*PopulateBundle
	  whether populate bundled items if it's a bundle

	*/
	PopulateBundle *bool
	/*Region*/
	Region *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*Sku*/
	Sku string

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

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

GetLocaleItemBySkuParams contains all the parameters to send to the API endpoint for the get locale item by sku operation typically these are written to a http.Request

func NewGetLocaleItemBySkuParams

func NewGetLocaleItemBySkuParams() *GetLocaleItemBySkuParams

NewGetLocaleItemBySkuParams creates a new GetLocaleItemBySkuParams object with the default values initialized.

func NewGetLocaleItemBySkuParamsWithContext

func NewGetLocaleItemBySkuParamsWithContext(ctx context.Context) *GetLocaleItemBySkuParams

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

func NewGetLocaleItemBySkuParamsWithHTTPClient

func NewGetLocaleItemBySkuParamsWithHTTPClient(client *http.Client) *GetLocaleItemBySkuParams

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

func NewGetLocaleItemBySkuParamsWithTimeout

func NewGetLocaleItemBySkuParamsWithTimeout(timeout time.Duration) *GetLocaleItemBySkuParams

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

func (*GetLocaleItemBySkuParams) SetActiveOnly

func (o *GetLocaleItemBySkuParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get locale item by sku params

func (*GetLocaleItemBySkuParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get locale item by sku params

func (*GetLocaleItemBySkuParams) SetContext

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

SetContext adds the context to the get locale item by sku params

func (*GetLocaleItemBySkuParams) SetFlightId

func (o *GetLocaleItemBySkuParams) SetFlightId(flightId string)

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

func (*GetLocaleItemBySkuParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get locale item by sku params

func (*GetLocaleItemBySkuParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get locale item by sku params

func (*GetLocaleItemBySkuParams) SetLanguage

func (o *GetLocaleItemBySkuParams) SetLanguage(language *string)

SetLanguage adds the language to the get locale item by sku params

func (*GetLocaleItemBySkuParams) SetNamespace

func (o *GetLocaleItemBySkuParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get locale item by sku params

func (*GetLocaleItemBySkuParams) SetPopulateBundle

func (o *GetLocaleItemBySkuParams) SetPopulateBundle(populateBundle *bool)

SetPopulateBundle adds the populateBundle to the get locale item by sku params

func (*GetLocaleItemBySkuParams) SetRegion

func (o *GetLocaleItemBySkuParams) SetRegion(region *string)

SetRegion adds the region to the get locale item by sku params

func (*GetLocaleItemBySkuParams) SetSku

func (o *GetLocaleItemBySkuParams) SetSku(sku string)

SetSku adds the sku to the get locale item by sku params

func (*GetLocaleItemBySkuParams) SetStoreID

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

SetStoreID adds the storeId to the get locale item by sku params

func (*GetLocaleItemBySkuParams) SetTimeout

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

SetTimeout adds the timeout to the get locale item by sku params

func (*GetLocaleItemBySkuParams) WithActiveOnly

func (o *GetLocaleItemBySkuParams) WithActiveOnly(activeOnly *bool) *GetLocaleItemBySkuParams

WithActiveOnly adds the activeOnly to the get locale item by sku params

func (*GetLocaleItemBySkuParams) WithContext

WithContext adds the context to the get locale item by sku params

func (*GetLocaleItemBySkuParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get locale item by sku params

func (*GetLocaleItemBySkuParams) WithLanguage

func (o *GetLocaleItemBySkuParams) WithLanguage(language *string) *GetLocaleItemBySkuParams

WithLanguage adds the language to the get locale item by sku params

func (*GetLocaleItemBySkuParams) WithNamespace

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

WithNamespace adds the namespace to the get locale item by sku params

func (*GetLocaleItemBySkuParams) WithPopulateBundle

func (o *GetLocaleItemBySkuParams) WithPopulateBundle(populateBundle *bool) *GetLocaleItemBySkuParams

WithPopulateBundle adds the populateBundle to the get locale item by sku params

func (*GetLocaleItemBySkuParams) WithRegion

WithRegion adds the region to the get locale item by sku params

func (*GetLocaleItemBySkuParams) WithSku

WithSku adds the sku to the get locale item by sku params

func (*GetLocaleItemBySkuParams) WithStoreID

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

WithStoreID adds the storeID to the get locale item by sku params

func (*GetLocaleItemBySkuParams) WithTimeout

WithTimeout adds the timeout to the get locale item by sku params

func (*GetLocaleItemBySkuParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLocaleItemBySkuReader

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

GetLocaleItemBySkuReader is a Reader for the GetLocaleItemBySku structure.

func (*GetLocaleItemBySkuReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLocaleItemNotFound

type GetLocaleItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetLocaleItemNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetLocaleItemNotFound

func NewGetLocaleItemNotFound() *GetLocaleItemNotFound

NewGetLocaleItemNotFound creates a GetLocaleItemNotFound with default headers values

func (*GetLocaleItemNotFound) Error

func (o *GetLocaleItemNotFound) Error() string

func (*GetLocaleItemNotFound) GetPayload

func (*GetLocaleItemNotFound) ToJSONString

func (o *GetLocaleItemNotFound) ToJSONString() string

type GetLocaleItemOK

type GetLocaleItemOK struct {
	Payload *platformclientmodels.PopulatedItemInfo
}

GetLocaleItemOK handles this case with default header values.

successful operation

func NewGetLocaleItemOK

func NewGetLocaleItemOK() *GetLocaleItemOK

NewGetLocaleItemOK creates a GetLocaleItemOK with default headers values

func (*GetLocaleItemOK) Error

func (o *GetLocaleItemOK) Error() string

func (*GetLocaleItemOK) GetPayload

func (*GetLocaleItemOK) ToJSONString

func (o *GetLocaleItemOK) ToJSONString() string

type GetLocaleItemParams

type GetLocaleItemParams struct {

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

	*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*Language*/
	Language *string
	/*PopulateBundle
	  whether populate bundled items if it's a bundle

	*/
	PopulateBundle *bool
	/*Region*/
	Region *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

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

GetLocaleItemParams contains all the parameters to send to the API endpoint for the get locale item operation typically these are written to a http.Request

func NewGetLocaleItemParams

func NewGetLocaleItemParams() *GetLocaleItemParams

NewGetLocaleItemParams creates a new GetLocaleItemParams object with the default values initialized.

func NewGetLocaleItemParamsWithContext

func NewGetLocaleItemParamsWithContext(ctx context.Context) *GetLocaleItemParams

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

func NewGetLocaleItemParamsWithHTTPClient

func NewGetLocaleItemParamsWithHTTPClient(client *http.Client) *GetLocaleItemParams

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

func NewGetLocaleItemParamsWithTimeout

func NewGetLocaleItemParamsWithTimeout(timeout time.Duration) *GetLocaleItemParams

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

func (*GetLocaleItemParams) SetActiveOnly

func (o *GetLocaleItemParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get locale item params

func (*GetLocaleItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get locale item params

func (*GetLocaleItemParams) SetContext

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

SetContext adds the context to the get locale item params

func (*GetLocaleItemParams) SetFlightId

func (o *GetLocaleItemParams) SetFlightId(flightId string)

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

func (*GetLocaleItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get locale item params

func (*GetLocaleItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get locale item params

func (*GetLocaleItemParams) SetItemID

func (o *GetLocaleItemParams) SetItemID(itemID string)

SetItemID adds the itemId to the get locale item params

func (*GetLocaleItemParams) SetLanguage

func (o *GetLocaleItemParams) SetLanguage(language *string)

SetLanguage adds the language to the get locale item params

func (*GetLocaleItemParams) SetNamespace

func (o *GetLocaleItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get locale item params

func (*GetLocaleItemParams) SetPopulateBundle

func (o *GetLocaleItemParams) SetPopulateBundle(populateBundle *bool)

SetPopulateBundle adds the populateBundle to the get locale item params

func (*GetLocaleItemParams) SetRegion

func (o *GetLocaleItemParams) SetRegion(region *string)

SetRegion adds the region to the get locale item params

func (*GetLocaleItemParams) SetStoreID

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

SetStoreID adds the storeId to the get locale item params

func (*GetLocaleItemParams) SetTimeout

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

SetTimeout adds the timeout to the get locale item params

func (*GetLocaleItemParams) WithActiveOnly

func (o *GetLocaleItemParams) WithActiveOnly(activeOnly *bool) *GetLocaleItemParams

WithActiveOnly adds the activeOnly to the get locale item params

func (*GetLocaleItemParams) WithContext

WithContext adds the context to the get locale item params

func (*GetLocaleItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get locale item params

func (*GetLocaleItemParams) WithItemID

func (o *GetLocaleItemParams) WithItemID(itemID string) *GetLocaleItemParams

WithItemID adds the itemID to the get locale item params

func (*GetLocaleItemParams) WithLanguage

func (o *GetLocaleItemParams) WithLanguage(language *string) *GetLocaleItemParams

WithLanguage adds the language to the get locale item params

func (*GetLocaleItemParams) WithNamespace

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

WithNamespace adds the namespace to the get locale item params

func (*GetLocaleItemParams) WithPopulateBundle

func (o *GetLocaleItemParams) WithPopulateBundle(populateBundle *bool) *GetLocaleItemParams

WithPopulateBundle adds the populateBundle to the get locale item params

func (*GetLocaleItemParams) WithRegion

func (o *GetLocaleItemParams) WithRegion(region *string) *GetLocaleItemParams

WithRegion adds the region to the get locale item params

func (*GetLocaleItemParams) WithStoreID

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

WithStoreID adds the storeID to the get locale item params

func (*GetLocaleItemParams) WithTimeout

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

WithTimeout adds the timeout to the get locale item params

func (*GetLocaleItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLocaleItemReader

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

GetLocaleItemReader is a Reader for the GetLocaleItem structure.

func (*GetLocaleItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListBasicItemsByFeaturesOK

type ListBasicItemsByFeaturesOK struct {
	Payload []*platformclientmodels.BasicItem
}

ListBasicItemsByFeaturesOK handles this case with default header values.

successful operation

func NewListBasicItemsByFeaturesOK

func NewListBasicItemsByFeaturesOK() *ListBasicItemsByFeaturesOK

NewListBasicItemsByFeaturesOK creates a ListBasicItemsByFeaturesOK with default headers values

func (*ListBasicItemsByFeaturesOK) Error

func (*ListBasicItemsByFeaturesOK) GetPayload

func (*ListBasicItemsByFeaturesOK) ToJSONString

func (o *ListBasicItemsByFeaturesOK) ToJSONString() string

type ListBasicItemsByFeaturesParams

type ListBasicItemsByFeaturesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*Features
	  features

	*/
	Features []string

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

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

ListBasicItemsByFeaturesParams contains all the parameters to send to the API endpoint for the list basic items by features operation typically these are written to a http.Request

func NewListBasicItemsByFeaturesParams

func NewListBasicItemsByFeaturesParams() *ListBasicItemsByFeaturesParams

NewListBasicItemsByFeaturesParams creates a new ListBasicItemsByFeaturesParams object with the default values initialized.

func NewListBasicItemsByFeaturesParamsWithContext

func NewListBasicItemsByFeaturesParamsWithContext(ctx context.Context) *ListBasicItemsByFeaturesParams

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

func NewListBasicItemsByFeaturesParamsWithHTTPClient

func NewListBasicItemsByFeaturesParamsWithHTTPClient(client *http.Client) *ListBasicItemsByFeaturesParams

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

func NewListBasicItemsByFeaturesParamsWithTimeout

func NewListBasicItemsByFeaturesParamsWithTimeout(timeout time.Duration) *ListBasicItemsByFeaturesParams

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

func (*ListBasicItemsByFeaturesParams) SetActiveOnly

func (o *ListBasicItemsByFeaturesParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) SetContext

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

SetContext adds the context to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) SetFeatures

func (o *ListBasicItemsByFeaturesParams) SetFeatures(features []string)

SetFeatures adds the features to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) SetFlightId

func (o *ListBasicItemsByFeaturesParams) SetFlightId(flightId string)

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

func (*ListBasicItemsByFeaturesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) SetNamespace

func (o *ListBasicItemsByFeaturesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) SetTimeout

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

SetTimeout adds the timeout to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) WithActiveOnly

func (o *ListBasicItemsByFeaturesParams) WithActiveOnly(activeOnly *bool) *ListBasicItemsByFeaturesParams

WithActiveOnly adds the activeOnly to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) WithContext

WithContext adds the context to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) WithFeatures

WithFeatures adds the features to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) WithNamespace

WithNamespace adds the namespace to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) WithTimeout

WithTimeout adds the timeout to the list basic items by features params

func (*ListBasicItemsByFeaturesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListBasicItemsByFeaturesReader

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

ListBasicItemsByFeaturesReader is a Reader for the ListBasicItemsByFeatures structure.

func (*ListBasicItemsByFeaturesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListItemTypeConfigsOK

type ListItemTypeConfigsOK struct {
	Payload []*platformclientmodels.ItemTypeConfigInfo
}

ListItemTypeConfigsOK handles this case with default header values.

successful operation

func NewListItemTypeConfigsOK

func NewListItemTypeConfigsOK() *ListItemTypeConfigsOK

NewListItemTypeConfigsOK creates a ListItemTypeConfigsOK with default headers values

func (*ListItemTypeConfigsOK) Error

func (o *ListItemTypeConfigsOK) Error() string

func (*ListItemTypeConfigsOK) GetPayload

func (*ListItemTypeConfigsOK) ToJSONString

func (o *ListItemTypeConfigsOK) ToJSONString() string

type ListItemTypeConfigsParams

type ListItemTypeConfigsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

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

ListItemTypeConfigsParams contains all the parameters to send to the API endpoint for the list item type configs operation typically these are written to a http.Request

func NewListItemTypeConfigsParams

func NewListItemTypeConfigsParams() *ListItemTypeConfigsParams

NewListItemTypeConfigsParams creates a new ListItemTypeConfigsParams object with the default values initialized.

func NewListItemTypeConfigsParamsWithContext

func NewListItemTypeConfigsParamsWithContext(ctx context.Context) *ListItemTypeConfigsParams

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

func NewListItemTypeConfigsParamsWithHTTPClient

func NewListItemTypeConfigsParamsWithHTTPClient(client *http.Client) *ListItemTypeConfigsParams

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

func NewListItemTypeConfigsParamsWithTimeout

func NewListItemTypeConfigsParamsWithTimeout(timeout time.Duration) *ListItemTypeConfigsParams

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

func (*ListItemTypeConfigsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the list item type configs params

func (*ListItemTypeConfigsParams) SetContext

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

SetContext adds the context to the list item type configs params

func (*ListItemTypeConfigsParams) SetFlightId

func (o *ListItemTypeConfigsParams) SetFlightId(flightId string)

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

func (*ListItemTypeConfigsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list item type configs params

func (*ListItemTypeConfigsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the list item type configs params

func (*ListItemTypeConfigsParams) SetTimeout

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

SetTimeout adds the timeout to the list item type configs params

func (*ListItemTypeConfigsParams) WithContext

WithContext adds the context to the list item type configs params

func (*ListItemTypeConfigsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list item type configs params

func (*ListItemTypeConfigsParams) WithTimeout

WithTimeout adds the timeout to the list item type configs params

func (*ListItemTypeConfigsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListItemTypeConfigsReader

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

ListItemTypeConfigsReader is a Reader for the ListItemTypeConfigs structure.

func (*ListItemTypeConfigsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicBulkGetItemsNotFound

type PublicBulkGetItemsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicBulkGetItemsNotFound 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 NewPublicBulkGetItemsNotFound

func NewPublicBulkGetItemsNotFound() *PublicBulkGetItemsNotFound

NewPublicBulkGetItemsNotFound creates a PublicBulkGetItemsNotFound with default headers values

func (*PublicBulkGetItemsNotFound) Error

func (*PublicBulkGetItemsNotFound) GetPayload

func (*PublicBulkGetItemsNotFound) ToJSONString

func (o *PublicBulkGetItemsNotFound) ToJSONString() string

type PublicBulkGetItemsOK

type PublicBulkGetItemsOK struct {
	Payload []*platformclientmodels.ItemInfo
}

PublicBulkGetItemsOK handles this case with default header values.

successful operation

func NewPublicBulkGetItemsOK

func NewPublicBulkGetItemsOK() *PublicBulkGetItemsOK

NewPublicBulkGetItemsOK creates a PublicBulkGetItemsOK with default headers values

func (*PublicBulkGetItemsOK) Error

func (o *PublicBulkGetItemsOK) Error() string

func (*PublicBulkGetItemsOK) GetPayload

func (*PublicBulkGetItemsOK) ToJSONString

func (o *PublicBulkGetItemsOK) ToJSONString() string

type PublicBulkGetItemsParams

type PublicBulkGetItemsParams struct {

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

	*/
	Namespace string
	/*AutoCalcEstimatedPrice*/
	AutoCalcEstimatedPrice *bool
	/*Language*/
	Language *string
	/*Region*/
	Region *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*ItemIds
	  commas separated item ids

	*/
	ItemIds string

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

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

PublicBulkGetItemsParams contains all the parameters to send to the API endpoint for the public bulk get items operation typically these are written to a http.Request

func NewPublicBulkGetItemsParams

func NewPublicBulkGetItemsParams() *PublicBulkGetItemsParams

NewPublicBulkGetItemsParams creates a new PublicBulkGetItemsParams object with the default values initialized.

func NewPublicBulkGetItemsParamsWithContext

func NewPublicBulkGetItemsParamsWithContext(ctx context.Context) *PublicBulkGetItemsParams

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

func NewPublicBulkGetItemsParamsWithHTTPClient

func NewPublicBulkGetItemsParamsWithHTTPClient(client *http.Client) *PublicBulkGetItemsParams

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

func NewPublicBulkGetItemsParamsWithTimeout

func NewPublicBulkGetItemsParamsWithTimeout(timeout time.Duration) *PublicBulkGetItemsParams

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

func (*PublicBulkGetItemsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public bulk get items params

func (*PublicBulkGetItemsParams) SetAutoCalcEstimatedPrice

func (o *PublicBulkGetItemsParams) SetAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool)

SetAutoCalcEstimatedPrice adds the autoCalcEstimatedPrice to the public bulk get items params

func (*PublicBulkGetItemsParams) SetContext

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

SetContext adds the context to the public bulk get items params

func (*PublicBulkGetItemsParams) SetFlightId

func (o *PublicBulkGetItemsParams) SetFlightId(flightId string)

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

func (*PublicBulkGetItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public bulk get items params

func (*PublicBulkGetItemsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public bulk get items params

func (*PublicBulkGetItemsParams) SetItemIds

func (o *PublicBulkGetItemsParams) SetItemIds(itemIds string)

SetItemIds adds the itemIds to the public bulk get items params

func (*PublicBulkGetItemsParams) SetLanguage

func (o *PublicBulkGetItemsParams) SetLanguage(language *string)

SetLanguage adds the language to the public bulk get items params

func (*PublicBulkGetItemsParams) SetNamespace

func (o *PublicBulkGetItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public bulk get items params

func (*PublicBulkGetItemsParams) SetRegion

func (o *PublicBulkGetItemsParams) SetRegion(region *string)

SetRegion adds the region to the public bulk get items params

func (*PublicBulkGetItemsParams) SetStoreID

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

SetStoreID adds the storeId to the public bulk get items params

func (*PublicBulkGetItemsParams) SetTimeout

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

SetTimeout adds the timeout to the public bulk get items params

func (*PublicBulkGetItemsParams) WithAutoCalcEstimatedPrice

func (o *PublicBulkGetItemsParams) WithAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool) *PublicBulkGetItemsParams

WithAutoCalcEstimatedPrice adds the autoCalcEstimatedPrice to the public bulk get items params

func (*PublicBulkGetItemsParams) WithContext

WithContext adds the context to the public bulk get items params

func (*PublicBulkGetItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public bulk get items params

func (*PublicBulkGetItemsParams) WithItemIds

func (o *PublicBulkGetItemsParams) WithItemIds(itemIds string) *PublicBulkGetItemsParams

WithItemIds adds the itemIds to the public bulk get items params

func (*PublicBulkGetItemsParams) WithLanguage

func (o *PublicBulkGetItemsParams) WithLanguage(language *string) *PublicBulkGetItemsParams

WithLanguage adds the language to the public bulk get items params

func (*PublicBulkGetItemsParams) WithNamespace

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

WithNamespace adds the namespace to the public bulk get items params

func (*PublicBulkGetItemsParams) WithRegion

WithRegion adds the region to the public bulk get items params

func (*PublicBulkGetItemsParams) WithStoreID

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

WithStoreID adds the storeID to the public bulk get items params

func (*PublicBulkGetItemsParams) WithTimeout

WithTimeout adds the timeout to the public bulk get items params

func (*PublicBulkGetItemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicBulkGetItemsReader

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

PublicBulkGetItemsReader is a Reader for the PublicBulkGetItems structure.

func (*PublicBulkGetItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetAppNotFound

type PublicGetAppNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetAppNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPublicGetAppNotFound

func NewPublicGetAppNotFound() *PublicGetAppNotFound

NewPublicGetAppNotFound creates a PublicGetAppNotFound with default headers values

func (*PublicGetAppNotFound) Error

func (o *PublicGetAppNotFound) Error() string

func (*PublicGetAppNotFound) GetPayload

func (*PublicGetAppNotFound) ToJSONString

func (o *PublicGetAppNotFound) ToJSONString() string

type PublicGetAppOK

type PublicGetAppOK struct {
	Payload *platformclientmodels.AppInfo
}

PublicGetAppOK handles this case with default header values.

successful operation

func NewPublicGetAppOK

func NewPublicGetAppOK() *PublicGetAppOK

NewPublicGetAppOK creates a PublicGetAppOK with default headers values

func (*PublicGetAppOK) Error

func (o *PublicGetAppOK) Error() string

func (*PublicGetAppOK) GetPayload

func (o *PublicGetAppOK) GetPayload() *platformclientmodels.AppInfo

func (*PublicGetAppOK) ToJSONString

func (o *PublicGetAppOK) ToJSONString() string

type PublicGetAppParams

type PublicGetAppParams struct {

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

	*/
	Namespace string
	/*Language*/
	Language *string
	/*Region*/
	Region *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

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

PublicGetAppParams contains all the parameters to send to the API endpoint for the public get app operation typically these are written to a http.Request

func NewPublicGetAppParams

func NewPublicGetAppParams() *PublicGetAppParams

NewPublicGetAppParams creates a new PublicGetAppParams object with the default values initialized.

func NewPublicGetAppParamsWithContext

func NewPublicGetAppParamsWithContext(ctx context.Context) *PublicGetAppParams

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

func NewPublicGetAppParamsWithHTTPClient

func NewPublicGetAppParamsWithHTTPClient(client *http.Client) *PublicGetAppParams

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

func NewPublicGetAppParamsWithTimeout

func NewPublicGetAppParamsWithTimeout(timeout time.Duration) *PublicGetAppParams

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

func (*PublicGetAppParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get app params

func (*PublicGetAppParams) SetContext

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

SetContext adds the context to the public get app params

func (*PublicGetAppParams) SetFlightId

func (o *PublicGetAppParams) SetFlightId(flightId string)

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

func (*PublicGetAppParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get app params

func (*PublicGetAppParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get app params

func (*PublicGetAppParams) SetItemID

func (o *PublicGetAppParams) SetItemID(itemID string)

SetItemID adds the itemId to the public get app params

func (*PublicGetAppParams) SetLanguage

func (o *PublicGetAppParams) SetLanguage(language *string)

SetLanguage adds the language to the public get app params

func (*PublicGetAppParams) SetNamespace

func (o *PublicGetAppParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get app params

func (*PublicGetAppParams) SetRegion

func (o *PublicGetAppParams) SetRegion(region *string)

SetRegion adds the region to the public get app params

func (*PublicGetAppParams) SetStoreID

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

SetStoreID adds the storeId to the public get app params

func (*PublicGetAppParams) SetTimeout

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

SetTimeout adds the timeout to the public get app params

func (*PublicGetAppParams) WithContext

WithContext adds the context to the public get app params

func (*PublicGetAppParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public get app params

func (*PublicGetAppParams) WithItemID

func (o *PublicGetAppParams) WithItemID(itemID string) *PublicGetAppParams

WithItemID adds the itemID to the public get app params

func (*PublicGetAppParams) WithLanguage

func (o *PublicGetAppParams) WithLanguage(language *string) *PublicGetAppParams

WithLanguage adds the language to the public get app params

func (*PublicGetAppParams) WithNamespace

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

WithNamespace adds the namespace to the public get app params

func (*PublicGetAppParams) WithRegion

func (o *PublicGetAppParams) WithRegion(region *string) *PublicGetAppParams

WithRegion adds the region to the public get app params

func (*PublicGetAppParams) WithStoreID

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

WithStoreID adds the storeID to the public get app params

func (*PublicGetAppParams) WithTimeout

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

WithTimeout adds the timeout to the public get app params

func (*PublicGetAppParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PublicGetAppReader

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

PublicGetAppReader is a Reader for the PublicGetApp structure.

func (*PublicGetAppReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetEstimatedPriceNotFound

type PublicGetEstimatedPriceNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetEstimatedPriceNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPublicGetEstimatedPriceNotFound

func NewPublicGetEstimatedPriceNotFound() *PublicGetEstimatedPriceNotFound

NewPublicGetEstimatedPriceNotFound creates a PublicGetEstimatedPriceNotFound with default headers values

func (*PublicGetEstimatedPriceNotFound) Error

func (*PublicGetEstimatedPriceNotFound) GetPayload

func (*PublicGetEstimatedPriceNotFound) ToJSONString

func (o *PublicGetEstimatedPriceNotFound) ToJSONString() string

type PublicGetEstimatedPriceOK

type PublicGetEstimatedPriceOK struct {
	Payload []*platformclientmodels.EstimatedPriceInfo
}

PublicGetEstimatedPriceOK handles this case with default header values.

successful operation

func NewPublicGetEstimatedPriceOK

func NewPublicGetEstimatedPriceOK() *PublicGetEstimatedPriceOK

NewPublicGetEstimatedPriceOK creates a PublicGetEstimatedPriceOK with default headers values

func (*PublicGetEstimatedPriceOK) Error

func (o *PublicGetEstimatedPriceOK) Error() string

func (*PublicGetEstimatedPriceOK) GetPayload

func (*PublicGetEstimatedPriceOK) ToJSONString

func (o *PublicGetEstimatedPriceOK) ToJSONString() string

type PublicGetEstimatedPriceParams

type PublicGetEstimatedPriceParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*Region*/
	Region *string
	/*StoreID
	  use published store id by default

	*/
	StoreID *string
	/*ItemIds
	  commas separated item ids

	*/
	ItemIds string

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

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

PublicGetEstimatedPriceParams contains all the parameters to send to the API endpoint for the public get estimated price operation typically these are written to a http.Request

func NewPublicGetEstimatedPriceParams

func NewPublicGetEstimatedPriceParams() *PublicGetEstimatedPriceParams

NewPublicGetEstimatedPriceParams creates a new PublicGetEstimatedPriceParams object with the default values initialized.

func NewPublicGetEstimatedPriceParamsWithContext

func NewPublicGetEstimatedPriceParamsWithContext(ctx context.Context) *PublicGetEstimatedPriceParams

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

func NewPublicGetEstimatedPriceParamsWithHTTPClient

func NewPublicGetEstimatedPriceParamsWithHTTPClient(client *http.Client) *PublicGetEstimatedPriceParams

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

func NewPublicGetEstimatedPriceParamsWithTimeout

func NewPublicGetEstimatedPriceParamsWithTimeout(timeout time.Duration) *PublicGetEstimatedPriceParams

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

func (*PublicGetEstimatedPriceParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get estimated price params

func (*PublicGetEstimatedPriceParams) SetContext

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

SetContext adds the context to the public get estimated price params

func (*PublicGetEstimatedPriceParams) SetFlightId

func (o *PublicGetEstimatedPriceParams) SetFlightId(flightId string)

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

func (*PublicGetEstimatedPriceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get estimated price params

func (*PublicGetEstimatedPriceParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get estimated price params

func (*PublicGetEstimatedPriceParams) SetItemIds

func (o *PublicGetEstimatedPriceParams) SetItemIds(itemIds string)

SetItemIds adds the itemIds to the public get estimated price params

func (*PublicGetEstimatedPriceParams) SetNamespace

func (o *PublicGetEstimatedPriceParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get estimated price params

func (*PublicGetEstimatedPriceParams) SetRegion

func (o *PublicGetEstimatedPriceParams) SetRegion(region *string)

SetRegion adds the region to the public get estimated price params

func (*PublicGetEstimatedPriceParams) SetStoreID

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

SetStoreID adds the storeId to the public get estimated price params

func (*PublicGetEstimatedPriceParams) SetTimeout

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

SetTimeout adds the timeout to the public get estimated price params

func (*PublicGetEstimatedPriceParams) WithContext

WithContext adds the context to the public get estimated price params

func (*PublicGetEstimatedPriceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get estimated price params

func (*PublicGetEstimatedPriceParams) WithItemIds

WithItemIds adds the itemIds to the public get estimated price params

func (*PublicGetEstimatedPriceParams) WithNamespace

WithNamespace adds the namespace to the public get estimated price params

func (*PublicGetEstimatedPriceParams) WithRegion

WithRegion adds the region to the public get estimated price params

func (*PublicGetEstimatedPriceParams) WithStoreID

WithStoreID adds the storeID to the public get estimated price params

func (*PublicGetEstimatedPriceParams) WithTimeout

WithTimeout adds the timeout to the public get estimated price params

func (*PublicGetEstimatedPriceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetEstimatedPriceReader

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

PublicGetEstimatedPriceReader is a Reader for the PublicGetEstimatedPrice structure.

func (*PublicGetEstimatedPriceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetItemByAppIDNotFound

type PublicGetItemByAppIDNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetItemByAppIDNotFound 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>30342</td><td>Item of appId [{appId}] does not exist</td></tr></table>

func NewPublicGetItemByAppIDNotFound

func NewPublicGetItemByAppIDNotFound() *PublicGetItemByAppIDNotFound

NewPublicGetItemByAppIDNotFound creates a PublicGetItemByAppIDNotFound with default headers values

func (*PublicGetItemByAppIDNotFound) Error

func (*PublicGetItemByAppIDNotFound) GetPayload

func (*PublicGetItemByAppIDNotFound) ToJSONString

func (o *PublicGetItemByAppIDNotFound) ToJSONString() string

type PublicGetItemByAppIDOK

type PublicGetItemByAppIDOK struct {
	Payload *platformclientmodels.ItemInfo
}

PublicGetItemByAppIDOK handles this case with default header values.

successful operation

func NewPublicGetItemByAppIDOK

func NewPublicGetItemByAppIDOK() *PublicGetItemByAppIDOK

NewPublicGetItemByAppIDOK creates a PublicGetItemByAppIDOK with default headers values

func (*PublicGetItemByAppIDOK) Error

func (o *PublicGetItemByAppIDOK) Error() string

func (*PublicGetItemByAppIDOK) GetPayload

func (*PublicGetItemByAppIDOK) ToJSONString

func (o *PublicGetItemByAppIDOK) ToJSONString() string

type PublicGetItemByAppIDParams

type PublicGetItemByAppIDParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*Language*/
	Language *string
	/*Region*/
	Region *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*AppID*/
	AppID string

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

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

PublicGetItemByAppIDParams contains all the parameters to send to the API endpoint for the public get item by app id operation typically these are written to a http.Request

func NewPublicGetItemByAppIDParams

func NewPublicGetItemByAppIDParams() *PublicGetItemByAppIDParams

NewPublicGetItemByAppIDParams creates a new PublicGetItemByAppIDParams object with the default values initialized.

func NewPublicGetItemByAppIDParamsWithContext

func NewPublicGetItemByAppIDParamsWithContext(ctx context.Context) *PublicGetItemByAppIDParams

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

func NewPublicGetItemByAppIDParamsWithHTTPClient

func NewPublicGetItemByAppIDParamsWithHTTPClient(client *http.Client) *PublicGetItemByAppIDParams

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

func NewPublicGetItemByAppIDParamsWithTimeout

func NewPublicGetItemByAppIDParamsWithTimeout(timeout time.Duration) *PublicGetItemByAppIDParams

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

func (*PublicGetItemByAppIDParams) SetAppID

func (o *PublicGetItemByAppIDParams) SetAppID(appID string)

SetAppID adds the appId to the public get item by app id params

func (*PublicGetItemByAppIDParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get item by app id params

func (*PublicGetItemByAppIDParams) SetContext

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

SetContext adds the context to the public get item by app id params

func (*PublicGetItemByAppIDParams) SetFlightId

func (o *PublicGetItemByAppIDParams) SetFlightId(flightId string)

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

func (*PublicGetItemByAppIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get item by app id params

func (*PublicGetItemByAppIDParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get item by app id params

func (*PublicGetItemByAppIDParams) SetLanguage

func (o *PublicGetItemByAppIDParams) SetLanguage(language *string)

SetLanguage adds the language to the public get item by app id params

func (*PublicGetItemByAppIDParams) SetNamespace

func (o *PublicGetItemByAppIDParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get item by app id params

func (*PublicGetItemByAppIDParams) SetRegion

func (o *PublicGetItemByAppIDParams) SetRegion(region *string)

SetRegion adds the region to the public get item by app id params

func (*PublicGetItemByAppIDParams) SetStoreID

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

SetStoreID adds the storeId to the public get item by app id params

func (*PublicGetItemByAppIDParams) SetTimeout

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

SetTimeout adds the timeout to the public get item by app id params

func (*PublicGetItemByAppIDParams) WithAppID

WithAppID adds the appID to the public get item by app id params

func (*PublicGetItemByAppIDParams) WithContext

WithContext adds the context to the public get item by app id params

func (*PublicGetItemByAppIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get item by app id params

func (*PublicGetItemByAppIDParams) WithLanguage

func (o *PublicGetItemByAppIDParams) WithLanguage(language *string) *PublicGetItemByAppIDParams

WithLanguage adds the language to the public get item by app id params

func (*PublicGetItemByAppIDParams) WithNamespace

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

WithNamespace adds the namespace to the public get item by app id params

func (*PublicGetItemByAppIDParams) WithRegion

WithRegion adds the region to the public get item by app id params

func (*PublicGetItemByAppIDParams) WithStoreID

WithStoreID adds the storeID to the public get item by app id params

func (*PublicGetItemByAppIDParams) WithTimeout

WithTimeout adds the timeout to the public get item by app id params

func (*PublicGetItemByAppIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetItemByAppIDReader

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

PublicGetItemByAppIDReader is a Reader for the PublicGetItemByAppID structure.

func (*PublicGetItemByAppIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetItemBySkuNotFound

type PublicGetItemBySkuNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetItemBySkuNotFound 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>30343</td><td>Item of sku [{sku}] does not exist</td></tr></table>

func NewPublicGetItemBySkuNotFound

func NewPublicGetItemBySkuNotFound() *PublicGetItemBySkuNotFound

NewPublicGetItemBySkuNotFound creates a PublicGetItemBySkuNotFound with default headers values

func (*PublicGetItemBySkuNotFound) Error

func (*PublicGetItemBySkuNotFound) GetPayload

func (*PublicGetItemBySkuNotFound) ToJSONString

func (o *PublicGetItemBySkuNotFound) ToJSONString() string

type PublicGetItemBySkuOK

type PublicGetItemBySkuOK struct {
	Payload *platformclientmodels.ItemInfo
}

PublicGetItemBySkuOK handles this case with default header values.

successful operation

func NewPublicGetItemBySkuOK

func NewPublicGetItemBySkuOK() *PublicGetItemBySkuOK

NewPublicGetItemBySkuOK creates a PublicGetItemBySkuOK with default headers values

func (*PublicGetItemBySkuOK) Error

func (o *PublicGetItemBySkuOK) Error() string

func (*PublicGetItemBySkuOK) GetPayload

func (*PublicGetItemBySkuOK) ToJSONString

func (o *PublicGetItemBySkuOK) ToJSONString() string

type PublicGetItemBySkuParams

type PublicGetItemBySkuParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*AutoCalcEstimatedPrice*/
	AutoCalcEstimatedPrice *bool
	/*Language*/
	Language *string
	/*Region*/
	Region *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*Sku*/
	Sku string

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

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

PublicGetItemBySkuParams contains all the parameters to send to the API endpoint for the public get item by sku operation typically these are written to a http.Request

func NewPublicGetItemBySkuParams

func NewPublicGetItemBySkuParams() *PublicGetItemBySkuParams

NewPublicGetItemBySkuParams creates a new PublicGetItemBySkuParams object with the default values initialized.

func NewPublicGetItemBySkuParamsWithContext

func NewPublicGetItemBySkuParamsWithContext(ctx context.Context) *PublicGetItemBySkuParams

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

func NewPublicGetItemBySkuParamsWithHTTPClient

func NewPublicGetItemBySkuParamsWithHTTPClient(client *http.Client) *PublicGetItemBySkuParams

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

func NewPublicGetItemBySkuParamsWithTimeout

func NewPublicGetItemBySkuParamsWithTimeout(timeout time.Duration) *PublicGetItemBySkuParams

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

func (*PublicGetItemBySkuParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get item by sku params

func (*PublicGetItemBySkuParams) SetAutoCalcEstimatedPrice

func (o *PublicGetItemBySkuParams) SetAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool)

SetAutoCalcEstimatedPrice adds the autoCalcEstimatedPrice to the public get item by sku params

func (*PublicGetItemBySkuParams) SetContext

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

SetContext adds the context to the public get item by sku params

func (*PublicGetItemBySkuParams) SetFlightId

func (o *PublicGetItemBySkuParams) SetFlightId(flightId string)

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

func (*PublicGetItemBySkuParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get item by sku params

func (*PublicGetItemBySkuParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get item by sku params

func (*PublicGetItemBySkuParams) SetLanguage

func (o *PublicGetItemBySkuParams) SetLanguage(language *string)

SetLanguage adds the language to the public get item by sku params

func (*PublicGetItemBySkuParams) SetNamespace

func (o *PublicGetItemBySkuParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get item by sku params

func (*PublicGetItemBySkuParams) SetRegion

func (o *PublicGetItemBySkuParams) SetRegion(region *string)

SetRegion adds the region to the public get item by sku params

func (*PublicGetItemBySkuParams) SetSku

func (o *PublicGetItemBySkuParams) SetSku(sku string)

SetSku adds the sku to the public get item by sku params

func (*PublicGetItemBySkuParams) SetStoreID

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

SetStoreID adds the storeId to the public get item by sku params

func (*PublicGetItemBySkuParams) SetTimeout

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

SetTimeout adds the timeout to the public get item by sku params

func (*PublicGetItemBySkuParams) WithAutoCalcEstimatedPrice

func (o *PublicGetItemBySkuParams) WithAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool) *PublicGetItemBySkuParams

WithAutoCalcEstimatedPrice adds the autoCalcEstimatedPrice to the public get item by sku params

func (*PublicGetItemBySkuParams) WithContext

WithContext adds the context to the public get item by sku params

func (*PublicGetItemBySkuParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public get item by sku params

func (*PublicGetItemBySkuParams) WithLanguage

func (o *PublicGetItemBySkuParams) WithLanguage(language *string) *PublicGetItemBySkuParams

WithLanguage adds the language to the public get item by sku params

func (*PublicGetItemBySkuParams) WithNamespace

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

WithNamespace adds the namespace to the public get item by sku params

func (*PublicGetItemBySkuParams) WithRegion

WithRegion adds the region to the public get item by sku params

func (*PublicGetItemBySkuParams) WithSku

WithSku adds the sku to the public get item by sku params

func (*PublicGetItemBySkuParams) WithStoreID

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

WithStoreID adds the storeID to the public get item by sku params

func (*PublicGetItemBySkuParams) WithTimeout

WithTimeout adds the timeout to the public get item by sku params

func (*PublicGetItemBySkuParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetItemBySkuReader

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

PublicGetItemBySkuReader is a Reader for the PublicGetItemBySku structure.

func (*PublicGetItemBySkuReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetItemDynamicDataNotFound

type PublicGetItemDynamicDataNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetItemDynamicDataNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPublicGetItemDynamicDataNotFound

func NewPublicGetItemDynamicDataNotFound() *PublicGetItemDynamicDataNotFound

NewPublicGetItemDynamicDataNotFound creates a PublicGetItemDynamicDataNotFound with default headers values

func (*PublicGetItemDynamicDataNotFound) Error

func (*PublicGetItemDynamicDataNotFound) GetPayload

func (*PublicGetItemDynamicDataNotFound) ToJSONString

func (o *PublicGetItemDynamicDataNotFound) ToJSONString() string

type PublicGetItemDynamicDataOK

type PublicGetItemDynamicDataOK struct {
	Payload *platformclientmodels.ItemDynamicDataInfo
}

PublicGetItemDynamicDataOK handles this case with default header values.

successful operation

func NewPublicGetItemDynamicDataOK

func NewPublicGetItemDynamicDataOK() *PublicGetItemDynamicDataOK

NewPublicGetItemDynamicDataOK creates a PublicGetItemDynamicDataOK with default headers values

func (*PublicGetItemDynamicDataOK) Error

func (*PublicGetItemDynamicDataOK) GetPayload

func (*PublicGetItemDynamicDataOK) ToJSONString

func (o *PublicGetItemDynamicDataOK) ToJSONString() string

type PublicGetItemDynamicDataParams

type PublicGetItemDynamicDataParams struct {

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

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

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

PublicGetItemDynamicDataParams contains all the parameters to send to the API endpoint for the public get item dynamic data operation typically these are written to a http.Request

func NewPublicGetItemDynamicDataParams

func NewPublicGetItemDynamicDataParams() *PublicGetItemDynamicDataParams

NewPublicGetItemDynamicDataParams creates a new PublicGetItemDynamicDataParams object with the default values initialized.

func NewPublicGetItemDynamicDataParamsWithContext

func NewPublicGetItemDynamicDataParamsWithContext(ctx context.Context) *PublicGetItemDynamicDataParams

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

func NewPublicGetItemDynamicDataParamsWithHTTPClient

func NewPublicGetItemDynamicDataParamsWithHTTPClient(client *http.Client) *PublicGetItemDynamicDataParams

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

func NewPublicGetItemDynamicDataParamsWithTimeout

func NewPublicGetItemDynamicDataParamsWithTimeout(timeout time.Duration) *PublicGetItemDynamicDataParams

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

func (*PublicGetItemDynamicDataParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get item dynamic data params

func (*PublicGetItemDynamicDataParams) SetContext

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

SetContext adds the context to the public get item dynamic data params

func (*PublicGetItemDynamicDataParams) SetFlightId

func (o *PublicGetItemDynamicDataParams) SetFlightId(flightId string)

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

func (*PublicGetItemDynamicDataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get item dynamic data params

func (*PublicGetItemDynamicDataParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get item dynamic data params

func (*PublicGetItemDynamicDataParams) SetItemID

func (o *PublicGetItemDynamicDataParams) SetItemID(itemID string)

SetItemID adds the itemId to the public get item dynamic data params

func (*PublicGetItemDynamicDataParams) SetNamespace

func (o *PublicGetItemDynamicDataParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get item dynamic data params

func (*PublicGetItemDynamicDataParams) SetTimeout

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

SetTimeout adds the timeout to the public get item dynamic data params

func (*PublicGetItemDynamicDataParams) WithContext

WithContext adds the context to the public get item dynamic data params

func (*PublicGetItemDynamicDataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get item dynamic data params

func (*PublicGetItemDynamicDataParams) WithItemID

WithItemID adds the itemID to the public get item dynamic data params

func (*PublicGetItemDynamicDataParams) WithNamespace

WithNamespace adds the namespace to the public get item dynamic data params

func (*PublicGetItemDynamicDataParams) WithTimeout

WithTimeout adds the timeout to the public get item dynamic data params

func (*PublicGetItemDynamicDataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetItemDynamicDataReader

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

PublicGetItemDynamicDataReader is a Reader for the PublicGetItemDynamicData structure.

func (*PublicGetItemDynamicDataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetItemNotFound

type PublicGetItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicGetItemNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPublicGetItemNotFound

func NewPublicGetItemNotFound() *PublicGetItemNotFound

NewPublicGetItemNotFound creates a PublicGetItemNotFound with default headers values

func (*PublicGetItemNotFound) Error

func (o *PublicGetItemNotFound) Error() string

func (*PublicGetItemNotFound) GetPayload

func (*PublicGetItemNotFound) ToJSONString

func (o *PublicGetItemNotFound) ToJSONString() string

type PublicGetItemOK

type PublicGetItemOK struct {
	Payload *platformclientmodels.PopulatedItemInfo
}

PublicGetItemOK handles this case with default header values.

successful operation

func NewPublicGetItemOK

func NewPublicGetItemOK() *PublicGetItemOK

NewPublicGetItemOK creates a PublicGetItemOK with default headers values

func (*PublicGetItemOK) Error

func (o *PublicGetItemOK) Error() string

func (*PublicGetItemOK) GetPayload

func (*PublicGetItemOK) ToJSONString

func (o *PublicGetItemOK) ToJSONString() string

type PublicGetItemParams

type PublicGetItemParams struct {

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

	*/
	Namespace string
	/*AutoCalcEstimatedPrice*/
	AutoCalcEstimatedPrice *bool
	/*Language*/
	Language *string
	/*PopulateBundle
	  whether populate bundled items if it's a bundle

	*/
	PopulateBundle *bool
	/*Region*/
	Region *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

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

PublicGetItemParams contains all the parameters to send to the API endpoint for the public get item operation typically these are written to a http.Request

func NewPublicGetItemParams

func NewPublicGetItemParams() *PublicGetItemParams

NewPublicGetItemParams creates a new PublicGetItemParams object with the default values initialized.

func NewPublicGetItemParamsWithContext

func NewPublicGetItemParamsWithContext(ctx context.Context) *PublicGetItemParams

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

func NewPublicGetItemParamsWithHTTPClient

func NewPublicGetItemParamsWithHTTPClient(client *http.Client) *PublicGetItemParams

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

func NewPublicGetItemParamsWithTimeout

func NewPublicGetItemParamsWithTimeout(timeout time.Duration) *PublicGetItemParams

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

func (*PublicGetItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public get item params

func (*PublicGetItemParams) SetAutoCalcEstimatedPrice

func (o *PublicGetItemParams) SetAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool)

SetAutoCalcEstimatedPrice adds the autoCalcEstimatedPrice to the public get item params

func (*PublicGetItemParams) SetContext

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

SetContext adds the context to the public get item params

func (*PublicGetItemParams) SetFlightId

func (o *PublicGetItemParams) SetFlightId(flightId string)

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

func (*PublicGetItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get item params

func (*PublicGetItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get item params

func (*PublicGetItemParams) SetItemID

func (o *PublicGetItemParams) SetItemID(itemID string)

SetItemID adds the itemId to the public get item params

func (*PublicGetItemParams) SetLanguage

func (o *PublicGetItemParams) SetLanguage(language *string)

SetLanguage adds the language to the public get item params

func (*PublicGetItemParams) SetNamespace

func (o *PublicGetItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get item params

func (*PublicGetItemParams) SetPopulateBundle

func (o *PublicGetItemParams) SetPopulateBundle(populateBundle *bool)

SetPopulateBundle adds the populateBundle to the public get item params

func (*PublicGetItemParams) SetRegion

func (o *PublicGetItemParams) SetRegion(region *string)

SetRegion adds the region to the public get item params

func (*PublicGetItemParams) SetStoreID

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

SetStoreID adds the storeId to the public get item params

func (*PublicGetItemParams) SetTimeout

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

SetTimeout adds the timeout to the public get item params

func (*PublicGetItemParams) WithAutoCalcEstimatedPrice

func (o *PublicGetItemParams) WithAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool) *PublicGetItemParams

WithAutoCalcEstimatedPrice adds the autoCalcEstimatedPrice to the public get item params

func (*PublicGetItemParams) WithContext

WithContext adds the context to the public get item params

func (*PublicGetItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public get item params

func (*PublicGetItemParams) WithItemID

func (o *PublicGetItemParams) WithItemID(itemID string) *PublicGetItemParams

WithItemID adds the itemID to the public get item params

func (*PublicGetItemParams) WithLanguage

func (o *PublicGetItemParams) WithLanguage(language *string) *PublicGetItemParams

WithLanguage adds the language to the public get item params

func (*PublicGetItemParams) WithNamespace

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

WithNamespace adds the namespace to the public get item params

func (*PublicGetItemParams) WithPopulateBundle

func (o *PublicGetItemParams) WithPopulateBundle(populateBundle *bool) *PublicGetItemParams

WithPopulateBundle adds the populateBundle to the public get item params

func (*PublicGetItemParams) WithRegion

func (o *PublicGetItemParams) WithRegion(region *string) *PublicGetItemParams

WithRegion adds the region to the public get item params

func (*PublicGetItemParams) WithStoreID

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

WithStoreID adds the storeID to the public get item params

func (*PublicGetItemParams) WithTimeout

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

WithTimeout adds the timeout to the public get item params

func (*PublicGetItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PublicGetItemReader

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

PublicGetItemReader is a Reader for the PublicGetItem structure.

func (*PublicGetItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicQueryItemsNotFound

type PublicQueryItemsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicQueryItemsNotFound 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 NewPublicQueryItemsNotFound

func NewPublicQueryItemsNotFound() *PublicQueryItemsNotFound

NewPublicQueryItemsNotFound creates a PublicQueryItemsNotFound with default headers values

func (*PublicQueryItemsNotFound) Error

func (o *PublicQueryItemsNotFound) Error() string

func (*PublicQueryItemsNotFound) GetPayload

func (*PublicQueryItemsNotFound) ToJSONString

func (o *PublicQueryItemsNotFound) ToJSONString() string

type PublicQueryItemsOK

type PublicQueryItemsOK struct {
	Payload *platformclientmodels.ItemPagingSlicedResult
}

PublicQueryItemsOK handles this case with default header values.

successful operation

func NewPublicQueryItemsOK

func NewPublicQueryItemsOK() *PublicQueryItemsOK

NewPublicQueryItemsOK creates a PublicQueryItemsOK with default headers values

func (*PublicQueryItemsOK) Error

func (o *PublicQueryItemsOK) Error() string

func (*PublicQueryItemsOK) GetPayload

func (*PublicQueryItemsOK) ToJSONString

func (o *PublicQueryItemsOK) ToJSONString() string

type PublicQueryItemsParams

type PublicQueryItemsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*AppType*/
	AppType *string
	/*AutoCalcEstimatedPrice*/
	AutoCalcEstimatedPrice *bool
	/*BaseAppID*/
	BaseAppID *string
	/*CategoryPath
	  category path

	*/
	CategoryPath *string
	/*Features
	  features, separate multiple value by commas parameter

	*/
	Features *string
	/*IncludeSubCategoryItem
	  default is false, only available when search by category path, it will return all of the items(includes sub category path) under this category path

	*/
	IncludeSubCategoryItem *bool
	/*ItemType*/
	ItemType *string
	/*Language*/
	Language *string
	/*Limit
	  limit

	*/
	Limit *int32
	/*Offset
	  offset

	*/
	Offset *int32
	/*Region*/
	Region *string
	/*SortBy
	  default is name:asc,displayOrder:asc, allow values: [name, name:asc, name:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc, displayOrder, displayOrder:asc, displayOrder:desc],and support sort group, eg: sortBy=name:asc,createdAt:desc. Make sure to always use more than one sort if the first sort is not an unique value for example, if you wish to sort by displayOrder, make sure to include other sort such as name or createdAt after the first sort, eg: displayOrder:asc,name:asc

	*/
	SortBy []string
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*Tags
	  tags, separate multiple value by commas parameter

	*/
	Tags *string

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

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

PublicQueryItemsParams contains all the parameters to send to the API endpoint for the public query items operation typically these are written to a http.Request

func NewPublicQueryItemsParams

func NewPublicQueryItemsParams() *PublicQueryItemsParams

NewPublicQueryItemsParams creates a new PublicQueryItemsParams object with the default values initialized.

func NewPublicQueryItemsParamsWithContext

func NewPublicQueryItemsParamsWithContext(ctx context.Context) *PublicQueryItemsParams

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

func NewPublicQueryItemsParamsWithHTTPClient

func NewPublicQueryItemsParamsWithHTTPClient(client *http.Client) *PublicQueryItemsParams

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

func NewPublicQueryItemsParamsWithTimeout

func NewPublicQueryItemsParamsWithTimeout(timeout time.Duration) *PublicQueryItemsParams

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

func (*PublicQueryItemsParams) SetAppType

func (o *PublicQueryItemsParams) SetAppType(appType *string)

SetAppType adds the appType to the public query items params

func (*PublicQueryItemsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public query items params

func (*PublicQueryItemsParams) SetAutoCalcEstimatedPrice

func (o *PublicQueryItemsParams) SetAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool)

SetAutoCalcEstimatedPrice adds the autoCalcEstimatedPrice to the public query items params

func (*PublicQueryItemsParams) SetBaseAppID

func (o *PublicQueryItemsParams) SetBaseAppID(baseAppID *string)

SetBaseAppID adds the baseAppId to the public query items params

func (*PublicQueryItemsParams) SetCategoryPath

func (o *PublicQueryItemsParams) SetCategoryPath(categoryPath *string)

SetCategoryPath adds the categoryPath to the public query items params

func (*PublicQueryItemsParams) SetContext

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

SetContext adds the context to the public query items params

func (*PublicQueryItemsParams) SetFeatures

func (o *PublicQueryItemsParams) SetFeatures(features *string)

SetFeatures adds the features to the public query items params

func (*PublicQueryItemsParams) SetFlightId

func (o *PublicQueryItemsParams) SetFlightId(flightId string)

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

func (*PublicQueryItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public query items params

func (*PublicQueryItemsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public query items params

func (*PublicQueryItemsParams) SetIncludeSubCategoryItem

func (o *PublicQueryItemsParams) SetIncludeSubCategoryItem(includeSubCategoryItem *bool)

SetIncludeSubCategoryItem adds the includeSubCategoryItem to the public query items params

func (*PublicQueryItemsParams) SetItemType

func (o *PublicQueryItemsParams) SetItemType(itemType *string)

SetItemType adds the itemType to the public query items params

func (*PublicQueryItemsParams) SetLanguage

func (o *PublicQueryItemsParams) SetLanguage(language *string)

SetLanguage adds the language to the public query items params

func (*PublicQueryItemsParams) SetLimit

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

SetLimit adds the limit to the public query items params

func (*PublicQueryItemsParams) SetNamespace

func (o *PublicQueryItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public query items params

func (*PublicQueryItemsParams) SetOffset

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

SetOffset adds the offset to the public query items params

func (*PublicQueryItemsParams) SetRegion

func (o *PublicQueryItemsParams) SetRegion(region *string)

SetRegion adds the region to the public query items params

func (*PublicQueryItemsParams) SetSortBy

func (o *PublicQueryItemsParams) SetSortBy(sortBy []string)

SetSortBy adds the sortBy to the public query items params

func (*PublicQueryItemsParams) SetStoreID

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

SetStoreID adds the storeId to the public query items params

func (*PublicQueryItemsParams) SetTags

func (o *PublicQueryItemsParams) SetTags(tags *string)

SetTags adds the tags to the public query items params

func (*PublicQueryItemsParams) SetTimeout

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

SetTimeout adds the timeout to the public query items params

func (*PublicQueryItemsParams) WithAppType

func (o *PublicQueryItemsParams) WithAppType(appType *string) *PublicQueryItemsParams

WithAppType adds the appType to the public query items params

func (*PublicQueryItemsParams) WithAutoCalcEstimatedPrice

func (o *PublicQueryItemsParams) WithAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool) *PublicQueryItemsParams

WithAutoCalcEstimatedPrice adds the autoCalcEstimatedPrice to the public query items params

func (*PublicQueryItemsParams) WithBaseAppID

func (o *PublicQueryItemsParams) WithBaseAppID(baseAppID *string) *PublicQueryItemsParams

WithBaseAppID adds the baseAppID to the public query items params

func (*PublicQueryItemsParams) WithCategoryPath

func (o *PublicQueryItemsParams) WithCategoryPath(categoryPath *string) *PublicQueryItemsParams

WithCategoryPath adds the categoryPath to the public query items params

func (*PublicQueryItemsParams) WithContext

WithContext adds the context to the public query items params

func (*PublicQueryItemsParams) WithFeatures

func (o *PublicQueryItemsParams) WithFeatures(features *string) *PublicQueryItemsParams

WithFeatures adds the features to the public query items params

func (*PublicQueryItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public query items params

func (*PublicQueryItemsParams) WithIncludeSubCategoryItem

func (o *PublicQueryItemsParams) WithIncludeSubCategoryItem(includeSubCategoryItem *bool) *PublicQueryItemsParams

WithIncludeSubCategoryItem adds the includeSubCategoryItem to the public query items params

func (*PublicQueryItemsParams) WithItemType

func (o *PublicQueryItemsParams) WithItemType(itemType *string) *PublicQueryItemsParams

WithItemType adds the itemType to the public query items params

func (*PublicQueryItemsParams) WithLanguage

func (o *PublicQueryItemsParams) WithLanguage(language *string) *PublicQueryItemsParams

WithLanguage adds the language to the public query items params

func (*PublicQueryItemsParams) WithLimit

func (o *PublicQueryItemsParams) WithLimit(limit *int32) *PublicQueryItemsParams

WithLimit adds the limit to the public query items params

func (*PublicQueryItemsParams) WithNamespace

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

WithNamespace adds the namespace to the public query items params

func (*PublicQueryItemsParams) WithOffset

func (o *PublicQueryItemsParams) WithOffset(offset *int32) *PublicQueryItemsParams

WithOffset adds the offset to the public query items params

func (*PublicQueryItemsParams) WithRegion

func (o *PublicQueryItemsParams) WithRegion(region *string) *PublicQueryItemsParams

WithRegion adds the region to the public query items params

func (*PublicQueryItemsParams) WithSortBy

func (o *PublicQueryItemsParams) WithSortBy(sortBy []string) *PublicQueryItemsParams

WithSortBy adds the sortBy to the public query items params

func (*PublicQueryItemsParams) WithStoreID

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

WithStoreID adds the storeID to the public query items params

func (*PublicQueryItemsParams) WithTags

WithTags adds the tags to the public query items params

func (*PublicQueryItemsParams) WithTimeout

WithTimeout adds the timeout to the public query items params

func (*PublicQueryItemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicQueryItemsReader

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

PublicQueryItemsReader is a Reader for the PublicQueryItems structure.

func (*PublicQueryItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicQueryItemsUnprocessableEntity

type PublicQueryItemsUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

PublicQueryItemsUnprocessableEntity 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 NewPublicQueryItemsUnprocessableEntity

func NewPublicQueryItemsUnprocessableEntity() *PublicQueryItemsUnprocessableEntity

NewPublicQueryItemsUnprocessableEntity creates a PublicQueryItemsUnprocessableEntity with default headers values

func (*PublicQueryItemsUnprocessableEntity) Error

func (*PublicQueryItemsUnprocessableEntity) GetPayload

func (*PublicQueryItemsUnprocessableEntity) ToJSONString

func (o *PublicQueryItemsUnprocessableEntity) ToJSONString() string

type PublicSearchItemsNotFound

type PublicSearchItemsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicSearchItemsNotFound 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 NewPublicSearchItemsNotFound

func NewPublicSearchItemsNotFound() *PublicSearchItemsNotFound

NewPublicSearchItemsNotFound creates a PublicSearchItemsNotFound with default headers values

func (*PublicSearchItemsNotFound) Error

func (o *PublicSearchItemsNotFound) Error() string

func (*PublicSearchItemsNotFound) GetPayload

func (*PublicSearchItemsNotFound) ToJSONString

func (o *PublicSearchItemsNotFound) ToJSONString() string

type PublicSearchItemsOK

type PublicSearchItemsOK struct {
	Payload *platformclientmodels.ItemPagingSlicedResult
}

PublicSearchItemsOK handles this case with default header values.

successful operation

func NewPublicSearchItemsOK

func NewPublicSearchItemsOK() *PublicSearchItemsOK

NewPublicSearchItemsOK creates a PublicSearchItemsOK with default headers values

func (*PublicSearchItemsOK) Error

func (o *PublicSearchItemsOK) Error() string

func (*PublicSearchItemsOK) GetPayload

func (*PublicSearchItemsOK) ToJSONString

func (o *PublicSearchItemsOK) ToJSONString() string

type PublicSearchItemsParams

type PublicSearchItemsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*AutoCalcEstimatedPrice*/
	AutoCalcEstimatedPrice *bool
	/*ItemType*/
	ItemType *string
	/*Limit
	  limit

	*/
	Limit *int32
	/*Offset
	  offset

	*/
	Offset *int32
	/*Region*/
	Region *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*Keyword*/
	Keyword string
	/*Language*/
	Language string

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

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

PublicSearchItemsParams contains all the parameters to send to the API endpoint for the public search items operation typically these are written to a http.Request

func NewPublicSearchItemsParams

func NewPublicSearchItemsParams() *PublicSearchItemsParams

NewPublicSearchItemsParams creates a new PublicSearchItemsParams object with the default values initialized.

func NewPublicSearchItemsParamsWithContext

func NewPublicSearchItemsParamsWithContext(ctx context.Context) *PublicSearchItemsParams

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

func NewPublicSearchItemsParamsWithHTTPClient

func NewPublicSearchItemsParamsWithHTTPClient(client *http.Client) *PublicSearchItemsParams

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

func NewPublicSearchItemsParamsWithTimeout

func NewPublicSearchItemsParamsWithTimeout(timeout time.Duration) *PublicSearchItemsParams

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

func (*PublicSearchItemsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public search items params

func (*PublicSearchItemsParams) SetAutoCalcEstimatedPrice

func (o *PublicSearchItemsParams) SetAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool)

SetAutoCalcEstimatedPrice adds the autoCalcEstimatedPrice to the public search items params

func (*PublicSearchItemsParams) SetContext

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

SetContext adds the context to the public search items params

func (*PublicSearchItemsParams) SetFlightId

func (o *PublicSearchItemsParams) SetFlightId(flightId string)

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

func (*PublicSearchItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public search items params

func (*PublicSearchItemsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public search items params

func (*PublicSearchItemsParams) SetItemType

func (o *PublicSearchItemsParams) SetItemType(itemType *string)

SetItemType adds the itemType to the public search items params

func (*PublicSearchItemsParams) SetKeyword

func (o *PublicSearchItemsParams) SetKeyword(keyword string)

SetKeyword adds the keyword to the public search items params

func (*PublicSearchItemsParams) SetLanguage

func (o *PublicSearchItemsParams) SetLanguage(language string)

SetLanguage adds the language to the public search items params

func (*PublicSearchItemsParams) SetLimit

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

SetLimit adds the limit to the public search items params

func (*PublicSearchItemsParams) SetNamespace

func (o *PublicSearchItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public search items params

func (*PublicSearchItemsParams) SetOffset

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

SetOffset adds the offset to the public search items params

func (*PublicSearchItemsParams) SetRegion

func (o *PublicSearchItemsParams) SetRegion(region *string)

SetRegion adds the region to the public search items params

func (*PublicSearchItemsParams) SetStoreID

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

SetStoreID adds the storeId to the public search items params

func (*PublicSearchItemsParams) SetTimeout

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

SetTimeout adds the timeout to the public search items params

func (*PublicSearchItemsParams) WithAutoCalcEstimatedPrice

func (o *PublicSearchItemsParams) WithAutoCalcEstimatedPrice(autoCalcEstimatedPrice *bool) *PublicSearchItemsParams

WithAutoCalcEstimatedPrice adds the autoCalcEstimatedPrice to the public search items params

func (*PublicSearchItemsParams) WithContext

WithContext adds the context to the public search items params

func (*PublicSearchItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public search items params

func (*PublicSearchItemsParams) WithItemType

func (o *PublicSearchItemsParams) WithItemType(itemType *string) *PublicSearchItemsParams

WithItemType adds the itemType to the public search items params

func (*PublicSearchItemsParams) WithKeyword

func (o *PublicSearchItemsParams) WithKeyword(keyword string) *PublicSearchItemsParams

WithKeyword adds the keyword to the public search items params

func (*PublicSearchItemsParams) WithLanguage

func (o *PublicSearchItemsParams) WithLanguage(language string) *PublicSearchItemsParams

WithLanguage adds the language to the public search items params

func (*PublicSearchItemsParams) WithLimit

WithLimit adds the limit to the public search items params

func (*PublicSearchItemsParams) WithNamespace

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

WithNamespace adds the namespace to the public search items params

func (*PublicSearchItemsParams) WithOffset

func (o *PublicSearchItemsParams) WithOffset(offset *int32) *PublicSearchItemsParams

WithOffset adds the offset to the public search items params

func (*PublicSearchItemsParams) WithRegion

func (o *PublicSearchItemsParams) WithRegion(region *string) *PublicSearchItemsParams

WithRegion adds the region to the public search items params

func (*PublicSearchItemsParams) WithStoreID

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

WithStoreID adds the storeID to the public search items params

func (*PublicSearchItemsParams) WithTimeout

WithTimeout adds the timeout to the public search items params

func (*PublicSearchItemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicSearchItemsReader

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

PublicSearchItemsReader is a Reader for the PublicSearchItems structure.

func (*PublicSearchItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicValidateItemPurchaseConditionOK

type PublicValidateItemPurchaseConditionOK struct {
	Payload []*platformclientmodels.ItemPurchaseConditionValidateResult
}

PublicValidateItemPurchaseConditionOK handles this case with default header values.

successful operation

func NewPublicValidateItemPurchaseConditionOK

func NewPublicValidateItemPurchaseConditionOK() *PublicValidateItemPurchaseConditionOK

NewPublicValidateItemPurchaseConditionOK creates a PublicValidateItemPurchaseConditionOK with default headers values

func (*PublicValidateItemPurchaseConditionOK) Error

func (*PublicValidateItemPurchaseConditionOK) GetPayload

func (*PublicValidateItemPurchaseConditionOK) ToJSONString

type PublicValidateItemPurchaseConditionParams

type PublicValidateItemPurchaseConditionParams struct {

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

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

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

PublicValidateItemPurchaseConditionParams contains all the parameters to send to the API endpoint for the public validate item purchase condition operation typically these are written to a http.Request

func NewPublicValidateItemPurchaseConditionParams

func NewPublicValidateItemPurchaseConditionParams() *PublicValidateItemPurchaseConditionParams

NewPublicValidateItemPurchaseConditionParams creates a new PublicValidateItemPurchaseConditionParams object with the default values initialized.

func NewPublicValidateItemPurchaseConditionParamsWithContext

func NewPublicValidateItemPurchaseConditionParamsWithContext(ctx context.Context) *PublicValidateItemPurchaseConditionParams

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

func NewPublicValidateItemPurchaseConditionParamsWithHTTPClient

func NewPublicValidateItemPurchaseConditionParamsWithHTTPClient(client *http.Client) *PublicValidateItemPurchaseConditionParams

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

func NewPublicValidateItemPurchaseConditionParamsWithTimeout

func NewPublicValidateItemPurchaseConditionParamsWithTimeout(timeout time.Duration) *PublicValidateItemPurchaseConditionParams

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

func (*PublicValidateItemPurchaseConditionParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public validate item purchase condition params

func (*PublicValidateItemPurchaseConditionParams) SetBody

SetBody adds the body to the public validate item purchase condition params

func (*PublicValidateItemPurchaseConditionParams) SetContext

SetContext adds the context to the public validate item purchase condition params

func (*PublicValidateItemPurchaseConditionParams) SetFlightId

func (o *PublicValidateItemPurchaseConditionParams) SetFlightId(flightId string)

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

func (*PublicValidateItemPurchaseConditionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public validate item purchase condition params

func (*PublicValidateItemPurchaseConditionParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public validate item purchase condition params

func (*PublicValidateItemPurchaseConditionParams) SetNamespace

func (o *PublicValidateItemPurchaseConditionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public validate item purchase condition params

func (*PublicValidateItemPurchaseConditionParams) SetTimeout

SetTimeout adds the timeout to the public validate item purchase condition params

func (*PublicValidateItemPurchaseConditionParams) WithBody

WithBody adds the body to the public validate item purchase condition params

func (*PublicValidateItemPurchaseConditionParams) WithContext

WithContext adds the context to the public validate item purchase condition params

func (*PublicValidateItemPurchaseConditionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public validate item purchase condition params

func (*PublicValidateItemPurchaseConditionParams) WithNamespace

WithNamespace adds the namespace to the public validate item purchase condition params

func (*PublicValidateItemPurchaseConditionParams) WithTimeout

WithTimeout adds the timeout to the public validate item purchase condition params

func (*PublicValidateItemPurchaseConditionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicValidateItemPurchaseConditionReader

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

PublicValidateItemPurchaseConditionReader is a Reader for the PublicValidateItemPurchaseCondition structure.

func (*PublicValidateItemPurchaseConditionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicValidateItemPurchaseConditionUnprocessableEntity

type PublicValidateItemPurchaseConditionUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

PublicValidateItemPurchaseConditionUnprocessableEntity 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 NewPublicValidateItemPurchaseConditionUnprocessableEntity

func NewPublicValidateItemPurchaseConditionUnprocessableEntity() *PublicValidateItemPurchaseConditionUnprocessableEntity

NewPublicValidateItemPurchaseConditionUnprocessableEntity creates a PublicValidateItemPurchaseConditionUnprocessableEntity with default headers values

func (*PublicValidateItemPurchaseConditionUnprocessableEntity) Error

func (*PublicValidateItemPurchaseConditionUnprocessableEntity) GetPayload

func (*PublicValidateItemPurchaseConditionUnprocessableEntity) ToJSONString

type QueryItems1NotFound

type QueryItems1NotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

QueryItems1NotFound 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 NewQueryItems1NotFound

func NewQueryItems1NotFound() *QueryItems1NotFound

NewQueryItems1NotFound creates a QueryItems1NotFound with default headers values

func (*QueryItems1NotFound) Error

func (o *QueryItems1NotFound) Error() string

func (*QueryItems1NotFound) GetPayload

func (*QueryItems1NotFound) ToJSONString

func (o *QueryItems1NotFound) ToJSONString() string

type QueryItems1OK

type QueryItems1OK struct {
	Payload *platformclientmodels.FullItemPagingResult
}

QueryItems1OK handles this case with default header values.

successful operation

func NewQueryItems1OK

func NewQueryItems1OK() *QueryItems1OK

NewQueryItems1OK creates a QueryItems1OK with default headers values

func (*QueryItems1OK) Error

func (o *QueryItems1OK) Error() string

func (*QueryItems1OK) GetPayload

func (*QueryItems1OK) ToJSONString

func (o *QueryItems1OK) ToJSONString() string

type QueryItems1Params

type QueryItems1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*AppType*/
	AppType *string
	/*AvailableDate
	  allowed format: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z , filter date include(purchaseAt, expireAt)

	*/
	AvailableDate *string
	/*BaseAppID*/
	BaseAppID *string
	/*CategoryPath
	  category path

	*/
	CategoryPath *string
	/*Features
	  features, separate multiple value by commas parameter

	*/
	Features *string
	/*IncludeSubCategoryItem
	  default is false, only available when search by category path, it will return all of the items(includes sub category path) under this category path

	*/
	IncludeSubCategoryItem *bool
	/*ItemName
	  itemName, fuzzy matching

	*/
	ItemName *string
	/*ItemStatus*/
	ItemStatus *string
	/*ItemType*/
	ItemType *string
	/*Limit
	  limit

	*/
	Limit *int32
	/*Offset
	  offset

	*/
	Offset *int32
	/*Region
	  exist in region

	*/
	Region *string
	/*SectionExclusive*/
	SectionExclusive *bool
	/*SortBy
	  default is name:asc,displayOrder:asc, allow values: [name, name:asc, name:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc, displayOrder, displayOrder:asc, displayOrder:desc],and support sort group, eg: sortBy=name: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 displayOrder, make sure to include other sort such as name or createdAt after the first sort, eg: displayOrder:asc,name:asc

	*/
	SortBy []string
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*Tags
	  tags, separate multiple value by commas parameter

	*/
	Tags *string
	/*TargetNamespace
	  targetNamespace

	*/
	TargetNamespace *string
	/*WithTotal
	  true means include total count of items in response body

	*/
	WithTotal *bool

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

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

QueryItems1Params contains all the parameters to send to the API endpoint for the query items 1 operation typically these are written to a http.Request

func NewQueryItems1Params

func NewQueryItems1Params() *QueryItems1Params

NewQueryItems1Params creates a new QueryItems1Params object with the default values initialized.

func NewQueryItems1ParamsWithContext

func NewQueryItems1ParamsWithContext(ctx context.Context) *QueryItems1Params

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

func NewQueryItems1ParamsWithHTTPClient

func NewQueryItems1ParamsWithHTTPClient(client *http.Client) *QueryItems1Params

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

func NewQueryItems1ParamsWithTimeout

func NewQueryItems1ParamsWithTimeout(timeout time.Duration) *QueryItems1Params

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

func (*QueryItems1Params) SetAppType

func (o *QueryItems1Params) SetAppType(appType *string)

SetAppType adds the appType to the query items 1 params

func (*QueryItems1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the query items 1 params

func (*QueryItems1Params) SetAvailableDate

func (o *QueryItems1Params) SetAvailableDate(availableDate *string)

SetAvailableDate adds the availableDate to the query items 1 params

func (*QueryItems1Params) SetBaseAppID

func (o *QueryItems1Params) SetBaseAppID(baseAppID *string)

SetBaseAppID adds the baseAppId to the query items 1 params

func (*QueryItems1Params) SetCategoryPath

func (o *QueryItems1Params) SetCategoryPath(categoryPath *string)

SetCategoryPath adds the categoryPath to the query items 1 params

func (*QueryItems1Params) SetContext

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

SetContext adds the context to the query items 1 params

func (*QueryItems1Params) SetFeatures

func (o *QueryItems1Params) SetFeatures(features *string)

SetFeatures adds the features to the query items 1 params

func (*QueryItems1Params) SetFlightId

func (o *QueryItems1Params) SetFlightId(flightId string)

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

func (*QueryItems1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query items 1 params

func (*QueryItems1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the query items 1 params

func (*QueryItems1Params) SetIncludeSubCategoryItem

func (o *QueryItems1Params) SetIncludeSubCategoryItem(includeSubCategoryItem *bool)

SetIncludeSubCategoryItem adds the includeSubCategoryItem to the query items 1 params

func (*QueryItems1Params) SetItemName

func (o *QueryItems1Params) SetItemName(itemName *string)

SetItemName adds the itemName to the query items 1 params

func (*QueryItems1Params) SetItemStatus

func (o *QueryItems1Params) SetItemStatus(itemStatus *string)

SetItemStatus adds the itemStatus to the query items 1 params

func (*QueryItems1Params) SetItemType

func (o *QueryItems1Params) SetItemType(itemType *string)

SetItemType adds the itemType to the query items 1 params

func (*QueryItems1Params) SetLimit

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

SetLimit adds the limit to the query items 1 params

func (*QueryItems1Params) SetNamespace

func (o *QueryItems1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the query items 1 params

func (*QueryItems1Params) SetOffset

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

SetOffset adds the offset to the query items 1 params

func (*QueryItems1Params) SetRegion

func (o *QueryItems1Params) SetRegion(region *string)

SetRegion adds the region to the query items 1 params

func (*QueryItems1Params) SetSectionExclusive

func (o *QueryItems1Params) SetSectionExclusive(sectionExclusive *bool)

SetSectionExclusive adds the sectionExclusive to the query items 1 params

func (*QueryItems1Params) SetSortBy

func (o *QueryItems1Params) SetSortBy(sortBy []string)

SetSortBy adds the sortBy to the query items 1 params

func (*QueryItems1Params) SetStoreID

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

SetStoreID adds the storeId to the query items 1 params

func (*QueryItems1Params) SetTags

func (o *QueryItems1Params) SetTags(tags *string)

SetTags adds the tags to the query items 1 params

func (*QueryItems1Params) SetTargetNamespace

func (o *QueryItems1Params) SetTargetNamespace(targetNamespace *string)

SetTargetNamespace adds the targetNamespace to the query items 1 params

func (*QueryItems1Params) SetTimeout

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

SetTimeout adds the timeout to the query items 1 params

func (*QueryItems1Params) SetWithTotal

func (o *QueryItems1Params) SetWithTotal(withTotal *bool)

SetWithTotal adds the withTotal to the query items 1 params

func (*QueryItems1Params) WithAppType

func (o *QueryItems1Params) WithAppType(appType *string) *QueryItems1Params

WithAppType adds the appType to the query items 1 params

func (*QueryItems1Params) WithAvailableDate

func (o *QueryItems1Params) WithAvailableDate(availableDate *string) *QueryItems1Params

WithAvailableDate adds the availableDate to the query items 1 params

func (*QueryItems1Params) WithBaseAppID

func (o *QueryItems1Params) WithBaseAppID(baseAppID *string) *QueryItems1Params

WithBaseAppID adds the baseAppID to the query items 1 params

func (*QueryItems1Params) WithCategoryPath

func (o *QueryItems1Params) WithCategoryPath(categoryPath *string) *QueryItems1Params

WithCategoryPath adds the categoryPath to the query items 1 params

func (*QueryItems1Params) WithContext

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

WithContext adds the context to the query items 1 params

func (*QueryItems1Params) WithFeatures

func (o *QueryItems1Params) WithFeatures(features *string) *QueryItems1Params

WithFeatures adds the features to the query items 1 params

func (*QueryItems1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query items 1 params

func (*QueryItems1Params) WithIncludeSubCategoryItem

func (o *QueryItems1Params) WithIncludeSubCategoryItem(includeSubCategoryItem *bool) *QueryItems1Params

WithIncludeSubCategoryItem adds the includeSubCategoryItem to the query items 1 params

func (*QueryItems1Params) WithItemName

func (o *QueryItems1Params) WithItemName(itemName *string) *QueryItems1Params

WithItemName adds the itemName to the query items 1 params

func (*QueryItems1Params) WithItemStatus

func (o *QueryItems1Params) WithItemStatus(itemStatus *string) *QueryItems1Params

WithItemStatus adds the itemStatus to the query items 1 params

func (*QueryItems1Params) WithItemType

func (o *QueryItems1Params) WithItemType(itemType *string) *QueryItems1Params

WithItemType adds the itemType to the query items 1 params

func (*QueryItems1Params) WithLimit

func (o *QueryItems1Params) WithLimit(limit *int32) *QueryItems1Params

WithLimit adds the limit to the query items 1 params

func (*QueryItems1Params) WithNamespace

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

WithNamespace adds the namespace to the query items 1 params

func (*QueryItems1Params) WithOffset

func (o *QueryItems1Params) WithOffset(offset *int32) *QueryItems1Params

WithOffset adds the offset to the query items 1 params

func (*QueryItems1Params) WithRegion

func (o *QueryItems1Params) WithRegion(region *string) *QueryItems1Params

WithRegion adds the region to the query items 1 params

func (*QueryItems1Params) WithSectionExclusive

func (o *QueryItems1Params) WithSectionExclusive(sectionExclusive *bool) *QueryItems1Params

WithSectionExclusive adds the sectionExclusive to the query items 1 params

func (*QueryItems1Params) WithSortBy

func (o *QueryItems1Params) WithSortBy(sortBy []string) *QueryItems1Params

WithSortBy adds the sortBy to the query items 1 params

func (*QueryItems1Params) WithStoreID

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

WithStoreID adds the storeID to the query items 1 params

func (*QueryItems1Params) WithTags

func (o *QueryItems1Params) WithTags(tags *string) *QueryItems1Params

WithTags adds the tags to the query items 1 params

func (*QueryItems1Params) WithTargetNamespace

func (o *QueryItems1Params) WithTargetNamespace(targetNamespace *string) *QueryItems1Params

WithTargetNamespace adds the targetNamespace to the query items 1 params

func (*QueryItems1Params) WithTimeout

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

WithTimeout adds the timeout to the query items 1 params

func (*QueryItems1Params) WithWithTotal

func (o *QueryItems1Params) WithWithTotal(withTotal *bool) *QueryItems1Params

WithWithTotal adds the withTotal to the query items 1 params

func (*QueryItems1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryItems1Reader

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

QueryItems1Reader is a Reader for the QueryItems1 structure.

func (*QueryItems1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryItems1UnprocessableEntity

type QueryItems1UnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

QueryItems1UnprocessableEntity 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 NewQueryItems1UnprocessableEntity

func NewQueryItems1UnprocessableEntity() *QueryItems1UnprocessableEntity

NewQueryItems1UnprocessableEntity creates a QueryItems1UnprocessableEntity with default headers values

func (*QueryItems1UnprocessableEntity) Error

func (*QueryItems1UnprocessableEntity) GetPayload

func (*QueryItems1UnprocessableEntity) ToJSONString

func (o *QueryItems1UnprocessableEntity) ToJSONString() string

type QueryItemsNotFound

type QueryItemsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

QueryItemsNotFound 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 NewQueryItemsNotFound

func NewQueryItemsNotFound() *QueryItemsNotFound

NewQueryItemsNotFound creates a QueryItemsNotFound with default headers values

func (*QueryItemsNotFound) Error

func (o *QueryItemsNotFound) Error() string

func (*QueryItemsNotFound) GetPayload

func (*QueryItemsNotFound) ToJSONString

func (o *QueryItemsNotFound) ToJSONString() string

type QueryItemsOK

type QueryItemsOK struct {
	Payload *platformclientmodels.FullItemPagingSlicedResult
}

QueryItemsOK handles this case with default header values.

successful operation

func NewQueryItemsOK

func NewQueryItemsOK() *QueryItemsOK

NewQueryItemsOK creates a QueryItemsOK with default headers values

func (*QueryItemsOK) Error

func (o *QueryItemsOK) Error() string

func (*QueryItemsOK) GetPayload

func (*QueryItemsOK) ToJSONString

func (o *QueryItemsOK) ToJSONString() string

type QueryItemsParams

type QueryItemsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*AppType*/
	AppType *string
	/*AvailableDate
	  allowed format: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z , filter date include(purchaseAt, expireAt)

	*/
	AvailableDate *string
	/*BaseAppID*/
	BaseAppID *string
	/*CategoryPath
	  category path

	*/
	CategoryPath *string
	/*Features
	  features, separate multiple value by commas parameter

	*/
	Features *string
	/*IncludeSubCategoryItem
	  default is false, only available when search by category path, it will return all of the items(includes sub category path) under this category path

	*/
	IncludeSubCategoryItem *bool
	/*ItemType*/
	ItemType *string
	/*Limit
	  limit

	*/
	Limit *int32
	/*Offset
	  offset

	*/
	Offset *int32
	/*Region
	  exist in region

	*/
	Region *string
	/*SortBy
	  default is name:asc,displayOrder:asc, allow values: [name, name:asc, name:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc, displayOrder, displayOrder:asc, displayOrder:desc],and support sort group, eg: sortBy=name: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 displayOrder, make sure to include other sort such as name or createdAt after the first sort, eg: displayOrder:asc,name:asc

	*/
	SortBy []string
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*Tags
	  tags, separate multiple value by commas parameter

	*/
	Tags *string
	/*TargetNamespace
	  targetNamespace

	*/
	TargetNamespace *string

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

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

QueryItemsParams contains all the parameters to send to the API endpoint for the query items operation typically these are written to a http.Request

func NewQueryItemsParams

func NewQueryItemsParams() *QueryItemsParams

NewQueryItemsParams creates a new QueryItemsParams object with the default values initialized.

func NewQueryItemsParamsWithContext

func NewQueryItemsParamsWithContext(ctx context.Context) *QueryItemsParams

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

func NewQueryItemsParamsWithHTTPClient

func NewQueryItemsParamsWithHTTPClient(client *http.Client) *QueryItemsParams

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

func NewQueryItemsParamsWithTimeout

func NewQueryItemsParamsWithTimeout(timeout time.Duration) *QueryItemsParams

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

func (*QueryItemsParams) SetActiveOnly

func (o *QueryItemsParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the query items params

func (*QueryItemsParams) SetAppType

func (o *QueryItemsParams) SetAppType(appType *string)

SetAppType adds the appType to the query items params

func (*QueryItemsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the query items params

func (*QueryItemsParams) SetAvailableDate

func (o *QueryItemsParams) SetAvailableDate(availableDate *string)

SetAvailableDate adds the availableDate to the query items params

func (*QueryItemsParams) SetBaseAppID

func (o *QueryItemsParams) SetBaseAppID(baseAppID *string)

SetBaseAppID adds the baseAppId to the query items params

func (*QueryItemsParams) SetCategoryPath

func (o *QueryItemsParams) SetCategoryPath(categoryPath *string)

SetCategoryPath adds the categoryPath to the query items params

func (*QueryItemsParams) SetContext

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

SetContext adds the context to the query items params

func (*QueryItemsParams) SetFeatures

func (o *QueryItemsParams) SetFeatures(features *string)

SetFeatures adds the features to the query items params

func (*QueryItemsParams) SetFlightId

func (o *QueryItemsParams) SetFlightId(flightId string)

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

func (*QueryItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query items params

func (*QueryItemsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the query items params

func (*QueryItemsParams) SetIncludeSubCategoryItem

func (o *QueryItemsParams) SetIncludeSubCategoryItem(includeSubCategoryItem *bool)

SetIncludeSubCategoryItem adds the includeSubCategoryItem to the query items params

func (*QueryItemsParams) SetItemType

func (o *QueryItemsParams) SetItemType(itemType *string)

SetItemType adds the itemType to the query items params

func (*QueryItemsParams) SetLimit

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

SetLimit adds the limit to the query items params

func (*QueryItemsParams) SetNamespace

func (o *QueryItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query items params

func (*QueryItemsParams) SetOffset

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

SetOffset adds the offset to the query items params

func (*QueryItemsParams) SetRegion

func (o *QueryItemsParams) SetRegion(region *string)

SetRegion adds the region to the query items params

func (*QueryItemsParams) SetSortBy

func (o *QueryItemsParams) SetSortBy(sortBy []string)

SetSortBy adds the sortBy to the query items params

func (*QueryItemsParams) SetStoreID

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

SetStoreID adds the storeId to the query items params

func (*QueryItemsParams) SetTags

func (o *QueryItemsParams) SetTags(tags *string)

SetTags adds the tags to the query items params

func (*QueryItemsParams) SetTargetNamespace

func (o *QueryItemsParams) SetTargetNamespace(targetNamespace *string)

SetTargetNamespace adds the targetNamespace to the query items params

func (*QueryItemsParams) SetTimeout

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

SetTimeout adds the timeout to the query items params

func (*QueryItemsParams) WithActiveOnly

func (o *QueryItemsParams) WithActiveOnly(activeOnly *bool) *QueryItemsParams

WithActiveOnly adds the activeOnly to the query items params

func (*QueryItemsParams) WithAppType

func (o *QueryItemsParams) WithAppType(appType *string) *QueryItemsParams

WithAppType adds the appType to the query items params

func (*QueryItemsParams) WithAvailableDate

func (o *QueryItemsParams) WithAvailableDate(availableDate *string) *QueryItemsParams

WithAvailableDate adds the availableDate to the query items params

func (*QueryItemsParams) WithBaseAppID

func (o *QueryItemsParams) WithBaseAppID(baseAppID *string) *QueryItemsParams

WithBaseAppID adds the baseAppID to the query items params

func (*QueryItemsParams) WithCategoryPath

func (o *QueryItemsParams) WithCategoryPath(categoryPath *string) *QueryItemsParams

WithCategoryPath adds the categoryPath to the query items params

func (*QueryItemsParams) WithContext

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

WithContext adds the context to the query items params

func (*QueryItemsParams) WithFeatures

func (o *QueryItemsParams) WithFeatures(features *string) *QueryItemsParams

WithFeatures adds the features to the query items params

func (*QueryItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query items params

func (*QueryItemsParams) WithIncludeSubCategoryItem

func (o *QueryItemsParams) WithIncludeSubCategoryItem(includeSubCategoryItem *bool) *QueryItemsParams

WithIncludeSubCategoryItem adds the includeSubCategoryItem to the query items params

func (*QueryItemsParams) WithItemType

func (o *QueryItemsParams) WithItemType(itemType *string) *QueryItemsParams

WithItemType adds the itemType to the query items params

func (*QueryItemsParams) WithLimit

func (o *QueryItemsParams) WithLimit(limit *int32) *QueryItemsParams

WithLimit adds the limit to the query items params

func (*QueryItemsParams) WithNamespace

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

WithNamespace adds the namespace to the query items params

func (*QueryItemsParams) WithOffset

func (o *QueryItemsParams) WithOffset(offset *int32) *QueryItemsParams

WithOffset adds the offset to the query items params

func (*QueryItemsParams) WithRegion

func (o *QueryItemsParams) WithRegion(region *string) *QueryItemsParams

WithRegion adds the region to the query items params

func (*QueryItemsParams) WithSortBy

func (o *QueryItemsParams) WithSortBy(sortBy []string) *QueryItemsParams

WithSortBy adds the sortBy to the query items params

func (*QueryItemsParams) WithStoreID

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

WithStoreID adds the storeID to the query items params

func (*QueryItemsParams) WithTags

func (o *QueryItemsParams) WithTags(tags *string) *QueryItemsParams

WithTags adds the tags to the query items params

func (*QueryItemsParams) WithTargetNamespace

func (o *QueryItemsParams) WithTargetNamespace(targetNamespace *string) *QueryItemsParams

WithTargetNamespace adds the targetNamespace to the query items params

func (*QueryItemsParams) WithTimeout

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

WithTimeout adds the timeout to the query items params

func (*QueryItemsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryItemsReader

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

QueryItemsReader is a Reader for the QueryItems structure.

func (*QueryItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryItemsUnprocessableEntity

type QueryItemsUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

QueryItemsUnprocessableEntity 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 NewQueryItemsUnprocessableEntity

func NewQueryItemsUnprocessableEntity() *QueryItemsUnprocessableEntity

NewQueryItemsUnprocessableEntity creates a QueryItemsUnprocessableEntity with default headers values

func (*QueryItemsUnprocessableEntity) Error

func (*QueryItemsUnprocessableEntity) GetPayload

func (*QueryItemsUnprocessableEntity) ToJSONString

func (o *QueryItemsUnprocessableEntity) ToJSONString() string

type QueryUncategorizedItemsNotFound

type QueryUncategorizedItemsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

QueryUncategorizedItemsNotFound 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 NewQueryUncategorizedItemsNotFound

func NewQueryUncategorizedItemsNotFound() *QueryUncategorizedItemsNotFound

NewQueryUncategorizedItemsNotFound creates a QueryUncategorizedItemsNotFound with default headers values

func (*QueryUncategorizedItemsNotFound) Error

func (*QueryUncategorizedItemsNotFound) GetPayload

func (*QueryUncategorizedItemsNotFound) ToJSONString

func (o *QueryUncategorizedItemsNotFound) ToJSONString() string

type QueryUncategorizedItemsOK

type QueryUncategorizedItemsOK struct {
	Payload *platformclientmodels.FullItemPagingSlicedResult
}

QueryUncategorizedItemsOK handles this case with default header values.

successful operation

func NewQueryUncategorizedItemsOK

func NewQueryUncategorizedItemsOK() *QueryUncategorizedItemsOK

NewQueryUncategorizedItemsOK creates a QueryUncategorizedItemsOK with default headers values

func (*QueryUncategorizedItemsOK) Error

func (o *QueryUncategorizedItemsOK) Error() string

func (*QueryUncategorizedItemsOK) GetPayload

func (*QueryUncategorizedItemsOK) ToJSONString

func (o *QueryUncategorizedItemsOK) ToJSONString() string

type QueryUncategorizedItemsParams

type QueryUncategorizedItemsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*Limit
	  limit

	*/
	Limit *int32
	/*Offset
	  offset

	*/
	Offset *int32
	/*SortBy
	  default is name:asc, allow values: [name, name:asc, name:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc, displayOrder, displayOrder:asc, displayOrder:desc],and support sort group, eg: sortBy=name: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 displayOrder, make sure to include other sort such as name or createdAt after the first sort, eg: displayOrder:asc,name:asc

	*/
	SortBy []string
	/*StoreID
	  default is published store id

	*/
	StoreID *string

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

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

QueryUncategorizedItemsParams contains all the parameters to send to the API endpoint for the query uncategorized items operation typically these are written to a http.Request

func NewQueryUncategorizedItemsParams

func NewQueryUncategorizedItemsParams() *QueryUncategorizedItemsParams

NewQueryUncategorizedItemsParams creates a new QueryUncategorizedItemsParams object with the default values initialized.

func NewQueryUncategorizedItemsParamsWithContext

func NewQueryUncategorizedItemsParamsWithContext(ctx context.Context) *QueryUncategorizedItemsParams

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

func NewQueryUncategorizedItemsParamsWithHTTPClient

func NewQueryUncategorizedItemsParamsWithHTTPClient(client *http.Client) *QueryUncategorizedItemsParams

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

func NewQueryUncategorizedItemsParamsWithTimeout

func NewQueryUncategorizedItemsParamsWithTimeout(timeout time.Duration) *QueryUncategorizedItemsParams

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

func (*QueryUncategorizedItemsParams) SetActiveOnly

func (o *QueryUncategorizedItemsParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the query uncategorized items params

func (*QueryUncategorizedItemsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the query uncategorized items params

func (*QueryUncategorizedItemsParams) SetContext

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

SetContext adds the context to the query uncategorized items params

func (*QueryUncategorizedItemsParams) SetFlightId

func (o *QueryUncategorizedItemsParams) SetFlightId(flightId string)

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

func (*QueryUncategorizedItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query uncategorized items params

func (*QueryUncategorizedItemsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the query uncategorized items params

func (*QueryUncategorizedItemsParams) SetLimit

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

SetLimit adds the limit to the query uncategorized items params

func (*QueryUncategorizedItemsParams) SetNamespace

func (o *QueryUncategorizedItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query uncategorized items params

func (*QueryUncategorizedItemsParams) SetOffset

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

SetOffset adds the offset to the query uncategorized items params

func (*QueryUncategorizedItemsParams) SetSortBy

func (o *QueryUncategorizedItemsParams) SetSortBy(sortBy []string)

SetSortBy adds the sortBy to the query uncategorized items params

func (*QueryUncategorizedItemsParams) SetStoreID

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

SetStoreID adds the storeId to the query uncategorized items params

func (*QueryUncategorizedItemsParams) SetTimeout

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

SetTimeout adds the timeout to the query uncategorized items params

func (*QueryUncategorizedItemsParams) WithActiveOnly

func (o *QueryUncategorizedItemsParams) WithActiveOnly(activeOnly *bool) *QueryUncategorizedItemsParams

WithActiveOnly adds the activeOnly to the query uncategorized items params

func (*QueryUncategorizedItemsParams) WithContext

WithContext adds the context to the query uncategorized items params

func (*QueryUncategorizedItemsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query uncategorized items params

func (*QueryUncategorizedItemsParams) WithLimit

WithLimit adds the limit to the query uncategorized items params

func (*QueryUncategorizedItemsParams) WithNamespace

WithNamespace adds the namespace to the query uncategorized items params

func (*QueryUncategorizedItemsParams) WithOffset

WithOffset adds the offset to the query uncategorized items params

func (*QueryUncategorizedItemsParams) WithSortBy

WithSortBy adds the sortBy to the query uncategorized items params

func (*QueryUncategorizedItemsParams) WithStoreID

WithStoreID adds the storeID to the query uncategorized items params

func (*QueryUncategorizedItemsParams) WithTimeout

WithTimeout adds the timeout to the query uncategorized items params

func (*QueryUncategorizedItemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryUncategorizedItemsReader

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

QueryUncategorizedItemsReader is a Reader for the QueryUncategorizedItems structure.

func (*QueryUncategorizedItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryUncategorizedItemsUnprocessableEntity

type QueryUncategorizedItemsUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

QueryUncategorizedItemsUnprocessableEntity 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 NewQueryUncategorizedItemsUnprocessableEntity

func NewQueryUncategorizedItemsUnprocessableEntity() *QueryUncategorizedItemsUnprocessableEntity

NewQueryUncategorizedItemsUnprocessableEntity creates a QueryUncategorizedItemsUnprocessableEntity with default headers values

func (*QueryUncategorizedItemsUnprocessableEntity) Error

func (*QueryUncategorizedItemsUnprocessableEntity) GetPayload

func (*QueryUncategorizedItemsUnprocessableEntity) ToJSONString

type ReturnItemNoContent

type ReturnItemNoContent struct {
}

ReturnItemNoContent handles this case with default header values.

Return item successfully

func NewReturnItemNoContent

func NewReturnItemNoContent() *ReturnItemNoContent

NewReturnItemNoContent creates a ReturnItemNoContent with default headers values

func (*ReturnItemNoContent) Error

func (o *ReturnItemNoContent) Error() string

type ReturnItemNotFound

type ReturnItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ReturnItemNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewReturnItemNotFound

func NewReturnItemNotFound() *ReturnItemNotFound

NewReturnItemNotFound creates a ReturnItemNotFound with default headers values

func (*ReturnItemNotFound) Error

func (o *ReturnItemNotFound) Error() string

func (*ReturnItemNotFound) GetPayload

func (*ReturnItemNotFound) ToJSONString

func (o *ReturnItemNotFound) ToJSONString() string

type ReturnItemParams

type ReturnItemParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.ItemReturnRequest
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string

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

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

ReturnItemParams contains all the parameters to send to the API endpoint for the return item operation typically these are written to a http.Request

func NewReturnItemParams

func NewReturnItemParams() *ReturnItemParams

NewReturnItemParams creates a new ReturnItemParams object with the default values initialized.

func NewReturnItemParamsWithContext

func NewReturnItemParamsWithContext(ctx context.Context) *ReturnItemParams

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

func NewReturnItemParamsWithHTTPClient

func NewReturnItemParamsWithHTTPClient(client *http.Client) *ReturnItemParams

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

func NewReturnItemParamsWithTimeout

func NewReturnItemParamsWithTimeout(timeout time.Duration) *ReturnItemParams

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

func (*ReturnItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the return item params

func (*ReturnItemParams) SetBody

SetBody adds the body to the return item params

func (*ReturnItemParams) SetContext

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

SetContext adds the context to the return item params

func (*ReturnItemParams) SetFlightId

func (o *ReturnItemParams) SetFlightId(flightId string)

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

func (*ReturnItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the return item params

func (*ReturnItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the return item params

func (*ReturnItemParams) SetItemID

func (o *ReturnItemParams) SetItemID(itemID string)

SetItemID adds the itemId to the return item params

func (*ReturnItemParams) SetNamespace

func (o *ReturnItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the return item params

func (*ReturnItemParams) SetTimeout

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

SetTimeout adds the timeout to the return item params

func (*ReturnItemParams) WithBody

WithBody adds the body to the return item params

func (*ReturnItemParams) WithContext

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

WithContext adds the context to the return item params

func (*ReturnItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the return item params

func (*ReturnItemParams) WithItemID

func (o *ReturnItemParams) WithItemID(itemID string) *ReturnItemParams

WithItemID adds the itemID to the return item params

func (*ReturnItemParams) WithNamespace

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

WithNamespace adds the namespace to the return item params

func (*ReturnItemParams) WithTimeout

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

WithTimeout adds the timeout to the return item params

func (*ReturnItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReturnItemReader

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

ReturnItemReader is a Reader for the ReturnItem structure.

func (*ReturnItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReturnItemUnprocessableEntity

type ReturnItemUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

ReturnItemUnprocessableEntity 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 NewReturnItemUnprocessableEntity

func NewReturnItemUnprocessableEntity() *ReturnItemUnprocessableEntity

NewReturnItemUnprocessableEntity creates a ReturnItemUnprocessableEntity with default headers values

func (*ReturnItemUnprocessableEntity) Error

func (*ReturnItemUnprocessableEntity) GetPayload

func (*ReturnItemUnprocessableEntity) ToJSONString

func (o *ReturnItemUnprocessableEntity) ToJSONString() string

type SearchItemTypeConfigNotFound

type SearchItemTypeConfigNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

SearchItemTypeConfigNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30541</td><td>Item type config [{id}] doesn't exist</td></tr></table>

func NewSearchItemTypeConfigNotFound

func NewSearchItemTypeConfigNotFound() *SearchItemTypeConfigNotFound

NewSearchItemTypeConfigNotFound creates a SearchItemTypeConfigNotFound with default headers values

func (*SearchItemTypeConfigNotFound) Error

func (*SearchItemTypeConfigNotFound) GetPayload

func (*SearchItemTypeConfigNotFound) ToJSONString

func (o *SearchItemTypeConfigNotFound) ToJSONString() string

type SearchItemTypeConfigOK

type SearchItemTypeConfigOK struct {
	Payload *platformclientmodels.ItemTypeConfigInfo
}

SearchItemTypeConfigOK handles this case with default header values.

successful operation

func NewSearchItemTypeConfigOK

func NewSearchItemTypeConfigOK() *SearchItemTypeConfigOK

NewSearchItemTypeConfigOK creates a SearchItemTypeConfigOK with default headers values

func (*SearchItemTypeConfigOK) Error

func (o *SearchItemTypeConfigOK) Error() string

func (*SearchItemTypeConfigOK) GetPayload

func (*SearchItemTypeConfigOK) ToJSONString

func (o *SearchItemTypeConfigOK) ToJSONString() string

type SearchItemTypeConfigParams

type SearchItemTypeConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Clazz*/
	Clazz *string
	/*ItemType*/
	ItemType string

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

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

SearchItemTypeConfigParams contains all the parameters to send to the API endpoint for the search item type config operation typically these are written to a http.Request

func NewSearchItemTypeConfigParams

func NewSearchItemTypeConfigParams() *SearchItemTypeConfigParams

NewSearchItemTypeConfigParams creates a new SearchItemTypeConfigParams object with the default values initialized.

func NewSearchItemTypeConfigParamsWithContext

func NewSearchItemTypeConfigParamsWithContext(ctx context.Context) *SearchItemTypeConfigParams

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

func NewSearchItemTypeConfigParamsWithHTTPClient

func NewSearchItemTypeConfigParamsWithHTTPClient(client *http.Client) *SearchItemTypeConfigParams

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

func NewSearchItemTypeConfigParamsWithTimeout

func NewSearchItemTypeConfigParamsWithTimeout(timeout time.Duration) *SearchItemTypeConfigParams

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

func (*SearchItemTypeConfigParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the search item type config params

func (*SearchItemTypeConfigParams) SetClazz

func (o *SearchItemTypeConfigParams) SetClazz(clazz *string)

SetClazz adds the clazz to the search item type config params

func (*SearchItemTypeConfigParams) SetContext

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

SetContext adds the context to the search item type config params

func (*SearchItemTypeConfigParams) SetFlightId

func (o *SearchItemTypeConfigParams) SetFlightId(flightId string)

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

func (*SearchItemTypeConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search item type config params

func (*SearchItemTypeConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the search item type config params

func (*SearchItemTypeConfigParams) SetItemType

func (o *SearchItemTypeConfigParams) SetItemType(itemType string)

SetItemType adds the itemType to the search item type config params

func (*SearchItemTypeConfigParams) SetTimeout

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

SetTimeout adds the timeout to the search item type config params

func (*SearchItemTypeConfigParams) WithClazz

WithClazz adds the clazz to the search item type config params

func (*SearchItemTypeConfigParams) WithContext

WithContext adds the context to the search item type config params

func (*SearchItemTypeConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the search item type config params

func (*SearchItemTypeConfigParams) WithItemType

WithItemType adds the itemType to the search item type config params

func (*SearchItemTypeConfigParams) WithTimeout

WithTimeout adds the timeout to the search item type config params

func (*SearchItemTypeConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchItemTypeConfigReader

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

SearchItemTypeConfigReader is a Reader for the SearchItemTypeConfig structure.

func (*SearchItemTypeConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchItemsNotFound

type SearchItemsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

SearchItemsNotFound 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 NewSearchItemsNotFound

func NewSearchItemsNotFound() *SearchItemsNotFound

NewSearchItemsNotFound creates a SearchItemsNotFound with default headers values

func (*SearchItemsNotFound) Error

func (o *SearchItemsNotFound) Error() string

func (*SearchItemsNotFound) GetPayload

func (*SearchItemsNotFound) ToJSONString

func (o *SearchItemsNotFound) ToJSONString() string

type SearchItemsOK

type SearchItemsOK struct {
	Payload *platformclientmodels.FullItemPagingSlicedResult
}

SearchItemsOK handles this case with default header values.

successful operation

func NewSearchItemsOK

func NewSearchItemsOK() *SearchItemsOK

NewSearchItemsOK creates a SearchItemsOK with default headers values

func (*SearchItemsOK) Error

func (o *SearchItemsOK) Error() string

func (*SearchItemsOK) GetPayload

func (*SearchItemsOK) ToJSONString

func (o *SearchItemsOK) ToJSONString() string

type SearchItemsParams

type SearchItemsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*ActiveOnly*/
	ActiveOnly *bool
	/*ItemType*/
	ItemType *string
	/*Limit
	  limit

	*/
	Limit *int32
	/*Offset
	  offset

	*/
	Offset *int32
	/*SortBy
	  default is name:asc,createdAt:asc, allow values: [name, name:asc, name:desc, createdAt, createdAt:asc, createdAt:desc, updatedAt, updatedAt:asc, updatedAt:desc, displayOrder, displayOrder:asc, displayOrder:desc],and support sort group, eg: sortBy=name: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 displayOrder, make sure to include other sort such as name or createdAt after the first sort, eg: displayOrder:asc,name:asc

	*/
	SortBy *string
	/*StoreID
	  default is published store id

	*/
	StoreID *string
	/*Keyword*/
	Keyword string
	/*Language*/
	Language string

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

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

SearchItemsParams contains all the parameters to send to the API endpoint for the search items operation typically these are written to a http.Request

func NewSearchItemsParams

func NewSearchItemsParams() *SearchItemsParams

NewSearchItemsParams creates a new SearchItemsParams object with the default values initialized.

func NewSearchItemsParamsWithContext

func NewSearchItemsParamsWithContext(ctx context.Context) *SearchItemsParams

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

func NewSearchItemsParamsWithHTTPClient

func NewSearchItemsParamsWithHTTPClient(client *http.Client) *SearchItemsParams

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

func NewSearchItemsParamsWithTimeout

func NewSearchItemsParamsWithTimeout(timeout time.Duration) *SearchItemsParams

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

func (*SearchItemsParams) SetActiveOnly

func (o *SearchItemsParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the search items params

func (*SearchItemsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the search items params

func (*SearchItemsParams) SetContext

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

SetContext adds the context to the search items params

func (*SearchItemsParams) SetFlightId

func (o *SearchItemsParams) SetFlightId(flightId string)

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

func (*SearchItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search items params

func (*SearchItemsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the search items params

func (*SearchItemsParams) SetItemType

func (o *SearchItemsParams) SetItemType(itemType *string)

SetItemType adds the itemType to the search items params

func (*SearchItemsParams) SetKeyword

func (o *SearchItemsParams) SetKeyword(keyword string)

SetKeyword adds the keyword to the search items params

func (*SearchItemsParams) SetLanguage

func (o *SearchItemsParams) SetLanguage(language string)

SetLanguage adds the language to the search items params

func (*SearchItemsParams) SetLimit

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

SetLimit adds the limit to the search items params

func (*SearchItemsParams) SetNamespace

func (o *SearchItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the search items params

func (*SearchItemsParams) SetOffset

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

SetOffset adds the offset to the search items params

func (*SearchItemsParams) SetSortBy

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

SetSortBy adds the sortBy to the search items params

func (*SearchItemsParams) SetStoreID

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

SetStoreID adds the storeId to the search items params

func (*SearchItemsParams) SetTimeout

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

SetTimeout adds the timeout to the search items params

func (*SearchItemsParams) WithActiveOnly

func (o *SearchItemsParams) WithActiveOnly(activeOnly *bool) *SearchItemsParams

WithActiveOnly adds the activeOnly to the search items params

func (*SearchItemsParams) WithContext

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

WithContext adds the context to the search items params

func (*SearchItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search items params

func (*SearchItemsParams) WithItemType

func (o *SearchItemsParams) WithItemType(itemType *string) *SearchItemsParams

WithItemType adds the itemType to the search items params

func (*SearchItemsParams) WithKeyword

func (o *SearchItemsParams) WithKeyword(keyword string) *SearchItemsParams

WithKeyword adds the keyword to the search items params

func (*SearchItemsParams) WithLanguage

func (o *SearchItemsParams) WithLanguage(language string) *SearchItemsParams

WithLanguage adds the language to the search items params

func (*SearchItemsParams) WithLimit

func (o *SearchItemsParams) WithLimit(limit *int32) *SearchItemsParams

WithLimit adds the limit to the search items params

func (*SearchItemsParams) WithNamespace

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

WithNamespace adds the namespace to the search items params

func (*SearchItemsParams) WithOffset

func (o *SearchItemsParams) WithOffset(offset *int32) *SearchItemsParams

WithOffset adds the offset to the search items params

func (*SearchItemsParams) WithSortBy

func (o *SearchItemsParams) WithSortBy(sortBy *string) *SearchItemsParams

WithSortBy adds the sortBy to the search items params

func (*SearchItemsParams) WithStoreID

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

WithStoreID adds the storeID to the search items params

func (*SearchItemsParams) WithTimeout

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

WithTimeout adds the timeout to the search items params

func (*SearchItemsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchItemsReader

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

SearchItemsReader is a Reader for the SearchItems structure.

func (*SearchItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SyncInGameItemBadRequest

type SyncInGameItemBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

SyncInGameItemBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30021</td><td>Default language [{language}] required</td></tr><tr><td>30022</td><td>Default region [{region}] is required</td></tr><tr><td>30324</td><td>Invalid namespace [{namespace}]</td></tr></table>

func NewSyncInGameItemBadRequest

func NewSyncInGameItemBadRequest() *SyncInGameItemBadRequest

NewSyncInGameItemBadRequest creates a SyncInGameItemBadRequest with default headers values

func (*SyncInGameItemBadRequest) Error

func (o *SyncInGameItemBadRequest) Error() string

func (*SyncInGameItemBadRequest) GetPayload

func (*SyncInGameItemBadRequest) ToJSONString

func (o *SyncInGameItemBadRequest) ToJSONString() string

type SyncInGameItemConflict

type SyncInGameItemConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

SyncInGameItemConflict 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><tr><td>30373</td><td>ItemType [{itemType}] is not allowed in namespace [{namespace}]</td></tr></table>

func NewSyncInGameItemConflict

func NewSyncInGameItemConflict() *SyncInGameItemConflict

NewSyncInGameItemConflict creates a SyncInGameItemConflict with default headers values

func (*SyncInGameItemConflict) Error

func (o *SyncInGameItemConflict) Error() string

func (*SyncInGameItemConflict) GetPayload

func (*SyncInGameItemConflict) ToJSONString

func (o *SyncInGameItemConflict) ToJSONString() string

type SyncInGameItemNotFound

type SyncInGameItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

SyncInGameItemNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30241</td><td>Category [{categoryPath}] does not exist in namespace [{namespace}]</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewSyncInGameItemNotFound

func NewSyncInGameItemNotFound() *SyncInGameItemNotFound

NewSyncInGameItemNotFound creates a SyncInGameItemNotFound with default headers values

func (*SyncInGameItemNotFound) Error

func (o *SyncInGameItemNotFound) Error() string

func (*SyncInGameItemNotFound) GetPayload

func (*SyncInGameItemNotFound) ToJSONString

func (o *SyncInGameItemNotFound) ToJSONString() string

type SyncInGameItemOK

type SyncInGameItemOK struct {
	Payload *platformclientmodels.FullItemInfo
}

SyncInGameItemOK handles this case with default header values.

successful operation

func NewSyncInGameItemOK

func NewSyncInGameItemOK() *SyncInGameItemOK

NewSyncInGameItemOK creates a SyncInGameItemOK with default headers values

func (*SyncInGameItemOK) Error

func (o *SyncInGameItemOK) Error() string

func (*SyncInGameItemOK) GetPayload

func (*SyncInGameItemOK) ToJSONString

func (o *SyncInGameItemOK) ToJSONString() string

type SyncInGameItemParams

type SyncInGameItemParams struct {

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

	*/
	Namespace string
	/*StoreID*/
	StoreID string

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

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

SyncInGameItemParams contains all the parameters to send to the API endpoint for the sync in game item operation typically these are written to a http.Request

func NewSyncInGameItemParams

func NewSyncInGameItemParams() *SyncInGameItemParams

NewSyncInGameItemParams creates a new SyncInGameItemParams object with the default values initialized.

func NewSyncInGameItemParamsWithContext

func NewSyncInGameItemParamsWithContext(ctx context.Context) *SyncInGameItemParams

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

func NewSyncInGameItemParamsWithHTTPClient

func NewSyncInGameItemParamsWithHTTPClient(client *http.Client) *SyncInGameItemParams

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

func NewSyncInGameItemParamsWithTimeout

func NewSyncInGameItemParamsWithTimeout(timeout time.Duration) *SyncInGameItemParams

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

func (*SyncInGameItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the sync in game item params

func (*SyncInGameItemParams) SetBody

SetBody adds the body to the sync in game item params

func (*SyncInGameItemParams) SetContext

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

SetContext adds the context to the sync in game item params

func (*SyncInGameItemParams) SetFlightId

func (o *SyncInGameItemParams) SetFlightId(flightId string)

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

func (*SyncInGameItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the sync in game item params

func (*SyncInGameItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the sync in game item params

func (*SyncInGameItemParams) SetNamespace

func (o *SyncInGameItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the sync in game item params

func (*SyncInGameItemParams) SetStoreID

func (o *SyncInGameItemParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the sync in game item params

func (*SyncInGameItemParams) SetTimeout

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

SetTimeout adds the timeout to the sync in game item params

func (*SyncInGameItemParams) WithBody

WithBody adds the body to the sync in game item params

func (*SyncInGameItemParams) WithContext

WithContext adds the context to the sync in game item params

func (*SyncInGameItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the sync in game item params

func (*SyncInGameItemParams) WithNamespace

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

WithNamespace adds the namespace to the sync in game item params

func (*SyncInGameItemParams) WithStoreID

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

WithStoreID adds the storeID to the sync in game item params

func (*SyncInGameItemParams) WithTimeout

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

WithTimeout adds the timeout to the sync in game item params

func (*SyncInGameItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SyncInGameItemReader

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

SyncInGameItemReader is a Reader for the SyncInGameItem structure.

func (*SyncInGameItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SyncInGameItemUnprocessableEntity

type SyncInGameItemUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

SyncInGameItemUnprocessableEntity 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 NewSyncInGameItemUnprocessableEntity

func NewSyncInGameItemUnprocessableEntity() *SyncInGameItemUnprocessableEntity

NewSyncInGameItemUnprocessableEntity creates a SyncInGameItemUnprocessableEntity with default headers values

func (*SyncInGameItemUnprocessableEntity) Error

func (*SyncInGameItemUnprocessableEntity) GetPayload

func (*SyncInGameItemUnprocessableEntity) ToJSONString

func (o *SyncInGameItemUnprocessableEntity) ToJSONString() string

type UpdateAppConflict

type UpdateAppConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateAppConflict 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 NewUpdateAppConflict

func NewUpdateAppConflict() *UpdateAppConflict

NewUpdateAppConflict creates a UpdateAppConflict with default headers values

func (*UpdateAppConflict) Error

func (o *UpdateAppConflict) Error() string

func (*UpdateAppConflict) GetPayload

func (*UpdateAppConflict) ToJSONString

func (o *UpdateAppConflict) ToJSONString() string

type UpdateAppNotFound

type UpdateAppNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateAppNotFound handles this case with default header values.

<table><tr><tdErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewUpdateAppNotFound

func NewUpdateAppNotFound() *UpdateAppNotFound

NewUpdateAppNotFound creates a UpdateAppNotFound with default headers values

func (*UpdateAppNotFound) Error

func (o *UpdateAppNotFound) Error() string

func (*UpdateAppNotFound) GetPayload

func (*UpdateAppNotFound) ToJSONString

func (o *UpdateAppNotFound) ToJSONString() string

type UpdateAppOK

type UpdateAppOK struct {
	Payload *platformclientmodels.FullAppInfo
}

UpdateAppOK handles this case with default header values.

successful operation

func NewUpdateAppOK

func NewUpdateAppOK() *UpdateAppOK

NewUpdateAppOK creates a UpdateAppOK with default headers values

func (*UpdateAppOK) Error

func (o *UpdateAppOK) Error() string

func (*UpdateAppOK) GetPayload

func (o *UpdateAppOK) GetPayload() *platformclientmodels.FullAppInfo

func (*UpdateAppOK) ToJSONString

func (o *UpdateAppOK) ToJSONString() string

type UpdateAppParams

type UpdateAppParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.AppUpdate
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string
	/*StoreID*/
	StoreID string

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

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

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

func NewUpdateAppParams

func NewUpdateAppParams() *UpdateAppParams

NewUpdateAppParams creates a new UpdateAppParams object with the default values initialized.

func NewUpdateAppParamsWithContext

func NewUpdateAppParamsWithContext(ctx context.Context) *UpdateAppParams

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

func NewUpdateAppParamsWithHTTPClient

func NewUpdateAppParamsWithHTTPClient(client *http.Client) *UpdateAppParams

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

func NewUpdateAppParamsWithTimeout

func NewUpdateAppParamsWithTimeout(timeout time.Duration) *UpdateAppParams

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

func (*UpdateAppParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update app params

func (*UpdateAppParams) SetBody

SetBody adds the body to the update app params

func (*UpdateAppParams) SetContext

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

SetContext adds the context to the update app params

func (*UpdateAppParams) SetFlightId

func (o *UpdateAppParams) SetFlightId(flightId string)

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

func (*UpdateAppParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update app params

func (*UpdateAppParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update app params

func (*UpdateAppParams) SetItemID

func (o *UpdateAppParams) SetItemID(itemID string)

SetItemID adds the itemId to the update app params

func (*UpdateAppParams) SetNamespace

func (o *UpdateAppParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update app params

func (*UpdateAppParams) SetStoreID

func (o *UpdateAppParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the update app params

func (*UpdateAppParams) SetTimeout

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

SetTimeout adds the timeout to the update app params

func (*UpdateAppParams) WithBody

WithBody adds the body to the update app params

func (*UpdateAppParams) WithContext

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

WithContext adds the context to the update app params

func (*UpdateAppParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update app params

func (*UpdateAppParams) WithItemID

func (o *UpdateAppParams) WithItemID(itemID string) *UpdateAppParams

WithItemID adds the itemID to the update app params

func (*UpdateAppParams) WithNamespace

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

WithNamespace adds the namespace to the update app params

func (*UpdateAppParams) WithStoreID

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

WithStoreID adds the storeID to the update app params

func (*UpdateAppParams) WithTimeout

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

WithTimeout adds the timeout to the update app params

func (*UpdateAppParams) WriteToRequest

func (o *UpdateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateAppReader

type UpdateAppReader struct {
	// contains filtered or unexported fields
}

UpdateAppReader is a Reader for the UpdateApp structure.

func (*UpdateAppReader) ReadResponse

func (o *UpdateAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateAppUnprocessableEntity

type UpdateAppUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateAppUnprocessableEntity 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 NewUpdateAppUnprocessableEntity

func NewUpdateAppUnprocessableEntity() *UpdateAppUnprocessableEntity

NewUpdateAppUnprocessableEntity creates a UpdateAppUnprocessableEntity with default headers values

func (*UpdateAppUnprocessableEntity) Error

func (*UpdateAppUnprocessableEntity) GetPayload

func (*UpdateAppUnprocessableEntity) ToJSONString

func (o *UpdateAppUnprocessableEntity) ToJSONString() string

type UpdateItemBadRequest

type UpdateItemBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateItemBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20024</td><td>unsupported operation</td></tr><tr><td>30301</td><td>Unsupported Item Type [{itemType}] for box item [{itemId}] with expiration</td></tr><tr><td>30322</td><td>Bundle item [{itemId}] can't be bundled</td></tr><tr><td>30325</td><td>Code item [{itemId}] can't be bundled</td></tr><tr><td>30326</td><td>Subscription item [{itemId}] can't be bundled</td></tr><tr><td>30329</td><td>Invalid bundled item [{itemId}] quantity</td></tr><tr><td>30021</td><td>Default language [{language}] required</td></tr><tr><td>30321</td><td>Invalid item discount amount</td></tr><tr><td>30022</td><td>Default region [{region}] is required</td></tr><tr><td>30323</td><td>Target namespace is required</td></tr><tr><td>30327</td><td>Invalid item trial price</td></tr><tr><td>30330</td><td>Invalid item region price currency namespace [{namespace}]</td></tr><tr><td>30332</td><td>Invalid option box item [{itemId}] quantity</td></tr><tr><td>30333</td><td>Item [{itemId}] item type [{itemType}] can't be bundled into option box</td></tr><tr><td>30334</td><td>Option box item [{itemId}] can't be bundled</td></tr><tr><td>30337</td><td>Invalid loot box item [{itemId}] quantity</td></tr><tr><td>30338</td><td>Item [{itemId}] item type [{itemType}] can't be bundled into loot box</td></tr><tr><td>30339</td><td>Loot box item [{itemId}] can't be bundled</td></tr></table>

func NewUpdateItemBadRequest

func NewUpdateItemBadRequest() *UpdateItemBadRequest

NewUpdateItemBadRequest creates a UpdateItemBadRequest with default headers values

func (*UpdateItemBadRequest) Error

func (o *UpdateItemBadRequest) Error() string

func (*UpdateItemBadRequest) GetPayload

func (*UpdateItemBadRequest) ToJSONString

func (o *UpdateItemBadRequest) ToJSONString() string

type UpdateItemConflict

type UpdateItemConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateItemConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30371</td><td>Item maxCount not allow reduce</td></tr><tr><td>30372</td><td>ItemType is not updatable</td></tr><tr><td>30173</td><td>Published store can't modify content</td></tr><tr><td>30175</td><td>Duplicated currencyCode [{currencyCode}] in Region [{region}]</td></tr><tr><td>30374</td><td>Item sku [{sku}] already exists in namespace [{namespace}]</td></tr><tr><td>30376</td><td>Publisher namespace don’t allow sellback item</td></tr><tr><td>30377</td><td>This item type [{itemType}] don’t allow sellback</td></tr><tr><td>30378</td><td>Sale price don’t allow real currency [{currencyCode}]</td></tr><tr><td>30379</td><td>Item sku is not updatable</td></tr><tr><td>30380</td><td>Box item [{itemId}] duration and end date can’t be set at the same time</td></tr><tr><td>30381</td><td>Currency [{currency}] is not set for bundle Item [{itemId}] in region [{region}]</td></tr></table>

func NewUpdateItemConflict

func NewUpdateItemConflict() *UpdateItemConflict

NewUpdateItemConflict creates a UpdateItemConflict with default headers values

func (*UpdateItemConflict) Error

func (o *UpdateItemConflict) Error() string

func (*UpdateItemConflict) GetPayload

func (*UpdateItemConflict) ToJSONString

func (o *UpdateItemConflict) ToJSONString() string

type UpdateItemNotFound

type UpdateItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateItemNotFound 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>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30241</td><td>Category [{categoryPath}] does not exist in namespace [{namespace}]</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>

func NewUpdateItemNotFound

func NewUpdateItemNotFound() *UpdateItemNotFound

NewUpdateItemNotFound creates a UpdateItemNotFound with default headers values

func (*UpdateItemNotFound) Error

func (o *UpdateItemNotFound) Error() string

func (*UpdateItemNotFound) GetPayload

func (*UpdateItemNotFound) ToJSONString

func (o *UpdateItemNotFound) ToJSONString() string

type UpdateItemOK

type UpdateItemOK struct {
	Payload *platformclientmodels.FullItemInfo
}

UpdateItemOK handles this case with default header values.

successful operation

func NewUpdateItemOK

func NewUpdateItemOK() *UpdateItemOK

NewUpdateItemOK creates a UpdateItemOK with default headers values

func (*UpdateItemOK) Error

func (o *UpdateItemOK) Error() string

func (*UpdateItemOK) GetPayload

func (*UpdateItemOK) ToJSONString

func (o *UpdateItemOK) ToJSONString() string

type UpdateItemParams

type UpdateItemParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.ItemUpdate
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string
	/*StoreID*/
	StoreID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UpdateItemParams contains all the parameters to send to the API endpoint for the update item operation typically these are written to a http.Request

func NewUpdateItemParams

func NewUpdateItemParams() *UpdateItemParams

NewUpdateItemParams creates a new UpdateItemParams object with the default values initialized.

func NewUpdateItemParamsWithContext

func NewUpdateItemParamsWithContext(ctx context.Context) *UpdateItemParams

NewUpdateItemParamsWithContext creates a new UpdateItemParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateItemParamsWithHTTPClient

func NewUpdateItemParamsWithHTTPClient(client *http.Client) *UpdateItemParams

NewUpdateItemParamsWithHTTPClient creates a new UpdateItemParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateItemParamsWithTimeout

func NewUpdateItemParamsWithTimeout(timeout time.Duration) *UpdateItemParams

NewUpdateItemParamsWithTimeout creates a new UpdateItemParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateItemParams) SetAuthInfoWriter

func (o *UpdateItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update item params

func (*UpdateItemParams) SetBody

SetBody adds the body to the update item params

func (*UpdateItemParams) SetContext

func (o *UpdateItemParams) SetContext(ctx context.Context)

SetContext adds the context to the update item params

func (*UpdateItemParams) SetFlightId

func (o *UpdateItemParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateItemParams) SetHTTPClient

func (o *UpdateItemParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update item params

func (*UpdateItemParams) SetHTTPClientTransport

func (o *UpdateItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update item params

func (*UpdateItemParams) SetItemID

func (o *UpdateItemParams) SetItemID(itemID string)

SetItemID adds the itemId to the update item params

func (*UpdateItemParams) SetNamespace

func (o *UpdateItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update item params

func (*UpdateItemParams) SetStoreID

func (o *UpdateItemParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the update item params

func (*UpdateItemParams) SetTimeout

func (o *UpdateItemParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update item params

func (*UpdateItemParams) WithBody

WithBody adds the body to the update item params

func (*UpdateItemParams) WithContext

func (o *UpdateItemParams) WithContext(ctx context.Context) *UpdateItemParams

WithContext adds the context to the update item params

func (*UpdateItemParams) WithHTTPClient

func (o *UpdateItemParams) WithHTTPClient(client *http.Client) *UpdateItemParams

WithHTTPClient adds the HTTPClient to the update item params

func (*UpdateItemParams) WithItemID

func (o *UpdateItemParams) WithItemID(itemID string) *UpdateItemParams

WithItemID adds the itemID to the update item params

func (*UpdateItemParams) WithNamespace

func (o *UpdateItemParams) WithNamespace(namespace string) *UpdateItemParams

WithNamespace adds the namespace to the update item params

func (*UpdateItemParams) WithStoreID

func (o *UpdateItemParams) WithStoreID(storeID string) *UpdateItemParams

WithStoreID adds the storeID to the update item params

func (*UpdateItemParams) WithTimeout

func (o *UpdateItemParams) WithTimeout(timeout time.Duration) *UpdateItemParams

WithTimeout adds the timeout to the update item params

func (*UpdateItemParams) WriteToRequest

func (o *UpdateItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateItemPurchaseConditionBadRequest

type UpdateItemPurchaseConditionBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateItemPurchaseConditionBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30331</td><td>Invalid purchase condition</td></tr></table>

func NewUpdateItemPurchaseConditionBadRequest

func NewUpdateItemPurchaseConditionBadRequest() *UpdateItemPurchaseConditionBadRequest

NewUpdateItemPurchaseConditionBadRequest creates a UpdateItemPurchaseConditionBadRequest with default headers values

func (*UpdateItemPurchaseConditionBadRequest) Error

func (*UpdateItemPurchaseConditionBadRequest) GetPayload

func (*UpdateItemPurchaseConditionBadRequest) ToJSONString

type UpdateItemPurchaseConditionConflict

type UpdateItemPurchaseConditionConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateItemPurchaseConditionConflict 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 NewUpdateItemPurchaseConditionConflict

func NewUpdateItemPurchaseConditionConflict() *UpdateItemPurchaseConditionConflict

NewUpdateItemPurchaseConditionConflict creates a UpdateItemPurchaseConditionConflict with default headers values

func (*UpdateItemPurchaseConditionConflict) Error

func (*UpdateItemPurchaseConditionConflict) GetPayload

func (*UpdateItemPurchaseConditionConflict) ToJSONString

func (o *UpdateItemPurchaseConditionConflict) ToJSONString() string

type UpdateItemPurchaseConditionNotFound

type UpdateItemPurchaseConditionNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateItemPurchaseConditionNotFound 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>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewUpdateItemPurchaseConditionNotFound

func NewUpdateItemPurchaseConditionNotFound() *UpdateItemPurchaseConditionNotFound

NewUpdateItemPurchaseConditionNotFound creates a UpdateItemPurchaseConditionNotFound with default headers values

func (*UpdateItemPurchaseConditionNotFound) Error

func (*UpdateItemPurchaseConditionNotFound) GetPayload

func (*UpdateItemPurchaseConditionNotFound) ToJSONString

func (o *UpdateItemPurchaseConditionNotFound) ToJSONString() string

type UpdateItemPurchaseConditionOK

type UpdateItemPurchaseConditionOK struct {
	Payload *platformclientmodels.FullItemInfo
}

UpdateItemPurchaseConditionOK handles this case with default header values.

successful operation

func NewUpdateItemPurchaseConditionOK

func NewUpdateItemPurchaseConditionOK() *UpdateItemPurchaseConditionOK

NewUpdateItemPurchaseConditionOK creates a UpdateItemPurchaseConditionOK with default headers values

func (*UpdateItemPurchaseConditionOK) Error

func (*UpdateItemPurchaseConditionOK) GetPayload

func (*UpdateItemPurchaseConditionOK) ToJSONString

func (o *UpdateItemPurchaseConditionOK) ToJSONString() string

type UpdateItemPurchaseConditionParams

type UpdateItemPurchaseConditionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.PurchaseConditionUpdate
	/*ItemID*/
	ItemID string
	/*Namespace*/
	Namespace string
	/*StoreID*/
	StoreID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UpdateItemPurchaseConditionParams contains all the parameters to send to the API endpoint for the update item purchase condition operation typically these are written to a http.Request

func NewUpdateItemPurchaseConditionParams

func NewUpdateItemPurchaseConditionParams() *UpdateItemPurchaseConditionParams

NewUpdateItemPurchaseConditionParams creates a new UpdateItemPurchaseConditionParams object with the default values initialized.

func NewUpdateItemPurchaseConditionParamsWithContext

func NewUpdateItemPurchaseConditionParamsWithContext(ctx context.Context) *UpdateItemPurchaseConditionParams

NewUpdateItemPurchaseConditionParamsWithContext creates a new UpdateItemPurchaseConditionParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateItemPurchaseConditionParamsWithHTTPClient

func NewUpdateItemPurchaseConditionParamsWithHTTPClient(client *http.Client) *UpdateItemPurchaseConditionParams

NewUpdateItemPurchaseConditionParamsWithHTTPClient creates a new UpdateItemPurchaseConditionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateItemPurchaseConditionParamsWithTimeout

func NewUpdateItemPurchaseConditionParamsWithTimeout(timeout time.Duration) *UpdateItemPurchaseConditionParams

NewUpdateItemPurchaseConditionParamsWithTimeout creates a new UpdateItemPurchaseConditionParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateItemPurchaseConditionParams) SetAuthInfoWriter

func (o *UpdateItemPurchaseConditionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) SetBody

SetBody adds the body to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) SetContext

SetContext adds the context to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) SetFlightId

func (o *UpdateItemPurchaseConditionParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateItemPurchaseConditionParams) SetHTTPClient

func (o *UpdateItemPurchaseConditionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) SetHTTPClientTransport

func (o *UpdateItemPurchaseConditionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) SetItemID

func (o *UpdateItemPurchaseConditionParams) SetItemID(itemID string)

SetItemID adds the itemId to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) SetNamespace

func (o *UpdateItemPurchaseConditionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) SetStoreID

func (o *UpdateItemPurchaseConditionParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) SetTimeout

func (o *UpdateItemPurchaseConditionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) WithBody

WithBody adds the body to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) WithContext

WithContext adds the context to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) WithItemID

WithItemID adds the itemID to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) WithNamespace

WithNamespace adds the namespace to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) WithStoreID

WithStoreID adds the storeID to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) WithTimeout

WithTimeout adds the timeout to the update item purchase condition params

func (*UpdateItemPurchaseConditionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateItemPurchaseConditionReader

type UpdateItemPurchaseConditionReader struct {
	// contains filtered or unexported fields
}

UpdateItemPurchaseConditionReader is a Reader for the UpdateItemPurchaseCondition structure.

func (*UpdateItemPurchaseConditionReader) ReadResponse

func (o *UpdateItemPurchaseConditionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateItemPurchaseConditionUnprocessableEntity

type UpdateItemPurchaseConditionUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateItemPurchaseConditionUnprocessableEntity 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 NewUpdateItemPurchaseConditionUnprocessableEntity

func NewUpdateItemPurchaseConditionUnprocessableEntity() *UpdateItemPurchaseConditionUnprocessableEntity

NewUpdateItemPurchaseConditionUnprocessableEntity creates a UpdateItemPurchaseConditionUnprocessableEntity with default headers values

func (*UpdateItemPurchaseConditionUnprocessableEntity) Error

func (*UpdateItemPurchaseConditionUnprocessableEntity) GetPayload

func (*UpdateItemPurchaseConditionUnprocessableEntity) ToJSONString

type UpdateItemReader

type UpdateItemReader struct {
	// contains filtered or unexported fields
}

UpdateItemReader is a Reader for the UpdateItem structure.

func (*UpdateItemReader) ReadResponse

func (o *UpdateItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateItemTypeConfigConflict

type UpdateItemTypeConfigConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateItemTypeConfigConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30371</td><td>Item type config for type [{itemType}] and clazz [{clazz}] already exists</td></tr></table>

func NewUpdateItemTypeConfigConflict

func NewUpdateItemTypeConfigConflict() *UpdateItemTypeConfigConflict

NewUpdateItemTypeConfigConflict creates a UpdateItemTypeConfigConflict with default headers values

func (*UpdateItemTypeConfigConflict) Error

func (*UpdateItemTypeConfigConflict) GetPayload

func (*UpdateItemTypeConfigConflict) ToJSONString

func (o *UpdateItemTypeConfigConflict) ToJSONString() string

type UpdateItemTypeConfigNotFound

type UpdateItemTypeConfigNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateItemTypeConfigNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30541</td><td>Item type config [{id}] doesn't exist</td></tr></table>

func NewUpdateItemTypeConfigNotFound

func NewUpdateItemTypeConfigNotFound() *UpdateItemTypeConfigNotFound

NewUpdateItemTypeConfigNotFound creates a UpdateItemTypeConfigNotFound with default headers values

func (*UpdateItemTypeConfigNotFound) Error

func (*UpdateItemTypeConfigNotFound) GetPayload

func (*UpdateItemTypeConfigNotFound) ToJSONString

func (o *UpdateItemTypeConfigNotFound) ToJSONString() string

type UpdateItemTypeConfigOK

type UpdateItemTypeConfigOK struct {
	Payload *platformclientmodels.ItemTypeConfigInfo
}

UpdateItemTypeConfigOK handles this case with default header values.

successful operation

func NewUpdateItemTypeConfigOK

func NewUpdateItemTypeConfigOK() *UpdateItemTypeConfigOK

NewUpdateItemTypeConfigOK creates a UpdateItemTypeConfigOK with default headers values

func (*UpdateItemTypeConfigOK) Error

func (o *UpdateItemTypeConfigOK) Error() string

func (*UpdateItemTypeConfigOK) GetPayload

func (*UpdateItemTypeConfigOK) ToJSONString

func (o *UpdateItemTypeConfigOK) ToJSONString() string

type UpdateItemTypeConfigParams

type UpdateItemTypeConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.ItemTypeConfigUpdate
	/*ID*/
	ID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UpdateItemTypeConfigParams contains all the parameters to send to the API endpoint for the update item type config operation typically these are written to a http.Request

func NewUpdateItemTypeConfigParams

func NewUpdateItemTypeConfigParams() *UpdateItemTypeConfigParams

NewUpdateItemTypeConfigParams creates a new UpdateItemTypeConfigParams object with the default values initialized.

func NewUpdateItemTypeConfigParamsWithContext

func NewUpdateItemTypeConfigParamsWithContext(ctx context.Context) *UpdateItemTypeConfigParams

NewUpdateItemTypeConfigParamsWithContext creates a new UpdateItemTypeConfigParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateItemTypeConfigParamsWithHTTPClient

func NewUpdateItemTypeConfigParamsWithHTTPClient(client *http.Client) *UpdateItemTypeConfigParams

NewUpdateItemTypeConfigParamsWithHTTPClient creates a new UpdateItemTypeConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateItemTypeConfigParamsWithTimeout

func NewUpdateItemTypeConfigParamsWithTimeout(timeout time.Duration) *UpdateItemTypeConfigParams

NewUpdateItemTypeConfigParamsWithTimeout creates a new UpdateItemTypeConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateItemTypeConfigParams) SetAuthInfoWriter

func (o *UpdateItemTypeConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update item type config params

func (*UpdateItemTypeConfigParams) SetBody

SetBody adds the body to the update item type config params

func (*UpdateItemTypeConfigParams) SetContext

func (o *UpdateItemTypeConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the update item type config params

func (*UpdateItemTypeConfigParams) SetFlightId

func (o *UpdateItemTypeConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateItemTypeConfigParams) SetHTTPClient

func (o *UpdateItemTypeConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update item type config params

func (*UpdateItemTypeConfigParams) SetHTTPClientTransport

func (o *UpdateItemTypeConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update item type config params

func (*UpdateItemTypeConfigParams) SetID

func (o *UpdateItemTypeConfigParams) SetID(idVar string)

SetID adds the id to the update item type config params

func (*UpdateItemTypeConfigParams) SetTimeout

func (o *UpdateItemTypeConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update item type config params

func (*UpdateItemTypeConfigParams) WithBody

WithBody adds the body to the update item type config params

func (*UpdateItemTypeConfigParams) WithContext

WithContext adds the context to the update item type config params

func (*UpdateItemTypeConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update item type config params

func (*UpdateItemTypeConfigParams) WithID

WithID adds the idVar to the update item type config params

func (*UpdateItemTypeConfigParams) WithTimeout

WithTimeout adds the timeout to the update item type config params

func (*UpdateItemTypeConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateItemTypeConfigReader

type UpdateItemTypeConfigReader struct {
	// contains filtered or unexported fields
}

UpdateItemTypeConfigReader is a Reader for the UpdateItemTypeConfig structure.

func (*UpdateItemTypeConfigReader) ReadResponse

func (o *UpdateItemTypeConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateItemTypeConfigUnprocessableEntity

type UpdateItemTypeConfigUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateItemTypeConfigUnprocessableEntity 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 NewUpdateItemTypeConfigUnprocessableEntity

func NewUpdateItemTypeConfigUnprocessableEntity() *UpdateItemTypeConfigUnprocessableEntity

NewUpdateItemTypeConfigUnprocessableEntity creates a UpdateItemTypeConfigUnprocessableEntity with default headers values

func (*UpdateItemTypeConfigUnprocessableEntity) Error

func (*UpdateItemTypeConfigUnprocessableEntity) GetPayload

func (*UpdateItemTypeConfigUnprocessableEntity) ToJSONString

type UpdateItemUnprocessableEntity

type UpdateItemUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateItemUnprocessableEntity 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 NewUpdateItemUnprocessableEntity

func NewUpdateItemUnprocessableEntity() *UpdateItemUnprocessableEntity

NewUpdateItemUnprocessableEntity creates a UpdateItemUnprocessableEntity with default headers values

func (*UpdateItemUnprocessableEntity) Error

func (*UpdateItemUnprocessableEntity) GetPayload

func (*UpdateItemUnprocessableEntity) ToJSONString

func (o *UpdateItemUnprocessableEntity) ToJSONString() string

type ValidateItemPurchaseConditionOK

type ValidateItemPurchaseConditionOK struct {
	Payload []*platformclientmodels.ItemPurchaseConditionValidateResult
}

ValidateItemPurchaseConditionOK handles this case with default header values.

successful operation

func NewValidateItemPurchaseConditionOK

func NewValidateItemPurchaseConditionOK() *ValidateItemPurchaseConditionOK

NewValidateItemPurchaseConditionOK creates a ValidateItemPurchaseConditionOK with default headers values

func (*ValidateItemPurchaseConditionOK) Error

func (*ValidateItemPurchaseConditionOK) GetPayload

func (*ValidateItemPurchaseConditionOK) ToJSONString

func (o *ValidateItemPurchaseConditionOK) ToJSONString() string

type ValidateItemPurchaseConditionParams

type ValidateItemPurchaseConditionParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.ItemPurchaseConditionValidateRequest
	/*Namespace*/
	Namespace string
	/*Platform*/
	Platform *string
	/*UserID*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ValidateItemPurchaseConditionParams contains all the parameters to send to the API endpoint for the validate item purchase condition operation typically these are written to a http.Request

func NewValidateItemPurchaseConditionParams

func NewValidateItemPurchaseConditionParams() *ValidateItemPurchaseConditionParams

NewValidateItemPurchaseConditionParams creates a new ValidateItemPurchaseConditionParams object with the default values initialized.

func NewValidateItemPurchaseConditionParamsWithContext

func NewValidateItemPurchaseConditionParamsWithContext(ctx context.Context) *ValidateItemPurchaseConditionParams

NewValidateItemPurchaseConditionParamsWithContext creates a new ValidateItemPurchaseConditionParams object with the default values initialized, and the ability to set a context for a request

func NewValidateItemPurchaseConditionParamsWithHTTPClient

func NewValidateItemPurchaseConditionParamsWithHTTPClient(client *http.Client) *ValidateItemPurchaseConditionParams

NewValidateItemPurchaseConditionParamsWithHTTPClient creates a new ValidateItemPurchaseConditionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewValidateItemPurchaseConditionParamsWithTimeout

func NewValidateItemPurchaseConditionParamsWithTimeout(timeout time.Duration) *ValidateItemPurchaseConditionParams

NewValidateItemPurchaseConditionParamsWithTimeout creates a new ValidateItemPurchaseConditionParams object with the default values initialized, and the ability to set a timeout on a request

func (*ValidateItemPurchaseConditionParams) SetAuthInfoWriter

func (o *ValidateItemPurchaseConditionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) SetBody

SetBody adds the body to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) SetContext

SetContext adds the context to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) SetFlightId

func (o *ValidateItemPurchaseConditionParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ValidateItemPurchaseConditionParams) SetHTTPClient

func (o *ValidateItemPurchaseConditionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) SetHTTPClientTransport

func (o *ValidateItemPurchaseConditionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) SetNamespace

func (o *ValidateItemPurchaseConditionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) SetPlatform

func (o *ValidateItemPurchaseConditionParams) SetPlatform(platform *string)

SetPlatform adds the platform to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) SetTimeout

func (o *ValidateItemPurchaseConditionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) SetUserID

func (o *ValidateItemPurchaseConditionParams) SetUserID(userID string)

SetUserID adds the userId to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) WithBody

WithBody adds the body to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) WithContext

WithContext adds the context to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) WithNamespace

WithNamespace adds the namespace to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) WithPlatform

WithPlatform adds the platform to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) WithTimeout

WithTimeout adds the timeout to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) WithUserID

WithUserID adds the userID to the validate item purchase condition params

func (*ValidateItemPurchaseConditionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ValidateItemPurchaseConditionReader

type ValidateItemPurchaseConditionReader struct {
	// contains filtered or unexported fields
}

ValidateItemPurchaseConditionReader is a Reader for the ValidateItemPurchaseCondition structure.

func (*ValidateItemPurchaseConditionReader) ReadResponse

func (o *ValidateItemPurchaseConditionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ValidateItemPurchaseConditionUnprocessableEntity

type ValidateItemPurchaseConditionUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

ValidateItemPurchaseConditionUnprocessableEntity 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 NewValidateItemPurchaseConditionUnprocessableEntity

func NewValidateItemPurchaseConditionUnprocessableEntity() *ValidateItemPurchaseConditionUnprocessableEntity

NewValidateItemPurchaseConditionUnprocessableEntity creates a ValidateItemPurchaseConditionUnprocessableEntity with default headers values

func (*ValidateItemPurchaseConditionUnprocessableEntity) Error

func (*ValidateItemPurchaseConditionUnprocessableEntity) GetPayload

func (*ValidateItemPurchaseConditionUnprocessableEntity) ToJSONString

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL