Class: WorkOS::AgentAdminLinkClaimAttemptToExternalUserRequestUser
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::AgentAdminLinkClaimAttemptToExternalUserRequestUser
- Defined in:
- lib/workos/agents/agent_admin_link_claim_attempt_to_external_user_request_user.rb
Constant Summary collapse
- HASH_ATTRS =
{ email: :email, external_id: :external_id }.freeze
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#external_id ⇒ Object
Returns the value of attribute external_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ AgentAdminLinkClaimAttemptToExternalUserRequestUser
constructor
A new instance of AgentAdminLinkClaimAttemptToExternalUserRequestUser.
Constructor Details
#initialize(json) ⇒ AgentAdminLinkClaimAttemptToExternalUserRequestUser
Returns a new instance of AgentAdminLinkClaimAttemptToExternalUserRequestUser.
16 17 18 19 20 |
# File 'lib/workos/agents/agent_admin_link_claim_attempt_to_external_user_request_user.rb', line 16 def initialize(json) hash = self.class.normalize(json) @email = hash[:email] @external_id = hash[:external_id] end |
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
12 13 14 |
# File 'lib/workos/agents/agent_admin_link_claim_attempt_to_external_user_request_user.rb', line 12 def email @email end |
#external_id ⇒ Object
Returns the value of attribute external_id.
12 13 14 |
# File 'lib/workos/agents/agent_admin_link_claim_attempt_to_external_user_request_user.rb', line 12 def external_id @external_id end |