Class: WorkOS::AgentRegistrationDeletedData

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/workos/shared/agent_registration_deleted_data.rb

Constant Summary collapse

HASH_ATTRS =
{
  agent_registration_id: :agent_registration_id
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ AgentRegistrationDeletedData

Returns a new instance of AgentRegistrationDeletedData.



13
14
15
16
# File 'lib/workos/shared/agent_registration_deleted_data.rb', line 13

def initialize(json)
  hash = self.class.normalize(json)
  @agent_registration_id = hash[:agent_registration_id]
end

Instance Attribute Details

#agent_registration_idObject

Returns the value of attribute agent_registration_id.



11
12
13
# File 'lib/workos/shared/agent_registration_deleted_data.rb', line 11

def agent_registration_id
  @agent_registration_id
end