Class: TencentCloud::Tdmq::V20200217::SendRocketMQMessageRequest

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

Overview

SendRocketMQMessage请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, namespaceid = nil, topicname = nil, msgbody = nil, msgkey = nil, msgtag = nil) ⇒ SendRocketMQMessageRequest

Returns a new instance of SendRocketMQMessageRequest.



12818
12819
12820
12821
12822
12823
12824
12825
# File 'lib/v20200217/models.rb', line 12818

def initialize(clusterid=nil, namespaceid=nil, topicname=nil, msgbody=nil, msgkey=nil, msgtag=nil)
  @ClusterId = clusterid
  @NamespaceId = namespaceid
  @TopicName = topicname
  @MsgBody = msgbody
  @MsgKey = msgkey
  @MsgTag = msgtag
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群id

  • NamespaceId:

    命名空间

  • TopicName:

    topic名称

  • MsgBody:

    信息内容

  • MsgKey:

    消息key信息

  • MsgTag:

    消息tag信息



12816
12817
12818
# File 'lib/v20200217/models.rb', line 12816

def ClusterId
  @ClusterId
end

#MsgBodyObject

Parameters:

  • ClusterId:

    集群id

  • NamespaceId:

    命名空间

  • TopicName:

    topic名称

  • MsgBody:

    信息内容

  • MsgKey:

    消息key信息

  • MsgTag:

    消息tag信息



12816
12817
12818
# File 'lib/v20200217/models.rb', line 12816

def MsgBody
  @MsgBody
end

#MsgKeyObject

Parameters:

  • ClusterId:

    集群id

  • NamespaceId:

    命名空间

  • TopicName:

    topic名称

  • MsgBody:

    信息内容

  • MsgKey:

    消息key信息

  • MsgTag:

    消息tag信息



12816
12817
12818
# File 'lib/v20200217/models.rb', line 12816

def MsgKey
  @MsgKey
end

#MsgTagObject

Parameters:

  • ClusterId:

    集群id

  • NamespaceId:

    命名空间

  • TopicName:

    topic名称

  • MsgBody:

    信息内容

  • MsgKey:

    消息key信息

  • MsgTag:

    消息tag信息



12816
12817
12818
# File 'lib/v20200217/models.rb', line 12816

def MsgTag
  @MsgTag
end

#NamespaceIdObject

Parameters:

  • ClusterId:

    集群id

  • NamespaceId:

    命名空间

  • TopicName:

    topic名称

  • MsgBody:

    信息内容

  • MsgKey:

    消息key信息

  • MsgTag:

    消息tag信息



12816
12817
12818
# File 'lib/v20200217/models.rb', line 12816

def NamespaceId
  @NamespaceId
end

#TopicNameObject

Parameters:

  • ClusterId:

    集群id

  • NamespaceId:

    命名空间

  • TopicName:

    topic名称

  • MsgBody:

    信息内容

  • MsgKey:

    消息key信息

  • MsgTag:

    消息tag信息



12816
12817
12818
# File 'lib/v20200217/models.rb', line 12816

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



12827
12828
12829
12830
12831
12832
12833
12834
# File 'lib/v20200217/models.rb', line 12827

def deserialize(params)
  @ClusterId = params['ClusterId']
  @NamespaceId = params['NamespaceId']
  @TopicName = params['TopicName']
  @MsgBody = params['MsgBody']
  @MsgKey = params['MsgKey']
  @MsgTag = params['MsgTag']
end