Class: WorkOS::VaultByokKeyVerificationCompletedData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::VaultByokKeyVerificationCompletedData
- Defined in:
- lib/workos/vault/vault_byok_key_verification_completed_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ organization_id: :organization_id, key_provider: :key_provider, verified: :verified }.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.
-
#verified ⇒ Object
Returns the value of attribute verified.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ VaultByokKeyVerificationCompletedData
constructor
A new instance of VaultByokKeyVerificationCompletedData.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ VaultByokKeyVerificationCompletedData
Returns a new instance of VaultByokKeyVerificationCompletedData.
18 19 20 21 22 23 |
# File 'lib/workos/vault/vault_byok_key_verification_completed_data.rb', line 18 def initialize(json) hash = self.class.normalize(json) @organization_id = hash[:organization_id] @key_provider = hash[:key_provider] @verified = hash[:verified] end |
Instance Attribute Details
#key_provider ⇒ Object
Returns the value of attribute key_provider.
13 14 15 |
# File 'lib/workos/vault/vault_byok_key_verification_completed_data.rb', line 13 def key_provider @key_provider end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
13 14 15 |
# File 'lib/workos/vault/vault_byok_key_verification_completed_data.rb', line 13 def organization_id @organization_id end |
#verified ⇒ Object
Returns the value of attribute verified.
13 14 15 |
# File 'lib/workos/vault/vault_byok_key_verification_completed_data.rb', line 13 def verified @verified end |