Skip to content

Latest commit

 

History

History
135 lines (72 loc) · 3.94 KB

ConvertAmounts200Response.md

File metadata and controls

135 lines (72 loc) · 3.94 KB

ConvertAmounts200Response

Properties

Name Type Description Notes
SourceAmount float32
SourceUnit string
TargetAmount float32
TargetUnit string
Answer string

Methods

NewConvertAmounts200Response

func NewConvertAmounts200Response(sourceAmount float32, sourceUnit string, targetAmount float32, targetUnit string, answer string, ) *ConvertAmounts200Response

NewConvertAmounts200Response instantiates a new ConvertAmounts200Response 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

NewConvertAmounts200ResponseWithDefaults

func NewConvertAmounts200ResponseWithDefaults() *ConvertAmounts200Response

NewConvertAmounts200ResponseWithDefaults instantiates a new ConvertAmounts200Response 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

GetSourceAmount

func (o *ConvertAmounts200Response) GetSourceAmount() float32

GetSourceAmount returns the SourceAmount field if non-nil, zero value otherwise.

GetSourceAmountOk

func (o *ConvertAmounts200Response) GetSourceAmountOk() (*float32, bool)

GetSourceAmountOk returns a tuple with the SourceAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSourceAmount

func (o *ConvertAmounts200Response) SetSourceAmount(v float32)

SetSourceAmount sets SourceAmount field to given value.

GetSourceUnit

func (o *ConvertAmounts200Response) GetSourceUnit() string

GetSourceUnit returns the SourceUnit field if non-nil, zero value otherwise.

GetSourceUnitOk

func (o *ConvertAmounts200Response) GetSourceUnitOk() (*string, bool)

GetSourceUnitOk returns a tuple with the SourceUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSourceUnit

func (o *ConvertAmounts200Response) SetSourceUnit(v string)

SetSourceUnit sets SourceUnit field to given value.

GetTargetAmount

func (o *ConvertAmounts200Response) GetTargetAmount() float32

GetTargetAmount returns the TargetAmount field if non-nil, zero value otherwise.

GetTargetAmountOk

func (o *ConvertAmounts200Response) GetTargetAmountOk() (*float32, bool)

GetTargetAmountOk returns a tuple with the TargetAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTargetAmount

func (o *ConvertAmounts200Response) SetTargetAmount(v float32)

SetTargetAmount sets TargetAmount field to given value.

GetTargetUnit

func (o *ConvertAmounts200Response) GetTargetUnit() string

GetTargetUnit returns the TargetUnit field if non-nil, zero value otherwise.

GetTargetUnitOk

func (o *ConvertAmounts200Response) GetTargetUnitOk() (*string, bool)

GetTargetUnitOk returns a tuple with the TargetUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTargetUnit

func (o *ConvertAmounts200Response) SetTargetUnit(v string)

SetTargetUnit sets TargetUnit field to given value.

GetAnswer

func (o *ConvertAmounts200Response) GetAnswer() string

GetAnswer returns the Answer field if non-nil, zero value otherwise.

GetAnswerOk

func (o *ConvertAmounts200Response) GetAnswerOk() (*string, bool)

GetAnswerOk returns a tuple with the Answer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAnswer

func (o *ConvertAmounts200Response) SetAnswer(v string)

SetAnswer sets Answer field to given value.

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