Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BrowserSharedCookieHistorycreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the comment property value.Gets the displayName property value.The deserialization information for the current modelGets the hostOnly property value.Gets the hostOrDomain property value.Gets the lastModifiedBy property value.Gets the @odata.type property value.getPath()Gets the path property value.Gets the publishedDateTime property value.Gets the sourceEnvironment property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetComment(String value) Sets the comment property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetHostOnly(Boolean value) Sets the hostOnly property value.voidsetHostOrDomain(String value) Sets the hostOrDomain property value.voidsetLastModifiedBy(IdentitySet value) Sets the lastModifiedBy property value.voidsetOdataType(String value) Sets the @odata.type property value.voidSets the path property value.voidSets the publishedDateTime property value.voidSets the sourceEnvironment property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
BrowserSharedCookieHistory
public BrowserSharedCookieHistory()Instantiates a newBrowserSharedCookieHistoryand 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
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getComment
Gets the comment property value. The comment for the shared cookie.- Returns:
- a
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 -
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 lastModifiedBy property- Returns:
- a
IdentitySet
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getPath
Gets the path property value. The path of the cookie.- Returns:
- a
String
-
getPublishedDateTime
Gets the publishedDateTime property value. The date and time when the cookie was last published.- Returns:
- a
OffsetDateTime
-
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
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
Sets the comment property value. The comment for the shared cookie.- Parameters:
value- Value to set for the comment property.
-
setDisplayName
Sets the displayName property value. The name of the cookie.- Parameters:
value- Value to set for the displayName 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 lastModifiedBy property- Parameters:
value- Value to set for the lastModifiedBy property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setPath
Sets the path property value. The path of the cookie.- Parameters:
value- Value to set for the path property.
-
setPublishedDateTime
Sets the publishedDateTime property value. The date and time when the cookie was last published.- Parameters:
value- Value to set for the publishedDateTime property.
-