Class: OneLogin::Api::Models::EventType
- Inherits:
-
Object
- Object
- OneLogin::Api::Models::EventType
- Defined in:
- lib/onelogin/api/models/event_type.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(data) ⇒ EventType
constructor
A new instance of EventType.
Constructor Details
#initialize(data) ⇒ EventType
Returns a new instance of EventType.
9 10 11 12 13 |
# File 'lib/onelogin/api/models/event_type.rb', line 9 def initialize(data) @id = data['id'] @name = data['name'].to_s @description = data['description'].to_s end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
7 8 9 |
# File 'lib/onelogin/api/models/event_type.rb', line 7 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/onelogin/api/models/event_type.rb', line 7 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/onelogin/api/models/event_type.rb', line 7 def name @name end |