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.



6110
6111
6112
6113
6114
# File 'lib/v20180525/models.rb', line 6110

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。



6108
6109
6110
# File 'lib/v20180525/models.rb', line 6108

def Items
  @Items
end

#RequestIdObject

Parameters:

  • TotalCount:

    总数

  • Items:

    集群规模

  • RequestId:

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



6108
6109
6110
# File 'lib/v20180525/models.rb', line 6108

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数

  • Items:

    集群规模

  • RequestId:

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



6108
6109
6110
# File 'lib/v20180525/models.rb', line 6108

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
# File 'lib/v20180525/models.rb', line 6116

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