Class: TencentCloud::Cls::V20201016::TopicPartitionInfo

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

Overview

Partitions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicid = nil, partitions = nil) ⇒ TopicPartitionInfo

Returns a new instance of TopicPartitionInfo.



17797
17798
17799
17800
# File 'lib/v20201016/models.rb', line 17797

def initialize(topicid=nil, partitions=nil)
  @TopicID = topicid
  @Partitions = partitions
end

Instance Attribute Details

#Partitions ⇒ Object

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

Parameters:

  • TopicID: —

    日志主题ID

  • Partitions: —

    分区id列表



17795
17796
17797
# File 'lib/v20201016/models.rb', line 17795

def Partitions
  @Partitions
end

#TopicID ⇒ Object

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

Parameters:

  • TopicID: —

    日志主题ID

  • Partitions: —

    分区id列表



17795
17796
17797
# File 'lib/v20201016/models.rb', line 17795

def TopicID
  @TopicID
end

Instance Method Details

#deserialize(params) ⇒ Object



17802
17803
17804
17805
# File 'lib/v20201016/models.rb', line 17802

def deserialize(params)
  @TopicID = params['TopicID']
  @Partitions = params['Partitions']
end