Class: TencentCloud::Tdmq::V20200217::RewindCmqQueueRequest

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

Overview

RewindCmqQueue请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(queuename = nil, startconsumetime = nil) ⇒ RewindCmqQueueRequest

Returns a new instance of RewindCmqQueueRequest.



11308
11309
11310
11311
# File 'lib/v20200217/models.rb', line 11308

def initialize(queuename=nil, startconsumetime=nil)
  @QueueName = queuename
  @StartConsumeTime = startconsumetime
end

Instance Attribute Details

#QueueNameObject

Parameters:

  • QueueName:

    队列名字,在单个地域同一账号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。

  • StartConsumeTime:

    设定该时间,则(Batch)receiveMessage接口,会按照生产消息的先后顺序消费该时间戳以后的消息。



11306
11307
11308
# File 'lib/v20200217/models.rb', line 11306

def QueueName
  @QueueName
end

#StartConsumeTimeObject

Parameters:

  • QueueName:

    队列名字,在单个地域同一账号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。

  • StartConsumeTime:

    设定该时间,则(Batch)receiveMessage接口,会按照生产消息的先后顺序消费该时间戳以后的消息。



11306
11307
11308
# File 'lib/v20200217/models.rb', line 11306

def StartConsumeTime
  @StartConsumeTime
end

Instance Method Details

#deserialize(params) ⇒ Object



11313
11314
11315
11316
# File 'lib/v20200217/models.rb', line 11313

def deserialize(params)
  @QueueName = params['QueueName']
  @StartConsumeTime = params['StartConsumeTime']
end