Skip to content

Latest commit

 

History

History
129 lines (70 loc) · 4.25 KB

File metadata and controls

129 lines (70 loc) · 4.25 KB

ProductVariantAddBatch

Properties

Name Type Description Notes
ClearCache Pointer to bool [optional] [default to false]
Reindex Pointer to bool [optional] [default to false]
Payload []ProductVariantAddBatchPayloadInner Contains an array of product variants objects. The list of properties may vary depending on the specific platform.
IdempotencyKey Pointer to string A unique identifier associated with a specific request. Repeated requests with the same <strong>idempotency_key</strong> return a cached response without re-executing the business logic. <strong>Please note that the cache lifetime is 15 minutes.</strong> [optional]

Methods

NewProductVariantAddBatch

func NewProductVariantAddBatch(payload []ProductVariantAddBatchPayloadInner, ) *ProductVariantAddBatch

NewProductVariantAddBatch instantiates a new ProductVariantAddBatch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewProductVariantAddBatchWithDefaults

func NewProductVariantAddBatchWithDefaults() *ProductVariantAddBatch

NewProductVariantAddBatchWithDefaults instantiates a new ProductVariantAddBatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetClearCache

func (o *ProductVariantAddBatch) GetClearCache() bool

GetClearCache returns the ClearCache field if non-nil, zero value otherwise.

GetClearCacheOk

func (o *ProductVariantAddBatch) GetClearCacheOk() (*bool, bool)

GetClearCacheOk returns a tuple with the ClearCache field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClearCache

func (o *ProductVariantAddBatch) SetClearCache(v bool)

SetClearCache sets ClearCache field to given value.

HasClearCache

func (o *ProductVariantAddBatch) HasClearCache() bool

HasClearCache returns a boolean if a field has been set.

GetReindex

func (o *ProductVariantAddBatch) GetReindex() bool

GetReindex returns the Reindex field if non-nil, zero value otherwise.

GetReindexOk

func (o *ProductVariantAddBatch) GetReindexOk() (*bool, bool)

GetReindexOk returns a tuple with the Reindex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetReindex

func (o *ProductVariantAddBatch) SetReindex(v bool)

SetReindex sets Reindex field to given value.

HasReindex

func (o *ProductVariantAddBatch) HasReindex() bool

HasReindex returns a boolean if a field has been set.

GetPayload

func (o *ProductVariantAddBatch) GetPayload() []ProductVariantAddBatchPayloadInner

GetPayload returns the Payload field if non-nil, zero value otherwise.

GetPayloadOk

func (o *ProductVariantAddBatch) GetPayloadOk() (*[]ProductVariantAddBatchPayloadInner, bool)

GetPayloadOk returns a tuple with the Payload field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPayload

func (o *ProductVariantAddBatch) SetPayload(v []ProductVariantAddBatchPayloadInner)

SetPayload sets Payload field to given value.

GetIdempotencyKey

func (o *ProductVariantAddBatch) GetIdempotencyKey() string

GetIdempotencyKey returns the IdempotencyKey field if non-nil, zero value otherwise.

GetIdempotencyKeyOk

func (o *ProductVariantAddBatch) GetIdempotencyKeyOk() (*string, bool)

GetIdempotencyKeyOk returns a tuple with the IdempotencyKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIdempotencyKey

func (o *ProductVariantAddBatch) SetIdempotencyKey(v string)

SetIdempotencyKey sets IdempotencyKey field to given value.

HasIdempotencyKey

func (o *ProductVariantAddBatch) HasIdempotencyKey() bool

HasIdempotencyKey returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]