Class: TencentCloud::Tdmq::V20200217::DeleteSubscriptionsRequest

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

Overview

DeleteSubscriptions请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subscriptiontopicsets = nil, clusterid = nil, environmentid = nil, force = nil) ⇒ DeleteSubscriptionsRequest

Returns a new instance of DeleteSubscriptionsRequest.



3268
3269
3270
3271
3272
3273
# File 'lib/v20200217/models.rb', line 3268

def initialize(subscriptiontopicsets=nil, clusterid=nil, environmentid=nil, force=nil)
  @SubscriptionTopicSets = subscriptiontopicsets
  @ClusterId = clusterid
  @EnvironmentId = environmentid
  @Force = force
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • SubscriptionTopicSets:

    订阅关系集合,每次最多删除20个。

  • ClusterId:

    pulsar集群Id。

  • EnvironmentId:

    环境(命名空间)名称。

  • Force:

    是否强制删除,默认为false



3266
3267
3268
# File 'lib/v20200217/models.rb', line 3266

def ClusterId
  @ClusterId
end

#EnvironmentIdObject

Parameters:

  • SubscriptionTopicSets:

    订阅关系集合,每次最多删除20个。

  • ClusterId:

    pulsar集群Id。

  • EnvironmentId:

    环境(命名空间)名称。

  • Force:

    是否强制删除,默认为false



3266
3267
3268
# File 'lib/v20200217/models.rb', line 3266

def EnvironmentId
  @EnvironmentId
end

#ForceObject

Parameters:

  • SubscriptionTopicSets:

    订阅关系集合,每次最多删除20个。

  • ClusterId:

    pulsar集群Id。

  • EnvironmentId:

    环境(命名空间)名称。

  • Force:

    是否强制删除,默认为false



3266
3267
3268
# File 'lib/v20200217/models.rb', line 3266

def Force
  @Force
end

#SubscriptionTopicSetsObject

Parameters:

  • SubscriptionTopicSets:

    订阅关系集合,每次最多删除20个。

  • ClusterId:

    pulsar集群Id。

  • EnvironmentId:

    环境(命名空间)名称。

  • Force:

    是否强制删除,默认为false



3266
3267
3268
# File 'lib/v20200217/models.rb', line 3266

def SubscriptionTopicSets
  @SubscriptionTopicSets
end

Instance Method Details

#deserialize(params) ⇒ Object



3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
# File 'lib/v20200217/models.rb', line 3275

def deserialize(params)
  unless params['SubscriptionTopicSets'].nil?
    @SubscriptionTopicSets = []
    params['SubscriptionTopicSets'].each do |i|
      subscriptiontopic_tmp = SubscriptionTopic.new
      subscriptiontopic_tmp.deserialize(i)
      @SubscriptionTopicSets << subscriptiontopic_tmp
    end
  end
  @ClusterId = params['ClusterId']
  @EnvironmentId = params['EnvironmentId']
  @Force = params['Force']
end