Name | Type | Description | Notes |
---|---|---|---|
VariantId | string | ||
VariantSku | string | ||
VariantName | string | ||
Status | string | ||
Volume | VolumeInput | ||
Weight | float64 | ||
Attributes | []VariantAttributeInput | ||
VariantUrl | string | ||
CurrencyCode | string | ||
Price | float64 | ||
ImgUrls | []string |
func NewVariantInput(variantId string, variantSku string, variantName string, status string, volume VolumeInput, weight float64, attributes []VariantAttributeInput, variantUrl string, currencyCode string, price float64, imgUrls []string, ) *VariantInput
NewVariantInput instantiates a new VariantInput 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 NewVariantInputWithDefaults() *VariantInput
NewVariantInputWithDefaults instantiates a new VariantInput 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 *VariantInput) GetVariantId() string
GetVariantId returns the VariantId field if non-nil, zero value otherwise.
func (o *VariantInput) GetVariantIdOk() (*string, bool)
GetVariantIdOk returns a tuple with the VariantId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantInput) SetVariantId(v string)
SetVariantId sets VariantId field to given value.
func (o *VariantInput) GetVariantSku() string
GetVariantSku returns the VariantSku field if non-nil, zero value otherwise.
func (o *VariantInput) GetVariantSkuOk() (*string, bool)
GetVariantSkuOk returns a tuple with the VariantSku field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantInput) SetVariantSku(v string)
SetVariantSku sets VariantSku field to given value.
func (o *VariantInput) GetVariantName() string
GetVariantName returns the VariantName field if non-nil, zero value otherwise.
func (o *VariantInput) GetVariantNameOk() (*string, bool)
GetVariantNameOk returns a tuple with the VariantName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantInput) SetVariantName(v string)
SetVariantName sets VariantName field to given value.
func (o *VariantInput) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *VariantInput) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantInput) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *VariantInput) GetVolume() VolumeInput
GetVolume returns the Volume field if non-nil, zero value otherwise.
func (o *VariantInput) GetVolumeOk() (*VolumeInput, bool)
GetVolumeOk returns a tuple with the Volume field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantInput) SetVolume(v VolumeInput)
SetVolume sets Volume field to given value.
func (o *VariantInput) GetWeight() float64
GetWeight returns the Weight field if non-nil, zero value otherwise.
func (o *VariantInput) GetWeightOk() (*float64, bool)
GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantInput) SetWeight(v float64)
SetWeight sets Weight field to given value.
func (o *VariantInput) GetAttributes() []VariantAttributeInput
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *VariantInput) GetAttributesOk() (*[]VariantAttributeInput, bool)
GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantInput) SetAttributes(v []VariantAttributeInput)
SetAttributes sets Attributes field to given value.
func (o *VariantInput) GetVariantUrl() string
GetVariantUrl returns the VariantUrl field if non-nil, zero value otherwise.
func (o *VariantInput) GetVariantUrlOk() (*string, bool)
GetVariantUrlOk returns a tuple with the VariantUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantInput) SetVariantUrl(v string)
SetVariantUrl sets VariantUrl field to given value.
func (o *VariantInput) GetCurrencyCode() string
GetCurrencyCode returns the CurrencyCode field if non-nil, zero value otherwise.
func (o *VariantInput) GetCurrencyCodeOk() (*string, bool)
GetCurrencyCodeOk returns a tuple with the CurrencyCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantInput) SetCurrencyCode(v string)
SetCurrencyCode sets CurrencyCode field to given value.
func (o *VariantInput) GetPrice() float64
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *VariantInput) GetPriceOk() (*float64, bool)
GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantInput) SetPrice(v float64)
SetPrice sets Price field to given value.
func (o *VariantInput) GetImgUrls() []string
GetImgUrls returns the ImgUrls field if non-nil, zero value otherwise.
func (o *VariantInput) GetImgUrlsOk() (*[]string, bool)
GetImgUrlsOk returns a tuple with the ImgUrls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantInput) SetImgUrls(v []string)
SetImgUrls sets ImgUrls field to given value.