Name | Type | Description | Notes |
---|---|---|---|
Result | string | Designates if the response is a success ('OK') or failure ('ERR'). | |
ExchangeRate | float32 | The exchange rate between the 2 currencies | |
SourceCurrencyCode | string | The ISO 4217 currency code that represents the source currency of the exchange rate. | |
TargetCurrencyCode | string | The ISO 4217 currency code that represents the target currency of the exchange rate. |
func NewExchangeRateResponse(result string, exchangeRate float32, sourceCurrencyCode string, targetCurrencyCode string, ) *ExchangeRateResponse
NewExchangeRateResponse instantiates a new ExchangeRateResponse 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 NewExchangeRateResponseWithDefaults() *ExchangeRateResponse
NewExchangeRateResponseWithDefaults instantiates a new ExchangeRateResponse 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 *ExchangeRateResponse) GetResult() string
GetResult returns the Result field if non-nil, zero value otherwise.
func (o *ExchangeRateResponse) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExchangeRateResponse) SetResult(v string)
SetResult sets Result field to given value.
func (o *ExchangeRateResponse) GetExchangeRate() float32
GetExchangeRate returns the ExchangeRate field if non-nil, zero value otherwise.
func (o *ExchangeRateResponse) GetExchangeRateOk() (*float32, bool)
GetExchangeRateOk returns a tuple with the ExchangeRate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExchangeRateResponse) SetExchangeRate(v float32)
SetExchangeRate sets ExchangeRate field to given value.
func (o *ExchangeRateResponse) GetSourceCurrencyCode() string
GetSourceCurrencyCode returns the SourceCurrencyCode field if non-nil, zero value otherwise.
func (o *ExchangeRateResponse) GetSourceCurrencyCodeOk() (*string, bool)
GetSourceCurrencyCodeOk returns a tuple with the SourceCurrencyCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExchangeRateResponse) SetSourceCurrencyCode(v string)
SetSourceCurrencyCode sets SourceCurrencyCode field to given value.
func (o *ExchangeRateResponse) GetTargetCurrencyCode() string
GetTargetCurrencyCode returns the TargetCurrencyCode field if non-nil, zero value otherwise.
func (o *ExchangeRateResponse) GetTargetCurrencyCodeOk() (*string, bool)
GetTargetCurrencyCodeOk returns a tuple with the TargetCurrencyCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ExchangeRateResponse) SetTargetCurrencyCode(v string)
SetTargetCurrencyCode sets TargetCurrencyCode field to given value.