Class BrowserSharedCookie

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BrowserSharedCookie
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class BrowserSharedCookie extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • BrowserSharedCookie

      public BrowserSharedCookie()
      Instantiates a new BrowserSharedCookie and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static BrowserSharedCookie createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a BrowserSharedCookie
    • getComment

      @Nullable public String getComment()
      Gets the comment property value. The comment for the shared cookie.
      Returns:
      a String
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date and time when the shared cookie was created.
      Returns:
      a OffsetDateTime
    • getDeletedDateTime

      @Nullable public OffsetDateTime getDeletedDateTime()
      Gets the deletedDateTime property value. The date and time when the shared cookie was deleted.
      Returns:
      a OffsetDateTime
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The name of the cookie.
      Returns:
      a String
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getHistory

      @Nullable public List<BrowserSharedCookieHistory> getHistory()
      Gets the history property value. The history of modifications applied to the cookie.
      Returns:
      a List<BrowserSharedCookieHistory>
    • getHostOnly

      @Nullable public Boolean getHostOnly()
      Gets the hostOnly property value. Controls whether a cookie is a host-only or domain cookie.
      Returns:
      a Boolean
    • getHostOrDomain

      @Nullable public String getHostOrDomain()
      Gets the hostOrDomain property value. The URL of the cookie.
      Returns:
      a String
    • getLastModifiedBy

      @Nullable public IdentitySet getLastModifiedBy()
      Gets the lastModifiedBy property value. The user who last modified the cookie.
      Returns:
      a IdentitySet
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. The date and time when the cookie was last modified.
      Returns:
      a OffsetDateTime
    • getPath

      @Nullable public String getPath()
      Gets the path property value. The path of the cookie.
      Returns:
      a String
    • getSourceEnvironment

      @Nullable public BrowserSharedCookieSourceEnvironment getSourceEnvironment()
      Gets the sourceEnvironment property value. The sourceEnvironment property
      Returns:
      a BrowserSharedCookieSourceEnvironment
    • getStatus

      @Nullable public BrowserSharedCookieStatus getStatus()
      Gets the status property value. The status property
      Returns:
      a BrowserSharedCookieStatus
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setComment

      public void setComment(@Nullable String value)
      Sets the comment property value. The comment for the shared cookie.
      Parameters:
      value - Value to set for the comment property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date and time when the shared cookie was created.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDeletedDateTime

      public void setDeletedDateTime(@Nullable OffsetDateTime value)
      Sets the deletedDateTime property value. The date and time when the shared cookie was deleted.
      Parameters:
      value - Value to set for the deletedDateTime property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The name of the cookie.
      Parameters:
      value - Value to set for the displayName property.
    • setHistory

      public void setHistory(@Nullable List<BrowserSharedCookieHistory> value)
      Sets the history property value. The history of modifications applied to the cookie.
      Parameters:
      value - Value to set for the history property.
    • setHostOnly

      public void setHostOnly(@Nullable Boolean value)
      Sets the hostOnly property value. Controls whether a cookie is a host-only or domain cookie.
      Parameters:
      value - Value to set for the hostOnly property.
    • setHostOrDomain

      public void setHostOrDomain(@Nullable String value)
      Sets the hostOrDomain property value. The URL of the cookie.
      Parameters:
      value - Value to set for the hostOrDomain property.
    • setLastModifiedBy

      public void setLastModifiedBy(@Nullable IdentitySet value)
      Sets the lastModifiedBy property value. The user who last modified the cookie.
      Parameters:
      value - Value to set for the lastModifiedBy property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      Sets the lastModifiedDateTime property value. The date and time when the cookie was last modified.
      Parameters:
      value - Value to set for the lastModifiedDateTime property.
    • setPath

      public void setPath(@Nullable String value)
      Sets the path property value. The path of the cookie.
      Parameters:
      value - Value to set for the path property.
    • setSourceEnvironment

      public void setSourceEnvironment(@Nullable BrowserSharedCookieSourceEnvironment value)
      Sets the sourceEnvironment property value. The sourceEnvironment property
      Parameters:
      value - Value to set for the sourceEnvironment property.
    • setStatus

      public void setStatus(@Nullable BrowserSharedCookieStatus value)
      Sets the status property value. The status property
      Parameters:
      value - Value to set for the status property.