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