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.
1654 1655 1656 1657 1658 1659 |
# File 'lib/v20190118/models.rb', line 1654 def initialize(encryptedkeymaterial=nil, importtoken=nil, keyid=nil, validto=nil) @EncryptedKeyMaterial = encryptedkeymaterial @ImportToken = importtoken @KeyId = keyid @ValidTo = validto end |
Instance Attribute Details
#EncryptedKeyMaterial ⇒ Object
1652 1653 1654 |
# File 'lib/v20190118/models.rb', line 1652 def EncryptedKeyMaterial @EncryptedKeyMaterial end |
#ImportToken ⇒ Object
1652 1653 1654 |
# File 'lib/v20190118/models.rb', line 1652 def ImportToken @ImportToken end |
#KeyId ⇒ Object
1652 1653 1654 |
# File 'lib/v20190118/models.rb', line 1652 def KeyId @KeyId end |
#ValidTo ⇒ Object
1652 1653 1654 |
# File 'lib/v20190118/models.rb', line 1652 def ValidTo @ValidTo end |
Instance Method Details
#deserialize(params) ⇒ Object
1661 1662 1663 1664 1665 1666 |
# File 'lib/v20190118/models.rb', line 1661 def deserialize(params) @EncryptedKeyMaterial = params['EncryptedKeyMaterial'] @ImportToken = params['ImportToken'] @KeyId = params['KeyId'] @ValidTo = params['ValidTo'] end |