Class: Pandarus::CourseEvent

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/course_event.rb

Instance Attribute Summary collapse

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_atObject

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_dataObject

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_typeObject

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

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/pandarus/models/course_event.rb', line 6

def id
  @id
end

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_mapObject



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