Class: TencentCloud::Tcaplusdb::V20190823::DescribeClusterTagsResponse

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

Overview

DescribeClusterTags返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rows = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterTagsResponse

Returns a new instance of DescribeClusterTagsResponse.



1529
1530
1531
1532
1533
# File 'lib/v20190823/models.rb', line 1529

def initialize(rows=nil, totalcount=nil, requestid=nil)
  @Rows = rows
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • Rows:

    集群标签信息列表

  • TotalCount:

    返回结果个数

  • RequestId:

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



1527
1528
1529
# File 'lib/v20190823/models.rb', line 1527

def RequestId
  @RequestId
end

#RowsObject

Parameters:

  • Rows:

    集群标签信息列表

  • TotalCount:

    返回结果个数

  • RequestId:

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



1527
1528
1529
# File 'lib/v20190823/models.rb', line 1527

def Rows
  @Rows
end

#TotalCountObject

Parameters:

  • Rows:

    集群标签信息列表

  • TotalCount:

    返回结果个数

  • RequestId:

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



1527
1528
1529
# File 'lib/v20190823/models.rb', line 1527

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
# File 'lib/v20190823/models.rb', line 1535

def deserialize(params)
  unless params['Rows'].nil?
    @Rows = []
    params['Rows'].each do |i|
      tagsinfoofcluster_tmp = TagsInfoOfCluster.new
      tagsinfoofcluster_tmp.deserialize(i)
      @Rows << tagsinfoofcluster_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end