Class: WorkOS::ActionUserRegistrationDeniedData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::ActionUserRegistrationDeniedData
- Defined in:
- lib/workos/user_management/action_user_registration_denied_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ action_endpoint_id: :action_endpoint_id, action_execution_id: :action_execution_id, type: :type, verdict: :verdict, 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.
-
#verdict ⇒ Object
Returns the value of attribute verdict.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ ActionUserRegistrationDeniedData
constructor
A new instance of ActionUserRegistrationDeniedData.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ ActionUserRegistrationDeniedData
Returns a new instance of ActionUserRegistrationDeniedData.
28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/workos/user_management/action_user_registration_denied_data.rb', line 28 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] @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.
18 19 20 |
# File 'lib/workos/user_management/action_user_registration_denied_data.rb', line 18 def action_endpoint_id @action_endpoint_id end |
#action_execution_id ⇒ Object
Returns the value of attribute action_execution_id.
18 19 20 |
# File 'lib/workos/user_management/action_user_registration_denied_data.rb', line 18 def action_execution_id @action_execution_id end |
#email ⇒ Object
Returns the value of attribute email.
18 19 20 |
# File 'lib/workos/user_management/action_user_registration_denied_data.rb', line 18 def email @email end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
18 19 20 |
# File 'lib/workos/user_management/action_user_registration_denied_data.rb', line 18 def ip_address @ip_address end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
18 19 20 |
# File 'lib/workos/user_management/action_user_registration_denied_data.rb', line 18 def organization_id @organization_id end |
#type ⇒ Object
Returns the value of attribute type.
18 19 20 |
# File 'lib/workos/user_management/action_user_registration_denied_data.rb', line 18 def type @type end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
18 19 20 |
# File 'lib/workos/user_management/action_user_registration_denied_data.rb', line 18 def user_agent @user_agent end |
#verdict ⇒ Object
Returns the value of attribute verdict.
18 19 20 |
# File 'lib/workos/user_management/action_user_registration_denied_data.rb', line 18 def verdict @verdict end |