Class: TencentCloud::Intlpartnersmgt::V20220928::QueryCustomersCreditResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Intlpartnersmgt::V20220928::QueryCustomersCreditResponse
- Defined in:
- lib/v20220928/models.rb
Overview
QueryCustomersCredit返回参数结构体
Instance Attribute Summary collapse
-
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, total = nil, requestid = nil) ⇒ QueryCustomersCreditResponse
constructor
A new instance of QueryCustomersCreditResponse.
Constructor Details
#initialize(data = nil, total = nil, requestid = nil) ⇒ QueryCustomersCreditResponse
Returns a new instance of QueryCustomersCreditResponse.
438 439 440 441 442 |
# File 'lib/v20220928/models.rb', line 438 def initialize(data=nil, total=nil, requestid=nil) @Data = data @Total = total @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
436 437 438 |
# File 'lib/v20220928/models.rb', line 436 def Data @Data end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
436 437 438 |
# File 'lib/v20220928/models.rb', line 436 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
436 437 438 |
# File 'lib/v20220928/models.rb', line 436 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
444 445 446 447 448 449 450 451 452 453 454 455 |
# File 'lib/v20220928/models.rb', line 444 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| querycustomerscreditdata_tmp = QueryCustomersCreditData.new querycustomerscreditdata_tmp.deserialize(i) @Data << querycustomerscreditdata_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |