Class: TencentCloud::Cwp::V20180228::DescribeHistoryAccountsResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

DescribeHistoryAccounts返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, historyaccounts = nil, requestid = nil) ⇒ DescribeHistoryAccountsResponse



15202
15203
15204
15205
15206
# File 'lib/v20180228/models.rb', line 15202

def initialize(totalcount=nil, historyaccounts=nil, requestid=nil)
  @TotalCount = totalcount
  @HistoryAccounts = historyaccounts
  @RequestId = requestid
end

Instance Attribute Details

#HistoryAccountsObject



15200
15201
15202
# File 'lib/v20180228/models.rb', line 15200

def HistoryAccounts
  @HistoryAccounts
end

#RequestIdObject



15200
15201
15202
# File 'lib/v20180228/models.rb', line 15200

def RequestId
  @RequestId
end

#TotalCountObject



15200
15201
15202
# File 'lib/v20180228/models.rb', line 15200

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
# File 'lib/v20180228/models.rb', line 15208

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