Class: Threatstack::UserIdentity
- Inherits:
-
Object
- Object
- Threatstack::UserIdentity
show all
- Includes:
- Serializable
- Defined in:
- lib/threatstack/entities/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
24
25
26
|
# File 'lib/threatstack/entities/user_identity.rb', line 24
def access_key_id
raw['accessKeyId']
end
|
#account_id ⇒ Object
20
21
22
|
# File 'lib/threatstack/entities/user_identity.rb', line 20
def account_id
raw['accountId']
end
|
#invoked_by ⇒ Object
16
17
18
|
# File 'lib/threatstack/entities/user_identity.rb', line 16
def invoked_by
raw['invokedBy']
end
|
#principal_id ⇒ Object
28
29
30
|
# File 'lib/threatstack/entities/user_identity.rb', line 28
def principal_id
raw['principalId']
end
|
#session_context ⇒ Object
12
13
14
|
# File 'lib/threatstack/entities/user_identity.rb', line 12
def session_context
raw['sessionContext']
end
|
#user_name ⇒ Object
8
9
10
|
# File 'lib/threatstack/entities/user_identity.rb', line 8
def user_name
raw['userName']
end
|