Class: TencentCloud::Clb::V20180317::DisassociateTargetGroupsRequest

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

Overview

DisassociateTargetGroups请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(associations = nil) ⇒ DisassociateTargetGroupsRequest

Returns a new instance of DisassociateTargetGroupsRequest.



4317
4318
4319
# File 'lib/v20180317/models.rb', line 4317

def initialize(associations=nil)
  @Associations = associations
end

Instance Attribute Details

#AssociationsObject

Parameters:

  • Associations:

    待解绑的规则关系数组,支持批量解绑多个监听器,单次批量解除最多20个。



4315
4316
4317
# File 'lib/v20180317/models.rb', line 4315

def Associations
  @Associations
end

Instance Method Details

#deserialize(params) ⇒ Object



4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
# File 'lib/v20180317/models.rb', line 4321

def deserialize(params)
  unless params['Associations'].nil?
    @Associations = []
    params['Associations'].each do |i|
      targetgroupassociation_tmp = TargetGroupAssociation.new
      targetgroupassociation_tmp.deserialize(i)
      @Associations << targetgroupassociation_tmp
    end
  end
end