Class BrowserSharedCookieHistory

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

@Generated("com.microsoft.kiota") public class BrowserSharedCookieHistory extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • BrowserSharedCookieHistory

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

    • createFromDiscriminatorValue

      @Nonnull public static BrowserSharedCookieHistory 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 BrowserSharedCookieHistory
    • getAdditionalData

      @Nonnull public Map<String,Object> getAdditionalData()
      Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getComment

      @Nullable public String getComment()
      Gets the comment property value. The comment for the shared cookie.
      Returns:
      a String
    • 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
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • 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 lastModifiedBy property
      Returns:
      a IdentitySet
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getPath

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

      @Nullable public OffsetDateTime getPublishedDateTime()
      Gets the publishedDateTime property value. The date and time when the cookie was last published.
      Returns:
      a OffsetDateTime
    • getSourceEnvironment

      @Nullable public BrowserSharedCookieSourceEnvironment getSourceEnvironment()
      Gets the sourceEnvironment property value. Specifies how the cookies are shared between Microsoft Edge and Internet Explorer. The possible values are: microsoftEdge, internetExplorer11, both, unknownFutureValue.
      Returns:
      a BrowserSharedCookieSourceEnvironment
    • 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
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Parameters:
      value - Value to set for the AdditionalData property.
    • setBackingStore

      public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value)
      Sets the backingStore property value. Stores model information.
      Parameters:
      value - Value to set for the backingStore property.
    • 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.
    • 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.
    • 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 lastModifiedBy property
      Parameters:
      value - Value to set for the lastModifiedBy property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type 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.
    • setPublishedDateTime

      public void setPublishedDateTime(@Nullable OffsetDateTime value)
      Sets the publishedDateTime property value. The date and time when the cookie was last published.
      Parameters:
      value - Value to set for the publishedDateTime property.
    • setSourceEnvironment

      public void setSourceEnvironment(@Nullable BrowserSharedCookieSourceEnvironment value)
      Sets the sourceEnvironment property value. Specifies how the cookies are shared between Microsoft Edge and Internet Explorer. The possible values are: microsoftEdge, internetExplorer11, both, unknownFutureValue.
      Parameters:
      value - Value to set for the sourceEnvironment property.