Class: TencentCloud::Yunjing::V20180228::DescribeHistoryAccountsResponse

Inherits:
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

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

#HistoryAccountsObject

Parameters:

  • TotalCount:

    帐号变更历史列表记录总数。

  • HistoryAccounts:

    帐号变更历史数据数组。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



2170
2171
2172
# File 'lib/v20180228/models.rb', line 2170

def HistoryAccounts
  @HistoryAccounts
end

#RequestIdObject

Parameters:

  • TotalCount:

    帐号变更历史列表记录总数。

  • HistoryAccounts:

    帐号变更历史数据数组。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



2170
2171
2172
# File 'lib/v20180228/models.rb', line 2170

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    帐号变更历史列表记录总数。

  • HistoryAccounts:

    帐号变更历史数据数组。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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