Class: TencentCloud::Kms::V20190118::ImportKeyMaterialRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Kms::V20190118::ImportKeyMaterialRequest
- Defined in:
- lib/v20190118/models.rb
Overview
ImportKeyMaterial请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(encryptedkeymaterial = nil, importtoken = nil, keyid = nil, validto = nil) ⇒ ImportKeyMaterialRequest
constructor
A new instance of ImportKeyMaterialRequest.
Constructor Details
#initialize(encryptedkeymaterial = nil, importtoken = nil, keyid = nil, validto = nil) ⇒ ImportKeyMaterialRequest
Returns a new instance of ImportKeyMaterialRequest.
2283 2284 2285 2286 2287 2288 |
# File 'lib/v20190118/models.rb', line 2283 def initialize(encryptedkeymaterial=nil, importtoken=nil, keyid=nil, validto=nil) @EncryptedKeyMaterial = encryptedkeymaterial @ImportToken = importtoken @KeyId = keyid @ValidTo = validto end |
Instance Attribute Details
#EncryptedKeyMaterial ⇒ Object
2281 2282 2283 |
# File 'lib/v20190118/models.rb', line 2281 def EncryptedKeyMaterial @EncryptedKeyMaterial end |
#ImportToken ⇒ Object
2281 2282 2283 |
# File 'lib/v20190118/models.rb', line 2281 def ImportToken @ImportToken end |
#KeyId ⇒ Object
2281 2282 2283 |
# File 'lib/v20190118/models.rb', line 2281 def KeyId @KeyId end |
#ValidTo ⇒ Object
2281 2282 2283 |
# File 'lib/v20190118/models.rb', line 2281 def ValidTo @ValidTo end |
Instance Method Details
#deserialize(params) ⇒ Object
2290 2291 2292 2293 2294 2295 |
# File 'lib/v20190118/models.rb', line 2290 def deserialize(params) @EncryptedKeyMaterial = params['EncryptedKeyMaterial'] @ImportToken = params['ImportToken'] @KeyId = params['KeyId'] @ValidTo = params['ValidTo'] end |