Class EducationAssignmentDefaults

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

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

    • EducationAssignmentDefaults

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

    • createFromDiscriminatorValue

      @Nonnull public static EducationAssignmentDefaults 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 EducationAssignmentDefaults
    • getAddedStudentAction

      @Nullable public EducationAddedStudentAction getAddedStudentAction()
      Gets the addedStudentAction property value. Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen.
      Returns:
      a EducationAddedStudentAction
    • getAddToCalendarAction

      @Nullable public EducationAddToCalendarOptions getAddToCalendarAction()
      Gets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none.
      Returns:
      a EducationAddToCalendarOptions
    • getDueTime

      @Nullable public LocalTime getDueTime()
      Gets the dueTime property value. Class-level default value for due time field. Default value is 23:59:00.
      Returns:
      a LocalTime
    • 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>>
    • getNotificationChannelUrl

      @Nullable public String getNotificationChannelUrl()
      Gets the notificationChannelUrl property value. Default Teams channel to which notifications are sent. Default value is null.
      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
    • setAddedStudentAction

      public void setAddedStudentAction(@Nullable EducationAddedStudentAction value)
      Sets the addedStudentAction property value. Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen.
      Parameters:
      value - Value to set for the addedStudentAction property.
    • setAddToCalendarAction

      public void setAddToCalendarAction(@Nullable EducationAddToCalendarOptions value)
      Sets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none.
      Parameters:
      value - Value to set for the addToCalendarAction property.
    • setDueTime

      public void setDueTime(@Nullable LocalTime value)
      Sets the dueTime property value. Class-level default value for due time field. Default value is 23:59:00.
      Parameters:
      value - Value to set for the dueTime property.
    • setNotificationChannelUrl

      public void setNotificationChannelUrl(@Nullable String value)
      Sets the notificationChannelUrl property value. Default Teams channel to which notifications are sent. Default value is null.
      Parameters:
      value - Value to set for the notificationChannelUrl property.