Class 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”
    • Constructor Detail

      • BrowserSiteHistory

        protected BrowserSiteHistory()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.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 of this with just the allowRedirect field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of allowRedirect field (as defined in service metadata)
        Returns:
        immutable copy of this with just the allowRedirect field changed
      • getComment

        public Optional<String> getComment()
        “The content for the site”
        Returns:
        property comment
      • withComment

        public BrowserSiteHistory withComment​(String comment)
        Returns an immutable copy of this with just the comment field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The content for the site”

        Parameters:
        comment - new value of comment field (as defined in service metadata)
        Returns:
        immutable copy of this with just the comment field 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 of this with just the compatibilityMode field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of compatibilityMode field (as defined in service metadata)
        Returns:
        immutable copy of this with just the compatibilityMode field 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 of this with just the lastModifiedBy field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of lastModifiedBy field (as defined in service metadata)
        Returns:
        immutable copy of this with just the lastModifiedBy field changed
      • withMergeType

        public BrowserSiteHistory withMergeType​(BrowserSiteMergeType mergeType)
        Returns an immutable copy of this with just the mergeType field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of mergeType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the mergeType field 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 of this with just the publishedDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of publishedDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the publishedDateTime field 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 of this with just the targetEnvironment field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. 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 of targetEnvironment field (as defined in service metadata)
        Returns:
        immutable copy of this with just the targetEnvironment field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.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