Class: TencentCloud::Tdmq::V20200217::PublishCmqMsgRequest

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

Overview

PublishCmqMsg请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicname = nil, msgcontent = nil, msgtag = nil) ⇒ PublishCmqMsgRequest

Returns a new instance of PublishCmqMsgRequest.



9802
9803
9804
9805
9806
# File 'lib/v20200217/models.rb', line 9802

def initialize(topicname=nil, msgcontent=nil, msgtag=nil)
  @TopicName = topicname
  @MsgContent = msgcontent
  @MsgTag = msgtag
end

Instance Attribute Details

#MsgContentObject

Parameters:

  • TopicName:

    主题名

  • MsgContent:

    消息内容,消息总大小需不大于1024K

  • MsgTag:

    消息标签,支持传递多标签或单路由,单个标签、路由长度不能超过64个字符。



9800
9801
9802
# File 'lib/v20200217/models.rb', line 9800

def MsgContent
  @MsgContent
end

#MsgTagObject

Parameters:

  • TopicName:

    主题名

  • MsgContent:

    消息内容,消息总大小需不大于1024K

  • MsgTag:

    消息标签,支持传递多标签或单路由,单个标签、路由长度不能超过64个字符。



9800
9801
9802
# File 'lib/v20200217/models.rb', line 9800

def MsgTag
  @MsgTag
end

#TopicNameObject

Parameters:

  • TopicName:

    主题名

  • MsgContent:

    消息内容,消息总大小需不大于1024K

  • MsgTag:

    消息标签,支持传递多标签或单路由,单个标签、路由长度不能超过64个字符。



9800
9801
9802
# File 'lib/v20200217/models.rb', line 9800

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



9808
9809
9810
9811
9812
# File 'lib/v20200217/models.rb', line 9808

def deserialize(params)
  @TopicName = params['TopicName']
  @MsgContent = params['MsgContent']
  @MsgTag = params['MsgTag']
end