Class: TencentCloud::Trocket::V20230308::SendMessageRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::SendMessageRequest
- Defined in:
- lib/v20230308/models.rb
Overview
SendMessage请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, topic = nil, msgbody = nil, msgkey = nil, msgtag = nil) ⇒ SendMessageRequest
constructor
A new instance of SendMessageRequest.
Constructor Details
#initialize(instanceid = nil, topic = nil, msgbody = nil, msgkey = nil, msgtag = nil) ⇒ SendMessageRequest
Returns a new instance of SendMessageRequest.
5885 5886 5887 5888 5889 5890 5891 |
# File 'lib/v20230308/models.rb', line 5885 def initialize(instanceid=nil, topic=nil, msgbody=nil, msgkey=nil, msgtag=nil) @InstanceId = instanceid @Topic = topic @MsgBody = msgbody @MsgKey = msgkey @MsgTag = msgtag end |
Instance Attribute Details
#InstanceId ⇒ Object
5883 5884 5885 |
# File 'lib/v20230308/models.rb', line 5883 def InstanceId @InstanceId end |
#MsgBody ⇒ Object
5883 5884 5885 |
# File 'lib/v20230308/models.rb', line 5883 def MsgBody @MsgBody end |
#MsgKey ⇒ Object
5883 5884 5885 |
# File 'lib/v20230308/models.rb', line 5883 def MsgKey @MsgKey end |
#MsgTag ⇒ Object
5883 5884 5885 |
# File 'lib/v20230308/models.rb', line 5883 def MsgTag @MsgTag end |
#Topic ⇒ Object
5883 5884 5885 |
# File 'lib/v20230308/models.rb', line 5883 def Topic @Topic end |
Instance Method Details
#deserialize(params) ⇒ Object
5893 5894 5895 5896 5897 5898 5899 |
# File 'lib/v20230308/models.rb', line 5893 def deserialize(params) @InstanceId = params['InstanceId'] @Topic = params['Topic'] @MsgBody = params['MsgBody'] @MsgKey = params['MsgKey'] @MsgTag = params['MsgTag'] end |