Class: TencentCloud::Solar::V20181011::DescribeCustomersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Solar::V20181011::DescribeCustomersResponse
- Defined in:
- lib/v20181011/models.rb
Overview
DescribeCustomers返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UserList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, userlist = nil, requestid = nil) ⇒ DescribeCustomersResponse
constructor
A new instance of DescribeCustomersResponse.
Constructor Details
#initialize(totalcount = nil, userlist = nil, requestid = nil) ⇒ DescribeCustomersResponse
Returns a new instance of DescribeCustomersResponse.
631 632 633 634 635 |
# File 'lib/v20181011/models.rb', line 631 def initialize(totalcount=nil, userlist=nil, requestid=nil) @TotalCount = totalcount @UserList = userlist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
629 630 631 |
# File 'lib/v20181011/models.rb', line 629 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
629 630 631 |
# File 'lib/v20181011/models.rb', line 629 def TotalCount @TotalCount end |
#UserList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
629 630 631 |
# File 'lib/v20181011/models.rb', line 629 def UserList @UserList end |
Instance Method Details
#deserialize(params) ⇒ Object
637 638 639 640 641 642 643 644 645 646 647 648 |
# File 'lib/v20181011/models.rb', line 637 def deserialize(params) @TotalCount = params['TotalCount'] unless params['UserList'].nil? @UserList = [] params['UserList'].each do |i| customerinfo_tmp = CustomerInfo.new customerinfo_tmp.deserialize(i) @UserList << customerinfo_tmp end end @RequestId = params['RequestId'] end |