Class: TencentCloud::Cam::V20190116::DescribeSubAccountsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::DescribeSubAccountsResponse
- Defined in:
- lib/v20190116/models.rb
Overview
DescribeSubAccounts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(subaccounts = nil, requestid = nil) ⇒ DescribeSubAccountsResponse
constructor
A new instance of DescribeSubAccountsResponse.
Constructor Details
#initialize(subaccounts = nil, requestid = nil) ⇒ DescribeSubAccountsResponse
Returns a new instance of DescribeSubAccountsResponse.
1923 1924 1925 1926 |
# File 'lib/v20190116/models.rb', line 1923 def initialize(subaccounts=nil, requestid=nil) @SubAccounts = subaccounts @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1921 1922 1923 |
# File 'lib/v20190116/models.rb', line 1921 def RequestId @RequestId end |
#SubAccounts ⇒ Object
1921 1922 1923 |
# File 'lib/v20190116/models.rb', line 1921 def SubAccounts @SubAccounts end |
Instance Method Details
#deserialize(params) ⇒ Object
1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 |
# File 'lib/v20190116/models.rb', line 1928 def deserialize(params) unless params['SubAccounts'].nil? @SubAccounts = [] params['SubAccounts'].each do |i| subaccountuser_tmp = SubAccountUser.new subaccountuser_tmp.deserialize(i) @SubAccounts << subaccountuser_tmp end end @RequestId = params['RequestId'] end |