Class: WorkOS::VaultDataDeletedData

Inherits:
Types::BaseModel show all
Defined in:
lib/workos/vault/vault_data_deleted_data.rb

Constant Summary collapse

HASH_ATTRS =
{
  actor_id: :actor_id,
  actor_source: :actor_source,
  actor_name: :actor_name,
  kv_name: :kv_name
}.freeze

Instance Attribute Summary collapse

Attributes inherited from Types::BaseModel

#last_response

Instance Method Summary collapse

Methods inherited from Types::BaseModel

normalize

Methods included from HashProvider

#inspect, #to_h, #to_json

Constructor Details

#initialize(json) ⇒ VaultDataDeletedData

Returns a new instance of VaultDataDeletedData.



20
21
22
23
24
25
26
# File 'lib/workos/vault/vault_data_deleted_data.rb', line 20

def initialize(json)
  hash = self.class.normalize(json)
  @actor_id = hash[:actor_id]
  @actor_source = hash[:actor_source]
  @actor_name = hash[:actor_name]
  @kv_name = hash[:kv_name]
end

Instance Attribute Details

#actor_idObject

Returns the value of attribute actor_id.



14
15
16
# File 'lib/workos/vault/vault_data_deleted_data.rb', line 14

def actor_id
  @actor_id
end

#actor_nameObject

Returns the value of attribute actor_name.



14
15
16
# File 'lib/workos/vault/vault_data_deleted_data.rb', line 14

def actor_name
  @actor_name
end

#actor_sourceObject

Returns the value of attribute actor_source.



14
15
16
# File 'lib/workos/vault/vault_data_deleted_data.rb', line 14

def actor_source
  @actor_source
end

#kv_nameObject

Returns the value of attribute kv_name.



14
15
16
# File 'lib/workos/vault/vault_data_deleted_data.rb', line 14

def kv_name
  @kv_name
end