Class Article
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.Article
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Article extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = true
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = true
Org.OData.Capabilities.V1.SkipSupported
true
Org.OData.Capabilities.V1.SortRestrictions
Sortable = false
Org.OData.Capabilities.V1.TopSupported
true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classArticle.Builder
-
Field Summary
Fields Modifier and Type Field Description protected FormattedContentbodyprotected OffsetDateTimecreatedDateTimeprotected StringimageUrlprotected BooleanisFeaturedprotected OffsetDateTimelastUpdatedDateTimeprotected FormattedContentsummaryprotected List<String>tagsprotected StringtagsNextLinkprotected Stringtitle-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedArticle()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Article.BuilderbuilderArticle()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<FormattedContent>getBody()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()Optional<String>getImageUrl()ArticleIndicatorCollectionRequestgetIndicators()Optional<Boolean>getIsFeatured()Optional<OffsetDateTime>getLastUpdatedDateTime()Optional<FormattedContent>getSummary()com.github.davidmoten.odata.client.CollectionPage<String>getTags()com.github.davidmoten.odata.client.CollectionPage<String>getTags(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getTitle()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Articlepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Articleput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ArticlewithBody(FormattedContent body)ArticlewithCreatedDateTime(OffsetDateTime createdDateTime)ArticlewithImageUrl(String imageUrl)ArticlewithIsFeatured(Boolean isFeatured)ArticlewithLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)ArticlewithSummary(FormattedContent summary)ArticlewithTags(List<String> tags)ArticlewithTitle(String title)ArticlewithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
body
protected FormattedContent body
-
createdDateTime
protected OffsetDateTime createdDateTime
-
imageUrl
protected String imageUrl
-
isFeatured
protected Boolean isFeatured
-
lastUpdatedDateTime
protected OffsetDateTime lastUpdatedDateTime
-
summary
protected FormattedContent summary
-
tagsNextLink
protected String tagsNextLink
-
title
protected String title
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderArticle
public static Article.Builder builderArticle()
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
-
getBody
public Optional<FormattedContent> getBody()
-
withBody
public Article withBody(FormattedContent body)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public Article withCreatedDateTime(OffsetDateTime createdDateTime)
-
getLastUpdatedDateTime
public Optional<OffsetDateTime> getLastUpdatedDateTime()
-
withLastUpdatedDateTime
public Article withLastUpdatedDateTime(OffsetDateTime lastUpdatedDateTime)
-
getSummary
public Optional<FormattedContent> getSummary()
-
withSummary
public Article withSummary(FormattedContent summary)
-
getTags
public com.github.davidmoten.odata.client.CollectionPage<String> getTags()
-
getTags
public com.github.davidmoten.odata.client.CollectionPage<String> getTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public Article withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getIndicators
public ArticleIndicatorCollectionRequest getIndicators()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Article patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Article put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-