Class: TencentCloud::Intlpartnersmgt::V20220928::QueryDirectCustomersCreditResponse

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

Overview

QueryDirectCustomersCredit返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DataObject

Parameters:

  • Data:

    直接子客信息列表

  • RequestId:

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



500
501
502
# File 'lib/v20220928/models.rb', line 500

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    直接子客信息列表

  • RequestId:

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



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