Package com.microsoft.graph.models
Class EducationAssignment
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.EducationAssignment
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class EducationAssignment
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Education Assignment.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Added Student Action.The Add To Calendar Action.The Allow Late Submissions.The Allow Students To Add Resources To Submission.The Assign Date Time.The Assigned Date Time.The Assign To.The Categories.The Class Id.The Close Date Time.The Created By.The Created Date Time.The Display Name.The Due Date Time.The Feedback Resources Folder Url.The Grading.The Instructions.The Last Modified By.The Last Modified Date Time.The Notification Channel Url.The Resources.The Resources Folder Url.The Rubric.The Status.The Submissions.The Web Url. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
addedStudentAction
@SerializedName(value="addedStudentAction", alternate="AddedStudentAction") @Expose @Nullable public EducationAddedStudentAction addedStudentActionThe Added Student Action. Optional field to control the assignment behavior for students who are added after the assignment is published. If not specified, defaults to none. Supported values are: none, assignIfOpen. For example, a teacher can use assignIfOpen to indicate that an assignment should be assigned to any new student who joins the class while the assignment is still open, and none to indicate that an assignment should not be assigned to new students. -
addToCalendarAction
@SerializedName(value="addToCalendarAction", alternate="AddToCalendarAction") @Expose @Nullable public EducationAddToCalendarOptions addToCalendarActionThe Add To Calendar Action. Optional field to control the assignment behavior for adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none. -
allowLateSubmissions
@SerializedName(value="allowLateSubmissions", alternate="AllowLateSubmissions") @Expose @Nullable public Boolean allowLateSubmissionsThe Allow Late Submissions. Identifies whether students can submit after the due date. If this property isn't specified during create, it defaults to true. -
allowStudentsToAddResourcesToSubmission
@SerializedName(value="allowStudentsToAddResourcesToSubmission", alternate="AllowStudentsToAddResourcesToSubmission") @Expose @Nullable public Boolean allowStudentsToAddResourcesToSubmissionThe Allow Students To Add Resources To Submission. Identifies whether students can add their own resources to a submission or if they can only modify resources added by the teacher. -
assignDateTime
@SerializedName(value="assignDateTime", alternate="AssignDateTime") @Expose @Nullable public OffsetDateTime assignDateTimeThe Assign Date Time. The date when the assignment should become active. If in the future, the assignment isn't shown to the student until this date. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z -
assignedDateTime
@SerializedName(value="assignedDateTime", alternate="AssignedDateTime") @Expose @Nullable public OffsetDateTime assignedDateTimeThe Assigned Date Time. The moment that the assignment was published to students and the assignment shows up on the students timeline. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z -
assignTo
@SerializedName(value="assignTo", alternate="AssignTo") @Expose @Nullable public EducationAssignmentRecipient assignToThe Assign To. Which users, or whole class should receive a submission object once the assignment is published. -
classId
The Class Id. Class which this assignment belongs. -
closeDateTime
@SerializedName(value="closeDateTime", alternate="CloseDateTime") @Expose @Nullable public OffsetDateTime closeDateTimeThe Close Date Time. Date when the assignment will be closed for submissions. This is an optional field that can be null if the assignment does not allowLateSubmissions or when the closeDateTime is the same as the dueDateTime. But if specified, then the closeDateTime must be greater than or equal to the dueDateTime. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z -
createdBy
@SerializedName(value="createdBy", alternate="CreatedBy") @Expose @Nullable public IdentitySet createdByThe Created By. Who created the assignment. -
createdDateTime
@SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTimeThe Created Date Time. Moment when the assignment was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. Name of the assignment. -
dueDateTime
@SerializedName(value="dueDateTime", alternate="DueDateTime") @Expose @Nullable public OffsetDateTime dueDateTimeThe Due Date Time. Date when the students assignment is due. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z -
feedbackResourcesFolderUrl
@SerializedName(value="feedbackResourcesFolderUrl", alternate="FeedbackResourcesFolderUrl") @Expose @Nullable public String feedbackResourcesFolderUrlThe Feedback Resources Folder Url. Folder URL where all the feedback file resources for this assignment are stored. -
grading
@SerializedName(value="grading", alternate="Grading") @Expose @Nullable public EducationAssignmentGradeType gradingThe Grading. How the assignment will be graded. -
instructions
@SerializedName(value="instructions", alternate="Instructions") @Expose @Nullable public EducationItemBody instructionsThe Instructions. Instructions for the assignment. This along with the display name tell the student what to do. -
lastModifiedBy
@SerializedName(value="lastModifiedBy", alternate="LastModifiedBy") @Expose @Nullable public IdentitySet lastModifiedByThe Last Modified By. Who last modified the assignment. -
lastModifiedDateTime
@SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose @Nullable public OffsetDateTime lastModifiedDateTimeThe Last Modified Date Time. Moment when the assignment was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z -
notificationChannelUrl
@SerializedName(value="notificationChannelUrl", alternate="NotificationChannelUrl") @Expose @Nullable public String notificationChannelUrlThe Notification Channel Url. Optional field to specify the URL of the channel to post the assignment publish notification. If not specified or null, defaults to the General channel. This field only applies to assignments where the assignTo value is educationAssignmentClassRecipient. Updating the notificationChannelUrl isn't allowed after the assignment has been published. -
resourcesFolderUrl
@SerializedName(value="resourcesFolderUrl", alternate="ResourcesFolderUrl") @Expose @Nullable public String resourcesFolderUrlThe Resources Folder Url. Folder URL where all the file resources for this assignment are stored. -
status
@SerializedName(value="status", alternate="Status") @Expose @Nullable public EducationAssignmentStatus statusThe Status. Status of the Assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned. -
webUrl
The Web Url. The deep link URL for the given assignment. -
categories
@SerializedName(value="categories", alternate="Categories") @Expose @Nullable public EducationCategoryCollectionPage categoriesThe Categories. When set, enables users to easily find assignments of a given type. Read-only. Nullable. -
resources
@SerializedName(value="resources", alternate="Resources") @Expose @Nullable public EducationAssignmentResourceCollectionPage resourcesThe Resources. Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable. -
rubric
The Rubric. When set, the grading rubric attached to this assignment. -
submissions
@SerializedName(value="submissions", alternate="Submissions") @Expose @Nullable public EducationSubmissionCollectionPage submissionsThe Submissions. Once published, there is a submission object for each student representing their work and grade. Read-only. Nullable.
-
-
Constructor Details
-
EducationAssignment
public EducationAssignment()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObject
in interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-