Class: TencentCloud::Waf::V20180125::DescribeCertificateVerifyResultRequest

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

Overview

DescribeCertificateVerifyResult请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, certtype = nil, certificate = nil, certid = nil, privatekey = nil) ⇒ DescribeCertificateVerifyResultRequest

Returns a new instance of DescribeCertificateVerifyResultRequest.



3861
3862
3863
3864
3865
3866
3867
# File 'lib/v20180125/models.rb', line 3861

def initialize(domain=nil, certtype=nil, certificate=nil, certid=nil, privatekey=nil)
  @Domain = domain
  @CertType = certtype
  @Certificate = certificate
  @CertID = certid
  @PrivateKey = privatekey
end

Instance Attribute Details

#CertIDObject

Parameters:

  • Domain:

    域名

  • CertType:

    证书类型。 0:仅配置HTTP监听端口,没有证书 1:证书来源为自有证书 2:证书来源为托管证书

  • Certificate:

    CertType为1时,需要填充此参数,表示自有证书的证书链

  • CertID:

    CertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id

  • PrivateKey:

    CertType为1时,需要填充此参数,表示自有证书的私钥



3859
3860
3861
# File 'lib/v20180125/models.rb', line 3859

def CertID
  @CertID
end

#CertificateObject

Parameters:

  • Domain:

    域名

  • CertType:

    证书类型。 0:仅配置HTTP监听端口,没有证书 1:证书来源为自有证书 2:证书来源为托管证书

  • Certificate:

    CertType为1时,需要填充此参数,表示自有证书的证书链

  • CertID:

    CertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id

  • PrivateKey:

    CertType为1时,需要填充此参数,表示自有证书的私钥



3859
3860
3861
# File 'lib/v20180125/models.rb', line 3859

def Certificate
  @Certificate
end

#CertTypeObject

Parameters:

  • Domain:

    域名

  • CertType:

    证书类型。 0:仅配置HTTP监听端口,没有证书 1:证书来源为自有证书 2:证书来源为托管证书

  • Certificate:

    CertType为1时,需要填充此参数,表示自有证书的证书链

  • CertID:

    CertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id

  • PrivateKey:

    CertType为1时,需要填充此参数,表示自有证书的私钥



3859
3860
3861
# File 'lib/v20180125/models.rb', line 3859

def CertType
  @CertType
end

#DomainObject

Parameters:

  • Domain:

    域名

  • CertType:

    证书类型。 0:仅配置HTTP监听端口,没有证书 1:证书来源为自有证书 2:证书来源为托管证书

  • Certificate:

    CertType为1时,需要填充此参数,表示自有证书的证书链

  • CertID:

    CertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id

  • PrivateKey:

    CertType为1时,需要填充此参数,表示自有证书的私钥



3859
3860
3861
# File 'lib/v20180125/models.rb', line 3859

def Domain
  @Domain
end

#PrivateKeyObject

Parameters:

  • Domain:

    域名

  • CertType:

    证书类型。 0:仅配置HTTP监听端口,没有证书 1:证书来源为自有证书 2:证书来源为托管证书

  • Certificate:

    CertType为1时,需要填充此参数,表示自有证书的证书链

  • CertID:

    CertType为2时,需要填充此参数,表示腾讯云SSL平台托管的证书id

  • PrivateKey:

    CertType为1时,需要填充此参数,表示自有证书的私钥



3859
3860
3861
# File 'lib/v20180125/models.rb', line 3859

def PrivateKey
  @PrivateKey
end

Instance Method Details

#deserialize(params) ⇒ Object



3869
3870
3871
3872
3873
3874
3875
# File 'lib/v20180125/models.rb', line 3869

def deserialize(params)
  @Domain = params['Domain']
  @CertType = params['CertType']
  @Certificate = params['Certificate']
  @CertID = params['CertID']
  @PrivateKey = params['PrivateKey']
end