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

Returns a new instance of DescribeHistoryAccountsResponse.



14917
14918
14919
14920
14921
# File 'lib/v20180228/models.rb', line 14917

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)。定位问题时需要提供该次请求的 RequestId。



14915
14916
14917
# File 'lib/v20180228/models.rb', line 14915

def HistoryAccounts
  @HistoryAccounts
end

#RequestIdObject

Parameters:

  • TotalCount:

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

  • HistoryAccounts:

    账号变更历史数据数组。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



14915
14916
14917
# File 'lib/v20180228/models.rb', line 14915

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

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

  • HistoryAccounts:

    账号变更历史数据数组。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



14915
14916
14917
# File 'lib/v20180228/models.rb', line 14915

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
# File 'lib/v20180228/models.rb', line 14923

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