Class: TencentCloud::Bmlb::V20180625::ReplaceCertRequest

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

Overview

ReplaceCert请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(oldcertid = nil, newcert = nil, newalias = nil, newkey = nil, deleteold = nil) ⇒ ReplaceCertRequest

Returns a new instance of ReplaceCertRequest.



3993
3994
3995
3996
3997
3998
3999
# File 'lib/v20180625/models.rb', line 3993

def initialize(oldcertid=nil, newcert=nil, newalias=nil, newkey=nil, deleteold=nil)
  @OldCertId = oldcertid
  @NewCert = newcert
  @NewAlias = newalias
  @NewKey = newkey
  @DeleteOld = deleteold
end

Instance Attribute Details

#DeleteOldObject

Parameters:

  • OldCertId:

    要被替换的证书ID

  • NewCert:

    证书内容

  • NewAlias:

    证书名称

  • NewKey:

    私钥内容,证书类型为SVR时不需要传递

  • DeleteOld:

    是否删除旧证书,0 表示不删除,1 表示删除



3991
3992
3993
# File 'lib/v20180625/models.rb', line 3991

def DeleteOld
  @DeleteOld
end

#NewAliasObject

Parameters:

  • OldCertId:

    要被替换的证书ID

  • NewCert:

    证书内容

  • NewAlias:

    证书名称

  • NewKey:

    私钥内容,证书类型为SVR时不需要传递

  • DeleteOld:

    是否删除旧证书,0 表示不删除,1 表示删除



3991
3992
3993
# File 'lib/v20180625/models.rb', line 3991

def NewAlias
  @NewAlias
end

#NewCertObject

Parameters:

  • OldCertId:

    要被替换的证书ID

  • NewCert:

    证书内容

  • NewAlias:

    证书名称

  • NewKey:

    私钥内容,证书类型为SVR时不需要传递

  • DeleteOld:

    是否删除旧证书,0 表示不删除,1 表示删除



3991
3992
3993
# File 'lib/v20180625/models.rb', line 3991

def NewCert
  @NewCert
end

#NewKeyObject

Parameters:

  • OldCertId:

    要被替换的证书ID

  • NewCert:

    证书内容

  • NewAlias:

    证书名称

  • NewKey:

    私钥内容,证书类型为SVR时不需要传递

  • DeleteOld:

    是否删除旧证书,0 表示不删除,1 表示删除



3991
3992
3993
# File 'lib/v20180625/models.rb', line 3991

def NewKey
  @NewKey
end

#OldCertIdObject

Parameters:

  • OldCertId:

    要被替换的证书ID

  • NewCert:

    证书内容

  • NewAlias:

    证书名称

  • NewKey:

    私钥内容,证书类型为SVR时不需要传递

  • DeleteOld:

    是否删除旧证书,0 表示不删除,1 表示删除



3991
3992
3993
# File 'lib/v20180625/models.rb', line 3991

def OldCertId
  @OldCertId
end

Instance Method Details

#deserialize(params) ⇒ Object



4001
4002
4003
4004
4005
4006
4007
# File 'lib/v20180625/models.rb', line 4001

def deserialize(params)
  @OldCertId = params['OldCertId']
  @NewCert = params['NewCert']
  @NewAlias = params['NewAlias']
  @NewKey = params['NewKey']
  @DeleteOld = params['DeleteOld']
end