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 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LearningContent.BuilderbuilderLearningContent()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.CollectionPage<String>getAdditionalTags()com.github.davidmoten.odata.client.CollectionPage<String>getAdditionalTags(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getContentWebUrl()com.github.davidmoten.odata.client.CollectionPage<String>getContributors()com.github.davidmoten.odata.client.CollectionPage<String>getContributors(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<OffsetDateTime>getCreatedDateTime()Optional<String>getDescription()Optional<Duration>getDuration()Optional<String>getExternalId()Optional<String>getFormat()Optional<Boolean>getIsActive()Optional<Boolean>getIsPremium()Optional<Boolean>getIsSearchable()Optional<String>getLanguageTag()Optional<OffsetDateTime>getLastModifiedDateTime()Optional<Integer>getNumberOfPages()com.github.davidmoten.odata.client.CollectionPage<String>getSkillTags()com.github.davidmoten.odata.client.CollectionPage<String>getSkillTags(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getSourceName()Optional<String>getThumbnailWebUrl()Optional<String>getTitle()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()LearningContentpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)LearningContentput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()LearningContentwithAdditionalTags(List<String> additionalTags)LearningContentwithContentWebUrl(String contentWebUrl)LearningContentwithContributors(List<String> contributors)LearningContentwithCreatedDateTime(OffsetDateTime createdDateTime)LearningContentwithDescription(String description)LearningContentwithDuration(Duration duration)LearningContentwithExternalId(String externalId)LearningContentwithFormat(String format)LearningContentwithIsActive(Boolean isActive)LearningContentwithIsPremium(Boolean isPremium)LearningContentwithIsSearchable(Boolean isSearchable)LearningContentwithLanguageTag(String languageTag)LearningContentwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)LearningContentwithNumberOfPages(Integer numberOfPages)LearningContentwithSkillTags(List<String> skillTags)LearningContentwithSourceName(String sourceName)LearningContentwithThumbnailWebUrl(String thumbnailWebUrl)LearningContentwithTitle(String title)LearningContentwithUnmappedField(String name, Object value)
-
-
-
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
-
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)
-
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).
-
-