Class: TencentCloud::Tdmq::V20200217::SubscriptionTopic
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::SubscriptionTopic
- Defined in:
- lib/v20200217/models.rb
Overview
订阅关系
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, topicname = nil, subscriptionname = nil) ⇒ SubscriptionTopic
constructor
A new instance of SubscriptionTopic.
Constructor Details
#initialize(environmentid = nil, topicname = nil, subscriptionname = nil) ⇒ SubscriptionTopic
Returns a new instance of SubscriptionTopic.
13096 13097 13098 13099 13100 |
# File 'lib/v20200217/models.rb', line 13096 def initialize(environmentid=nil, topicname=nil, subscriptionname=nil) @EnvironmentId = environmentid @TopicName = topicname @SubscriptionName = subscriptionname end |
Instance Attribute Details
#EnvironmentId ⇒ Object
13094 13095 13096 |
# File 'lib/v20200217/models.rb', line 13094 def EnvironmentId @EnvironmentId end |
#SubscriptionName ⇒ Object
13094 13095 13096 |
# File 'lib/v20200217/models.rb', line 13094 def SubscriptionName @SubscriptionName end |
#TopicName ⇒ Object
13094 13095 13096 |
# File 'lib/v20200217/models.rb', line 13094 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
13102 13103 13104 13105 13106 |
# File 'lib/v20200217/models.rb', line 13102 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @TopicName = params['TopicName'] @SubscriptionName = params['SubscriptionName'] end |