Class: TencentCloud::Cynosdb::V20190107::DescribeClusterParamsResponse

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

Overview

DescribeClusterParams返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeClusterParamsResponse.



6081
6082
6083
6084
6085
# File 'lib/v20190107/models.rb', line 6081

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。



6079
6080
6081
# File 'lib/v20190107/models.rb', line 6079

def Items
  @Items
end

#RequestIdObject

Parameters:

  • TotalCount:

    参数个数

  • Items:

    实例参数列表

  • RequestId:

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



6079
6080
6081
# File 'lib/v20190107/models.rb', line 6079

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    参数个数

  • Items:

    实例参数列表

  • RequestId:

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



6079
6080
6081
# File 'lib/v20190107/models.rb', line 6079

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
# File 'lib/v20190107/models.rb', line 6087

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