Class: Threatstack::Alert::UserIdentity
- Inherits:
-
Object
- Object
- Threatstack::Alert::UserIdentity
show all
- Includes:
- Serializable
- Defined in:
- lib/threatstack/alert/user_identity.rb
Instance Attribute Summary
Attributes included from Serializable
#raw
Instance Method Summary
collapse
#attrs, included, #initialize, #method_missing
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Threatstack::Serializable
Instance Method Details
#access_key_id ⇒ Object
25
26
27
|
# File 'lib/threatstack/alert/user_identity.rb', line 25
def access_key_id
raw['accessKeyId']
end
|
#account_id ⇒ Object
21
22
23
|
# File 'lib/threatstack/alert/user_identity.rb', line 21
def account_id
raw['accountId']
end
|
#invoked_by ⇒ Object
17
18
19
|
# File 'lib/threatstack/alert/user_identity.rb', line 17
def invoked_by
raw['invokedBy']
end
|
#principal_id ⇒ Object
29
30
31
|
# File 'lib/threatstack/alert/user_identity.rb', line 29
def principal_id
raw['principalId']
end
|
#session_context ⇒ Object
13
14
15
|
# File 'lib/threatstack/alert/user_identity.rb', line 13
def session_context
raw['sessionContext']
end
|
#user_name ⇒ Object
9
10
11
|
# File 'lib/threatstack/alert/user_identity.rb', line 9
def user_name
raw['userName']
end
|