| Name | Type | Description | Notes |
|---|---|---|---|
| Id | int32 | Unique identifier of the catalog variant. | [readonly] |
| ProductId | int32 | Unique identifier of the catalog product. | |
| Name | string | Name of the catalog variant. | |
| Sku | Pointer to NullableString | An optional unique identifier of the catalog variant. | [optional] |
| CostScheme | CostScheme | ||
| Cost | NullableString | Cost of the variant. | |
| Currency | Currency | ||
| VariantableType | VariantableType | ||
| VariantableId | int32 | Unique identifier of the variantable. | |
| Availability | string | Availability of the catalog variant. | |
| AvailablePlaces | int32 | Number of available places. | |
| IsPublished | bool | Boolean showing if the variant is published or not. | |
| ShowOnWebsite | bool | Boolean showing if the variant is shown on the website or not. | [readonly] |
| UpdatedAt | time.Time | Timestamp of last update. | [readonly] |
| CreatedAt | time.Time | Timestamp of creation. | [readonly] |
| Custom | Pointer to map[string]interface{} | The custom properties of the product. | [optional] |
| CustomAssociations | Pointer to []CustomAssociationWithRecords | The custom associations linked to the catalog variant. |
[optional] |
func NewVariantWithIncludes(id int32, productId int32, name string, costScheme CostScheme, cost NullableString, currency Currency, variantableType VariantableType, variantableId int32, availability string, availablePlaces int32, isPublished bool, showOnWebsite bool, updatedAt time.Time, createdAt time.Time, ) *VariantWithIncludes
NewVariantWithIncludes instantiates a new VariantWithIncludes 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 NewVariantWithIncludesWithDefaults() *VariantWithIncludes
NewVariantWithIncludesWithDefaults instantiates a new VariantWithIncludes 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 *VariantWithIncludes) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetId(v int32)
SetId sets Id field to given value.
func (o *VariantWithIncludes) GetProductId() int32
GetProductId returns the ProductId field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetProductIdOk() (*int32, bool)
GetProductIdOk returns a tuple with the ProductId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetProductId(v int32)
SetProductId sets ProductId field to given value.
func (o *VariantWithIncludes) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetName(v string)
SetName sets Name field to given value.
func (o *VariantWithIncludes) GetSku() string
GetSku returns the Sku field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetSkuOk() (*string, bool)
GetSkuOk returns a tuple with the Sku field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetSku(v string)
SetSku sets Sku field to given value.
func (o *VariantWithIncludes) HasSku() bool
HasSku returns a boolean if a field has been set.
func (o *VariantWithIncludes) SetSkuNil(b bool)
SetSkuNil sets the value for Sku to be an explicit nil
func (o *VariantWithIncludes) UnsetSku()
UnsetSku ensures that no value is present for Sku, not even an explicit nil
func (o *VariantWithIncludes) GetCostScheme() CostScheme
GetCostScheme returns the CostScheme field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetCostSchemeOk() (*CostScheme, bool)
GetCostSchemeOk returns a tuple with the CostScheme field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetCostScheme(v CostScheme)
SetCostScheme sets CostScheme field to given value.
func (o *VariantWithIncludes) GetCost() string
GetCost returns the Cost field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetCostOk() (*string, bool)
GetCostOk returns a tuple with the Cost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetCost(v string)
SetCost sets Cost field to given value.
func (o *VariantWithIncludes) SetCostNil(b bool)
SetCostNil sets the value for Cost to be an explicit nil
func (o *VariantWithIncludes) UnsetCost()
UnsetCost ensures that no value is present for Cost, not even an explicit nil
func (o *VariantWithIncludes) GetCurrency() Currency
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetCurrencyOk() (*Currency, bool)
GetCurrencyOk returns a tuple with the Currency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetCurrency(v Currency)
SetCurrency sets Currency field to given value.
func (o *VariantWithIncludes) GetVariantableType() VariantableType
GetVariantableType returns the VariantableType field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetVariantableTypeOk() (*VariantableType, bool)
GetVariantableTypeOk returns a tuple with the VariantableType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetVariantableType(v VariantableType)
SetVariantableType sets VariantableType field to given value.
func (o *VariantWithIncludes) GetVariantableId() int32
GetVariantableId returns the VariantableId field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetVariantableIdOk() (*int32, bool)
GetVariantableIdOk returns a tuple with the VariantableId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetVariantableId(v int32)
SetVariantableId sets VariantableId field to given value.
func (o *VariantWithIncludes) GetAvailability() string
GetAvailability returns the Availability field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetAvailabilityOk() (*string, bool)
GetAvailabilityOk returns a tuple with the Availability field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetAvailability(v string)
SetAvailability sets Availability field to given value.
func (o *VariantWithIncludes) GetAvailablePlaces() int32
GetAvailablePlaces returns the AvailablePlaces field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetAvailablePlacesOk() (*int32, bool)
GetAvailablePlacesOk returns a tuple with the AvailablePlaces field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetAvailablePlaces(v int32)
SetAvailablePlaces sets AvailablePlaces field to given value.
func (o *VariantWithIncludes) GetIsPublished() bool
GetIsPublished returns the IsPublished field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetIsPublishedOk() (*bool, bool)
GetIsPublishedOk returns a tuple with the IsPublished field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetIsPublished(v bool)
SetIsPublished sets IsPublished field to given value.
func (o *VariantWithIncludes) GetShowOnWebsite() bool
GetShowOnWebsite returns the ShowOnWebsite field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetShowOnWebsiteOk() (*bool, bool)
GetShowOnWebsiteOk returns a tuple with the ShowOnWebsite field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetShowOnWebsite(v bool)
SetShowOnWebsite sets ShowOnWebsite field to given value.
func (o *VariantWithIncludes) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *VariantWithIncludes) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *VariantWithIncludes) GetCustom() map[string]interface{}
GetCustom returns the Custom field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetCustomOk() (*map[string]interface{}, bool)
GetCustomOk returns a tuple with the Custom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetCustom(v map[string]interface{})
SetCustom sets Custom field to given value.
func (o *VariantWithIncludes) HasCustom() bool
HasCustom returns a boolean if a field has been set.
func (o *VariantWithIncludes) GetCustomAssociations() []CustomAssociationWithRecords
GetCustomAssociations returns the CustomAssociations field if non-nil, zero value otherwise.
func (o *VariantWithIncludes) GetCustomAssociationsOk() (*[]CustomAssociationWithRecords, bool)
GetCustomAssociationsOk returns a tuple with the CustomAssociations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VariantWithIncludes) SetCustomAssociations(v []CustomAssociationWithRecords)
SetCustomAssociations sets CustomAssociations field to given value.
func (o *VariantWithIncludes) HasCustomAssociations() bool
HasCustomAssociations returns a boolean if a field has been set.