Class: WorkOS::VaultByokKeyDeletedData

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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_providerObject

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_idObject

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