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 Details

    • addedStudentAction

      @SerializedName(value="addedStudentAction", alternate="AddedStudentAction") @Expose @Nullable public EducationAddedStudentAction addedStudentAction
      The 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 addToCalendarAction
      The 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 allowLateSubmissions
      The 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 allowStudentsToAddResourcesToSubmission
      The 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 assignDateTime
      The 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 assignedDateTime
      The 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 assignTo
      The Assign To. Which users, or whole class should receive a submission object once the assignment is published.
    • classId

      @SerializedName(value="classId", alternate="ClassId") @Expose @Nullable public String classId
      The Class Id. Class which this assignment belongs.
    • closeDateTime

      @SerializedName(value="closeDateTime", alternate="CloseDateTime") @Expose @Nullable public OffsetDateTime closeDateTime
      The 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 createdBy
      The Created By. Who created the assignment.
    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The 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 displayName
      The Display Name. Name of the assignment.
    • dueDateTime

      @SerializedName(value="dueDateTime", alternate="DueDateTime") @Expose @Nullable public OffsetDateTime dueDateTime
      The 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 feedbackResourcesFolderUrl
      The 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 grading
      The Grading. How the assignment will be graded.
    • instructions

      @SerializedName(value="instructions", alternate="Instructions") @Expose @Nullable public EducationItemBody instructions
      The 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 lastModifiedBy
      The Last Modified By. Who last modified the assignment.
    • lastModifiedDateTime

      @SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose @Nullable public OffsetDateTime lastModifiedDateTime
      The 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 notificationChannelUrl
      The 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 resourcesFolderUrl
      The 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 status
      The Status. Status of the Assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned.
    • webUrl

      @SerializedName(value="webUrl", alternate="WebUrl") @Expose @Nullable public String webUrl
      The Web Url. The deep link URL for the given assignment.
    • categories

      @SerializedName(value="categories", alternate="Categories") @Expose @Nullable public EducationCategoryCollectionPage categories
      The 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 resources
      The Resources. Learning objects that are associated with this assignment. Only teachers can modify this list. Nullable.
    • rubric

      @SerializedName(value="rubric", alternate="Rubric") @Expose @Nullable public EducationRubric rubric
      The Rubric. When set, the grading rubric attached to this assignment.
    • submissions

      @SerializedName(value="submissions", alternate="Submissions") @Expose @Nullable public EducationSubmissionCollectionPage submissions
      The 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 interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to