Class: WorkOS::ActionAuthenticationDeniedData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::ActionAuthenticationDeniedData
- Defined in:
- lib/workos/user_management/action_authentication_denied_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ action_endpoint_id: :action_endpoint_id, action_execution_id: :action_execution_id, type: :type, verdict: :verdict, user_id: :user_id, organization_id: :organization_id, email: :email, ip_address: :ip_address, user_agent: :user_agent }.freeze
Instance Attribute Summary collapse
-
#action_endpoint_id ⇒ Object
Returns the value of attribute action_endpoint_id.
-
#action_execution_id ⇒ Object
Returns the value of attribute action_execution_id.
-
#email ⇒ Object
Returns the value of attribute email.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
-
#type ⇒ Object
Returns the value of attribute type.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#verdict ⇒ Object
Returns the value of attribute verdict.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ ActionAuthenticationDeniedData
constructor
A new instance of ActionAuthenticationDeniedData.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ ActionAuthenticationDeniedData
Returns a new instance of ActionAuthenticationDeniedData.
30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/workos/user_management/action_authentication_denied_data.rb', line 30 def initialize(json) hash = self.class.normalize(json) @action_endpoint_id = hash[:action_endpoint_id] @action_execution_id = hash[:action_execution_id] @type = hash[:type] @verdict = hash[:verdict] @user_id = hash[:user_id] @organization_id = hash[:organization_id] @email = hash[:email] @ip_address = hash[:ip_address] @user_agent = hash[:user_agent] end |
Instance Attribute Details
#action_endpoint_id ⇒ Object
Returns the value of attribute action_endpoint_id.
19 20 21 |
# File 'lib/workos/user_management/action_authentication_denied_data.rb', line 19 def action_endpoint_id @action_endpoint_id end |
#action_execution_id ⇒ Object
Returns the value of attribute action_execution_id.
19 20 21 |
# File 'lib/workos/user_management/action_authentication_denied_data.rb', line 19 def action_execution_id @action_execution_id end |
#email ⇒ Object
Returns the value of attribute email.
19 20 21 |
# File 'lib/workos/user_management/action_authentication_denied_data.rb', line 19 def email @email end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
19 20 21 |
# File 'lib/workos/user_management/action_authentication_denied_data.rb', line 19 def ip_address @ip_address end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
19 20 21 |
# File 'lib/workos/user_management/action_authentication_denied_data.rb', line 19 def organization_id @organization_id end |
#type ⇒ Object
Returns the value of attribute type.
19 20 21 |
# File 'lib/workos/user_management/action_authentication_denied_data.rb', line 19 def type @type end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
19 20 21 |
# File 'lib/workos/user_management/action_authentication_denied_data.rb', line 19 def user_agent @user_agent end |
#user_id ⇒ Object
Returns the value of attribute user_id.
19 20 21 |
# File 'lib/workos/user_management/action_authentication_denied_data.rb', line 19 def user_id @user_id end |
#verdict ⇒ Object
Returns the value of attribute verdict.
19 20 21 |
# File 'lib/workos/user_management/action_authentication_denied_data.rb', line 19 def verdict @verdict end |