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.



5894
5895
5896
5897
5898
# File 'lib/v20170320/models.rb', line 5894

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。



5892
5893
5894
# File 'lib/v20170320/models.rb', line 5892

def Items
  @Items
end

#RequestIdObject

Parameters:

  • Items:

    满足查询要求的扩容历史

  • TotalCount:

    总数出参

  • RequestId:

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



5892
5893
5894
# File 'lib/v20170320/models.rb', line 5892

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • Items:

    满足查询要求的扩容历史

  • TotalCount:

    总数出参

  • RequestId:

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



5892
5893
5894
# File 'lib/v20170320/models.rb', line 5892

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
# File 'lib/v20170320/models.rb', line 5900

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