Class: TencentCloud::Cpdp::V20190820::QueryTradeResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::QueryTradeResponse
- Defined in:
- lib/v20190820/models.rb
Overview
QueryTrade返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(result = nil, requestid = nil) ⇒ QueryTradeResponse
constructor
A new instance of QueryTradeResponse.
Constructor Details
#initialize(result = nil, requestid = nil) ⇒ QueryTradeResponse
Returns a new instance of QueryTradeResponse.
23208 23209 23210 23211 |
# File 'lib/v20190820/models.rb', line 23208 def initialize(result=nil, requestid=nil) @Result = result @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
23206 23207 23208 |
# File 'lib/v20190820/models.rb', line 23206 def RequestId @RequestId end |
#Result ⇒ Object
23206 23207 23208 |
# File 'lib/v20190820/models.rb', line 23206 def Result @Result end |
Instance Method Details
#deserialize(params) ⇒ Object
23213 23214 23215 23216 23217 23218 23219 |
# File 'lib/v20190820/models.rb', line 23213 def deserialize(params) unless params['Result'].nil? @Result = QueryTradeResult.new @Result.deserialize(params['Result']) end @RequestId = params['RequestId'] end |