Class: TencentCloud::Clb::V20180317::ModifyLoadBalancerSlaRequest

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

Overview

ModifyLoadBalancerSla请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loadbalancersla = nil, force = nil) ⇒ ModifyLoadBalancerSlaRequest



6590
6591
6592
6593
# File 'lib/v20180317/models.rb', line 6590

def initialize(loadbalancersla=nil, force=nil)
  @LoadBalancerSla = loadbalancersla
  @Force = force
end

Instance Attribute Details

#ForceObject



6588
6589
6590
# File 'lib/v20180317/models.rb', line 6588

def Force
  @Force
end

#LoadBalancerSlaObject



6588
6589
6590
# File 'lib/v20180317/models.rb', line 6588

def LoadBalancerSla
  @LoadBalancerSla
end

Instance Method Details

#deserialize(params) ⇒ Object



6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
# File 'lib/v20180317/models.rb', line 6595

def deserialize(params)
  unless params['LoadBalancerSla'].nil?
    @LoadBalancerSla = []
    params['LoadBalancerSla'].each do |i|
      slaupdateparam_tmp = SlaUpdateParam.new
      slaupdateparam_tmp.deserialize(i)
      @LoadBalancerSla << slaupdateparam_tmp
    end
  end
  @Force = params['Force']
end