pandarus 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pandarus/client.rb +1 -1
- data/lib/pandarus/model_base.rb +25 -7
- data/lib/pandarus/models.rb +23 -0
- data/lib/pandarus/models/account_authorization_config.rb +19 -19
- data/lib/pandarus/models/admin.rb +5 -4
- data/lib/pandarus/models/answer.rb +30 -0
- data/lib/pandarus/models/assignment.rb +31 -31
- data/lib/pandarus/models/assignment_date.rb +20 -0
- data/lib/pandarus/models/assignment_group.rb +6 -6
- data/lib/pandarus/models/assignment_override.rb +11 -11
- data/lib/pandarus/models/avatar.rb +24 -0
- data/lib/pandarus/models/collaborator.rb +3 -3
- data/lib/pandarus/models/collection.rb +5 -5
- data/lib/pandarus/models/collection_item.rb +15 -15
- data/lib/pandarus/models/column_datum.rb +2 -2
- data/lib/pandarus/models/comm_message.rb +10 -10
- data/lib/pandarus/models/communication_channel.rb +6 -6
- data/lib/pandarus/models/completion_requirement.rb +19 -0
- data/lib/pandarus/models/conference.rb +12 -12
- data/lib/pandarus/models/conference_recording.rb +21 -0
- data/lib/pandarus/models/content_details.rb +20 -0
- data/lib/pandarus/models/content_export.rb +7 -7
- data/lib/pandarus/models/content_migration.rb +11 -11
- data/lib/pandarus/models/conversation.rb +32 -0
- data/lib/pandarus/models/course.rb +19 -19
- data/lib/pandarus/models/course_event.rb +21 -0
- data/lib/pandarus/models/course_event_link.rb +19 -0
- data/lib/pandarus/models/custom_column.rb +2 -2
- data/lib/pandarus/models/day.rb +2 -2
- data/lib/pandarus/models/discovery_url.rb +1 -1
- data/lib/pandarus/models/enrollment.rb +15 -15
- data/lib/pandarus/models/external_feed.rb +6 -6
- data/lib/pandarus/models/external_tool_tag_attributes.rb +19 -0
- data/lib/pandarus/models/favorite.rb +2 -2
- data/lib/pandarus/models/feature.rb +6 -6
- data/lib/pandarus/models/feature_flag.rb +5 -5
- data/lib/pandarus/models/file.rb +12 -12
- data/lib/pandarus/models/folder.rb +15 -15
- data/lib/pandarus/models/grade.rb +21 -0
- data/lib/pandarus/models/grade_change_event.rb +9 -8
- data/lib/pandarus/models/grade_change_event_links.rb +21 -0
- data/lib/pandarus/models/grader.rb +3 -3
- data/lib/pandarus/models/grading_rules.rb +19 -0
- data/lib/pandarus/models/group.rb +12 -12
- data/lib/pandarus/models/group_category.rb +8 -8
- data/lib/pandarus/models/group_membership.rb +4 -4
- data/lib/pandarus/models/lock_info.rb +21 -0
- data/lib/pandarus/models/migration_issue.rb +10 -10
- data/lib/pandarus/models/migrator.rb +3 -3
- data/lib/pandarus/models/module.rb +11 -11
- data/lib/pandarus/models/module_item.rb +13 -13
- data/lib/pandarus/models/module_item_sequence.rb +2 -2
- data/lib/pandarus/models/notification_preference.rb +4 -4
- data/lib/pandarus/models/outcome.rb +10 -10
- data/lib/pandarus/models/outcome_group.rb +11 -11
- data/lib/pandarus/models/outcome_link.rb +5 -5
- data/lib/pandarus/models/page.rb +9 -9
- data/lib/pandarus/models/page_revision.rb +6 -6
- data/lib/pandarus/models/page_view.rb +12 -12
- data/lib/pandarus/models/page_view_links.rb +6 -4
- data/lib/pandarus/models/profile.rb +29 -0
- data/lib/pandarus/models/progress.rb +11 -11
- data/lib/pandarus/models/quiz.rb +22 -22
- data/lib/pandarus/models/quiz_question.rb +7 -7
- data/lib/pandarus/models/quiz_report.rb +7 -7
- data/lib/pandarus/models/report.rb +6 -6
- data/lib/pandarus/models/report_parameters.rb +32 -0
- data/lib/pandarus/models/role.rb +5 -5
- data/lib/pandarus/models/rubric_criteria.rb +20 -0
- data/lib/pandarus/models/rubric_rating.rb +19 -0
- data/lib/pandarus/models/section.rb +7 -7
- data/lib/pandarus/models/sis_import.rb +7 -7
- data/lib/pandarus/models/sis_import_counts.rb +27 -0
- data/lib/pandarus/models/sis_import_data.rb +19 -0
- data/lib/pandarus/models/submission_history.rb +2 -2
- data/lib/pandarus/models/submission_version.rb +22 -22
- data/lib/pandarus/models/tab.rb +23 -0
- data/lib/pandarus/models/term.rb +20 -0
- data/lib/pandarus/models/turnitin_settings.rb +24 -0
- data/lib/pandarus/models/user.rb +10 -10
- data/lib/pandarus/v1_api.rb +402 -19
- data/lib/pandarus/version.rb +1 -1
- data/pandarus.gemspec +1 -1
- data/spec/api_base_spec.rb +1 -1
- data/spec/user_spec.rb +38 -0
- metadata +31 -6
@@ -8,8 +8,8 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:content => {:external => "content", :container => false, :type =>
|
12
|
-
:user_id => {:external => "user_id", :container => false, :type =>
|
11
|
+
:content => {:external => "content", :container => false, :type => "String"},
|
12
|
+
:user_id => {:external => "user_id", :container => false, :type => "Integer"}
|
13
13
|
|
14
14
|
}
|
15
15
|
end
|
@@ -8,16 +8,16 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:created_at => {:external => "created_at", :container => false, :type => "
|
13
|
-
:sent_at => {:external => "sent_at", :container => false, :type => "
|
14
|
-
:workflow_state => {:external => "workflow_state", :container => false, :type =>
|
15
|
-
:from => {:external => "from", :container => false, :type =>
|
16
|
-
:to => {:external => "to", :container => false, :type =>
|
17
|
-
:reply_to => {:external => "reply_to", :container => false, :type =>
|
18
|
-
:subject => {:external => "subject", :container => false, :type =>
|
19
|
-
:body => {:external => "body", :container => false, :type =>
|
20
|
-
:html_body => {:external => "html_body", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:created_at => {:external => "created_at", :container => false, :type => "DateTime"},
|
13
|
+
:sent_at => {:external => "sent_at", :container => false, :type => "DateTime"},
|
14
|
+
:workflow_state => {:external => "workflow_state", :container => false, :type => "String"},
|
15
|
+
:from => {:external => "from", :container => false, :type => "String"},
|
16
|
+
:to => {:external => "to", :container => false, :type => "String"},
|
17
|
+
:reply_to => {:external => "reply_to", :container => false, :type => "String"},
|
18
|
+
:subject => {:external => "subject", :container => false, :type => "String"},
|
19
|
+
:body => {:external => "body", :container => false, :type => "String"},
|
20
|
+
:html_body => {:external => "html_body", :container => false, :type => "String"}
|
21
21
|
|
22
22
|
}
|
23
23
|
end
|
@@ -8,12 +8,12 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:address => {:external => "address", :container => false, :type =>
|
13
|
-
:type => {:external => "type", :container => false, :type =>
|
14
|
-
:position => {:external => "position", :container => false, :type =>
|
15
|
-
:user_id => {:external => "user_id", :container => false, :type =>
|
16
|
-
:workflow_state => {:external => "workflow_state", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:address => {:external => "address", :container => false, :type => "String"},
|
13
|
+
:type => {:external => "type", :container => false, :type => "String"},
|
14
|
+
:position => {:external => "position", :container => false, :type => "Integer"},
|
15
|
+
:user_id => {:external => "user_id", :container => false, :type => "Integer"},
|
16
|
+
:workflow_state => {:external => "workflow_state", :container => false, :type => "String"}
|
17
17
|
|
18
18
|
}
|
19
19
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require "pandarus/model_base"
|
2
|
+
|
3
|
+
# This is an autogenerated file. See readme.md.
|
4
|
+
module Pandarus
|
5
|
+
class CompletionRequirement < ModelBase
|
6
|
+
attr_accessor :type, :min_score, :completed
|
7
|
+
|
8
|
+
|
9
|
+
def self.attribute_map
|
10
|
+
{
|
11
|
+
:type => {:external => "type", :container => false, :type => "String"},
|
12
|
+
:min_score => {:external => "min_score", :container => false, :type => "Integer"},
|
13
|
+
:completed => {:external => "completed", :container => false, :type => nil}
|
14
|
+
|
15
|
+
}
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
@@ -8,20 +8,20 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:conference_type => {:external => "conference_type", :container => false, :type =>
|
13
|
-
:description => {:external => "description", :container => false, :type =>
|
14
|
-
:duration => {:external => "duration", :container => false, :type =>
|
15
|
-
:ended_at => {:external => "ended_at", :container => false, :type => "
|
16
|
-
:started_at => {:external => "started_at", :container => false, :type => "
|
17
|
-
:title => {:external => "title", :container => false, :type =>
|
18
|
-
:users => {:external => "users", :container =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:conference_type => {:external => "conference_type", :container => false, :type => "String"},
|
13
|
+
:description => {:external => "description", :container => false, :type => "String"},
|
14
|
+
:duration => {:external => "duration", :container => false, :type => "Integer"},
|
15
|
+
:ended_at => {:external => "ended_at", :container => false, :type => "DateTime"},
|
16
|
+
:started_at => {:external => "started_at", :container => false, :type => "DateTime"},
|
17
|
+
:title => {:external => "title", :container => false, :type => "String"},
|
18
|
+
:users => {:external => "users", :container => true, :type => "Integer"},
|
19
19
|
:has_advanced_settings => {:external => "has_advanced_settings", :container => false, :type => nil},
|
20
20
|
:long_running => {:external => "long_running", :container => false, :type => nil},
|
21
|
-
:user_settings => {:external => "user_settings", :container => false, :type =>
|
22
|
-
:recordings => {:external => "recordings", :container =>
|
23
|
-
:url => {:external => "url", :container => false, :type =>
|
24
|
-
:join_url => {:external => "join_url", :container => false, :type =>
|
21
|
+
:user_settings => {:external => "user_settings", :container => false, :type => "Map"},
|
22
|
+
:recordings => {:external => "recordings", :container => true, :type => "ConferenceRecording"},
|
23
|
+
:url => {:external => "url", :container => false, :type => "String"},
|
24
|
+
:join_url => {:external => "join_url", :container => false, :type => "String"}
|
25
25
|
|
26
26
|
}
|
27
27
|
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require "pandarus/model_base"
|
2
|
+
|
3
|
+
# This is an autogenerated file. See readme.md.
|
4
|
+
module Pandarus
|
5
|
+
class ConferenceRecording < ModelBase
|
6
|
+
attr_accessor :duration_minutes, :title, :updated_at, :created_at, :playback_url
|
7
|
+
|
8
|
+
|
9
|
+
def self.attribute_map
|
10
|
+
{
|
11
|
+
:duration_minutes => {:external => "duration_minutes", :container => false, :type => "Integer"},
|
12
|
+
:title => {:external => "title", :container => false, :type => "String"},
|
13
|
+
:updated_at => {:external => "updated_at", :container => false, :type => "DateTime"},
|
14
|
+
:created_at => {:external => "created_at", :container => false, :type => "DateTime"},
|
15
|
+
:playback_url => {:external => "playback_url", :container => false, :type => "String"}
|
16
|
+
|
17
|
+
}
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require "pandarus/model_base"
|
2
|
+
|
3
|
+
# This is an autogenerated file. See readme.md.
|
4
|
+
module Pandarus
|
5
|
+
class ContentDetails < ModelBase
|
6
|
+
attr_accessor :points_possible, :due_at, :unlock_at, :lock_at
|
7
|
+
|
8
|
+
|
9
|
+
def self.attribute_map
|
10
|
+
{
|
11
|
+
:points_possible => {:external => "points_possible", :container => false, :type => "Integer"},
|
12
|
+
:due_at => {:external => "due_at", :container => false, :type => "DateTime"},
|
13
|
+
:unlock_at => {:external => "unlock_at", :container => false, :type => "DateTime"},
|
14
|
+
:lock_at => {:external => "lock_at", :container => false, :type => "DateTime"}
|
15
|
+
|
16
|
+
}
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
@@ -8,13 +8,13 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:created_at => {:external => "created_at", :container => false, :type => "
|
13
|
-
:export_type => {:external => "export_type", :container => false, :type =>
|
14
|
-
:attachment => {:external => "attachment", :container => false, :type =>
|
15
|
-
:progress_url => {:external => "progress_url", :container => false, :type =>
|
16
|
-
:user_id => {:external => "user_id", :container => false, :type =>
|
17
|
-
:workflow_state => {:external => "workflow_state", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:created_at => {:external => "created_at", :container => false, :type => "DateTime"},
|
13
|
+
:export_type => {:external => "export_type", :container => false, :type => "String"},
|
14
|
+
:attachment => {:external => "attachment", :container => false, :type => "File"},
|
15
|
+
:progress_url => {:external => "progress_url", :container => false, :type => "String"},
|
16
|
+
:user_id => {:external => "user_id", :container => false, :type => "Integer"},
|
17
|
+
:workflow_state => {:external => "workflow_state", :container => false, :type => "String"}
|
18
18
|
|
19
19
|
}
|
20
20
|
end
|
@@ -8,17 +8,17 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:migration_type => {:external => "migration_type", :container => false, :type =>
|
13
|
-
:migration_type_title => {:external => "migration_type_title", :container => false, :type =>
|
14
|
-
:migration_issues_url => {:external => "migration_issues_url", :container => false, :type =>
|
15
|
-
:attachment => {:external => "attachment", :container => false, :type =>
|
16
|
-
:progress_url => {:external => "progress_url", :container => false, :type =>
|
17
|
-
:user_id => {:external => "user_id", :container => false, :type =>
|
18
|
-
:workflow_state => {:external => "workflow_state", :container => false, :type =>
|
19
|
-
:started_at => {:external => "started_at", :container => false, :type =>
|
20
|
-
:finished_at => {:external => "finished_at", :container => false, :type =>
|
21
|
-
:pre_attachment => {:external => "pre_attachment", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:migration_type => {:external => "migration_type", :container => false, :type => "String"},
|
13
|
+
:migration_type_title => {:external => "migration_type_title", :container => false, :type => "String"},
|
14
|
+
:migration_issues_url => {:external => "migration_issues_url", :container => false, :type => "String"},
|
15
|
+
:attachment => {:external => "attachment", :container => false, :type => "String"},
|
16
|
+
:progress_url => {:external => "progress_url", :container => false, :type => "String"},
|
17
|
+
:user_id => {:external => "user_id", :container => false, :type => "Integer"},
|
18
|
+
:workflow_state => {:external => "workflow_state", :container => false, :type => "String"},
|
19
|
+
:started_at => {:external => "started_at", :container => false, :type => "DateTime"},
|
20
|
+
:finished_at => {:external => "finished_at", :container => false, :type => "DateTime"},
|
21
|
+
:pre_attachment => {:external => "pre_attachment", :container => false, :type => "String"}
|
22
22
|
|
23
23
|
}
|
24
24
|
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require "pandarus/model_base"
|
2
|
+
|
3
|
+
# This is an autogenerated file. See readme.md.
|
4
|
+
module Pandarus
|
5
|
+
class Conversation < ModelBase
|
6
|
+
attr_accessor :id, :subject, :workflow_state, :last_message, :start_at, :message_count, :subscribed, :private, :starred, :properties, :audience, :audience_contexts, :avatar_url, :participants, :visible, :context_name
|
7
|
+
|
8
|
+
|
9
|
+
def self.attribute_map
|
10
|
+
{
|
11
|
+
:id => {:external => "id", :container => false, :type => nil},
|
12
|
+
:subject => {:external => "subject", :container => false, :type => "String"},
|
13
|
+
:workflow_state => {:external => "workflow_state", :container => false, :type => "String"},
|
14
|
+
:last_message => {:external => "last_message", :container => false, :type => "String"},
|
15
|
+
:start_at => {:external => "start_at", :container => false, :type => "DateTime"},
|
16
|
+
:message_count => {:external => "message_count", :container => false, :type => "Integer"},
|
17
|
+
:subscribed => {:external => "subscribed", :container => false, :type => nil},
|
18
|
+
:private => {:external => "private", :container => false, :type => nil},
|
19
|
+
:starred => {:external => "starred", :container => false, :type => nil},
|
20
|
+
:properties => {:external => "properties", :container => false, :type => "[string]"},
|
21
|
+
:audience => {:external => "audience", :container => false, :type => "[integer]"},
|
22
|
+
:audience_contexts => {:external => "audience_contexts", :container => false, :type => "[string]"},
|
23
|
+
:avatar_url => {:external => "avatar_url", :container => false, :type => "String"},
|
24
|
+
:participants => {:external => "participants", :container => false, :type => "[string]"},
|
25
|
+
:visible => {:external => "visible", :container => false, :type => nil},
|
26
|
+
:context_name => {:external => "context_name", :container => false, :type => "String"}
|
27
|
+
|
28
|
+
}
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
@@ -8,29 +8,29 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:sis_course_id => {:external => "sis_course_id", :container => false, :type =>
|
13
|
-
:name => {:external => "name", :container => false, :type =>
|
14
|
-
:course_code => {:external => "course_code", :container => false, :type =>
|
15
|
-
:workflow_state => {:external => "workflow_state", :container => false, :type =>
|
16
|
-
:account_id => {:external => "account_id", :container => false, :type =>
|
17
|
-
:root_account_id => {:external => "root_account_id", :container => false, :type =>
|
18
|
-
:start_at => {:external => "start_at", :container => false, :type =>
|
19
|
-
:end_at => {:external => "end_at", :container => false, :type =>
|
20
|
-
:enrollments => {:external => "enrollments", :container =>
|
21
|
-
:calendar => {:external => "calendar", :container => false, :type =>
|
22
|
-
:default_view => {:external => "default_view", :container => false, :type =>
|
23
|
-
:syllabus_body => {:external => "syllabus_body", :container => false, :type =>
|
24
|
-
:needs_grading_count => {:external => "needs_grading_count", :container => false, :type =>
|
25
|
-
:term => {:external => "term", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:sis_course_id => {:external => "sis_course_id", :container => false, :type => "String"},
|
13
|
+
:name => {:external => "name", :container => false, :type => "String"},
|
14
|
+
:course_code => {:external => "course_code", :container => false, :type => "String"},
|
15
|
+
:workflow_state => {:external => "workflow_state", :container => false, :type => "String"},
|
16
|
+
:account_id => {:external => "account_id", :container => false, :type => "Integer"},
|
17
|
+
:root_account_id => {:external => "root_account_id", :container => false, :type => "Integer"},
|
18
|
+
:start_at => {:external => "start_at", :container => false, :type => "DateTime"},
|
19
|
+
:end_at => {:external => "end_at", :container => false, :type => "DateTime"},
|
20
|
+
:enrollments => {:external => "enrollments", :container => true, :type => "Enrollment"},
|
21
|
+
:calendar => {:external => "calendar", :container => false, :type => "CalendarLink"},
|
22
|
+
:default_view => {:external => "default_view", :container => false, :type => "String"},
|
23
|
+
:syllabus_body => {:external => "syllabus_body", :container => false, :type => "String"},
|
24
|
+
:needs_grading_count => {:external => "needs_grading_count", :container => false, :type => "Integer"},
|
25
|
+
:term => {:external => "term", :container => false, :type => "Term"},
|
26
26
|
:apply_assignment_group_weights => {:external => "apply_assignment_group_weights", :container => false, :type => nil},
|
27
|
-
:permissions => {:external => "permissions", :container => false, :type =>
|
27
|
+
:permissions => {:external => "permissions", :container => false, :type => "Map"},
|
28
28
|
:is_public => {:external => "is_public", :container => false, :type => nil},
|
29
29
|
:public_syllabus => {:external => "public_syllabus", :container => false, :type => nil},
|
30
|
-
:public_description => {:external => "public_description", :container => false, :type =>
|
31
|
-
:storage_quota_mb => {:external => "storage_quota_mb", :container => false, :type =>
|
30
|
+
:public_description => {:external => "public_description", :container => false, :type => "String"},
|
31
|
+
:storage_quota_mb => {:external => "storage_quota_mb", :container => false, :type => "Integer"},
|
32
32
|
:hide_final_grades => {:external => "hide_final_grades", :container => false, :type => nil},
|
33
|
-
:license => {:external => "license", :container => false, :type =>
|
33
|
+
:license => {:external => "license", :container => false, :type => "String"},
|
34
34
|
:allow_student_assignment_edits => {:external => "allow_student_assignment_edits", :container => false, :type => nil},
|
35
35
|
:allow_wiki_comments => {:external => "allow_wiki_comments", :container => false, :type => nil},
|
36
36
|
:allow_student_forum_attachments => {:external => "allow_student_forum_attachments", :container => false, :type => nil},
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require "pandarus/model_base"
|
2
|
+
|
3
|
+
# This is an autogenerated file. See readme.md.
|
4
|
+
module Pandarus
|
5
|
+
class CourseEvent < ModelBase
|
6
|
+
attr_accessor :id, :created_at, :event_type, :event_data, :links
|
7
|
+
|
8
|
+
|
9
|
+
def self.attribute_map
|
10
|
+
{
|
11
|
+
:id => {:external => "id", :container => false, :type => "String"},
|
12
|
+
:created_at => {:external => "created_at", :container => false, :type => "DateTime"},
|
13
|
+
:event_type => {:external => "event_type", :container => false, :type => "String"},
|
14
|
+
:event_data => {:external => "event_data", :container => false, :type => "String"},
|
15
|
+
:links => {:external => "links", :container => false, :type => "CourseEventLink"}
|
16
|
+
|
17
|
+
}
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require "pandarus/model_base"
|
2
|
+
|
3
|
+
# This is an autogenerated file. See readme.md.
|
4
|
+
module Pandarus
|
5
|
+
class CourseEventLink < ModelBase
|
6
|
+
attr_accessor :course, :user, :page_view
|
7
|
+
|
8
|
+
|
9
|
+
def self.attribute_map
|
10
|
+
{
|
11
|
+
:course => {:external => "course", :container => false, :type => "Integer"},
|
12
|
+
:user => {:external => "user", :container => false, :type => "Integer"},
|
13
|
+
:page_view => {:external => "page_view", :container => false, :type => "String"}
|
14
|
+
|
15
|
+
}
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
@@ -8,8 +8,8 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:title => {:external => "title", :container => false, :type =>
|
12
|
-
:position => {:external => "position", :container => false, :type =>
|
11
|
+
:title => {:external => "title", :container => false, :type => "String"},
|
12
|
+
:position => {:external => "position", :container => false, :type => "Integer"},
|
13
13
|
:hidden => {:external => "hidden", :container => false, :type => nil}
|
14
14
|
|
15
15
|
}
|
data/lib/pandarus/models/day.rb
CHANGED
@@ -8,8 +8,8 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:date => {:external => "date", :container => false, :type => "
|
12
|
-
:graders => {:external => "graders", :container => false, :type =>
|
11
|
+
:date => {:external => "date", :container => false, :type => "DateTime"},
|
12
|
+
:graders => {:external => "graders", :container => false, :type => "Integer"}
|
13
13
|
|
14
14
|
}
|
15
15
|
end
|
@@ -3,26 +3,26 @@ require "pandarus/model_base"
|
|
3
3
|
# This is an autogenerated file. See readme.md.
|
4
4
|
module Pandarus
|
5
5
|
class Enrollment < ModelBase
|
6
|
-
attr_accessor :id, :course_id, :course_section_id, :enrollment_state, :limit_privileges_to_course_section, :root_account_id, :type, :
|
6
|
+
attr_accessor :id, :course_id, :course_section_id, :enrollment_state, :limit_privileges_to_course_section, :root_account_id, :type, :user_id, :associated_user_id, :role, :updated_at, :last_activity_at, :html_url, :grades, :user
|
7
7
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:course_id => {:external => "course_id", :container => false, :type =>
|
13
|
-
:course_section_id => {:external => "course_section_id", :container => false, :type =>
|
14
|
-
:enrollment_state => {:external => "enrollment_state", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:course_id => {:external => "course_id", :container => false, :type => "Integer"},
|
13
|
+
:course_section_id => {:external => "course_section_id", :container => false, :type => "Integer"},
|
14
|
+
:enrollment_state => {:external => "enrollment_state", :container => false, :type => "String"},
|
15
15
|
:limit_privileges_to_course_section => {:external => "limit_privileges_to_course_section", :container => false, :type => nil},
|
16
|
-
:root_account_id => {:external => "root_account_id", :container => false, :type =>
|
17
|
-
:type => {:external => "type", :container => false, :type =>
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
22
|
-
:last_activity_at => {:external => "last_activity_at", :container => false, :type => "
|
23
|
-
:html_url => {:external => "html_url", :container => false, :type =>
|
24
|
-
:grades => {:external => "grades", :container => false, :type =>
|
25
|
-
:user => {:external => "user", :container => false, :type =>
|
16
|
+
:root_account_id => {:external => "root_account_id", :container => false, :type => "Integer"},
|
17
|
+
:type => {:external => "type", :container => false, :type => "String"},
|
18
|
+
:user_id => {:external => "user_id", :container => false, :type => "Integer"},
|
19
|
+
:associated_user_id => {:external => "associated_user_id", :container => false, :type => "Integer"},
|
20
|
+
:role => {:external => "role", :container => false, :type => "String"},
|
21
|
+
:updated_at => {:external => "updated_at", :container => false, :type => "DateTime"},
|
22
|
+
:last_activity_at => {:external => "last_activity_at", :container => false, :type => "DateTime"},
|
23
|
+
:html_url => {:external => "html_url", :container => false, :type => "String"},
|
24
|
+
:grades => {:external => "grades", :container => false, :type => "Grade"},
|
25
|
+
:user => {:external => "user", :container => false, :type => "User"}
|
26
26
|
|
27
27
|
}
|
28
28
|
end
|
@@ -8,12 +8,12 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:display_name => {:external => "display_name", :container => false, :type =>
|
13
|
-
:url => {:external => "url", :container => false, :type =>
|
14
|
-
:header_match => {:external => "header_match", :container => false, :type =>
|
15
|
-
:created_at => {:external => "created_at", :container => false, :type =>
|
16
|
-
:verbosity => {:external => "verbosity", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:display_name => {:external => "display_name", :container => false, :type => "String"},
|
13
|
+
:url => {:external => "url", :container => false, :type => "String"},
|
14
|
+
:header_match => {:external => "header_match", :container => false, :type => "String"},
|
15
|
+
:created_at => {:external => "created_at", :container => false, :type => "DateTime"},
|
16
|
+
:verbosity => {:external => "verbosity", :container => false, :type => "String"}
|
17
17
|
|
18
18
|
}
|
19
19
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require "pandarus/model_base"
|
2
|
+
|
3
|
+
# This is an autogenerated file. See readme.md.
|
4
|
+
module Pandarus
|
5
|
+
class ExternalToolTagAttributes < ModelBase
|
6
|
+
attr_accessor :url, :new_tab, :resource_link_id
|
7
|
+
|
8
|
+
|
9
|
+
def self.attribute_map
|
10
|
+
{
|
11
|
+
:url => {:external => "url", :container => false, :type => "String"},
|
12
|
+
:new_tab => {:external => "new_tab", :container => false, :type => nil},
|
13
|
+
:resource_link_id => {:external => "resource_link_id", :container => false, :type => "String"}
|
14
|
+
|
15
|
+
}
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|