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.



1552
1553
1554
1555
1556
# File 'lib/v20190823/models.rb', line 1552

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

Instance Attribute Details

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Rows:

    集群标签信息列表

  • TotalCount:

    返回结果个数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1550
1551
1552
# File 'lib/v20190823/models.rb', line 1550

def RequestId
  @RequestId
end

#RowsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Rows:

    集群标签信息列表

  • TotalCount:

    返回结果个数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1550
1551
1552
# File 'lib/v20190823/models.rb', line 1550

def Rows
  @Rows
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Rows:

    集群标签信息列表

  • TotalCount:

    返回结果个数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1550
1551
1552
# File 'lib/v20190823/models.rb', line 1550

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
# File 'lib/v20190823/models.rb', line 1558

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