Class: WorkOS::AgentRegistrationDeletedData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::AgentRegistrationDeletedData
- 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
-
#agent_registration_id ⇒ Object
Returns the value of attribute agent_registration_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ AgentRegistrationDeletedData
constructor
A new instance of AgentRegistrationDeletedData.
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_id ⇒ Object
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 |