Class: TencentCloud::Tdmq::V20200217::CreateSubscriptionRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::CreateSubscriptionRequest
- Defined in:
- lib/v20200217/models.rb
Overview
CreateSubscription请求参数结构体
Instance Attribute Summary collapse
- #AutoCreatePolicyTopic ⇒ Object
- #ClusterId ⇒ Object
- #EnvironmentId ⇒ Object
- #IsIdempotent ⇒ Object
- #PostFixPattern ⇒ Object
- #Remark ⇒ Object
- #SubscriptionName ⇒ Object
- #TopicName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, topicname = nil, subscriptionname = nil, isidempotent = nil, clusterid = nil, remark = nil, autocreatepolicytopic = nil, postfixpattern = nil) ⇒ CreateSubscriptionRequest
constructor
A new instance of CreateSubscriptionRequest.
Constructor Details
#initialize(environmentid = nil, topicname = nil, subscriptionname = nil, isidempotent = nil, clusterid = nil, remark = nil, autocreatepolicytopic = nil, postfixpattern = nil) ⇒ CreateSubscriptionRequest
Returns a new instance of CreateSubscriptionRequest.
2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 |
# File 'lib/v20200217/models.rb', line 2392 def initialize(environmentid=nil, topicname=nil, subscriptionname=nil, isidempotent=nil, clusterid=nil, remark=nil, autocreatepolicytopic=nil, postfixpattern=nil) @EnvironmentId = environmentid @TopicName = topicname @SubscriptionName = subscriptionname @IsIdempotent = isidempotent @ClusterId = clusterid @Remark = remark @AutoCreatePolicyTopic = autocreatepolicytopic @PostFixPattern = postfixpattern end |
Instance Attribute Details
#AutoCreatePolicyTopic ⇒ Object
2390 2391 2392 |
# File 'lib/v20200217/models.rb', line 2390 def AutoCreatePolicyTopic @AutoCreatePolicyTopic end |
#ClusterId ⇒ Object
2390 2391 2392 |
# File 'lib/v20200217/models.rb', line 2390 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
2390 2391 2392 |
# File 'lib/v20200217/models.rb', line 2390 def EnvironmentId @EnvironmentId end |
#IsIdempotent ⇒ Object
2390 2391 2392 |
# File 'lib/v20200217/models.rb', line 2390 def IsIdempotent @IsIdempotent end |
#PostFixPattern ⇒ Object
2390 2391 2392 |
# File 'lib/v20200217/models.rb', line 2390 def PostFixPattern @PostFixPattern end |
#Remark ⇒ Object
2390 2391 2392 |
# File 'lib/v20200217/models.rb', line 2390 def Remark @Remark end |
#SubscriptionName ⇒ Object
2390 2391 2392 |
# File 'lib/v20200217/models.rb', line 2390 def SubscriptionName @SubscriptionName end |
#TopicName ⇒ Object
2390 2391 2392 |
# File 'lib/v20200217/models.rb', line 2390 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 |
# File 'lib/v20200217/models.rb', line 2403 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @TopicName = params['TopicName'] @SubscriptionName = params['SubscriptionName'] @IsIdempotent = params['IsIdempotent'] @ClusterId = params['ClusterId'] @Remark = params['Remark'] @AutoCreatePolicyTopic = params['AutoCreatePolicyTopic'] @PostFixPattern = params['PostFixPattern'] end |