public class ListAssignmentGroupOptions extends BaseOptions
| Modifier and Type | Class and Description |
|---|---|
static class |
ListAssignmentGroupOptions.ExcludeSubmissionTypes |
static class |
ListAssignmentGroupOptions.Include |
optionsMap| Constructor and Description |
|---|
ListAssignmentGroupOptions(String courseId) |
| Modifier and Type | Method and Description |
|---|---|
ListAssignmentGroupOptions |
excludeAssignmentSubmissionTypes(List<ListAssignmentGroupOptions.ExcludeSubmissionTypes> toExclude)
If “assignments” are included, those with the specified submission types will be excluded
from the assignment groups.
|
String |
getCourseId() |
ListAssignmentGroupOptions |
gradingPeriodId(Integer periodId)
The id of the grading period in which assignment groups are being requested (Requires grading periods to exist.)
|
ListAssignmentGroupOptions |
includes(List<ListAssignmentGroupOptions.Include> includes)
Associations to include with the group.
|
ListAssignmentGroupOptions |
overrideAssignmentDates(Boolean overrideDates)
Apply assignment overrides to the assignment, defaults to true.
|
ListAssignmentGroupOptions |
scopeAssignmentsToStudent(Boolean scopeToStudent)
If true, all assignments returned will apply to the current user in the specified grading period.
|
addEnumList, addNumberList, addSingleItem, addStringList, getOptionsMappublic ListAssignmentGroupOptions(String courseId)
public String getCourseId()
public ListAssignmentGroupOptions includes(List<ListAssignmentGroupOptions.Include> includes)
includes - List of optional associations to include in the assignment request.public ListAssignmentGroupOptions excludeAssignmentSubmissionTypes(List<ListAssignmentGroupOptions.ExcludeSubmissionTypes> toExclude)
toExclude - A list of the types of assignments that will be excluded.public ListAssignmentGroupOptions overrideAssignmentDates(Boolean overrideDates)
overrideDates - Whether or not to apply overridepublic ListAssignmentGroupOptions gradingPeriodId(Integer periodId)
periodId - The ID of the appropriate periodpublic ListAssignmentGroupOptions scopeAssignmentsToStudent(Boolean scopeToStudent)
scopeToStudent - Whether or not all assignments will apply to the current user in the specified grading period.Copyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.