Class: TencentCloud::Intlpartnersmgt::V20220928::QueryDirectCustomersCreditResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Intlpartnersmgt::V20220928::QueryDirectCustomersCreditResponse
- Defined in:
- lib/v20220928/models.rb
Overview
QueryDirectCustomersCredit返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ QueryDirectCustomersCreditResponse
constructor
A new instance of QueryDirectCustomersCreditResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ QueryDirectCustomersCreditResponse
Returns a new instance of QueryDirectCustomersCreditResponse.
502 503 504 505 |
# File 'lib/v20220928/models.rb', line 502 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
500 501 502 |
# File 'lib/v20220928/models.rb', line 500 def Data @Data end |
#RequestId ⇒ Object
500 501 502 |
# File 'lib/v20220928/models.rb', line 500 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
507 508 509 510 511 512 513 514 515 516 517 |
# File 'lib/v20220928/models.rb', line 507 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| querydirectcustomerscreditdata_tmp = QueryDirectCustomersCreditData.new querydirectcustomerscreditdata_tmp.deserialize(i) @Data << querydirectcustomerscreditdata_tmp end end @RequestId = params['RequestId'] end |