Class: WorkOS::AgentRegistrationCreatedDataAgentIdentity
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::AgentRegistrationCreatedDataAgentIdentity
- Defined in:
- lib/workos/shared/agent_registration_created_data_agent_identity.rb
Constant Summary collapse
- HASH_ATTRS =
{ object: :object, id: :id, userland_user_id: :userland_user_id }.freeze
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#object ⇒ Object
Returns the value of attribute object.
-
#userland_user_id ⇒ Object
Returns the value of attribute userland_user_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ AgentRegistrationCreatedDataAgentIdentity
constructor
A new instance of AgentRegistrationCreatedDataAgentIdentity.
Constructor Details
#initialize(json) ⇒ AgentRegistrationCreatedDataAgentIdentity
Returns a new instance of AgentRegistrationCreatedDataAgentIdentity.
18 19 20 21 22 23 |
# File 'lib/workos/shared/agent_registration_created_data_agent_identity.rb', line 18 def initialize(json) hash = self.class.normalize(json) @object = hash[:object] @id = hash[:id] @userland_user_id = hash[:userland_user_id] end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
13 14 15 |
# File 'lib/workos/shared/agent_registration_created_data_agent_identity.rb', line 13 def id @id end |
#object ⇒ Object
Returns the value of attribute object.
13 14 15 |
# File 'lib/workos/shared/agent_registration_created_data_agent_identity.rb', line 13 def object @object end |
#userland_user_id ⇒ Object
Returns the value of attribute userland_user_id.
13 14 15 |
# File 'lib/workos/shared/agent_registration_created_data_agent_identity.rb', line 13 def userland_user_id @userland_user_id end |