Class: TencentCloud::Ssl::V20191205::UploadCertificateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssl::V20191205::UploadCertificateRequest
- Defined in:
- lib/v20191205/models.rb
Overview
UploadCertificate请求参数结构体
Instance Attribute Summary collapse
- #Alias ⇒ Object
- #CertificatePrivateKey ⇒ Object
- #CertificatePublicKey ⇒ Object
- #CertificateType ⇒ Object
- #CertificateUse ⇒ Object
- #KeyPassword ⇒ Object
- #ProjectId ⇒ Object
- #Repeatable ⇒ Object
- #Tags ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(certificatepublickey = nil, certificateprivatekey = nil, certificatetype = nil, _alias = nil, projectid = nil, certificateuse = nil, tags = nil, repeatable = nil, keypassword = nil) ⇒ UploadCertificateRequest
constructor
A new instance of UploadCertificateRequest.
Constructor Details
#initialize(certificatepublickey = nil, certificateprivatekey = nil, certificatetype = nil, _alias = nil, projectid = nil, certificateuse = nil, tags = nil, repeatable = nil, keypassword = nil) ⇒ UploadCertificateRequest
Returns a new instance of UploadCertificateRequest.
8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 |
# File 'lib/v20191205/models.rb', line 8539 def initialize(certificatepublickey=nil, certificateprivatekey=nil, certificatetype=nil, _alias=nil, projectid=nil, certificateuse=nil, =nil, repeatable=nil, keypassword=nil) @CertificatePublicKey = certificatepublickey @CertificatePrivateKey = certificateprivatekey @CertificateType = certificatetype @Alias = _alias @ProjectId = projectid @CertificateUse = certificateuse @Tags = @Repeatable = repeatable @KeyPassword = keypassword end |
Instance Attribute Details
#Alias ⇒ Object
8537 8538 8539 |
# File 'lib/v20191205/models.rb', line 8537 def Alias @Alias end |
#CertificatePrivateKey ⇒ Object
8537 8538 8539 |
# File 'lib/v20191205/models.rb', line 8537 def CertificatePrivateKey @CertificatePrivateKey end |
#CertificatePublicKey ⇒ Object
8537 8538 8539 |
# File 'lib/v20191205/models.rb', line 8537 def CertificatePublicKey @CertificatePublicKey end |
#CertificateType ⇒ Object
8537 8538 8539 |
# File 'lib/v20191205/models.rb', line 8537 def CertificateType @CertificateType end |
#CertificateUse ⇒ Object
8537 8538 8539 |
# File 'lib/v20191205/models.rb', line 8537 def CertificateUse @CertificateUse end |
#KeyPassword ⇒ Object
8537 8538 8539 |
# File 'lib/v20191205/models.rb', line 8537 def KeyPassword @KeyPassword end |
#ProjectId ⇒ Object
8537 8538 8539 |
# File 'lib/v20191205/models.rb', line 8537 def ProjectId @ProjectId end |
#Repeatable ⇒ Object
8537 8538 8539 |
# File 'lib/v20191205/models.rb', line 8537 def Repeatable @Repeatable end |
#Tags ⇒ Object
8537 8538 8539 |
# File 'lib/v20191205/models.rb', line 8537 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 |
# File 'lib/v20191205/models.rb', line 8551 def deserialize(params) @CertificatePublicKey = params['CertificatePublicKey'] @CertificatePrivateKey = params['CertificatePrivateKey'] @CertificateType = params['CertificateType'] @Alias = params['Alias'] @ProjectId = params['ProjectId'] @CertificateUse = params['CertificateUse'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| = Tags.new .deserialize(i) @Tags << end end @Repeatable = params['Repeatable'] @KeyPassword = params['KeyPassword'] end |