Class: Pandarus::Course

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/course.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

#account_idObject

Returns the value of attribute account_id.



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

def 
  @account_id
end

#allow_student_assignment_editsObject

Returns the value of attribute allow_student_assignment_edits.



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

def allow_student_assignment_edits
  @allow_student_assignment_edits
end

#allow_student_forum_attachmentsObject

Returns the value of attribute allow_student_forum_attachments.



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

def allow_student_forum_attachments
  @allow_student_forum_attachments
end

#allow_wiki_commentsObject

Returns the value of attribute allow_wiki_comments.



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

def allow_wiki_comments
  @allow_wiki_comments
end

#apply_assignment_group_weightsObject

Returns the value of attribute apply_assignment_group_weights.



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

def apply_assignment_group_weights
  @apply_assignment_group_weights
end

#calendarObject

Returns the value of attribute calendar.



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

def calendar
  @calendar
end

#course_codeObject

Returns the value of attribute course_code.



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

def course_code
  @course_code
end

#course_progressObject

Returns the value of attribute course_progress.



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

def course_progress
  @course_progress
end

#default_viewObject

Returns the value of attribute default_view.



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

def default_view
  @default_view
end

#end_atObject

Returns the value of attribute end_at.



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

def end_at
  @end_at
end

#enrollmentsObject

Returns the value of attribute enrollments.



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

def enrollments
  @enrollments
end

#hide_final_gradesObject

Returns the value of attribute hide_final_grades.



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

def hide_final_grades
  @hide_final_grades
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#is_publicObject

Returns the value of attribute is_public.



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

def is_public
  @is_public
end

#licenseObject

Returns the value of attribute license.



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

def license
  @license
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#needs_grading_countObject

Returns the value of attribute needs_grading_count.



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

def needs_grading_count
  @needs_grading_count
end

#open_enrollmentObject

Returns the value of attribute open_enrollment.



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

def open_enrollment
  @open_enrollment
end

#permissionsObject

Returns the value of attribute permissions.



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

def permissions
  @permissions
end

#public_descriptionObject

Returns the value of attribute public_description.



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

def public_description
  @public_description
end

#public_syllabusObject

Returns the value of attribute public_syllabus.



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

def public_syllabus
  @public_syllabus
end

#restrict_enrollments_to_course_datesObject

Returns the value of attribute restrict_enrollments_to_course_dates.



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

def restrict_enrollments_to_course_dates
  @restrict_enrollments_to_course_dates
end

#root_account_idObject

Returns the value of attribute root_account_id.



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

def 
  @root_account_id
end

#self_enrollmentObject

Returns the value of attribute self_enrollment.



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

def self_enrollment
  @self_enrollment
end

#sis_course_idObject

Returns the value of attribute sis_course_id.



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

def sis_course_id
  @sis_course_id
end

#start_atObject

Returns the value of attribute start_at.



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

def start_at
  @start_at
end

#storage_quota_mbObject

Returns the value of attribute storage_quota_mb.



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

def storage_quota_mb
  @storage_quota_mb
end

#syllabus_bodyObject

Returns the value of attribute syllabus_body.



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

def syllabus_body
  @syllabus_body
end

#termObject

Returns the value of attribute term.



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

def term
  @term
end

#workflow_stateObject

Returns the value of attribute workflow_state.



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

def workflow_state
  @workflow_state
end

Class Method Details

.attribute_mapObject



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/pandarus/models/course.rb', line 9

def self.attribute_map
  {
    :id => {:external => "id", :container => false, :type => "Integer"},
    :sis_course_id => {:external => "sis_course_id", :container => false, :type => "String"},
    :name => {:external => "name", :container => false, :type => "String"},
    :course_code => {:external => "course_code", :container => false, :type => "String"},
    :workflow_state => {:external => "workflow_state", :container => false, :type => "String"},
    :account_id => {:external => "account_id", :container => false, :type => "Integer"},
    :root_account_id => {:external => "root_account_id", :container => false, :type => "Integer"},
    :start_at => {:external => "start_at", :container => false, :type => "DateTime"},
    :end_at => {:external => "end_at", :container => false, :type => "DateTime"},
    :enrollments => {:external => "enrollments", :container => true, :type => "Enrollment"},
    :calendar => {:external => "calendar", :container => false, :type => "CalendarLink"},
    :default_view => {:external => "default_view", :container => false, :type => "String"},
    :syllabus_body => {:external => "syllabus_body", :container => false, :type => "String"},
    :needs_grading_count => {:external => "needs_grading_count", :container => false, :type => "Integer"},
    :term => {:external => "term", :container => false, :type => "Term"},
    :course_progress => {:external => "course_progress", :container => false, :type => "CourseProgress"},
    :apply_assignment_group_weights => {:external => "apply_assignment_group_weights", :container => false, :type => nil},
    :permissions => {:external => "permissions", :container => false, :type => "Map"},
    :is_public => {:external => "is_public", :container => false, :type => nil},
    :public_syllabus => {:external => "public_syllabus", :container => false, :type => nil},
    :public_description => {:external => "public_description", :container => false, :type => "String"},
    :storage_quota_mb => {:external => "storage_quota_mb", :container => false, :type => "Integer"},
    :hide_final_grades => {:external => "hide_final_grades", :container => false, :type => nil},
    :license => {:external => "license", :container => false, :type => "String"},
    :allow_student_assignment_edits => {:external => "allow_student_assignment_edits", :container => false, :type => nil},
    :allow_wiki_comments => {:external => "allow_wiki_comments", :container => false, :type => nil},
    :allow_student_forum_attachments => {:external => "allow_student_forum_attachments", :container => false, :type => nil},
    :open_enrollment => {:external => "open_enrollment", :container => false, :type => nil},
    :self_enrollment => {:external => "self_enrollment", :container => false, :type => nil},
    :restrict_enrollments_to_course_dates => {:external => "restrict_enrollments_to_course_dates", :container => false, :type => nil}

  }
end