Class: TencentCloud::Cdb::V20170320::DescribeCpuExpandHistoryResponse

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

Overview

DescribeCpuExpandHistory返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(items = nil, totalcount = nil, requestid = nil) ⇒ DescribeCpuExpandHistoryResponse

Returns a new instance of DescribeCpuExpandHistoryResponse.



5923
5924
5925
5926
5927
# File 'lib/v20170320/models.rb', line 5923

def initialize(items=nil, totalcount=nil, requestid=nil)
  @Items = items
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject

Parameters:

  • Items:

    满足查询要求的扩容历史

  • TotalCount:

    总数出参

  • RequestId:

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



5921
5922
5923
# File 'lib/v20170320/models.rb', line 5921

def Items
  @Items
end

#RequestIdObject

Parameters:

  • Items:

    满足查询要求的扩容历史

  • TotalCount:

    总数出参

  • RequestId:

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



5921
5922
5923
# File 'lib/v20170320/models.rb', line 5921

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • Items:

    满足查询要求的扩容历史

  • TotalCount:

    总数出参

  • RequestId:

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



5921
5922
5923
# File 'lib/v20170320/models.rb', line 5921

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
# File 'lib/v20170320/models.rb', line 5929

def deserialize(params)
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      historyjob_tmp = HistoryJob.new
      historyjob_tmp.deserialize(i)
      @Items << historyjob_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end