Class: TencentCloud::Cpdp::V20190820::QueryTradeResponse

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

Overview

QueryTrade返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject

Parameters:

  • Result:

    贸易材料明细查询结果

  • RequestId:

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



23206
23207
23208
# File 'lib/v20190820/models.rb', line 23206

def RequestId
  @RequestId
end

#ResultObject

Parameters:

  • Result:

    贸易材料明细查询结果

  • RequestId:

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



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