Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BrowserSharedCookie
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the comment property value.Gets the createdDateTime property value.Gets the deletedDateTime property value.Gets the displayName property value.The deserialization information for the current modelGets the history property value.Gets the hostOnly property value.Gets the hostOrDomain property value.Gets the lastModifiedBy property value.Gets the lastModifiedDateTime property value.getPath()
Gets the path property value.Gets the sourceEnvironment property value.Gets the status property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setComment
(String value) Sets the comment property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDeletedDateTime
(OffsetDateTime value) Sets the deletedDateTime property value.void
setDisplayName
(String value) Sets the displayName property value.void
setHistory
(List<BrowserSharedCookieHistory> value) Sets the history property value.void
setHostOnly
(Boolean value) Sets the hostOnly property value.void
setHostOrDomain
(String value) Sets the hostOrDomain property value.void
setLastModifiedBy
(IdentitySet value) Sets the lastModifiedBy property value.void
Sets the lastModifiedDateTime property value.void
Sets the path property value.void
Sets the sourceEnvironment property value.void
Sets the status property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
BrowserSharedCookie
public BrowserSharedCookie()Instantiates a newBrowserSharedCookie
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
Gets the comment property value. The comment for the shared cookie.- Returns:
- a
String
-
getCreatedDateTime
Gets the createdDateTime property value. The date and time when the shared cookie was created.- Returns:
- a
OffsetDateTime
-
getDeletedDateTime
Gets the deletedDateTime property value. The date and time when the shared cookie was deleted.- Returns:
- a
OffsetDateTime
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getHistory
Gets the history property value. The history of modifications applied to the cookie.- Returns:
- a
List<BrowserSharedCookieHistory>
-
getHostOnly
Gets the hostOnly property value. Controls whether a cookie is a host-only or domain cookie.- Returns:
- a
Boolean
-
getHostOrDomain
Gets the hostOrDomain property value. The URL of the cookie.- Returns:
- a
String
-
getLastModifiedBy
Gets the lastModifiedBy property value. The user who last modified the cookie.- Returns:
- a
IdentitySet
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. The date and time when the cookie was last modified.- Returns:
- a
OffsetDateTime
-
getPath
Gets the path property value. The path of the cookie.- Returns:
- a
String
-
getSourceEnvironment
Gets the sourceEnvironment property value. The sourceEnvironment property- Returns:
- a
BrowserSharedCookieSourceEnvironment
-
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 -
setComment
Sets the comment property value. The comment for the shared cookie.- Parameters:
value
- Value to set for the comment property.
-
setCreatedDateTime
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
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
Sets the displayName property value. The name of the cookie.- Parameters:
value
- Value to set for the displayName property.
-
setHistory
Sets the history property value. The history of modifications applied to the cookie.- Parameters:
value
- Value to set for the history property.
-
setHostOnly
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
Sets the hostOrDomain property value. The URL of the cookie.- Parameters:
value
- Value to set for the hostOrDomain property.
-
setLastModifiedBy
Sets the lastModifiedBy property value. The user who last modified the cookie.- Parameters:
value
- Value to set for the lastModifiedBy property.
-
setLastModifiedDateTime
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
Sets the path property value. The path of the cookie.- Parameters:
value
- Value to set for the path property.
-