Class: TencentCloud::Cpdp::V20190820::QueryExchangerateData
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::QueryExchangerateData
- Defined in:
- lib/v20190820/models.rb
Overview
查询汇率数据
Instance Attribute Summary collapse
- #BaseCurrency ⇒ Object
- #Rate ⇒ Object
- #RateTime ⇒ Object
- #SourceCurrency ⇒ Object
- #TargetCurrency ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rate = nil, sourcecurrency = nil, targetcurrency = nil, ratetime = nil, basecurrency = nil) ⇒ QueryExchangerateData
constructor
A new instance of QueryExchangerateData.
Constructor Details
#initialize(rate = nil, sourcecurrency = nil, targetcurrency = nil, ratetime = nil, basecurrency = nil) ⇒ QueryExchangerateData
Returns a new instance of QueryExchangerateData.
16981 16982 16983 16984 16985 16986 16987 |
# File 'lib/v20190820/models.rb', line 16981 def initialize(rate=nil, sourcecurrency=nil, targetcurrency=nil, ratetime=nil, basecurrency=nil) @Rate = rate @SourceCurrency = sourcecurrency @TargetCurrency = targetcurrency @RateTime = ratetime @BaseCurrency = basecurrency end |
Instance Attribute Details
#BaseCurrency ⇒ Object
16979 16980 16981 |
# File 'lib/v20190820/models.rb', line 16979 def BaseCurrency @BaseCurrency end |
#Rate ⇒ Object
16979 16980 16981 |
# File 'lib/v20190820/models.rb', line 16979 def Rate @Rate end |
#RateTime ⇒ Object
16979 16980 16981 |
# File 'lib/v20190820/models.rb', line 16979 def RateTime @RateTime end |
#SourceCurrency ⇒ Object
16979 16980 16981 |
# File 'lib/v20190820/models.rb', line 16979 def SourceCurrency @SourceCurrency end |
#TargetCurrency ⇒ Object
16979 16980 16981 |
# File 'lib/v20190820/models.rb', line 16979 def TargetCurrency @TargetCurrency end |
Instance Method Details
#deserialize(params) ⇒ Object
16989 16990 16991 16992 16993 16994 16995 |
# File 'lib/v20190820/models.rb', line 16989 def deserialize(params) @Rate = params['Rate'] @SourceCurrency = params['SourceCurrency'] @TargetCurrency = params['TargetCurrency'] @RateTime = params['RateTime'] @BaseCurrency = params['BaseCurrency'] end |