| 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] |
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
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
func (o *ProductVariantAddBatch) GetClearCache() bool
GetClearCache returns the ClearCache field if non-nil, zero value otherwise.
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.
func (o *ProductVariantAddBatch) SetClearCache(v bool)
SetClearCache sets ClearCache field to given value.
func (o *ProductVariantAddBatch) HasClearCache() bool
HasClearCache returns a boolean if a field has been set.
func (o *ProductVariantAddBatch) GetReindex() bool
GetReindex returns the Reindex field if non-nil, zero value otherwise.
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.
func (o *ProductVariantAddBatch) SetReindex(v bool)
SetReindex sets Reindex field to given value.
func (o *ProductVariantAddBatch) HasReindex() bool
HasReindex returns a boolean if a field has been set.
func (o *ProductVariantAddBatch) GetPayload() []ProductVariantAddBatchPayloadInner
GetPayload returns the Payload field if non-nil, zero value otherwise.
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.
func (o *ProductVariantAddBatch) SetPayload(v []ProductVariantAddBatchPayloadInner)
SetPayload sets Payload field to given value.
func (o *ProductVariantAddBatch) GetIdempotencyKey() string
GetIdempotencyKey returns the IdempotencyKey field if non-nil, zero value otherwise.
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.
func (o *ProductVariantAddBatch) SetIdempotencyKey(v string)
SetIdempotencyKey sets IdempotencyKey field to given value.
func (o *ProductVariantAddBatch) HasIdempotencyKey() bool
HasIdempotencyKey returns a boolean if a field has been set.