Package odata.msgraph.client.entity
Class LearningSelfInitiatedCourse
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.LearningCourseActivity
-
- odata.msgraph.client.entity.LearningSelfInitiatedCourse
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class LearningSelfInitiatedCourse extends LearningCourseActivity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLearningSelfInitiatedCourse.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimestartedDateTime-
Fields inherited from class odata.msgraph.client.entity.LearningCourseActivity
completedDateTime, completionPercentage, externalcourseActivityId, learnerUserId, learningContentId, learningProviderId, status
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLearningSelfInitiatedCourse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LearningSelfInitiatedCourse.BuilderbuilderLearningSelfInitiatedCourse()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getStartedDateTime()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()LearningSelfInitiatedCoursepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)LearningSelfInitiatedCourseput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()LearningSelfInitiatedCoursewithStartedDateTime(OffsetDateTime startedDateTime)LearningSelfInitiatedCoursewithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.LearningCourseActivity
builderLearningCourseActivity, getCompletedDateTime, getCompletionPercentage, getExternalcourseActivityId, getLearnerUserId, getLearningContentId, getLearningProviderId, getStatus, withCompletedDateTime, withCompletionPercentage, withExternalcourseActivityId, withLearnerUserId, withLearningContentId, withLearningProviderId, withStatus
-
-
-
-
Field Detail
-
startedDateTime
protected OffsetDateTime startedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classLearningCourseActivity
-
builderLearningSelfInitiatedCourse
public static LearningSelfInitiatedCourse.Builder builderLearningSelfInitiatedCourse()
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 classLearningCourseActivity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classLearningCourseActivity
-
getStartedDateTime
public Optional<OffsetDateTime> getStartedDateTime()
-
withStartedDateTime
public LearningSelfInitiatedCourse withStartedDateTime(OffsetDateTime startedDateTime)
-
withUnmappedField
public LearningSelfInitiatedCourse withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classLearningCourseActivity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classLearningCourseActivity
-
patch
public LearningSelfInitiatedCourse patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classLearningCourseActivity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public LearningSelfInitiatedCourse put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classLearningCourseActivity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classLearningCourseActivity
-
-