Class: Pandarus::Section
- Defined in:
- lib/pandarus/models/section.rb
Instance Attribute Summary collapse
-
#course_id ⇒ Object
Returns the value of attribute course_id.
-
#end_at ⇒ Object
Returns the value of attribute end_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#nonxlist_course_id ⇒ Object
Returns the value of attribute nonxlist_course_id.
-
#sis_import_id ⇒ Object
Returns the value of attribute sis_import_id.
-
#sis_section_id ⇒ Object
Returns the value of attribute sis_section_id.
-
#start_at ⇒ Object
Returns the value of attribute start_at.
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
#course_id ⇒ Object
Returns the value of attribute course_id.
6 7 8 |
# File 'lib/pandarus/models/section.rb', line 6 def course_id @course_id end |
#end_at ⇒ Object
Returns the value of attribute end_at.
6 7 8 |
# File 'lib/pandarus/models/section.rb', line 6 def end_at @end_at end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/pandarus/models/section.rb', line 6 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/pandarus/models/section.rb', line 6 def name @name end |
#nonxlist_course_id ⇒ Object
Returns the value of attribute nonxlist_course_id.
6 7 8 |
# File 'lib/pandarus/models/section.rb', line 6 def nonxlist_course_id @nonxlist_course_id end |
#sis_import_id ⇒ Object
Returns the value of attribute sis_import_id.
6 7 8 |
# File 'lib/pandarus/models/section.rb', line 6 def sis_import_id @sis_import_id end |
#sis_section_id ⇒ Object
Returns the value of attribute sis_section_id.
6 7 8 |
# File 'lib/pandarus/models/section.rb', line 6 def sis_section_id @sis_section_id end |
#start_at ⇒ Object
Returns the value of attribute start_at.
6 7 8 |
# File 'lib/pandarus/models/section.rb', line 6 def start_at @start_at end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/pandarus/models/section.rb', line 9 def self.attribute_map { :id => {:external => "id", :container => false, :type => "Integer"}, :name => {:external => "name", :container => false, :type => "String"}, :sis_section_id => {:external => "sis_section_id", :container => false, :type => "String"}, :sis_import_id => {:external => "sis_import_id", :container => false, :type => "Integer"}, :course_id => {:external => "course_id", :container => false, :type => "Integer"}, :start_at => {:external => "start_at", :container => false, :type => "DateTime"}, :end_at => {:external => "end_at", :container => false, :type => "DateTime"}, :nonxlist_course_id => {:external => "nonxlist_course_id", :container => false, :type => "Integer"} } end |