Package odata.msgraph.client.entity
Class LearningCourseActivity
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.LearningCourseActivity
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
LearningAssignment,LearningSelfInitiatedCourse
public class LearningCourseActivity extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLearningCourseActivity.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecompletedDateTimeprotected IntegercompletionPercentageprotected StringexternalcourseActivityIdprotected StringlearnerUserIdprotected StringlearningContentIdprotected StringlearningProviderIdprotected CourseStatusstatus-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLearningCourseActivity()
-
Method Summary
-
-
-
Field Detail
-
completedDateTime
protected OffsetDateTime completedDateTime
-
completionPercentage
protected Integer completionPercentage
-
externalcourseActivityId
protected String externalcourseActivityId
-
learnerUserId
protected String learnerUserId
-
learningContentId
protected String learningContentId
-
learningProviderId
protected String learningProviderId
-
status
protected CourseStatus status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderLearningCourseActivity
public static LearningCourseActivity.Builder builderLearningCourseActivity()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCompletedDateTime
public Optional<OffsetDateTime> getCompletedDateTime()
-
withCompletedDateTime
public LearningCourseActivity withCompletedDateTime(OffsetDateTime completedDateTime)
-
withCompletionPercentage
public LearningCourseActivity withCompletionPercentage(Integer completionPercentage)
-
withExternalcourseActivityId
public LearningCourseActivity withExternalcourseActivityId(String externalcourseActivityId)
-
withLearnerUserId
public LearningCourseActivity withLearnerUserId(String learnerUserId)
-
withLearningContentId
public LearningCourseActivity withLearningContentId(String learningContentId)
-
withLearningProviderId
public LearningCourseActivity withLearningProviderId(String learningProviderId)
-
getStatus
public Optional<CourseStatus> getStatus()
-
withStatus
public LearningCourseActivity withStatus(CourseStatus status)
-
withUnmappedField
public LearningCourseActivity withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public LearningCourseActivity patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public LearningCourseActivity put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-