Package odata.msgraph.client.entity
Class LearningContent
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.LearningContent
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class LearningContent extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLearningContent.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<String>additionalTagsprotected StringadditionalTagsNextLinkprotected StringcontentWebUrlprotected List<String>contributorsprotected StringcontributorsNextLinkprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected Durationdurationprotected StringexternalIdprotected Stringformatprotected BooleanisActiveprotected BooleanisPremiumprotected BooleanisSearchableprotected StringlanguageTagprotected OffsetDateTimelastModifiedDateTimeprotected Levellevelprotected IntegernumberOfPagesprotected List<String>skillTagsprotected StringskillTagsNextLinkprotected StringsourceNameprotected StringthumbnailWebUrlprotected Stringtitle-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLearningContent()
-
Method Summary
-
-
-
Field Detail
-
additionalTagsNextLink
protected String additionalTagsNextLink
-
contentWebUrl
protected String contentWebUrl
-
contributorsNextLink
protected String contributorsNextLink
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
duration
protected Duration duration
-
externalId
protected String externalId
-
format
protected String format
-
isActive
protected Boolean isActive
-
isPremium
protected Boolean isPremium
-
isSearchable
protected Boolean isSearchable
-
languageTag
protected String languageTag
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
level
protected Level level
-
numberOfPages
protected Integer numberOfPages
-
skillTagsNextLink
protected String skillTagsNextLink
-
sourceName
protected String sourceName
-
thumbnailWebUrl
protected String thumbnailWebUrl
-
title
protected String title
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderLearningContent
public static LearningContent.Builder builderLearningContent()
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
-
getAdditionalTags
public com.github.davidmoten.odata.client.CollectionPage<String> getAdditionalTags()
-
withAdditionalTags
public LearningContent withAdditionalTags(List<String> additionalTags)
-
getAdditionalTags
public com.github.davidmoten.odata.client.CollectionPage<String> getAdditionalTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withContentWebUrl
public LearningContent withContentWebUrl(String contentWebUrl)
-
getContributors
public com.github.davidmoten.odata.client.CollectionPage<String> getContributors()
-
withContributors
public LearningContent withContributors(List<String> contributors)
-
getContributors
public com.github.davidmoten.odata.client.CollectionPage<String> getContributors(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public LearningContent withCreatedDateTime(OffsetDateTime createdDateTime)
-
withDescription
public LearningContent withDescription(String description)
-
withDuration
public LearningContent withDuration(Duration duration)
-
withExternalId
public LearningContent withExternalId(String externalId)
-
withFormat
public LearningContent withFormat(String format)
-
withIsActive
public LearningContent withIsActive(Boolean isActive)
-
withIsPremium
public LearningContent withIsPremium(Boolean isPremium)
-
withIsSearchable
public LearningContent withIsSearchable(Boolean isSearchable)
-
withLanguageTag
public LearningContent withLanguageTag(String languageTag)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public LearningContent withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
withLevel
public LearningContent withLevel(Level level)
-
withNumberOfPages
public LearningContent withNumberOfPages(Integer numberOfPages)
-
getSkillTags
public com.github.davidmoten.odata.client.CollectionPage<String> getSkillTags()
-
withSkillTags
public LearningContent withSkillTags(List<String> skillTags)
-
getSkillTags
public com.github.davidmoten.odata.client.CollectionPage<String> getSkillTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withSourceName
public LearningContent withSourceName(String sourceName)
-
withThumbnailWebUrl
public LearningContent withThumbnailWebUrl(String thumbnailWebUrl)
-
withTitle
public LearningContent withTitle(String title)
-
withUnmappedField
public LearningContent 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 LearningContent patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public LearningContent put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-