Class: TencentCloud::Cme::V20191029::DescribeAccountsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::DescribeAccountsResponse
- Defined in:
- lib/v20191029/models.rb
Overview
DescribeAccounts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, accountinfoset = nil, requestid = nil) ⇒ DescribeAccountsResponse
constructor
A new instance of DescribeAccountsResponse.
Constructor Details
#initialize(totalcount = nil, accountinfoset = nil, requestid = nil) ⇒ DescribeAccountsResponse
Returns a new instance of DescribeAccountsResponse.
1227 1228 1229 1230 1231 |
# File 'lib/v20191029/models.rb', line 1227 def initialize(totalcount=nil, accountinfoset=nil, requestid=nil) @TotalCount = totalcount @AccountInfoSet = accountinfoset @RequestId = requestid end |
Instance Attribute Details
#AccountInfoSet ⇒ Object
1225 1226 1227 |
# File 'lib/v20191029/models.rb', line 1225 def AccountInfoSet @AccountInfoSet end |
#RequestId ⇒ Object
1225 1226 1227 |
# File 'lib/v20191029/models.rb', line 1225 def RequestId @RequestId end |
#TotalCount ⇒ Object
1225 1226 1227 |
# File 'lib/v20191029/models.rb', line 1225 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 |
# File 'lib/v20191029/models.rb', line 1233 def deserialize(params) @TotalCount = params['TotalCount'] unless params['AccountInfoSet'].nil? @AccountInfoSet = [] params['AccountInfoSet'].each do |i| accountinfo_tmp = AccountInfo.new accountinfo_tmp.deserialize(i) @AccountInfoSet << accountinfo_tmp end end @RequestId = params['RequestId'] end |