Class: TencentCloud::Tke::V20180525::DescribeClusterLevelChangeRecordsResponse

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

Overview

DescribeClusterLevelChangeRecords返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeClusterLevelChangeRecordsResponse.



6544
6545
6546
6547
6548
# File 'lib/v20180525/models.rb', line 6544

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

Instance Attribute Details

#ItemsObject

Parameters:

  • TotalCount:

    总数

  • Items:

    集群规模

  • RequestId:

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



6542
6543
6544
# File 'lib/v20180525/models.rb', line 6542

def Items
  @Items
end

#RequestIdObject

Parameters:

  • TotalCount:

    总数

  • Items:

    集群规模

  • RequestId:

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



6542
6543
6544
# File 'lib/v20180525/models.rb', line 6542

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数

  • Items:

    集群规模

  • RequestId:

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



6542
6543
6544
# File 'lib/v20180525/models.rb', line 6542

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
# File 'lib/v20180525/models.rb', line 6550

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