Class: TencentCloud::Yunjing::V20180228::DescribeHistoryAccountsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeHistoryAccountsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeHistoryAccounts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, historyaccounts = nil, requestid = nil) ⇒ DescribeHistoryAccountsResponse
constructor
A new instance of DescribeHistoryAccountsResponse.
Constructor Details
#initialize(totalcount = nil, historyaccounts = nil, requestid = nil) ⇒ DescribeHistoryAccountsResponse
Returns a new instance of DescribeHistoryAccountsResponse.
2172 2173 2174 2175 2176 |
# File 'lib/v20180228/models.rb', line 2172 def initialize(totalcount=nil, historyaccounts=nil, requestid=nil) @TotalCount = totalcount @HistoryAccounts = historyaccounts @RequestId = requestid end |
Instance Attribute Details
#HistoryAccounts ⇒ Object
2170 2171 2172 |
# File 'lib/v20180228/models.rb', line 2170 def HistoryAccounts @HistoryAccounts end |
#RequestId ⇒ Object
2170 2171 2172 |
# File 'lib/v20180228/models.rb', line 2170 def RequestId @RequestId end |
#TotalCount ⇒ Object
2170 2171 2172 |
# File 'lib/v20180228/models.rb', line 2170 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 |
# File 'lib/v20180228/models.rb', line 2178 def deserialize(params) @TotalCount = params['TotalCount'] unless params['HistoryAccounts'].nil? @HistoryAccounts = [] params['HistoryAccounts'].each do |i| historyaccount_tmp = HistoryAccount.new historyaccount_tmp.deserialize(i) @HistoryAccounts << historyaccount_tmp end end @RequestId = params['RequestId'] end |