Name | Type | Description | Notes |
---|---|---|---|
Difference | float32 | ||
Id | int32 | ||
Image | string | ||
Title | string |
func NewComparableProduct(difference float32, id int32, image string, title string, ) *ComparableProduct
NewComparableProduct instantiates a new ComparableProduct 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 NewComparableProductWithDefaults() *ComparableProduct
NewComparableProductWithDefaults instantiates a new ComparableProduct 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 *ComparableProduct) GetDifference() float32
GetDifference returns the Difference field if non-nil, zero value otherwise.
func (o *ComparableProduct) GetDifferenceOk() (*float32, bool)
GetDifferenceOk returns a tuple with the Difference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ComparableProduct) SetDifference(v float32)
SetDifference sets Difference field to given value.
func (o *ComparableProduct) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ComparableProduct) 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 *ComparableProduct) SetId(v int32)
SetId sets Id field to given value.
func (o *ComparableProduct) GetImage() string
GetImage returns the Image field if non-nil, zero value otherwise.
func (o *ComparableProduct) 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 *ComparableProduct) SetImage(v string)
SetImage sets Image field to given value.
func (o *ComparableProduct) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *ComparableProduct) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ComparableProduct) SetTitle(v string)
SetTitle sets Title field to given value.