Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 2.93 KB

ComparableProduct.md

File metadata and controls

114 lines (61 loc) · 2.93 KB

ComparableProduct

Properties

Name Type Description Notes
Difference float32
Id int32
Image string
Title string

Methods

NewComparableProduct

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

NewComparableProductWithDefaults

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

GetDifference

func (o *ComparableProduct) GetDifference() float32

GetDifference returns the Difference field if non-nil, zero value otherwise.

GetDifferenceOk

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.

SetDifference

func (o *ComparableProduct) SetDifference(v float32)

SetDifference sets Difference field to given value.

GetId

func (o *ComparableProduct) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *ComparableProduct) SetId(v int32)

SetId sets Id field to given value.

GetImage

func (o *ComparableProduct) GetImage() string

GetImage returns the Image field if non-nil, zero value otherwise.

GetImageOk

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.

SetImage

func (o *ComparableProduct) SetImage(v string)

SetImage sets Image field to given value.

GetTitle

func (o *ComparableProduct) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

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.

SetTitle

func (o *ComparableProduct) SetTitle(v string)

SetTitle sets Title field to given value.

[Back to Model list] [Back to API list] [Back to README]