Class: TencentCloud::Cynosdb::V20190107::DescribeAccountsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cynosdb::V20190107::DescribeAccountsResponse
- Defined in:
- lib/v20190107/models.rb
Overview
DescribeAccounts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(accountset = nil, totalcount = nil, requestid = nil) ⇒ DescribeAccountsResponse
constructor
A new instance of DescribeAccountsResponse.
Constructor Details
#initialize(accountset = nil, totalcount = nil, requestid = nil) ⇒ DescribeAccountsResponse
Returns a new instance of DescribeAccountsResponse.
4732 4733 4734 4735 4736 |
# File 'lib/v20190107/models.rb', line 4732 def initialize(accountset=nil, totalcount=nil, requestid=nil) @AccountSet = accountset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#AccountSet ⇒ Object
4730 4731 4732 |
# File 'lib/v20190107/models.rb', line 4730 def AccountSet @AccountSet end |
#RequestId ⇒ Object
4730 4731 4732 |
# File 'lib/v20190107/models.rb', line 4730 def RequestId @RequestId end |
#TotalCount ⇒ Object
4730 4731 4732 |
# File 'lib/v20190107/models.rb', line 4730 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 |
# File 'lib/v20190107/models.rb', line 4738 def deserialize(params) unless params['AccountSet'].nil? @AccountSet = [] params['AccountSet'].each do |i| account_tmp = Account.new account_tmp.deserialize(i) @AccountSet << account_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |