Class: TencentCloud::Clb::V20180317::BatchModifyTargetTagRequest

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

Overview

BatchModifyTargetTag请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loadbalancerid = nil, modifylist = nil) ⇒ BatchModifyTargetTagRequest

Returns a new instance of BatchModifyTargetTagRequest.



306
307
308
309
# File 'lib/v20180317/models.rb', line 306

def initialize(loadbalancerid=nil, modifylist=nil)
  @LoadBalancerId = loadbalancerid
  @ModifyList = modifylist
end

Instance Attribute Details

#LoadBalancerIdObject

Parameters:

  • LoadBalancerId:

    负载均衡实例 ID。

  • ModifyList:

    要批量修改标签的列表。



304
305
306
# File 'lib/v20180317/models.rb', line 304

def LoadBalancerId
  @LoadBalancerId
end

#ModifyListObject

Parameters:

  • LoadBalancerId:

    负载均衡实例 ID。

  • ModifyList:

    要批量修改标签的列表。



304
305
306
# File 'lib/v20180317/models.rb', line 304

def ModifyList
  @ModifyList
end

Instance Method Details

#deserialize(params) ⇒ Object



311
312
313
314
315
316
317
318
319
320
321
# File 'lib/v20180317/models.rb', line 311

def deserialize(params)
  @LoadBalancerId = params['LoadBalancerId']
  unless params['ModifyList'].nil?
    @ModifyList = []
    params['ModifyList'].each do |i|
      rstagrule_tmp = RsTagRule.new
      rstagrule_tmp.deserialize(i)
      @ModifyList << rstagrule_tmp
    end
  end
end