Class BrowserSharedCookieHistory

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class BrowserSharedCookieHistory
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    • 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
      • comment

        protected String comment
      • displayName

        protected String displayName
      • hostOnly

        protected Boolean hostOnly
      • hostOrDomain

        protected String hostOrDomain
    • Constructor Detail

      • BrowserSharedCookieHistory

        protected BrowserSharedCookieHistory()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getComment

        public Optional<String> getComment()
        “The comment of the cookie”
        Returns:
        property comment
      • withComment

        public BrowserSharedCookieHistory 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 comment of the cookie”

        Parameters:
        comment - new value of comment field (as defined in service metadata)
        Returns:
        immutable copy of this with just the comment field changed
      • getDisplayName

        public Optional<String> getDisplayName()
        “The name of the cookie”
        Returns:
        property displayName
      • withDisplayName

        public BrowserSharedCookieHistory withDisplayName​(String displayName)
        Returns an immutable copy of this with just the displayName 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 name of the cookie”

        Parameters:
        displayName - new value of displayName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the displayName field changed
      • getHostOnly

        public Optional<Boolean> getHostOnly()
        “Boolean attribute that determines whether a cookie is a host-only or domain cookie”
        Returns:
        property hostOnly
      • withHostOnly

        public BrowserSharedCookieHistory withHostOnly​(Boolean hostOnly)
        Returns an immutable copy of this with just the hostOnly 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 determines whether a cookie is a host-only or domain cookie”

        Parameters:
        hostOnly - new value of hostOnly field (as defined in service metadata)
        Returns:
        immutable copy of this with just the hostOnly field changed
      • getHostOrDomain

        public Optional<String> getHostOrDomain()
        “The URL of the cookie”
        Returns:
        property hostOrDomain
      • withHostOrDomain

        public BrowserSharedCookieHistory withHostOrDomain​(String hostOrDomain)
        Returns an immutable copy of this with just the hostOrDomain 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 URL of the cookie”

        Parameters:
        hostOrDomain - new value of hostOrDomain field (as defined in service metadata)
        Returns:
        immutable copy of this with just the hostOrDomain field changed
      • getLastModifiedBy

        public Optional<IdentitySet> getLastModifiedBy()
        “The identity of the admin who last updated the cookie”
        Returns:
        property lastModifiedBy
      • withLastModifiedBy

        public BrowserSharedCookieHistory 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 identity of the admin who last updated the cookie”

        Parameters:
        lastModifiedBy - new value of lastModifiedBy field (as defined in service metadata)
        Returns:
        immutable copy of this with just the lastModifiedBy field changed
      • getPath

        public Optional<String> getPath()
        “The path of the cookie”
        Returns:
        property path
      • withPath

        public BrowserSharedCookieHistory withPath​(String path)
        Returns an immutable copy of this with just the path 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 path of the cookie”

        Parameters:
        path - new value of path field (as defined in service metadata)
        Returns:
        immutable copy of this with just the path field changed
      • getPublishedDateTime

        public Optional<OffsetDateTime> getPublishedDateTime()
        “The time the cookie was published”
        Returns:
        property publishedDateTime
      • withPublishedDateTime

        public BrowserSharedCookieHistory 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 cookie was published”

        Parameters:
        publishedDateTime - new value of publishedDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the publishedDateTime field changed
      • getSourceEnvironment

        public Optional<BrowserSharedCookieSourceEnvironment> getSourceEnvironment()
        “Specifies how the cookies are shared between Microsoft Edge and Internet Explorer”
        Returns:
        property sourceEnvironment
      • withSourceEnvironment

        public BrowserSharedCookieHistory withSourceEnvironment​(BrowserSharedCookieSourceEnvironment sourceEnvironment)
        Returns an immutable copy of this with just the sourceEnvironment 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.

        “Specifies how the cookies are shared between Microsoft Edge and Internet Explorer”

        Parameters:
        sourceEnvironment - new value of sourceEnvironment field (as defined in service metadata)
        Returns:
        immutable copy of this with just the sourceEnvironment 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 BrowserSharedCookieHistory.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