Package odata.msgraph.client.entity
Class BaseSitePage
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.BaseItem
-
- odata.msgraph.client.entity.BaseSitePage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBaseSitePage.Builder
-
Field Summary
Fields Modifier and Type Field Description protected PageLayoutTypepageLayoutprotected PublicationFacetpublishingStateprotected Stringtitle-
Fields inherited from class odata.msgraph.client.entity.BaseItem
createdBy, createdDateTime, description, eTag, lastModifiedBy, lastModifiedDateTime, name, parentReference, webUrl
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseSitePage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BaseSitePage.BuilderbuilderBaseSitePage()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<PageLayoutType>getPageLayout()Optional<PublicationFacet>getPublishingState()Optional<String>getTitle()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()BaseSitePagepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)BaseSitePageput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()BaseSitePagewithPageLayout(PageLayoutType pageLayout)BaseSitePagewithPublishingState(PublicationFacet publishingState)BaseSitePagewithTitle(String title)BaseSitePagewithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.entity.BaseItem
getCreatedBy, getCreatedByUser, getCreatedDateTime, getDescription, getETag, getLastModifiedBy, getLastModifiedByUser, getLastModifiedDateTime, getName, getParentReference, getWebUrl, withCreatedBy, withCreatedDateTime, withDescription, withETag, withLastModifiedBy, withLastModifiedDateTime, withName, withParentReference, withWebUrl
-
-
-
-
Field Detail
-
pageLayout
protected PageLayoutType pageLayout
-
publishingState
protected PublicationFacet publishingState
-
title
protected String title
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classBaseItem
-
builderBaseSitePage
public static BaseSitePage.Builder builderBaseSitePage()
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 classBaseItem
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classBaseItem
-
getPageLayout
public Optional<PageLayoutType> getPageLayout()
-
withPageLayout
public BaseSitePage withPageLayout(PageLayoutType pageLayout)
-
getPublishingState
public Optional<PublicationFacet> getPublishingState()
-
withPublishingState
public BaseSitePage withPublishingState(PublicationFacet publishingState)
-
withTitle
public BaseSitePage withTitle(String title)
-
withUnmappedField
public BaseSitePage withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classBaseItem
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classBaseItem
-
patch
public BaseSitePage patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public BaseSitePage put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-