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,10 +8,10 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:href => {:external => "href", :container => false, :type =>
|
12
|
-
:notification => {:external => "notification", :container => false, :type =>
|
13
|
-
:category => {:external => "category", :container => false, :type =>
|
14
|
-
:frequency => {:external => "frequency", :container => false, :type =>
|
11
|
+
:href => {:external => "href", :container => false, :type => "String"},
|
12
|
+
:notification => {:external => "notification", :container => false, :type => "String"},
|
13
|
+
:category => {:external => "category", :container => false, :type => "String"},
|
14
|
+
:frequency => {:external => "frequency", :container => false, :type => "String"}
|
15
15
|
|
16
16
|
}
|
17
17
|
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
|
-
:url => {:external => "url", :container => false, :type =>
|
13
|
-
:context_id => {:external => "context_id", :container => false, :type =>
|
14
|
-
:context_type => {:external => "context_type", :container => false, :type =>
|
15
|
-
:title => {:external => "title", :container => false, :type =>
|
16
|
-
:description => {:external => "description", :container => false, :type =>
|
17
|
-
:vendor_guid => {:external => "vendor_guid", :container => false, :type =>
|
18
|
-
:points_possible => {:external => "points_possible", :container => false, :type =>
|
19
|
-
:mastery_points => {:external => "mastery_points", :container => false, :type =>
|
20
|
-
:ratings => {:external => "ratings", :container =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:url => {:external => "url", :container => false, :type => "String"},
|
13
|
+
:context_id => {:external => "context_id", :container => false, :type => "Integer"},
|
14
|
+
:context_type => {:external => "context_type", :container => false, :type => "String"},
|
15
|
+
:title => {:external => "title", :container => false, :type => "String"},
|
16
|
+
:description => {:external => "description", :container => false, :type => "String"},
|
17
|
+
:vendor_guid => {:external => "vendor_guid", :container => false, :type => "String"},
|
18
|
+
:points_possible => {:external => "points_possible", :container => false, :type => "Integer"},
|
19
|
+
:mastery_points => {:external => "mastery_points", :container => false, :type => "Integer"},
|
20
|
+
:ratings => {:external => "ratings", :container => true, :type => "RubricRating"},
|
21
21
|
:can_edit => {:external => "can_edit", :container => false, :type => nil}
|
22
22
|
|
23
23
|
}
|
@@ -8,17 +8,17 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:url => {:external => "url", :container => false, :type =>
|
13
|
-
:parent_outcome_group => {:external => "parent_outcome_group", :container => false, :type =>
|
14
|
-
:context_id => {:external => "context_id", :container => false, :type =>
|
15
|
-
:context_type => {:external => "context_type", :container => false, :type =>
|
16
|
-
:title => {:external => "title", :container => false, :type =>
|
17
|
-
:description => {:external => "description", :container => false, :type =>
|
18
|
-
:vendor_guid => {:external => "vendor_guid", :container => false, :type =>
|
19
|
-
:subgroups_url => {:external => "subgroups_url", :container => false, :type =>
|
20
|
-
:outcomes_url => {:external => "outcomes_url", :container => false, :type =>
|
21
|
-
:import_url => {:external => "import_url", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:url => {:external => "url", :container => false, :type => "String"},
|
13
|
+
:parent_outcome_group => {:external => "parent_outcome_group", :container => false, :type => "OutcomeGroup"},
|
14
|
+
:context_id => {:external => "context_id", :container => false, :type => "Integer"},
|
15
|
+
:context_type => {:external => "context_type", :container => false, :type => "String"},
|
16
|
+
:title => {:external => "title", :container => false, :type => "String"},
|
17
|
+
:description => {:external => "description", :container => false, :type => "String"},
|
18
|
+
:vendor_guid => {:external => "vendor_guid", :container => false, :type => "String"},
|
19
|
+
:subgroups_url => {:external => "subgroups_url", :container => false, :type => "String"},
|
20
|
+
:outcomes_url => {:external => "outcomes_url", :container => false, :type => "String"},
|
21
|
+
:import_url => {:external => "import_url", :container => false, :type => "String"},
|
22
22
|
:can_edit => {:external => "can_edit", :container => false, :type => nil}
|
23
23
|
|
24
24
|
}
|
@@ -8,11 +8,11 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:url => {:external => "url", :container => false, :type =>
|
12
|
-
:context_id => {:external => "context_id", :container => false, :type =>
|
13
|
-
:context_type => {:external => "context_type", :container => false, :type =>
|
14
|
-
:outcome_group => {:external => "outcome_group", :container => false, :type =>
|
15
|
-
:outcome => {:external => "outcome", :container => false, :type =>
|
11
|
+
:url => {:external => "url", :container => false, :type => "String"},
|
12
|
+
:context_id => {:external => "context_id", :container => false, :type => "Integer"},
|
13
|
+
:context_type => {:external => "context_type", :container => false, :type => "String"},
|
14
|
+
:outcome_group => {:external => "outcome_group", :container => false, :type => "OutcomeGroup"},
|
15
|
+
:outcome => {:external => "outcome", :container => false, :type => "OutcomeGroup"}
|
16
16
|
|
17
17
|
}
|
18
18
|
end
|
data/lib/pandarus/models/page.rb
CHANGED
@@ -8,19 +8,19 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:url => {:external => "url", :container => false, :type =>
|
12
|
-
:title => {:external => "title", :container => false, :type =>
|
13
|
-
:created_at => {:external => "created_at", :container => false, :type =>
|
14
|
-
:updated_at => {:external => "updated_at", :container => false, :type =>
|
11
|
+
:url => {:external => "url", :container => false, :type => "String"},
|
12
|
+
:title => {:external => "title", :container => false, :type => "String"},
|
13
|
+
:created_at => {:external => "created_at", :container => false, :type => "DateTime"},
|
14
|
+
:updated_at => {:external => "updated_at", :container => false, :type => "DateTime"},
|
15
15
|
:hide_from_students => {:external => "hide_from_students", :container => false, :type => nil},
|
16
|
-
:editing_roles => {:external => "editing_roles", :container => false, :type =>
|
17
|
-
:last_edited_by => {:external => "last_edited_by", :container => false, :type =>
|
18
|
-
:body => {:external => "body", :container => false, :type =>
|
16
|
+
:editing_roles => {:external => "editing_roles", :container => false, :type => "String"},
|
17
|
+
:last_edited_by => {:external => "last_edited_by", :container => false, :type => "User"},
|
18
|
+
:body => {:external => "body", :container => false, :type => "String"},
|
19
19
|
:published => {:external => "published", :container => false, :type => nil},
|
20
20
|
:front_page => {:external => "front_page", :container => false, :type => nil},
|
21
21
|
:locked_for_user => {:external => "locked_for_user", :container => false, :type => nil},
|
22
|
-
:lock_info => {:external => "lock_info", :container => false, :type =>
|
23
|
-
:lock_explanation => {:external => "lock_explanation", :container => false, :type =>
|
22
|
+
:lock_info => {:external => "lock_info", :container => false, :type => "LockInfo"},
|
23
|
+
:lock_explanation => {:external => "lock_explanation", :container => false, :type => "String"}
|
24
24
|
|
25
25
|
}
|
26
26
|
end
|
@@ -8,13 +8,13 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:revision_id => {:external => "revision_id", :container => false, :type =>
|
12
|
-
:updated_at => {:external => "updated_at", :container => false, :type =>
|
11
|
+
:revision_id => {:external => "revision_id", :container => false, :type => "Integer"},
|
12
|
+
:updated_at => {:external => "updated_at", :container => false, :type => "DateTime"},
|
13
13
|
:latest => {:external => "latest", :container => false, :type => nil},
|
14
|
-
:edited_by => {:external => "edited_by", :container => false, :type =>
|
15
|
-
:url => {:external => "url", :container => false, :type =>
|
16
|
-
:title => {:external => "title", :container => false, :type =>
|
17
|
-
:body => {:external => "body", :container => false, :type =>
|
14
|
+
:edited_by => {:external => "edited_by", :container => false, :type => "User"},
|
15
|
+
:url => {:external => "url", :container => false, :type => "String"},
|
16
|
+
:title => {:external => "title", :container => false, :type => "String"},
|
17
|
+
:body => {:external => "body", :container => false, :type => "String"}
|
18
18
|
|
19
19
|
}
|
20
20
|
end
|
@@ -8,21 +8,21 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:url => {:external => "url", :container => false, :type =>
|
13
|
-
:context_type => {:external => "context_type", :container => false, :type =>
|
14
|
-
:asset_type => {:external => "asset_type", :container => false, :type =>
|
15
|
-
:controller => {:external => "controller", :container => false, :type =>
|
16
|
-
:action => {:external => "action", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "String"},
|
12
|
+
:url => {:external => "url", :container => false, :type => "String"},
|
13
|
+
:context_type => {:external => "context_type", :container => false, :type => "String"},
|
14
|
+
:asset_type => {:external => "asset_type", :container => false, :type => "String"},
|
15
|
+
:controller => {:external => "controller", :container => false, :type => "String"},
|
16
|
+
:action => {:external => "action", :container => false, :type => "String"},
|
17
17
|
:contributed => {:external => "contributed", :container => false, :type => nil},
|
18
|
-
:interaction_seconds => {:external => "interaction_seconds", :container => false, :type =>
|
19
|
-
:created_at => {:external => "created_at", :container => false, :type => "
|
18
|
+
:interaction_seconds => {:external => "interaction_seconds", :container => false, :type => "Float"},
|
19
|
+
:created_at => {:external => "created_at", :container => false, :type => "DateTime"},
|
20
20
|
:user_request => {:external => "user_request", :container => false, :type => nil},
|
21
|
-
:render_time => {:external => "render_time", :container => false, :type =>
|
22
|
-
:user_agent => {:external => "user_agent", :container => false, :type =>
|
21
|
+
:render_time => {:external => "render_time", :container => false, :type => "Float"},
|
22
|
+
:user_agent => {:external => "user_agent", :container => false, :type => "String"},
|
23
23
|
:participated => {:external => "participated", :container => false, :type => nil},
|
24
|
-
:http_method => {:external => "http_method", :container => false, :type =>
|
25
|
-
:remote_ip => {:external => "remote_ip", :container => false, :type =>
|
24
|
+
:http_method => {:external => "http_method", :container => false, :type => "String"},
|
25
|
+
:remote_ip => {:external => "remote_ip", :container => false, :type => "String"},
|
26
26
|
:links => {:external => "links", :container => false, :type => "PageViewLinks"}
|
27
27
|
|
28
28
|
}
|
@@ -3,14 +3,16 @@ require "pandarus/model_base"
|
|
3
3
|
# This is an autogenerated file. See readme.md.
|
4
4
|
module Pandarus
|
5
5
|
class PageViewLinks < ModelBase
|
6
|
-
attr_accessor :
|
6
|
+
attr_accessor :user, :context, :asset, :real_user, :account
|
7
7
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:
|
12
|
-
:
|
13
|
-
:
|
11
|
+
:user => {:external => "user", :container => false, :type => nil},
|
12
|
+
:context => {:external => "context", :container => false, :type => nil},
|
13
|
+
:asset => {:external => "asset", :container => false, :type => nil},
|
14
|
+
:real_user => {:external => "real_user", :container => false, :type => nil},
|
15
|
+
:account => {:external => "account", :container => false, :type => nil}
|
14
16
|
|
15
17
|
}
|
16
18
|
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require "pandarus/model_base"
|
2
|
+
|
3
|
+
# This is an autogenerated file. See readme.md.
|
4
|
+
module Pandarus
|
5
|
+
class Profile < ModelBase
|
6
|
+
attr_accessor :id, :name, :short_name, :sortable_name, :title, :bio, :primary_email, :login_id, :sis_user_id, :sis_login_id, :avatar_url, :calendar, :time_zone
|
7
|
+
|
8
|
+
|
9
|
+
def self.attribute_map
|
10
|
+
{
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:name => {:external => "name", :container => false, :type => "String"},
|
13
|
+
:short_name => {:external => "short_name", :container => false, :type => "String"},
|
14
|
+
:sortable_name => {:external => "sortable_name", :container => false, :type => "String"},
|
15
|
+
:title => {:external => "title", :container => false, :type => "String"},
|
16
|
+
:bio => {:external => "bio", :container => false, :type => "String"},
|
17
|
+
:primary_email => {:external => "primary_email", :container => false, :type => "String"},
|
18
|
+
:login_id => {:external => "login_id", :container => false, :type => "String"},
|
19
|
+
:sis_user_id => {:external => "sis_user_id", :container => false, :type => "String"},
|
20
|
+
:sis_login_id => {:external => "sis_login_id", :container => false, :type => "String"},
|
21
|
+
:avatar_url => {:external => "avatar_url", :container => false, :type => "String"},
|
22
|
+
:calendar => {:external => "calendar", :container => false, :type => "CalendarLink"},
|
23
|
+
:time_zone => {:external => "time_zone", :container => false, :type => "String"}
|
24
|
+
|
25
|
+
}
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
@@ -8,17 +8,17 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:context_id => {:external => "context_id", :container => false, :type =>
|
13
|
-
:context_type => {:external => "context_type", :container => false, :type =>
|
14
|
-
:user_id => {:external => "user_id", :container => false, :type =>
|
15
|
-
:tag => {:external => "tag", :container => false, :type =>
|
16
|
-
:completion => {:external => "completion", :container => false, :type =>
|
17
|
-
:workflow_state => {:external => "workflow_state", :container => false, :type =>
|
18
|
-
:created_at => {:external => "created_at", :container => false, :type => "
|
19
|
-
:updated_at => {:external => "updated_at", :container => false, :type => "
|
20
|
-
:message => {:external => "message", :container => false, :type =>
|
21
|
-
:url => {:external => "url", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:context_id => {:external => "context_id", :container => false, :type => "Integer"},
|
13
|
+
:context_type => {:external => "context_type", :container => false, :type => "String"},
|
14
|
+
:user_id => {:external => "user_id", :container => false, :type => "Integer"},
|
15
|
+
:tag => {:external => "tag", :container => false, :type => "String"},
|
16
|
+
:completion => {:external => "completion", :container => false, :type => "Integer"},
|
17
|
+
:workflow_state => {:external => "workflow_state", :container => false, :type => "String"},
|
18
|
+
:created_at => {:external => "created_at", :container => false, :type => "DateTime"},
|
19
|
+
:updated_at => {:external => "updated_at", :container => false, :type => "DateTime"},
|
20
|
+
:message => {:external => "message", :container => false, :type => "String"},
|
21
|
+
:url => {:external => "url", :container => false, :type => "String"}
|
22
22
|
|
23
23
|
}
|
24
24
|
end
|
data/lib/pandarus/models/quiz.rb
CHANGED
@@ -8,35 +8,35 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:title => {:external => "title", :container => false, :type =>
|
13
|
-
:html_url => {:external => "html_url", :container => false, :type =>
|
14
|
-
:mobile_url => {:external => "mobile_url", :container => false, :type =>
|
15
|
-
:description => {:external => "description", :container => false, :type =>
|
16
|
-
:quiz_type => {:external => "quiz_type", :container => false, :type =>
|
17
|
-
:assignment_group_id => {:external => "assignment_group_id", :container => false, :type =>
|
18
|
-
:time_limit => {:external => "time_limit", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:title => {:external => "title", :container => false, :type => "String"},
|
13
|
+
:html_url => {:external => "html_url", :container => false, :type => "String"},
|
14
|
+
:mobile_url => {:external => "mobile_url", :container => false, :type => "String"},
|
15
|
+
:description => {:external => "description", :container => false, :type => "String"},
|
16
|
+
:quiz_type => {:external => "quiz_type", :container => false, :type => "String"},
|
17
|
+
:assignment_group_id => {:external => "assignment_group_id", :container => false, :type => "Integer"},
|
18
|
+
:time_limit => {:external => "time_limit", :container => false, :type => "Integer"},
|
19
19
|
:shuffle_answers => {:external => "shuffle_answers", :container => false, :type => nil},
|
20
|
-
:hide_results => {:external => "hide_results", :container => false, :type =>
|
20
|
+
:hide_results => {:external => "hide_results", :container => false, :type => "String"},
|
21
21
|
:show_correct_answers => {:external => "show_correct_answers", :container => false, :type => nil},
|
22
|
-
:show_correct_answers_at => {:external => "show_correct_answers_at", :container => false, :type =>
|
23
|
-
:hide_correct_answers_at => {:external => "hide_correct_answers_at", :container => false, :type =>
|
24
|
-
:scoring_policy => {:external => "scoring_policy", :container => false, :type =>
|
25
|
-
:allowed_attempts => {:external => "allowed_attempts", :container => false, :type =>
|
22
|
+
:show_correct_answers_at => {:external => "show_correct_answers_at", :container => false, :type => "DateTime"},
|
23
|
+
:hide_correct_answers_at => {:external => "hide_correct_answers_at", :container => false, :type => "DateTime"},
|
24
|
+
:scoring_policy => {:external => "scoring_policy", :container => false, :type => "String"},
|
25
|
+
:allowed_attempts => {:external => "allowed_attempts", :container => false, :type => "Integer"},
|
26
26
|
:one_question_at_a_time => {:external => "one_question_at_a_time", :container => false, :type => nil},
|
27
|
-
:question_count => {:external => "question_count", :container => false, :type =>
|
28
|
-
:points_possible => {:external => "points_possible", :container => false, :type =>
|
27
|
+
:question_count => {:external => "question_count", :container => false, :type => "Integer"},
|
28
|
+
:points_possible => {:external => "points_possible", :container => false, :type => "Integer"},
|
29
29
|
:cant_go_back => {:external => "cant_go_back", :container => false, :type => nil},
|
30
|
-
:access_code => {:external => "access_code", :container => false, :type =>
|
31
|
-
:ip_filter => {:external => "ip_filter", :container => false, :type =>
|
32
|
-
:due_at => {:external => "due_at", :container => false, :type =>
|
33
|
-
:lock_at => {:external => "lock_at", :container => false, :type =>
|
34
|
-
:unlock_at => {:external => "unlock_at", :container => false, :type =>
|
30
|
+
:access_code => {:external => "access_code", :container => false, :type => "String"},
|
31
|
+
:ip_filter => {:external => "ip_filter", :container => false, :type => "String"},
|
32
|
+
:due_at => {:external => "due_at", :container => false, :type => "DateTime"},
|
33
|
+
:lock_at => {:external => "lock_at", :container => false, :type => "DateTime"},
|
34
|
+
:unlock_at => {:external => "unlock_at", :container => false, :type => "DateTime"},
|
35
35
|
:published => {:external => "published", :container => false, :type => nil},
|
36
36
|
:unpublishable => {:external => "unpublishable", :container => false, :type => nil},
|
37
37
|
:locked_for_user => {:external => "locked_for_user", :container => false, :type => nil},
|
38
|
-
:lock_info => {:external => "lock_info", :container => false, :type =>
|
39
|
-
:lock_explanation => {:external => "lock_explanation", :container => false, :type =>
|
38
|
+
:lock_info => {:external => "lock_info", :container => false, :type => "LockInfo"},
|
39
|
+
:lock_explanation => {:external => "lock_explanation", :container => false, :type => "String"}
|
40
40
|
|
41
41
|
}
|
42
42
|
end
|
@@ -11,14 +11,14 @@ module Pandarus
|
|
11
11
|
:id => {:external => "id", :container => false, :type => nil},
|
12
12
|
:quiz_id => {:external => "quiz_id", :container => false, :type => nil},
|
13
13
|
:position => {:external => "position", :container => false, :type => nil},
|
14
|
-
:question_name => {:external => "question_name", :container => false, :type =>
|
15
|
-
:question_type => {:external => "question_type", :container => false, :type =>
|
16
|
-
:question_text => {:external => "question_text", :container => false, :type =>
|
14
|
+
:question_name => {:external => "question_name", :container => false, :type => "String"},
|
15
|
+
:question_type => {:external => "question_type", :container => false, :type => "String"},
|
16
|
+
:question_text => {:external => "question_text", :container => false, :type => "String"},
|
17
17
|
:points_possible => {:external => "points_possible", :container => false, :type => nil},
|
18
|
-
:correct_comments => {:external => "correct_comments", :container => false, :type =>
|
19
|
-
:incorrect_comments => {:external => "incorrect_comments", :container => false, :type =>
|
20
|
-
:neutral_comments => {:external => "neutral_comments", :container => false, :type =>
|
21
|
-
:answers => {:external => "answers", :container => true, :type =>
|
18
|
+
:correct_comments => {:external => "correct_comments", :container => false, :type => "String"},
|
19
|
+
:incorrect_comments => {:external => "incorrect_comments", :container => false, :type => "String"},
|
20
|
+
:neutral_comments => {:external => "neutral_comments", :container => false, :type => "String"},
|
21
|
+
:answers => {:external => "answers", :container => true, :type => "Answer"}
|
22
22
|
|
23
23
|
}
|
24
24
|
end
|
@@ -8,15 +8,15 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:id => {:external => "id", :container => false, :type =>
|
12
|
-
:quiz_id => {:external => "quiz_id", :container => false, :type =>
|
13
|
-
:report_type => {:external => "report_type", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:quiz_id => {:external => "quiz_id", :container => false, :type => "Integer"},
|
13
|
+
:report_type => {:external => "report_type", :container => false, :type => "String"},
|
14
14
|
:includes_all_versions => {:external => "includes_all_versions", :container => false, :type => nil},
|
15
15
|
:anonymous => {:external => "anonymous", :container => false, :type => nil},
|
16
|
-
:created_at => {:external => "created_at", :container => false, :type =>
|
17
|
-
:updated_at => {:external => "updated_at", :container => false, :type =>
|
18
|
-
:file => {:external => "file", :container => false, :type =>
|
19
|
-
:progress_url => {:external => "progress_url", :container => false, :type =>
|
16
|
+
:created_at => {:external => "created_at", :container => false, :type => "DateTime"},
|
17
|
+
:updated_at => {:external => "updated_at", :container => false, :type => "DateTime"},
|
18
|
+
:file => {:external => "file", :container => false, :type => "File"},
|
19
|
+
:progress_url => {:external => "progress_url", :container => false, :type => "String"}
|
20
20
|
|
21
21
|
}
|
22
22
|
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
|
-
:report => {:external => "report", :container => false, :type =>
|
13
|
-
:file_url => {:external => "file_url", :container => false, :type =>
|
14
|
-
:status => {:external => "status", :container => false, :type =>
|
15
|
-
:parameters => {:external => "parameters", :container => false, :type =>
|
16
|
-
:progress => {:external => "progress", :container => false, :type =>
|
11
|
+
:id => {:external => "id", :container => false, :type => "Integer"},
|
12
|
+
:report => {:external => "report", :container => false, :type => "String"},
|
13
|
+
:file_url => {:external => "file_url", :container => false, :type => "String"},
|
14
|
+
:status => {:external => "status", :container => false, :type => "String"},
|
15
|
+
:parameters => {:external => "parameters", :container => false, :type => "ReportParameters"},
|
16
|
+
:progress => {:external => "progress", :container => false, :type => "String"}
|
17
17
|
|
18
18
|
}
|
19
19
|
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 ReportParameters < ModelBase
|
6
|
+
attr_accessor :enrollment_term_id, :include_deleted, :course_id, :order, :users, :accounts, :terms, :courses, :sections, :enrollments, :groups, :xlist, :start_at, :end_at, :sis_terms_csv, :sis_accounts_csv
|
7
|
+
|
8
|
+
|
9
|
+
def self.attribute_map
|
10
|
+
{
|
11
|
+
:enrollment_term_id => {:external => "enrollment_term_id", :container => false, :type => "Integer"},
|
12
|
+
:include_deleted => {:external => "include_deleted", :container => false, :type => nil},
|
13
|
+
:course_id => {:external => "course_id", :container => false, :type => "Integer"},
|
14
|
+
:order => {:external => "order", :container => false, :type => "String"},
|
15
|
+
:users => {:external => "users", :container => false, :type => nil},
|
16
|
+
:accounts => {:external => "accounts", :container => false, :type => nil},
|
17
|
+
:terms => {:external => "terms", :container => false, :type => nil},
|
18
|
+
:courses => {:external => "courses", :container => false, :type => nil},
|
19
|
+
:sections => {:external => "sections", :container => false, :type => nil},
|
20
|
+
:enrollments => {:external => "enrollments", :container => false, :type => nil},
|
21
|
+
:groups => {:external => "groups", :container => false, :type => nil},
|
22
|
+
:xlist => {:external => "xlist", :container => false, :type => nil},
|
23
|
+
:start_at => {:external => "start_at", :container => false, :type => "DateTime"},
|
24
|
+
:end_at => {:external => "end_at", :container => false, :type => "DateTime"},
|
25
|
+
:sis_terms_csv => {:external => "sis_terms_csv", :container => false, :type => "Integer"},
|
26
|
+
:sis_accounts_csv => {:external => "sis_accounts_csv", :container => false, :type => "Integer"}
|
27
|
+
|
28
|
+
}
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
data/lib/pandarus/models/role.rb
CHANGED
@@ -8,11 +8,11 @@ module Pandarus
|
|
8
8
|
|
9
9
|
def self.attribute_map
|
10
10
|
{
|
11
|
-
:role => {:external => "role", :container => false, :type =>
|
12
|
-
:base_role_type => {:external => "base_role_type", :container => false, :type =>
|
13
|
-
:account => {:external => "account", :container => false, :type =>
|
14
|
-
:workflow_state => {:external => "workflow_state", :container => false, :type =>
|
15
|
-
:permissions => {:external => "permissions", :container => false, :type =>
|
11
|
+
:role => {:external => "role", :container => false, :type => "String"},
|
12
|
+
:base_role_type => {:external => "base_role_type", :container => false, :type => "String"},
|
13
|
+
:account => {:external => "account", :container => false, :type => "Account"},
|
14
|
+
:workflow_state => {:external => "workflow_state", :container => false, :type => "String"},
|
15
|
+
:permissions => {:external => "permissions", :container => false, :type => "Map"}
|
16
16
|
|
17
17
|
}
|
18
18
|
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require "pandarus/model_base"
|
2
|
+
|
3
|
+
# This is an autogenerated file. See readme.md.
|
4
|
+
module Pandarus
|
5
|
+
class RubricCriteria < ModelBase
|
6
|
+
attr_accessor :points, :id, :description, :ratings
|
7
|
+
|
8
|
+
|
9
|
+
def self.attribute_map
|
10
|
+
{
|
11
|
+
:points => {:external => "points", :container => false, :type => "Integer"},
|
12
|
+
:id => {:external => "id", :container => false, :type => "String"},
|
13
|
+
:description => {:external => "description", :container => false, :type => "String"},
|
14
|
+
:ratings => {:external => "ratings", :container => true, :type => "RubricRating"}
|
15
|
+
|
16
|
+
}
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|