Class: TencentCloud::Yunjing::V20180228::DescribeAccountsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeAccountsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeAccounts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, accounts = nil, requestid = nil) ⇒ DescribeAccountsResponse
constructor
A new instance of DescribeAccountsResponse.
Constructor Details
#initialize(totalcount = nil, accounts = nil, requestid = nil) ⇒ DescribeAccountsResponse
Returns a new instance of DescribeAccountsResponse.
1423 1424 1425 1426 1427 |
# File 'lib/v20180228/models.rb', line 1423 def initialize(totalcount=nil, accounts=nil, requestid=nil) @TotalCount = totalcount @Accounts = accounts @RequestId = requestid end |
Instance Attribute Details
#Accounts ⇒ Object
1421 1422 1423 |
# File 'lib/v20180228/models.rb', line 1421 def Accounts @Accounts end |
#RequestId ⇒ Object
1421 1422 1423 |
# File 'lib/v20180228/models.rb', line 1421 def RequestId @RequestId end |
#TotalCount ⇒ Object
1421 1422 1423 |
# File 'lib/v20180228/models.rb', line 1421 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 |
# File 'lib/v20180228/models.rb', line 1429 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Accounts'].nil? @Accounts = [] params['Accounts'].each do |i| account_tmp = Account.new account_tmp.deserialize(i) @Accounts << account_tmp end end @RequestId = params['RequestId'] end |