Class: TencentCloud::Tdmq::V20200217::ExportRocketMQMessageDetailRequest

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

Overview

ExportRocketMQMessageDetail请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, environmentid = nil, topicname = nil, msgid = nil, includemsgbody = nil, deadlettermsg = nil) ⇒ ExportRocketMQMessageDetailRequest

Returns a new instance of ExportRocketMQMessageDetailRequest.



8073
8074
8075
8076
8077
8078
8079
8080
# File 'lib/v20200217/models.rb', line 8073

def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, includemsgbody=nil, deadlettermsg=nil)
  @ClusterId = clusterid
  @EnvironmentId = environmentid
  @TopicName = topicname
  @MsgId = msgid
  @IncludeMsgBody = includemsgbody
  @DeadLetterMsg = deadlettermsg
end

Instance Attribute Details

#ClusterIdObject

如果是死信消息 isDlqMsg=true

Parameters:

  • ClusterId:

    集群id

  • EnvironmentId:

    应用命名空间

  • TopicName:

    Topic名称

  • MsgId:

    消息id

  • IncludeMsgBody:

    是否包含消息体

  • DeadLetterMsg:

    是否死信消息



8071
8072
8073
# File 'lib/v20200217/models.rb', line 8071

def ClusterId
  @ClusterId
end

#DeadLetterMsgObject

如果是死信消息 isDlqMsg=true

Parameters:

  • ClusterId:

    集群id

  • EnvironmentId:

    应用命名空间

  • TopicName:

    Topic名称

  • MsgId:

    消息id

  • IncludeMsgBody:

    是否包含消息体

  • DeadLetterMsg:

    是否死信消息



8071
8072
8073
# File 'lib/v20200217/models.rb', line 8071

def DeadLetterMsg
  @DeadLetterMsg
end

#EnvironmentIdObject

如果是死信消息 isDlqMsg=true

Parameters:

  • ClusterId:

    集群id

  • EnvironmentId:

    应用命名空间

  • TopicName:

    Topic名称

  • MsgId:

    消息id

  • IncludeMsgBody:

    是否包含消息体

  • DeadLetterMsg:

    是否死信消息



8071
8072
8073
# File 'lib/v20200217/models.rb', line 8071

def EnvironmentId
  @EnvironmentId
end

#IncludeMsgBodyObject

如果是死信消息 isDlqMsg=true

Parameters:

  • ClusterId:

    集群id

  • EnvironmentId:

    应用命名空间

  • TopicName:

    Topic名称

  • MsgId:

    消息id

  • IncludeMsgBody:

    是否包含消息体

  • DeadLetterMsg:

    是否死信消息



8071
8072
8073
# File 'lib/v20200217/models.rb', line 8071

def IncludeMsgBody
  @IncludeMsgBody
end

#MsgIdObject

如果是死信消息 isDlqMsg=true

Parameters:

  • ClusterId:

    集群id

  • EnvironmentId:

    应用命名空间

  • TopicName:

    Topic名称

  • MsgId:

    消息id

  • IncludeMsgBody:

    是否包含消息体

  • DeadLetterMsg:

    是否死信消息



8071
8072
8073
# File 'lib/v20200217/models.rb', line 8071

def MsgId
  @MsgId
end

#TopicNameObject

如果是死信消息 isDlqMsg=true

Parameters:

  • ClusterId:

    集群id

  • EnvironmentId:

    应用命名空间

  • TopicName:

    Topic名称

  • MsgId:

    消息id

  • IncludeMsgBody:

    是否包含消息体

  • DeadLetterMsg:

    是否死信消息



8071
8072
8073
# File 'lib/v20200217/models.rb', line 8071

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



8082
8083
8084
8085
8086
8087
8088
8089
# File 'lib/v20200217/models.rb', line 8082

def deserialize(params)
  @ClusterId = params['ClusterId']
  @EnvironmentId = params['EnvironmentId']
  @TopicName = params['TopicName']
  @MsgId = params['MsgId']
  @IncludeMsgBody = params['IncludeMsgBody']
  @DeadLetterMsg = params['DeadLetterMsg']
end