public enum ServiceLevel extends Enum<ServiceLevel>
Java class for ServiceLevel.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ServiceLevel">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="SelfServe"/>
<enumeration value="SelfServeTrusted"/>
<enumeration value="Premium"/>
<enumeration value="Internal"/>
<enumeration value="Select"/>
</restriction>
</simpleType>
Enum Constant and Description |
---|
INTERNAL |
PREMIUM |
SELECT |
SELF_SERVE |
SELF_SERVE_TRUSTED |
Modifier and Type | Method and Description |
---|---|
static ServiceLevel |
fromValue(String v) |
String |
value() |
static ServiceLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceLevel SELF_SERVE
public static final ServiceLevel SELF_SERVE_TRUSTED
public static final ServiceLevel PREMIUM
public static final ServiceLevel INTERNAL
public static final ServiceLevel SELECT
public static ServiceLevel[] values()
for (ServiceLevel c : ServiceLevel.values()) System.out.println(c);
public static ServiceLevel 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 ServiceLevel fromValue(String v)
Copyright © 2024. All rights reserved.