Class 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
  • Constructor Details

    • LearningAssignment

      public LearningAssignment()
      Instantiates a new LearningAssignment and 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

      @Nullable public OffsetDateTime getAssignedDateTime()
      Gets the assignedDateTime property value. Assigned date for the course activity. Optional.
      Returns:
      a OffsetDateTime
    • getAssignerUserId

      @Nullable public String getAssignerUserId()
      Gets the assignerUserId property value. The user ID of the assigner. Optional.
      Returns:
      a String
    • getAssignmentType

      @Nullable public AssignmentType getAssignmentType()
      Gets the assignmentType property value. The assignmentType property
      Returns:
      a AssignmentType
    • getDueDateTime

      @Nullable public DateTimeTimeZone 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class LearningCourseActivity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getNotes

      @Nullable public ItemBody 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class LearningCourseActivity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAssignedDateTime

      public void setAssignedDateTime(@Nullable OffsetDateTime value)
      Sets the assignedDateTime property value. Assigned date for the course activity. Optional.
      Parameters:
      value - Value to set for the assignedDateTime property.
    • setAssignerUserId

      public void setAssignerUserId(@Nullable String value)
      Sets the assignerUserId property value. The user ID of the assigner. Optional.
      Parameters:
      value - Value to set for the assignerUserId property.
    • setAssignmentType

      public void setAssignmentType(@Nullable AssignmentType value)
      Sets the assignmentType property value. The assignmentType property
      Parameters:
      value - Value to set for the assignmentType property.
    • setDueDateTime

      public void setDueDateTime(@Nullable DateTimeTimeZone value)
      Sets the dueDateTime property value. Due date for the course activity. Optional.
      Parameters:
      value - Value to set for the dueDateTime property.
    • setNotes

      public void setNotes(@Nullable ItemBody value)
      Sets the notes property value. Notes for the course activity. Optional.
      Parameters:
      value - Value to set for the notes property.