Class: TencentCloud::Clb::V20180317::CertIdRelatedWithLoadBalancers

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

Overview

证书ID,以及与该证书ID关联的负载均衡实例列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(certid = nil, loadbalancers = nil) ⇒ CertIdRelatedWithLoadBalancers



557
558
559
560
# File 'lib/v20180317/models.rb', line 557

def initialize(certid=nil, loadbalancers=nil)
  @CertId = certid
  @LoadBalancers = loadbalancers
end

Instance Attribute Details

#CertIdObject



555
556
557
# File 'lib/v20180317/models.rb', line 555

def CertId
  @CertId
end

#LoadBalancersObject



555
556
557
# File 'lib/v20180317/models.rb', line 555

def LoadBalancers
  @LoadBalancers
end

Instance Method Details

#deserialize(params) ⇒ Object



562
563
564
565
566
567
568
569
570
571
572
# File 'lib/v20180317/models.rb', line 562

def deserialize(params)
  @CertId = params['CertId']
  unless params['LoadBalancers'].nil?
    @LoadBalancers = []
    params['LoadBalancers'].each do |i|
      loadbalancer_tmp = LoadBalancer.new
      loadbalancer_tmp.deserialize(i)
      @LoadBalancers << loadbalancer_tmp
    end
  end
end