Class: TencentCloud::Tdmq::V20200217::DeleteRocketMQTopicRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

DeleteRocketMQTopic请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, namespaceid = nil, topic = nil) ⇒ DeleteRocketMQTopicRequest

Returns a new instance of DeleteRocketMQTopicRequest.



3154
3155
3156
3157
3158
# File 'lib/v20200217/models.rb', line 3154

def initialize(clusterid=nil, namespaceid=nil, topic=nil)
  @ClusterId = clusterid
  @NamespaceId = namespaceid
  @Topic = topic
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

    命名空间名称

  • Topic:

    主题名称



3152
3153
3154
# File 'lib/v20200217/models.rb', line 3152

def ClusterId
  @ClusterId
end

#NamespaceIdObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

    命名空间名称

  • Topic:

    主题名称



3152
3153
3154
# File 'lib/v20200217/models.rb', line 3152

def NamespaceId
  @NamespaceId
end

#TopicObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

    命名空间名称

  • Topic:

    主题名称



3152
3153
3154
# File 'lib/v20200217/models.rb', line 3152

def Topic
  @Topic
end

Instance Method Details

#deserialize(params) ⇒ Object



3160
3161
3162
3163
3164
# File 'lib/v20200217/models.rb', line 3160

def deserialize(params)
  @ClusterId = params['ClusterId']
  @NamespaceId = params['NamespaceId']
  @Topic = params['Topic']
end