Class: TencentCloud::Ssl::V20191205::UpdateCertificateInstanceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssl::V20191205::UpdateCertificateInstanceRequest
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20191205/models.rb
Overview
UpdateCertificateInstance请求参数结构体
Instance Attribute Summary collapse
- #AllowDownload ⇒ Object
- #CertificateId ⇒ Object
- #CertificatePrivateKey ⇒ Object
- #CertificatePublicKey ⇒ Object
- #ExpiringNotificationSwitch ⇒ Object
- #OldCertificateId ⇒ Object
- #ProjectId ⇒ Object
- #Regions ⇒ Object
- #Repeatable ⇒ Object
- #ResourceTypes ⇒ Object
- #ResourceTypesRegions ⇒ Object
- #Tags ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(oldcertificateid = nil, resourcetypes = nil, certificateid = nil, regions = nil, resourcetypesregions = nil, certificatepublickey = nil, certificateprivatekey = nil, expiringnotificationswitch = nil, repeatable = nil, allowdownload = nil, tags = nil, projectid = nil) ⇒ UpdateCertificateInstanceRequest
constructor
A new instance of UpdateCertificateInstanceRequest.
Constructor Details
#initialize(oldcertificateid = nil, resourcetypes = nil, certificateid = nil, regions = nil, resourcetypesregions = nil, certificatepublickey = nil, certificateprivatekey = nil, expiringnotificationswitch = nil, repeatable = nil, allowdownload = nil, tags = nil, projectid = nil) ⇒ UpdateCertificateInstanceRequest
Returns a new instance of UpdateCertificateInstanceRequest.
8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 |
# File 'lib/v20191205/models.rb', line 8058 def initialize(oldcertificateid=nil, resourcetypes=nil, certificateid=nil, regions=nil, resourcetypesregions=nil, certificatepublickey=nil, certificateprivatekey=nil, expiringnotificationswitch=nil, repeatable=nil, allowdownload=nil, =nil, projectid=nil) @OldCertificateId = oldcertificateid @ResourceTypes = resourcetypes @CertificateId = certificateid @Regions = regions @ResourceTypesRegions = resourcetypesregions @CertificatePublicKey = certificatepublickey @CertificatePrivateKey = certificateprivatekey @ExpiringNotificationSwitch = expiringnotificationswitch @Repeatable = repeatable @AllowDownload = allowdownload @Tags = @ProjectId = projectid end |
Instance Attribute Details
#AllowDownload ⇒ Object
8053 8054 8055 |
# File 'lib/v20191205/models.rb', line 8053 def AllowDownload @AllowDownload end |
#CertificateId ⇒ Object
8053 8054 8055 |
# File 'lib/v20191205/models.rb', line 8053 def CertificateId @CertificateId end |
#CertificatePrivateKey ⇒ Object
8053 8054 8055 |
# File 'lib/v20191205/models.rb', line 8053 def CertificatePrivateKey @CertificatePrivateKey end |
#CertificatePublicKey ⇒ Object
8053 8054 8055 |
# File 'lib/v20191205/models.rb', line 8053 def CertificatePublicKey @CertificatePublicKey end |
#ExpiringNotificationSwitch ⇒ Object
8053 8054 8055 |
# File 'lib/v20191205/models.rb', line 8053 def ExpiringNotificationSwitch @ExpiringNotificationSwitch end |
#OldCertificateId ⇒ Object
8053 8054 8055 |
# File 'lib/v20191205/models.rb', line 8053 def OldCertificateId @OldCertificateId end |
#ProjectId ⇒ Object
8053 8054 8055 |
# File 'lib/v20191205/models.rb', line 8053 def ProjectId @ProjectId end |
#Regions ⇒ Object
8053 8054 8055 |
# File 'lib/v20191205/models.rb', line 8053 def Regions @Regions end |
#Repeatable ⇒ Object
8053 8054 8055 |
# File 'lib/v20191205/models.rb', line 8053 def Repeatable @Repeatable end |
#ResourceTypes ⇒ Object
8053 8054 8055 |
# File 'lib/v20191205/models.rb', line 8053 def ResourceTypes @ResourceTypes end |
#ResourceTypesRegions ⇒ Object
8053 8054 8055 |
# File 'lib/v20191205/models.rb', line 8053 def ResourceTypesRegions @ResourceTypesRegions end |
#Tags ⇒ Object
8053 8054 8055 |
# File 'lib/v20191205/models.rb', line 8053 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 |
# File 'lib/v20191205/models.rb', line 8073 def deserialize(params) @OldCertificateId = params['OldCertificateId'] @ResourceTypes = params['ResourceTypes'] @CertificateId = params['CertificateId'] @Regions = params['Regions'] unless params['ResourceTypesRegions'].nil? @ResourceTypesRegions = [] params['ResourceTypesRegions'].each do |i| resourcetyperegions_tmp = ResourceTypeRegions.new resourcetyperegions_tmp.deserialize(i) @ResourceTypesRegions << resourcetyperegions_tmp end end @CertificatePublicKey = params['CertificatePublicKey'] @CertificatePrivateKey = params['CertificatePrivateKey'] @ExpiringNotificationSwitch = params['ExpiringNotificationSwitch'] @Repeatable = params['Repeatable'] @AllowDownload = params['AllowDownload'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| = Tags.new .deserialize(i) @Tags << end end @ProjectId = params['ProjectId'] end |