Class: WorkOS::VaultByokKeyDeletedData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::VaultByokKeyDeletedData
- Defined in:
- lib/workos/vault/vault_byok_key_deleted_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ organization_id: :organization_id, key_provider: :key_provider }.freeze
Instance Attribute Summary collapse
-
#key_provider ⇒ Object
Returns the value of attribute key_provider.
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ VaultByokKeyDeletedData
constructor
A new instance of VaultByokKeyDeletedData.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ VaultByokKeyDeletedData
Returns a new instance of VaultByokKeyDeletedData.
16 17 18 19 20 |
# File 'lib/workos/vault/vault_byok_key_deleted_data.rb', line 16 def initialize(json) hash = self.class.normalize(json) @organization_id = hash[:organization_id] @key_provider = hash[:key_provider] end |
Instance Attribute Details
#key_provider ⇒ Object
Returns the value of attribute key_provider.
12 13 14 |
# File 'lib/workos/vault/vault_byok_key_deleted_data.rb', line 12 def key_provider @key_provider end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
12 13 14 |
# File 'lib/workos/vault/vault_byok_key_deleted_data.rb', line 12 def organization_id @organization_id end |