Package odata.msgraph.client.complex
Class BrowserSiteHistory
- java.lang.Object
-
- odata.msgraph.client.complex.BrowserSiteHistory
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class BrowserSiteHistory extends Object implements com.github.davidmoten.odata.client.ODataType
“The history for the site modifications”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBrowserSiteHistory.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanallowRedirectprotected Stringcommentprotected BrowserSiteCompatibilityModecompatibilityModeprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IdentitySetlastModifiedByprotected BrowserSiteMergeTypemergeTypeprotected StringodataTypeprotected OffsetDateTimepublishedDateTimeprotected BrowserSiteTargetEnvironmenttargetEnvironmentprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedBrowserSiteHistory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BrowserSiteHistory.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAllowRedirect()“Boolean attribute that controls the behavior of redirected sites”Optional<String>getComment()“The content for the site”Optional<BrowserSiteCompatibilityMode>getCompatibilityMode()“Controls what compatibility setting is used for specific sites or domains”Optional<IdentitySet>getLastModifiedBy()“The user who modified the site”Optional<BrowserSiteMergeType>getMergeType()“The merge type of the site”Optional<OffsetDateTime>getPublishedDateTime()“The time the site was last published”Optional<BrowserSiteTargetEnvironment>getTargetEnvironment()“The render mode in Edge client that the site is supposed to open in”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()BrowserSiteHistorywithAllowRedirect(Boolean allowRedirect)Returns an immutable copy ofthiswith just theallowRedirectfield changed.BrowserSiteHistorywithComment(String comment)Returns an immutable copy ofthiswith just thecommentfield changed.BrowserSiteHistorywithCompatibilityMode(BrowserSiteCompatibilityMode compatibilityMode)Returns an immutable copy ofthiswith just thecompatibilityModefield changed.BrowserSiteHistorywithLastModifiedBy(IdentitySet lastModifiedBy)Returns an immutable copy ofthiswith just thelastModifiedByfield changed.BrowserSiteHistorywithMergeType(BrowserSiteMergeType mergeType)Returns an immutable copy ofthiswith just themergeTypefield changed.BrowserSiteHistorywithPublishedDateTime(OffsetDateTime publishedDateTime)Returns an immutable copy ofthiswith just thepublishedDateTimefield changed.BrowserSiteHistorywithTargetEnvironment(BrowserSiteTargetEnvironment targetEnvironment)Returns an immutable copy ofthiswith just thetargetEnvironmentfield changed.BrowserSiteHistorywithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
allowRedirect
protected Boolean allowRedirect
-
comment
protected String comment
-
compatibilityMode
protected BrowserSiteCompatibilityMode compatibilityMode
-
lastModifiedBy
protected IdentitySet lastModifiedBy
-
mergeType
protected BrowserSiteMergeType mergeType
-
publishedDateTime
protected OffsetDateTime publishedDateTime
-
targetEnvironment
protected BrowserSiteTargetEnvironment targetEnvironment
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAllowRedirect
public Optional<Boolean> getAllowRedirect()
“Boolean attribute that controls the behavior of redirected sites”- Returns:
- property allowRedirect
-
withAllowRedirect
public BrowserSiteHistory withAllowRedirect(Boolean allowRedirect)
Returns an immutable copy ofthiswith just theallowRedirectfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Boolean attribute that controls the behavior of redirected sites”
- Parameters:
allowRedirect- new value ofallowRedirectfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowRedirectfield changed
-
getComment
public Optional<String> getComment()
“The content for the site”- Returns:
- property comment
-
withComment
public BrowserSiteHistory withComment(String comment)
Returns an immutable copy ofthiswith just thecommentfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The content for the site”
- Parameters:
comment- new value ofcommentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecommentfield changed
-
getCompatibilityMode
public Optional<BrowserSiteCompatibilityMode> getCompatibilityMode()
“Controls what compatibility setting is used for specific sites or domains”- Returns:
- property compatibilityMode
-
withCompatibilityMode
public BrowserSiteHistory withCompatibilityMode(BrowserSiteCompatibilityMode compatibilityMode)
Returns an immutable copy ofthiswith just thecompatibilityModefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Controls what compatibility setting is used for specific sites or domains”
- Parameters:
compatibilityMode- new value ofcompatibilityModefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecompatibilityModefield changed
-
getLastModifiedBy
public Optional<IdentitySet> getLastModifiedBy()
“The user who modified the site”- Returns:
- property lastModifiedBy
-
withLastModifiedBy
public BrowserSiteHistory withLastModifiedBy(IdentitySet lastModifiedBy)
Returns an immutable copy ofthiswith just thelastModifiedByfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The user who modified the site”
- Parameters:
lastModifiedBy- new value oflastModifiedByfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedByfield changed
-
getMergeType
public Optional<BrowserSiteMergeType> getMergeType()
“The merge type of the site”- Returns:
- property mergeType
-
withMergeType
public BrowserSiteHistory withMergeType(BrowserSiteMergeType mergeType)
Returns an immutable copy ofthiswith just themergeTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The merge type of the site”
- Parameters:
mergeType- new value ofmergeTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themergeTypefield changed
-
getPublishedDateTime
public Optional<OffsetDateTime> getPublishedDateTime()
“The time the site was last published”- Returns:
- property publishedDateTime
-
withPublishedDateTime
public BrowserSiteHistory withPublishedDateTime(OffsetDateTime publishedDateTime)
Returns an immutable copy ofthiswith just thepublishedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The time the site was last published”
- Parameters:
publishedDateTime- new value ofpublishedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepublishedDateTimefield changed
-
getTargetEnvironment
public Optional<BrowserSiteTargetEnvironment> getTargetEnvironment()
“The render mode in Edge client that the site is supposed to open in”- Returns:
- property targetEnvironment
-
withTargetEnvironment
public BrowserSiteHistory withTargetEnvironment(BrowserSiteTargetEnvironment targetEnvironment)
Returns an immutable copy ofthiswith just thetargetEnvironmentfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The render mode in Edge client that the site is supposed to open in”
- Parameters:
targetEnvironment- new value oftargetEnvironmentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetEnvironmentfield changed
-
withUnmappedField
public BrowserSiteHistory withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static BrowserSiteHistory.Builder builder()
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
-
-