Class: TencentCloud::Clb::V20180317::ReplaceCertForLoadBalancersRequest

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

Overview

ReplaceCertForLoadBalancers请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(oldcertificateid = nil, certificate = nil) ⇒ ReplaceCertForLoadBalancersRequest

Returns a new instance of ReplaceCertForLoadBalancersRequest.



7359
7360
7361
7362
# File 'lib/v20180317/models.rb', line 7359

def initialize(oldcertificateid=nil, certificate=nil)
  @OldCertificateId = oldcertificateid
  @Certificate = certificate
end

Instance Attribute Details

#CertificateObject

Parameters:

  • OldCertificateId:

    需要被替换的证书的ID,可以是服务端证书或客户端证书

  • Certificate:

    新证书的内容等相关信息



7357
7358
7359
# File 'lib/v20180317/models.rb', line 7357

def Certificate
  @Certificate
end

#OldCertificateIdObject

Parameters:

  • OldCertificateId:

    需要被替换的证书的ID,可以是服务端证书或客户端证书

  • Certificate:

    新证书的内容等相关信息



7357
7358
7359
# File 'lib/v20180317/models.rb', line 7357

def OldCertificateId
  @OldCertificateId
end

Instance Method Details

#deserialize(params) ⇒ Object



7364
7365
7366
7367
7368
7369
7370
# File 'lib/v20180317/models.rb', line 7364

def deserialize(params)
  @OldCertificateId = params['OldCertificateId']
  unless params['Certificate'].nil?
    @Certificate = CertificateInput.new
    @Certificate.deserialize(params['Certificate'])
  end
end