Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EducationAssignmentDefaults
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the addedStudentAction property value.Gets the addToCalendarAction property value.Gets the dueTime property value.The deserialization information for the current modelGets the notificationChannelUrl property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the addedStudentAction property value.void
Sets the addToCalendarAction property value.void
setDueTime
(LocalTime value) Sets the dueTime property value.void
setNotificationChannelUrl
(String value) Sets the notificationChannelUrl property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
EducationAssignmentDefaults
public EducationAssignmentDefaults()Instantiates a newEducationAssignmentDefaults
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
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
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
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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 -
setAddedStudentAction
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
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
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
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.
-