Class: Pandarus::CourseEvent
- Defined in:
- lib/pandarus/models/course_event.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#event_data ⇒ Object
Returns the value of attribute event_data.
-
#event_type ⇒ Object
Returns the value of attribute event_type.
-
#id ⇒ Object
Returns the value of attribute id.
-
#links ⇒ Object
Returns the value of attribute links.
Class Method Summary collapse
Methods inherited from ModelBase
#assign, #attr, #has_attr?, #initialize, #inspect, #to_body, #vivify
Constructor Details
This class inherits a constructor from Pandarus::ModelBase
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
6 7 8 |
# File 'lib/pandarus/models/course_event.rb', line 6 def created_at @created_at end |
#event_data ⇒ Object
Returns the value of attribute event_data.
6 7 8 |
# File 'lib/pandarus/models/course_event.rb', line 6 def event_data @event_data end |
#event_type ⇒ Object
Returns the value of attribute event_type.
6 7 8 |
# File 'lib/pandarus/models/course_event.rb', line 6 def event_type @event_type end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/pandarus/models/course_event.rb', line 6 def id @id end |
#links ⇒ Object
Returns the value of attribute links.
6 7 8 |
# File 'lib/pandarus/models/course_event.rb', line 6 def links @links end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/pandarus/models/course_event.rb', line 9 def self.attribute_map { :id => {:external => "id", :container => false, :type => "String"}, :created_at => {:external => "created_at", :container => false, :type => "DateTime"}, :event_type => {:external => "event_type", :container => false, :type => "String"}, :event_data => {:external => "event_data", :container => false, :type => "String"}, :links => {:external => "links", :container => false, :type => "CourseEventLink"} } end |