Class LearningCourseActivity

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.LearningCourseActivity
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
Direct Known Subclasses:
LearningAssignment, LearningSelfInitiatedCourse

public class LearningCourseActivity extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Learning Course Activity.
  • Field Details

    • completedDateTime

      @SerializedName(value="completedDateTime", alternate="CompletedDateTime") @Expose @Nullable public OffsetDateTime completedDateTime
      The Completed Date Time. Date and time when the assignment was completed. Optional.
    • completionPercentage

      @SerializedName(value="completionPercentage", alternate="CompletionPercentage") @Expose @Nullable public Integer completionPercentage
      The Completion Percentage. The percentage completion value of the course activity. Optional.
    • externalcourseActivityId

      @SerializedName(value="externalcourseActivityId", alternate="ExternalcourseActivityId") @Expose @Nullable public String externalcourseActivityId
      The Externalcourse Activity Id. A course activity ID generated by the provider. Optional.
    • learnerUserId

      @SerializedName(value="learnerUserId", alternate="LearnerUserId") @Expose @Nullable public String learnerUserId
      The Learner User Id. The user ID of the learner to whom the activity is assigned. Required.
    • learningContentId

      @SerializedName(value="learningContentId", alternate="LearningContentId") @Expose @Nullable public String learningContentId
      The Learning Content Id. The ID of the learning content created in Viva Learning. Required.
    • learningProviderId

      @SerializedName(value="learningProviderId", alternate="LearningProviderId") @Expose @Nullable public String learningProviderId
      The Learning Provider Id. The registration ID of the provider. Required.
    • status

      @SerializedName(value="status", alternate="Status") @Expose @Nullable public CourseStatus status
      The Status. The status of the course activity. Possible values are: notStarted, inProgress, completed. Required.
  • Constructor Details

    • LearningCourseActivity

      public LearningCourseActivity()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to