Name | Type | Description | Notes |
---|---|---|---|
SourceAmount | float32 | ||
SourceUnit | string | ||
TargetAmount | float32 | ||
TargetUnit | string | ||
Answer | string |
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
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
func (o *ConvertAmounts200Response) GetSourceAmount() float32
GetSourceAmount returns the SourceAmount field if non-nil, zero value otherwise.
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.
func (o *ConvertAmounts200Response) SetSourceAmount(v float32)
SetSourceAmount sets SourceAmount field to given value.
func (o *ConvertAmounts200Response) GetSourceUnit() string
GetSourceUnit returns the SourceUnit field if non-nil, zero value otherwise.
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.
func (o *ConvertAmounts200Response) SetSourceUnit(v string)
SetSourceUnit sets SourceUnit field to given value.
func (o *ConvertAmounts200Response) GetTargetAmount() float32
GetTargetAmount returns the TargetAmount field if non-nil, zero value otherwise.
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.
func (o *ConvertAmounts200Response) SetTargetAmount(v float32)
SetTargetAmount sets TargetAmount field to given value.
func (o *ConvertAmounts200Response) GetTargetUnit() string
GetTargetUnit returns the TargetUnit field if non-nil, zero value otherwise.
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.
func (o *ConvertAmounts200Response) SetTargetUnit(v string)
SetTargetUnit sets TargetUnit field to given value.
func (o *ConvertAmounts200Response) GetAnswer() string
GetAnswer returns the Answer field if non-nil, zero value otherwise.
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.
func (o *ConvertAmounts200Response) SetAnswer(v string)
SetAnswer sets Answer field to given value.