Class: TencentCloud::Trocket::V20230308::ModifyTopicRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::ModifyTopicRequest
- Defined in:
- lib/v20230308/models.rb
Overview
ModifyTopic请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, topic = nil, queuenum = nil, remark = nil, msgttl = nil) ⇒ ModifyTopicRequest
constructor
A new instance of ModifyTopicRequest.
Constructor Details
#initialize(instanceid = nil, topic = nil, queuenum = nil, remark = nil, msgttl = nil) ⇒ ModifyTopicRequest
Returns a new instance of ModifyTopicRequest.
5400 5401 5402 5403 5404 5405 5406 |
# File 'lib/v20230308/models.rb', line 5400 def initialize(instanceid=nil, topic=nil, queuenum=nil, remark=nil, msgttl=nil) @InstanceId = instanceid @Topic = topic @QueueNum = queuenum @Remark = remark @MsgTTL = msgttl end |
Instance Attribute Details
#InstanceId ⇒ Object
5398 5399 5400 |
# File 'lib/v20230308/models.rb', line 5398 def InstanceId @InstanceId end |
#MsgTTL ⇒ Object
5398 5399 5400 |
# File 'lib/v20230308/models.rb', line 5398 def MsgTTL @MsgTTL end |
#QueueNum ⇒ Object
5398 5399 5400 |
# File 'lib/v20230308/models.rb', line 5398 def QueueNum @QueueNum end |
#Remark ⇒ Object
5398 5399 5400 |
# File 'lib/v20230308/models.rb', line 5398 def Remark @Remark end |
#Topic ⇒ Object
5398 5399 5400 |
# File 'lib/v20230308/models.rb', line 5398 def Topic @Topic end |
Instance Method Details
#deserialize(params) ⇒ Object
5408 5409 5410 5411 5412 5413 5414 |
# File 'lib/v20230308/models.rb', line 5408 def deserialize(params) @InstanceId = params['InstanceId'] @Topic = params['Topic'] @QueueNum = params['QueueNum'] @Remark = params['Remark'] @MsgTTL = params['MsgTTL'] end |