Package com.microsoft.graph.models
Class LearningAssignment
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.LearningCourseActivity
com.microsoft.graph.models.LearningAssignment
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class LearningAssignment
extends LearningCourseActivity
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 LearningAssignmentcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the assignedDateTime property value.Gets the assignerUserId property value.Gets the assignmentType property value.Gets the dueDateTime property value.The deserialization information for the current modelgetNotes()Gets the notes property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the assignedDateTime property value.voidsetAssignerUserId(String value) Sets the assignerUserId property value.voidsetAssignmentType(AssignmentType value) Sets the assignmentType property value.voidsetDueDateTime(DateTimeTimeZone value) Sets the dueDateTime property value.voidSets the notes property value.Methods inherited from class com.microsoft.graph.models.LearningCourseActivity
getCompletedDateTime, getCompletionPercentage, getExternalcourseActivityId, getLearnerUserId, getLearningContentId, getLearningProviderId, getStatus, setCompletedDateTime, setCompletionPercentage, setExternalcourseActivityId, setLearnerUserId, setLearningContentId, setLearningProviderId, setStatusMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
LearningAssignment
public LearningAssignment()Instantiates a newLearningAssignmentand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static LearningAssignment 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
LearningAssignment
-
getAssignedDateTime
Gets the assignedDateTime property value. Assigned date for the course activity. Optional.- Returns:
- a
OffsetDateTime
-
getAssignerUserId
Gets the assignerUserId property value. The user ID of the assigner. Optional.- Returns:
- a
String
-
getAssignmentType
Gets the assignmentType property value. The assignmentType property- Returns:
- a
AssignmentType
-
getDueDateTime
Gets the dueDateTime property value. Due date for the course activity. Optional.- Returns:
- a
DateTimeTimeZone
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classLearningCourseActivity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getNotes
Gets the notes property value. Notes for the course activity. Optional.- Returns:
- a
ItemBody
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classLearningCourseActivity- Parameters:
writer- Serialization writer to use to serialize this model
-
setAssignedDateTime
Sets the assignedDateTime property value. Assigned date for the course activity. Optional.- Parameters:
value- Value to set for the assignedDateTime property.
-
setAssignerUserId
Sets the assignerUserId property value. The user ID of the assigner. Optional.- Parameters:
value- Value to set for the assignerUserId property.
-
setAssignmentType
Sets the assignmentType property value. The assignmentType property- Parameters:
value- Value to set for the assignmentType property.
-
setDueDateTime
Sets the dueDateTime property value. Due date for the course activity. Optional.- Parameters:
value- Value to set for the dueDateTime property.
-
setNotes
Sets the notes property value. Notes for the course activity. Optional.- Parameters:
value- Value to set for the notes property.
-