public enum GeoRestriction extends Enum<GeoRestriction>
Java class for GeoRestriction.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="GeoRestriction">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="LOCATION_OF_PRESENCE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
LOCATION_OF_PRESENCE
Indicates that request context should match the physical location of the user.
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static GeoRestriction |
fromValue(String v) |
String |
value() |
static GeoRestriction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoRestriction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoRestriction UNKNOWN
public static final GeoRestriction LOCATION_OF_PRESENCE
public static GeoRestriction[] values()
for (GeoRestriction c : GeoRestriction.values()) System.out.println(c);
public static GeoRestriction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static GeoRestriction fromValue(String v)
Copyright © 2023. All rights reserved.