Class: OneLogin::Api::Models::Event
- Inherits:
-
Object
- Object
- OneLogin::Api::Models::Event
- Defined in:
- lib/onelogin/api/models/event.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#actor_system ⇒ Object
Returns the value of attribute actor_system.
-
#actor_user_id ⇒ Object
Returns the value of attribute actor_user_id.
-
#actor_user_name ⇒ Object
Returns the value of attribute actor_user_name.
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#assuming_acting_user_id ⇒ Object
Returns the value of attribute assuming_acting_user_id.
-
#browser_fingerprint ⇒ Object
Returns the value of attribute browser_fingerprint.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#custom_message ⇒ Object
Returns the value of attribute custom_message.
-
#directory_id ⇒ Object
Returns the value of attribute directory_id.
-
#directory_sync_run_id ⇒ Object
Returns the value of attribute directory_sync_run_id.
-
#error_description ⇒ Object
Returns the value of attribute error_description.
-
#event_type_id ⇒ Object
Returns the value of attribute event_type_id.
-
#group_id ⇒ Object
Returns the value of attribute group_id.
-
#group_name ⇒ Object
Returns the value of attribute group_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#ipaddr ⇒ Object
Returns the value of attribute ipaddr.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#operation_name ⇒ Object
Returns the value of attribute operation_name.
-
#otp_device_id ⇒ Object
Returns the value of attribute otp_device_id.
-
#otp_device_name ⇒ Object
Returns the value of attribute otp_device_name.
-
#policy_id ⇒ Object
Returns the value of attribute policy_id.
-
#policy_name ⇒ Object
Returns the value of attribute policy_name.
-
#resolution ⇒ Object
Returns the value of attribute resolution.
-
#resource_type_id ⇒ Object
Returns the value of attribute resource_type_id.
-
#risk_cookie_id ⇒ Object
Returns the value of attribute risk_cookie_id.
-
#risk_reasons ⇒ Object
Returns the value of attribute risk_reasons.
-
#risk_score ⇒ Object
Returns the value of attribute risk_score.
-
#role_id ⇒ Object
Returns the value of attribute role_id.
-
#role_name ⇒ Object
Returns the value of attribute role_name.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
Instance Method Summary collapse
-
#initialize(data) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(data) ⇒ Event
Returns a new instance of Event.
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/onelogin/api/models/event.rb', line 14 def initialize(data) @id = data['id'] @created_at = data['created_at']? Time.iso8601(data['created_at']) : nil @account_id = data['account_id'] @user_id = data['user_id'] @user_name = data['user_name'].to_s @event_type_id = data['event_type_id'] @notes = data['notes'].to_s @ipaddr = data['ipaddr'].to_s @actor_user_id = data['actor_user_id'] @actor_user_name = data['actor_user_name'].to_s @assuming_acting_user_id = data['assuming_acting_user_id'] @role_id = data['role_id'] @role_name = data['role_name'].to_s @app_id = data['app_id'] @app_name = data['app_name'].to_s @group_id = data['group_id'] @group_name = data['group_name'].to_s @otp_device_id = data['otp_device_id'] @otp_device_name = data['otp_device_name'].to_s @policy_id = data['policy_id'] @policy_name = data['policy_name'].to_s @actor_system = data['actor_system'].to_s @custom_message = data['custom_message'].to_s @operation_name = data['operation_name'].to_s @directory_sync_run_id = data['directory_sync_run_id'] @directory_id = data['directory_id'] @resolution = data['resolution'].to_s @client_id = data['client_id'] @resource_type_id = data['resource_type_id'] @error_description = data['error_description'].to_s @proxy_ip = data['proxy_ip'].to_s @risk_score = data['risk_score'] @risk_reasons = data['risk_reasons'].to_s @risk_cookie_id = data['risk_cookie_id'] @browser_fingerprint = data['browser_fingerprint'] end |
Instance Attribute Details
#account_id ⇒ Object
Returns the value of attribute account_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def account_id @account_id end |
#actor_system ⇒ Object
Returns the value of attribute actor_system.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def actor_system @actor_system end |
#actor_user_id ⇒ Object
Returns the value of attribute actor_user_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def actor_user_id @actor_user_id end |
#actor_user_name ⇒ Object
Returns the value of attribute actor_user_name.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def actor_user_name @actor_user_name end |
#app_id ⇒ Object
Returns the value of attribute app_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def app_id @app_id end |
#app_name ⇒ Object
Returns the value of attribute app_name.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def app_name @app_name end |
#assuming_acting_user_id ⇒ Object
Returns the value of attribute assuming_acting_user_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def assuming_acting_user_id @assuming_acting_user_id end |
#browser_fingerprint ⇒ Object
Returns the value of attribute browser_fingerprint.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def browser_fingerprint @browser_fingerprint end |
#client_id ⇒ Object
Returns the value of attribute client_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def client_id @client_id end |
#created_at ⇒ Object
Returns the value of attribute created_at.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def created_at @created_at end |
#custom_message ⇒ Object
Returns the value of attribute custom_message.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def @custom_message end |
#directory_id ⇒ Object
Returns the value of attribute directory_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def directory_id @directory_id end |
#directory_sync_run_id ⇒ Object
Returns the value of attribute directory_sync_run_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def directory_sync_run_id @directory_sync_run_id end |
#error_description ⇒ Object
Returns the value of attribute error_description.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def error_description @error_description end |
#event_type_id ⇒ Object
Returns the value of attribute event_type_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def event_type_id @event_type_id end |
#group_id ⇒ Object
Returns the value of attribute group_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def group_id @group_id end |
#group_name ⇒ Object
Returns the value of attribute group_name.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def group_name @group_name end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def id @id end |
#ipaddr ⇒ Object
Returns the value of attribute ipaddr.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def ipaddr @ipaddr end |
#notes ⇒ Object
Returns the value of attribute notes.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def notes @notes end |
#operation_name ⇒ Object
Returns the value of attribute operation_name.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def operation_name @operation_name end |
#otp_device_id ⇒ Object
Returns the value of attribute otp_device_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def otp_device_id @otp_device_id end |
#otp_device_name ⇒ Object
Returns the value of attribute otp_device_name.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def otp_device_name @otp_device_name end |
#policy_id ⇒ Object
Returns the value of attribute policy_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def policy_id @policy_id end |
#policy_name ⇒ Object
Returns the value of attribute policy_name.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def policy_name @policy_name end |
#resolution ⇒ Object
Returns the value of attribute resolution.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def resolution @resolution end |
#resource_type_id ⇒ Object
Returns the value of attribute resource_type_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def resource_type_id @resource_type_id end |
#risk_cookie_id ⇒ Object
Returns the value of attribute risk_cookie_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def @risk_cookie_id end |
#risk_reasons ⇒ Object
Returns the value of attribute risk_reasons.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def risk_reasons @risk_reasons end |
#risk_score ⇒ Object
Returns the value of attribute risk_score.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def risk_score @risk_score end |
#role_id ⇒ Object
Returns the value of attribute role_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def role_id @role_id end |
#role_name ⇒ Object
Returns the value of attribute role_name.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def role_name @role_name end |
#user_id ⇒ Object
Returns the value of attribute user_id.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def user_id @user_id end |
#user_name ⇒ Object
Returns the value of attribute user_name.
7 8 9 |
# File 'lib/onelogin/api/models/event.rb', line 7 def user_name @user_name end |