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.
7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 |
# File 'lib/v20191205/models.rb', line 7772 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
7767 7768 7769 |
# File 'lib/v20191205/models.rb', line 7767 def AllowDownload @AllowDownload end |
#CertificateId ⇒ Object
7767 7768 7769 |
# File 'lib/v20191205/models.rb', line 7767 def CertificateId @CertificateId end |
#CertificatePrivateKey ⇒ Object
7767 7768 7769 |
# File 'lib/v20191205/models.rb', line 7767 def CertificatePrivateKey @CertificatePrivateKey end |
#CertificatePublicKey ⇒ Object
7767 7768 7769 |
# File 'lib/v20191205/models.rb', line 7767 def CertificatePublicKey @CertificatePublicKey end |
#ExpiringNotificationSwitch ⇒ Object
7767 7768 7769 |
# File 'lib/v20191205/models.rb', line 7767 def ExpiringNotificationSwitch @ExpiringNotificationSwitch end |
#OldCertificateId ⇒ Object
7767 7768 7769 |
# File 'lib/v20191205/models.rb', line 7767 def OldCertificateId @OldCertificateId end |
#ProjectId ⇒ Object
7767 7768 7769 |
# File 'lib/v20191205/models.rb', line 7767 def ProjectId @ProjectId end |
#Regions ⇒ Object
7767 7768 7769 |
# File 'lib/v20191205/models.rb', line 7767 def Regions @Regions end |
#Repeatable ⇒ Object
7767 7768 7769 |
# File 'lib/v20191205/models.rb', line 7767 def Repeatable @Repeatable end |
#ResourceTypes ⇒ Object
7767 7768 7769 |
# File 'lib/v20191205/models.rb', line 7767 def ResourceTypes @ResourceTypes end |
#ResourceTypesRegions ⇒ Object
7767 7768 7769 |
# File 'lib/v20191205/models.rb', line 7767 def ResourceTypesRegions @ResourceTypesRegions end |
#Tags ⇒ Object
7767 7768 7769 |
# File 'lib/v20191205/models.rb', line 7767 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 |
# File 'lib/v20191205/models.rb', line 7787 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 |