Class: TencentCloud::Ssl::V20191205::TSEInstanceDetail

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

Overview

tse实例详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayid = nil, gatewayname = nil, certificatelist = nil) ⇒ TSEInstanceDetail

Returns a new instance of TSEInstanceDetail.



7715
7716
7717
7718
7719
# File 'lib/v20191205/models.rb', line 7715

def initialize(gatewayid=nil, gatewayname=nil, certificatelist=nil)
  @GatewayId = gatewayid
  @GatewayName = gatewayname
  @CertificateList = certificatelist
end

Instance Attribute Details

#CertificateListObject

Parameters:

  • GatewayId:

    网关ID

  • GatewayName:

    网关名称

  • CertificateList:

    网关证书列表



7713
7714
7715
# File 'lib/v20191205/models.rb', line 7713

def CertificateList
  @CertificateList
end

#GatewayIdObject

Parameters:

  • GatewayId:

    网关ID

  • GatewayName:

    网关名称

  • CertificateList:

    网关证书列表



7713
7714
7715
# File 'lib/v20191205/models.rb', line 7713

def GatewayId
  @GatewayId
end

#GatewayNameObject

Parameters:

  • GatewayId:

    网关ID

  • GatewayName:

    网关名称

  • CertificateList:

    网关证书列表



7713
7714
7715
# File 'lib/v20191205/models.rb', line 7713

def GatewayName
  @GatewayName
end

Instance Method Details

#deserialize(params) ⇒ Object



7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
# File 'lib/v20191205/models.rb', line 7721

def deserialize(params)
  @GatewayId = params['GatewayId']
  @GatewayName = params['GatewayName']
  unless params['CertificateList'].nil?
    @CertificateList = []
    params['CertificateList'].each do |i|
      gatewaycertificate_tmp = GatewayCertificate.new
      gatewaycertificate_tmp.deserialize(i)
      @CertificateList << gatewaycertificate_tmp
    end
  end
end