Class: TencentCloud::Trocket::V20230308::ConsumeGroupItem

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

Overview

消费组信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, consumergroup = nil, consumeenable = nil, consumemessageorderly = nil, maxretrytimes = nil, remark = nil, clusteridv4 = nil, namespacev4 = nil, consumergroupv4 = nil, fullnamespacev4 = nil, subscribetopicnum = nil, createtime = nil, taglist = nil) ⇒ ConsumeGroupItem

Returns a new instance of ConsumeGroupItem.



140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'lib/v20230308/models.rb', line 140

def initialize(instanceid=nil, consumergroup=nil, consumeenable=nil, consumemessageorderly=nil, maxretrytimes=nil, remark=nil, clusteridv4=nil, namespacev4=nil, consumergroupv4=nil, fullnamespacev4=nil, subscribetopicnum=nil, createtime=nil, taglist=nil)
  @InstanceId = instanceid
  @ConsumerGroup = consumergroup
  @ConsumeEnable = consumeenable
  @ConsumeMessageOrderly = consumemessageorderly
  @MaxRetryTimes = maxretrytimes
  @Remark = remark
  @ClusterIdV4 = clusteridv4
  @NamespaceV4 = namespacev4
  @ConsumerGroupV4 = consumergroupv4
  @FullNamespaceV4 = fullnamespacev4
  @SubscribeTopicNum = subscribetopicnum
  @CreateTime = createtime
  @TagList = taglist
end

Instance Attribute Details

#ClusterIdV4Object

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def ClusterIdV4
  @ClusterIdV4
end

#ConsumeEnableObject

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def ConsumeEnable
  @ConsumeEnable
end

#ConsumeMessageOrderlyObject

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def ConsumeMessageOrderly
  @ConsumeMessageOrderly
end

#ConsumerGroupObject

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def ConsumerGroup
  @ConsumerGroup
end

#ConsumerGroupV4Object

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def ConsumerGroupV4
  @ConsumerGroupV4
end

#CreateTimeObject

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def CreateTime
  @CreateTime
end

#FullNamespaceV4Object

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def FullNamespaceV4
  @FullNamespaceV4
end

#InstanceIdObject

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def InstanceId
  @InstanceId
end

#MaxRetryTimesObject

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def MaxRetryTimes
  @MaxRetryTimes
end

#NamespaceV4Object

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def NamespaceV4
  @NamespaceV4
end

#RemarkObject

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def Remark
  @Remark
end

#SubscribeTopicNumObject

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def SubscribeTopicNum
  @SubscribeTopicNum
end

#TagListObject

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

Parameters:

  • InstanceId:

    实例ID

  • ConsumerGroup:

    消费组名称

  • ConsumeEnable:

    是否开启消费

  • ConsumeMessageOrderly:

    顺序投递:true

  • MaxRetryTimes:

    最大重试次数

  • Remark:

    备注

  • ClusterIdV4:

    4.x的集群ID

  • NamespaceV4:

    4.x的命名空间

  • ConsumerGroupV4:

    4.x的消费组名称

  • FullNamespaceV4:

    4.x的完整命名空间

  • SubscribeTopicNum:

    订阅的主题个数

  • CreateTime:

    创建时间

  • TagList:

    绑定的标签列表



138
139
140
# File 'lib/v20230308/models.rb', line 138

def TagList
  @TagList
end

Instance Method Details

#deserialize(params) ⇒ Object



156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'lib/v20230308/models.rb', line 156

def deserialize(params)
  @InstanceId = params['InstanceId']
  @ConsumerGroup = params['ConsumerGroup']
  @ConsumeEnable = params['ConsumeEnable']
  @ConsumeMessageOrderly = params['ConsumeMessageOrderly']
  @MaxRetryTimes = params['MaxRetryTimes']
  @Remark = params['Remark']
  @ClusterIdV4 = params['ClusterIdV4']
  @NamespaceV4 = params['NamespaceV4']
  @ConsumerGroupV4 = params['ConsumerGroupV4']
  @FullNamespaceV4 = params['FullNamespaceV4']
  @SubscribeTopicNum = params['SubscribeTopicNum']
  @CreateTime = params['CreateTime']
  unless params['TagList'].nil?
    @TagList = []
    params['TagList'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @TagList << tag_tmp
    end
  end
end