Class: TencentCloud::Tdcpg::V20211118::DescribeAccountsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdcpg::V20211118::DescribeAccountsResponse
- Defined in:
- lib/v20211118/models.rb
Overview
DescribeAccounts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, accountset = nil, requestid = nil) ⇒ DescribeAccountsResponse
constructor
A new instance of DescribeAccountsResponse.
Constructor Details
#initialize(totalcount = nil, accountset = nil, requestid = nil) ⇒ DescribeAccountsResponse
Returns a new instance of DescribeAccountsResponse.
598 599 600 601 602 |
# File 'lib/v20211118/models.rb', line 598 def initialize(totalcount=nil, accountset=nil, requestid=nil) @TotalCount = totalcount @AccountSet = accountset @RequestId = requestid end |
Instance Attribute Details
#AccountSet ⇒ Object
596 597 598 |
# File 'lib/v20211118/models.rb', line 596 def AccountSet @AccountSet end |
#RequestId ⇒ Object
596 597 598 |
# File 'lib/v20211118/models.rb', line 596 def RequestId @RequestId end |
#TotalCount ⇒ Object
596 597 598 |
# File 'lib/v20211118/models.rb', line 596 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
604 605 606 607 608 609 610 611 612 613 614 615 |
# File 'lib/v20211118/models.rb', line 604 def deserialize(params) @TotalCount = params['TotalCount'] unless params['AccountSet'].nil? @AccountSet = [] params['AccountSet'].each do |i| account_tmp = Account.new account_tmp.deserialize(i) @AccountSet << account_tmp end end @RequestId = params['RequestId'] end |