Class: TencentCloud::Tdmq::V20200217::DescribeMsgRequest

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

Overview

DescribeMsg请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(environmentid = nil, msgid = nil, topicname = nil, clusterid = nil) ⇒ DescribeMsgRequest

Returns a new instance of DescribeMsgRequest.



4401
4402
4403
4404
4405
4406
# File 'lib/v20200217/models.rb', line 4401

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

Instance Attribute Details

#ClusterIdObject

Parameters:

  • EnvironmentId:

    环境(命名空间)名称。

  • MsgId:

    消息ID。

  • TopicName:

    主题名。

  • ClusterId:

    Pulsar 集群的ID



4399
4400
4401
# File 'lib/v20200217/models.rb', line 4399

def ClusterId
  @ClusterId
end

#EnvironmentIdObject

Parameters:

  • EnvironmentId:

    环境(命名空间)名称。

  • MsgId:

    消息ID。

  • TopicName:

    主题名。

  • ClusterId:

    Pulsar 集群的ID



4399
4400
4401
# File 'lib/v20200217/models.rb', line 4399

def EnvironmentId
  @EnvironmentId
end

#MsgIdObject

Parameters:

  • EnvironmentId:

    环境(命名空间)名称。

  • MsgId:

    消息ID。

  • TopicName:

    主题名。

  • ClusterId:

    Pulsar 集群的ID



4399
4400
4401
# File 'lib/v20200217/models.rb', line 4399

def MsgId
  @MsgId
end

#TopicNameObject

Parameters:

  • EnvironmentId:

    环境(命名空间)名称。

  • MsgId:

    消息ID。

  • TopicName:

    主题名。

  • ClusterId:

    Pulsar 集群的ID



4399
4400
4401
# File 'lib/v20200217/models.rb', line 4399

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



4408
4409
4410
4411
4412
4413
# File 'lib/v20200217/models.rb', line 4408

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