using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace ElectronNET.API.Entities {
///
/// The cause of the change
///
[JsonConverter(typeof(StringEnumConverter))]
public enum CookieChangedCause
{
///
///The cookie was changed directly by a consumer's action.
///
[JsonProperty("explicit")]
@explicit,
///
/// The cookie was automatically removed due to an insert operation that overwrote it.
///
overwrite,
///
/// The cookie was automatically removed as it expired.
///
expired,
///
/// The cookie was automatically evicted during garbage collection.
///
evicted,
///
/// The cookie was overwritten with an already-expired expiration date.
///
[JsonProperty("expired_overwrite")]
expiredOverwrite
}
}