Class: TencentCloud::Tdmq::V20200217::ModifyCmqTopicAttributeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ModifyCmqTopicAttributeRequest
- Defined in:
- lib/v20200217/models.rb
Overview
ModifyCmqTopicAttribute请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicname = nil, maxmsgsize = nil, msgretentionseconds = nil, trace = nil) ⇒ ModifyCmqTopicAttributeRequest
constructor
A new instance of ModifyCmqTopicAttributeRequest.
Constructor Details
#initialize(topicname = nil, maxmsgsize = nil, msgretentionseconds = nil, trace = nil) ⇒ ModifyCmqTopicAttributeRequest
Returns a new instance of ModifyCmqTopicAttributeRequest.
8729 8730 8731 8732 8733 8734 |
# File 'lib/v20200217/models.rb', line 8729 def initialize(topicname=nil, maxmsgsize=nil, msgretentionseconds=nil, trace=nil) @TopicName = topicname @MaxMsgSize = maxmsgsize @MsgRetentionSeconds = msgretentionseconds @Trace = trace end |
Instance Attribute Details
#MaxMsgSize ⇒ Object
8727 8728 8729 |
# File 'lib/v20200217/models.rb', line 8727 def MaxMsgSize @MaxMsgSize end |
#MsgRetentionSeconds ⇒ Object
8727 8728 8729 |
# File 'lib/v20200217/models.rb', line 8727 def MsgRetentionSeconds @MsgRetentionSeconds end |
#TopicName ⇒ Object
8727 8728 8729 |
# File 'lib/v20200217/models.rb', line 8727 def TopicName @TopicName end |
#Trace ⇒ Object
8727 8728 8729 |
# File 'lib/v20200217/models.rb', line 8727 def Trace @Trace end |
Instance Method Details
#deserialize(params) ⇒ Object
8736 8737 8738 8739 8740 8741 |
# File 'lib/v20200217/models.rb', line 8736 def deserialize(params) @TopicName = params['TopicName'] @MaxMsgSize = params['MaxMsgSize'] @MsgRetentionSeconds = params['MsgRetentionSeconds'] @Trace = params['Trace'] end |