Class: Pandarus::Course
- Defined in:
- lib/pandarus/models/course.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#allow_student_assignment_edits ⇒ Object
Returns the value of attribute allow_student_assignment_edits.
-
#allow_student_forum_attachments ⇒ Object
Returns the value of attribute allow_student_forum_attachments.
-
#allow_wiki_comments ⇒ Object
Returns the value of attribute allow_wiki_comments.
-
#apply_assignment_group_weights ⇒ Object
Returns the value of attribute apply_assignment_group_weights.
-
#calendar ⇒ Object
Returns the value of attribute calendar.
-
#course_code ⇒ Object
Returns the value of attribute course_code.
-
#course_progress ⇒ Object
Returns the value of attribute course_progress.
-
#default_view ⇒ Object
Returns the value of attribute default_view.
-
#end_at ⇒ Object
Returns the value of attribute end_at.
-
#enrollments ⇒ Object
Returns the value of attribute enrollments.
-
#hide_final_grades ⇒ Object
Returns the value of attribute hide_final_grades.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_public ⇒ Object
Returns the value of attribute is_public.
-
#license ⇒ Object
Returns the value of attribute license.
-
#name ⇒ Object
Returns the value of attribute name.
-
#needs_grading_count ⇒ Object
Returns the value of attribute needs_grading_count.
-
#open_enrollment ⇒ Object
Returns the value of attribute open_enrollment.
-
#permissions ⇒ Object
Returns the value of attribute permissions.
-
#public_description ⇒ Object
Returns the value of attribute public_description.
-
#public_syllabus ⇒ Object
Returns the value of attribute public_syllabus.
-
#restrict_enrollments_to_course_dates ⇒ Object
Returns the value of attribute restrict_enrollments_to_course_dates.
-
#root_account_id ⇒ Object
Returns the value of attribute root_account_id.
-
#self_enrollment ⇒ Object
Returns the value of attribute self_enrollment.
-
#sis_course_id ⇒ Object
Returns the value of attribute sis_course_id.
-
#start_at ⇒ Object
Returns the value of attribute start_at.
-
#storage_quota_mb ⇒ Object
Returns the value of attribute storage_quota_mb.
-
#syllabus_body ⇒ Object
Returns the value of attribute syllabus_body.
-
#term ⇒ Object
Returns the value of attribute term.
-
#workflow_state ⇒ Object
Returns the value of attribute workflow_state.
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_id ⇒ Object
Returns the value of attribute account_id.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def account_id @account_id end |
#allow_student_assignment_edits ⇒ Object
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_attachments ⇒ Object
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 end |
#allow_wiki_comments ⇒ Object
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_weights ⇒ Object
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 |
#calendar ⇒ Object
Returns the value of attribute calendar.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def calendar @calendar end |
#course_code ⇒ Object
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_progress ⇒ Object
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_view ⇒ Object
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_at ⇒ Object
Returns the value of attribute end_at.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def end_at @end_at end |
#enrollments ⇒ Object
Returns the value of attribute enrollments.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def enrollments @enrollments end |
#hide_final_grades ⇒ Object
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 |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def id @id end |
#is_public ⇒ Object
Returns the value of attribute is_public.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def is_public @is_public end |
#license ⇒ Object
Returns the value of attribute license.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def license @license end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def name @name end |
#needs_grading_count ⇒ Object
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_enrollment ⇒ Object
Returns the value of attribute open_enrollment.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def open_enrollment @open_enrollment end |
#permissions ⇒ Object
Returns the value of attribute permissions.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def @permissions end |
#public_description ⇒ Object
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_syllabus ⇒ Object
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_dates ⇒ Object
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_id ⇒ Object
Returns the value of attribute root_account_id.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def root_account_id @root_account_id end |
#self_enrollment ⇒ Object
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_id ⇒ Object
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_at ⇒ Object
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_mb ⇒ Object
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_body ⇒ Object
Returns the value of attribute syllabus_body.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def syllabus_body @syllabus_body end |
#term ⇒ Object
Returns the value of attribute term.
6 7 8 |
# File 'lib/pandarus/models/course.rb', line 6 def term @term end |
#workflow_state ⇒ Object
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_map ⇒ Object
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 |