Class: TencentCloud::Tdmq::V20200217::CreateCmqSubscribeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::CreateCmqSubscribeRequest
- Defined in:
- lib/v20200217/models.rb
Overview
CreateCmqSubscribe请求参数结构体
Instance Attribute Summary collapse
- #BindingKey ⇒ Object
- #Endpoint ⇒ Object
- #FilterTag ⇒ Object
- #NotifyContentFormat ⇒ Object
- #NotifyStrategy ⇒ Object
- #Protocol ⇒ Object
- #SubscriptionName ⇒ Object
- #TopicName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicname = nil, subscriptionname = nil, protocol = nil, endpoint = nil, notifystrategy = nil, filtertag = nil, bindingkey = nil, notifycontentformat = nil) ⇒ CreateCmqSubscribeRequest
constructor
A new instance of CreateCmqSubscribeRequest.
Constructor Details
#initialize(topicname = nil, subscriptionname = nil, protocol = nil, endpoint = nil, notifystrategy = nil, filtertag = nil, bindingkey = nil, notifycontentformat = nil) ⇒ CreateCmqSubscribeRequest
Returns a new instance of CreateCmqSubscribeRequest.
1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 |
# File 'lib/v20200217/models.rb', line 1305 def initialize(topicname=nil, subscriptionname=nil, protocol=nil, endpoint=nil, notifystrategy=nil, filtertag=nil, bindingkey=nil, notifycontentformat=nil) @TopicName = topicname @SubscriptionName = subscriptionname @Protocol = protocol @Endpoint = endpoint @NotifyStrategy = notifystrategy @FilterTag = filtertag @BindingKey = bindingkey @NotifyContentFormat = notifycontentformat end |
Instance Attribute Details
#BindingKey ⇒ Object
1303 1304 1305 |
# File 'lib/v20200217/models.rb', line 1303 def BindingKey @BindingKey end |
#Endpoint ⇒ Object
1303 1304 1305 |
# File 'lib/v20200217/models.rb', line 1303 def Endpoint @Endpoint end |
#FilterTag ⇒ Object
1303 1304 1305 |
# File 'lib/v20200217/models.rb', line 1303 def FilterTag @FilterTag end |
#NotifyContentFormat ⇒ Object
1303 1304 1305 |
# File 'lib/v20200217/models.rb', line 1303 def NotifyContentFormat @NotifyContentFormat end |
#NotifyStrategy ⇒ Object
1303 1304 1305 |
# File 'lib/v20200217/models.rb', line 1303 def NotifyStrategy @NotifyStrategy end |
#Protocol ⇒ Object
1303 1304 1305 |
# File 'lib/v20200217/models.rb', line 1303 def Protocol @Protocol end |
#SubscriptionName ⇒ Object
1303 1304 1305 |
# File 'lib/v20200217/models.rb', line 1303 def SubscriptionName @SubscriptionName end |
#TopicName ⇒ Object
1303 1304 1305 |
# File 'lib/v20200217/models.rb', line 1303 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 |
# File 'lib/v20200217/models.rb', line 1316 def deserialize(params) @TopicName = params['TopicName'] @SubscriptionName = params['SubscriptionName'] @Protocol = params['Protocol'] @Endpoint = params['Endpoint'] @NotifyStrategy = params['NotifyStrategy'] @FilterTag = params['FilterTag'] @BindingKey = params['BindingKey'] @NotifyContentFormat = params['NotifyContentFormat'] end |