Class: TencentCloud::Cpdp::V20190820::QueryExchangeRateResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190820/models.rb

Overview

QueryExchangeRate返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result = nil, requestid = nil) ⇒ QueryExchangeRateResponse

Returns a new instance of QueryExchangeRateResponse.



16952
16953
16954
16955
# File 'lib/v20190820/models.rb', line 16952

def initialize(result=nil, requestid=nil)
  @Result = result
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • Result:

    查询汇率结果

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



16950
16951
16952
# File 'lib/v20190820/models.rb', line 16950

def RequestId
  @RequestId
end

#ResultObject

Parameters:

  • Result:

    查询汇率结果

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



16950
16951
16952
# File 'lib/v20190820/models.rb', line 16950

def Result
  @Result
end

Instance Method Details

#deserialize(params) ⇒ Object



16957
16958
16959
16960
16961
16962
16963
# File 'lib/v20190820/models.rb', line 16957

def deserialize(params)
  unless params['Result'].nil?
    @Result = QueryExchangerateResult.new
    @Result.deserialize(params['Result'])
  end
  @RequestId = params['RequestId']
end