Class: OneLogin::Api::Models::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/onelogin/api/models/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject

Returns the value of attribute account_id.


7
8
9
# File 'lib/onelogin/api/models/event.rb', line 7

def 
  @account_id
end

#actor_systemObject

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_idObject

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_nameObject

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_idObject

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_nameObject

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_idObject

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_fingerprintObject

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_idObject

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_atObject

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_messageObject

Returns the value of attribute custom_message.


7
8
9
# File 'lib/onelogin/api/models/event.rb', line 7

def custom_message
  @custom_message
end

#directory_idObject

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_idObject

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_descriptionObject

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_idObject

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_idObject

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_nameObject

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

#idObject

Returns the value of attribute id.


7
8
9
# File 'lib/onelogin/api/models/event.rb', line 7

def id
  @id
end

#ipaddrObject

Returns the value of attribute ipaddr.


7
8
9
# File 'lib/onelogin/api/models/event.rb', line 7

def ipaddr
  @ipaddr
end

#notesObject

Returns the value of attribute notes.


7
8
9
# File 'lib/onelogin/api/models/event.rb', line 7

def notes
  @notes
end

#operation_nameObject

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_idObject

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_nameObject

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_idObject

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_nameObject

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

#resolutionObject

Returns the value of attribute resolution.


7
8
9
# File 'lib/onelogin/api/models/event.rb', line 7

def resolution
  @resolution
end

#resource_type_idObject

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

Returns the value of attribute risk_cookie_id.


7
8
9
# File 'lib/onelogin/api/models/event.rb', line 7

def risk_cookie_id
  @risk_cookie_id
end

#risk_reasonsObject

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_scoreObject

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_idObject

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_nameObject

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_idObject

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_nameObject

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