Name | Type | Description | Notes |
---|---|---|---|
ArticleNumber | Pointer to string | [optional] | |
Name | Pointer to string | [optional] | |
Price | Pointer to float64 | [optional] | |
Brand | Pointer to string | [optional] | |
Stock | Pointer to int32 | [optional] | |
GroupCode | Pointer to string | [optional] | |
Image | Pointer to string | [optional] | |
Url | Pointer to string | [optional] | |
Categories | Pointer to []int64 | [optional] | |
Attributes | Pointer to []ProductAttribute | [optional] |
func NewProduct() *Product
NewProduct instantiates a new Product 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 NewProductWithDefaults() *Product
NewProductWithDefaults instantiates a new Product 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 *Product) GetArticleNumber() string
GetArticleNumber returns the ArticleNumber field if non-nil, zero value otherwise.
func (o *Product) GetArticleNumberOk() (*string, bool)
GetArticleNumberOk returns a tuple with the ArticleNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetArticleNumber(v string)
SetArticleNumber sets ArticleNumber field to given value.
func (o *Product) HasArticleNumber() bool
HasArticleNumber returns a boolean if a field has been set.
func (o *Product) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Product) 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 *Product) SetName(v string)
SetName sets Name field to given value.
func (o *Product) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Product) GetPrice() float64
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *Product) 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 *Product) SetPrice(v float64)
SetPrice sets Price field to given value.
func (o *Product) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (o *Product) GetBrand() string
GetBrand returns the Brand field if non-nil, zero value otherwise.
func (o *Product) GetBrandOk() (*string, bool)
GetBrandOk returns a tuple with the Brand field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetBrand(v string)
SetBrand sets Brand field to given value.
func (o *Product) HasBrand() bool
HasBrand returns a boolean if a field has been set.
func (o *Product) GetStock() int32
GetStock returns the Stock field if non-nil, zero value otherwise.
func (o *Product) GetStockOk() (*int32, bool)
GetStockOk returns a tuple with the Stock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetStock(v int32)
SetStock sets Stock field to given value.
func (o *Product) HasStock() bool
HasStock returns a boolean if a field has been set.
func (o *Product) GetGroupCode() string
GetGroupCode returns the GroupCode field if non-nil, zero value otherwise.
func (o *Product) GetGroupCodeOk() (*string, bool)
GetGroupCodeOk returns a tuple with the GroupCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetGroupCode(v string)
SetGroupCode sets GroupCode field to given value.
func (o *Product) HasGroupCode() bool
HasGroupCode returns a boolean if a field has been set.
func (o *Product) GetImage() string
GetImage returns the Image field if non-nil, zero value otherwise.
func (o *Product) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetImage(v string)
SetImage sets Image field to given value.
func (o *Product) HasImage() bool
HasImage returns a boolean if a field has been set.
func (o *Product) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *Product) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *Product) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *Product) GetCategories() []int64
GetCategories returns the Categories field if non-nil, zero value otherwise.
func (o *Product) GetCategoriesOk() (*[]int64, bool)
GetCategoriesOk returns a tuple with the Categories field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetCategories(v []int64)
SetCategories sets Categories field to given value.
func (o *Product) HasCategories() bool
HasCategories returns a boolean if a field has been set.
func (o *Product) GetAttributes() []ProductAttribute
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *Product) GetAttributesOk() (*[]ProductAttribute, 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 *Product) SetAttributes(v []ProductAttribute)
SetAttributes sets Attributes field to given value.
func (o *Product) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.