Class EducationSubmission

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.EducationSubmission
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class EducationSubmission extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • EducationSubmission

      public EducationSubmission()
      Instantiates a new EducationSubmission and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static EducationSubmission createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a EducationSubmission
    • getExcusedBy

      @Nullable public IdentitySet getExcusedBy()
      Gets the excusedBy property value. The user that marked the submission as excused.
      Returns:
      a IdentitySet
    • getExcusedDateTime

      @Nullable public OffsetDateTime getExcusedDateTime()
      Gets the excusedDateTime property value. The time that the submission was excused. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getOutcomes

      @Nullable public List<EducationOutcome> getOutcomes()
      Gets the outcomes property value. The outcomes property
      Returns:
      a List<EducationOutcome>
    • getReassignedBy

      @Nullable public IdentitySet getReassignedBy()
      Gets the reassignedBy property value. User who moved the status of this submission to reassigned.
      Returns:
      a IdentitySet
    • getReassignedDateTime

      @Nullable public OffsetDateTime getReassignedDateTime()
      Gets the reassignedDateTime property value. Moment in time when the submission was reassigned. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getRecipient

      @Nullable public EducationSubmissionRecipient getRecipient()
      Gets the recipient property value. Who this submission is assigned to.
      Returns:
      a EducationSubmissionRecipient
    • getResources

      @Nullable public List<EducationSubmissionResource> getResources()
      Gets the resources property value. The resources property
      Returns:
      a List<EducationSubmissionResource>
    • getResourcesFolderUrl

      @Nullable public String getResourcesFolderUrl()
      Gets the resourcesFolderUrl property value. Folder where all file resources for this submission need to be stored.
      Returns:
      a String
    • getReturnedBy

      @Nullable public IdentitySet getReturnedBy()
      Gets the returnedBy property value. User who moved the status of this submission to returned.
      Returns:
      a IdentitySet
    • getReturnedDateTime

      @Nullable public OffsetDateTime getReturnedDateTime()
      Gets the returnedDateTime property value. Moment in time when the submission was returned. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getStatus

      @Nullable public EducationSubmissionStatus getStatus()
      Gets the status property value. Read-only. Possible values are: excused, reassigned, returned, submitted and working. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned.
      Returns:
      a EducationSubmissionStatus
    • getSubmittedBy

      @Nullable public IdentitySet getSubmittedBy()
      Gets the submittedBy property value. User who moved the resource into the submitted state.
      Returns:
      a IdentitySet
    • getSubmittedDateTime

      @Nullable public OffsetDateTime getSubmittedDateTime()
      Gets the submittedDateTime property value. Moment in time when the submission was moved into the submitted state. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getSubmittedResources

      @Nullable public List<EducationSubmissionResource> getSubmittedResources()
      Gets the submittedResources property value. The submittedResources property
      Returns:
      a List<EducationSubmissionResource>
    • getUnsubmittedBy

      @Nullable public IdentitySet getUnsubmittedBy()
      Gets the unsubmittedBy property value. User who moved the resource from submitted into the working state.
      Returns:
      a IdentitySet
    • getUnsubmittedDateTime

      @Nullable public OffsetDateTime getUnsubmittedDateTime()
      Gets the unsubmittedDateTime property value. Moment in time when the submission was moved from submitted into the working state. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Returns:
      a OffsetDateTime
    • getWebUrl

      @Nullable public String getWebUrl()
      Gets the webUrl property value. The deep link URL for the given submission.
      Returns:
      a String
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setExcusedBy

      public void setExcusedBy(@Nullable IdentitySet value)
      Sets the excusedBy property value. The user that marked the submission as excused.
      Parameters:
      value - Value to set for the excusedBy property.
    • setExcusedDateTime

      public void setExcusedDateTime(@Nullable OffsetDateTime value)
      Sets the excusedDateTime property value. The time that the submission was excused. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the excusedDateTime property.
    • setOutcomes

      public void setOutcomes(@Nullable List<EducationOutcome> value)
      Sets the outcomes property value. The outcomes property
      Parameters:
      value - Value to set for the outcomes property.
    • setReassignedBy

      public void setReassignedBy(@Nullable IdentitySet value)
      Sets the reassignedBy property value. User who moved the status of this submission to reassigned.
      Parameters:
      value - Value to set for the reassignedBy property.
    • setReassignedDateTime

      public void setReassignedDateTime(@Nullable OffsetDateTime value)
      Sets the reassignedDateTime property value. Moment in time when the submission was reassigned. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the reassignedDateTime property.
    • setRecipient

      public void setRecipient(@Nullable EducationSubmissionRecipient value)
      Sets the recipient property value. Who this submission is assigned to.
      Parameters:
      value - Value to set for the recipient property.
    • setResources

      public void setResources(@Nullable List<EducationSubmissionResource> value)
      Sets the resources property value. The resources property
      Parameters:
      value - Value to set for the resources property.
    • setResourcesFolderUrl

      public void setResourcesFolderUrl(@Nullable String value)
      Sets the resourcesFolderUrl property value. Folder where all file resources for this submission need to be stored.
      Parameters:
      value - Value to set for the resourcesFolderUrl property.
    • setReturnedBy

      public void setReturnedBy(@Nullable IdentitySet value)
      Sets the returnedBy property value. User who moved the status of this submission to returned.
      Parameters:
      value - Value to set for the returnedBy property.
    • setReturnedDateTime

      public void setReturnedDateTime(@Nullable OffsetDateTime value)
      Sets the returnedDateTime property value. Moment in time when the submission was returned. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the returnedDateTime property.
    • setStatus

      public void setStatus(@Nullable EducationSubmissionStatus value)
      Sets the status property value. Read-only. Possible values are: excused, reassigned, returned, submitted and working. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: excused and reassigned.
      Parameters:
      value - Value to set for the status property.
    • setSubmittedBy

      public void setSubmittedBy(@Nullable IdentitySet value)
      Sets the submittedBy property value. User who moved the resource into the submitted state.
      Parameters:
      value - Value to set for the submittedBy property.
    • setSubmittedDateTime

      public void setSubmittedDateTime(@Nullable OffsetDateTime value)
      Sets the submittedDateTime property value. Moment in time when the submission was moved into the submitted state. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the submittedDateTime property.
    • setSubmittedResources

      public void setSubmittedResources(@Nullable List<EducationSubmissionResource> value)
      Sets the submittedResources property value. The submittedResources property
      Parameters:
      value - Value to set for the submittedResources property.
    • setUnsubmittedBy

      public void setUnsubmittedBy(@Nullable IdentitySet value)
      Sets the unsubmittedBy property value. User who moved the resource from submitted into the working state.
      Parameters:
      value - Value to set for the unsubmittedBy property.
    • setUnsubmittedDateTime

      public void setUnsubmittedDateTime(@Nullable OffsetDateTime value)
      Sets the unsubmittedDateTime property value. Moment in time when the submission was moved from submitted into the working state. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      Parameters:
      value - Value to set for the unsubmittedDateTime property.
    • setWebUrl

      public void setWebUrl(@Nullable String value)
      Sets the webUrl property value. The deep link URL for the given submission.
      Parameters:
      value - Value to set for the webUrl property.