Class: TencentCloud::Kms::V20190118::EncryptRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Kms::V20190118::EncryptRequest
- Defined in:
- lib/v20190118/models.rb
Overview
Encrypt请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keyid = nil, plaintext = nil, encryptioncontext = nil) ⇒ EncryptRequest
constructor
A new instance of EncryptRequest.
Constructor Details
#initialize(keyid = nil, plaintext = nil, encryptioncontext = nil) ⇒ EncryptRequest
Returns a new instance of EncryptRequest.
1265 1266 1267 1268 1269 |
# File 'lib/v20190118/models.rb', line 1265 def initialize(keyid=nil, plaintext=nil, encryptioncontext=nil) @KeyId = keyid @Plaintext = plaintext @EncryptionContext = encryptioncontext end |
Instance Attribute Details
#EncryptionContext ⇒ Object
1263 1264 1265 |
# File 'lib/v20190118/models.rb', line 1263 def EncryptionContext @EncryptionContext end |
#KeyId ⇒ Object
1263 1264 1265 |
# File 'lib/v20190118/models.rb', line 1263 def KeyId @KeyId end |
#Plaintext ⇒ Object
1263 1264 1265 |
# File 'lib/v20190118/models.rb', line 1263 def Plaintext @Plaintext end |
Instance Method Details
#deserialize(params) ⇒ Object
1271 1272 1273 1274 1275 |
# File 'lib/v20190118/models.rb', line 1271 def deserialize(params) @KeyId = params['KeyId'] @Plaintext = params['Plaintext'] @EncryptionContext = params['EncryptionContext'] end |