Package com.exoscale.sdk.model
Enum JsonSchemaGrafana.CookieSamesiteEnum
- java.lang.Object
-
- java.lang.Enum<JsonSchemaGrafana.CookieSamesiteEnum>
-
- com.exoscale.sdk.model.JsonSchemaGrafana.CookieSamesiteEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<JsonSchemaGrafana.CookieSamesiteEnum>
- Enclosing class:
- JsonSchemaGrafana
public static enum JsonSchemaGrafana.CookieSamesiteEnum extends Enum<JsonSchemaGrafana.CookieSamesiteEnum>
Gets or Sets cookieSamesite
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonSchemaGrafana.CookieSamesiteEnum
fromValue(String value)
String
getValue()
String
toString()
static JsonSchemaGrafana.CookieSamesiteEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static JsonSchemaGrafana.CookieSamesiteEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LAX
public static final JsonSchemaGrafana.CookieSamesiteEnum LAX
-
STRICT
public static final JsonSchemaGrafana.CookieSamesiteEnum STRICT
-
NONE
public static final JsonSchemaGrafana.CookieSamesiteEnum NONE
-
-
Method Detail
-
values
public static JsonSchemaGrafana.CookieSamesiteEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JsonSchemaGrafana.CookieSamesiteEnum c : JsonSchemaGrafana.CookieSamesiteEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonSchemaGrafana.CookieSamesiteEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<JsonSchemaGrafana.CookieSamesiteEnum>
-
fromValue
public static JsonSchemaGrafana.CookieSamesiteEnum fromValue(String value)
-
-