public static enum BoxTermsOfService.TermsOfServiceStatus extends Enum<BoxTermsOfService.TermsOfServiceStatus>
Enum Constant and Description |
---|
DISABLED
The terms of service is disabled.
|
ENABLED
The terms of service is enabled.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a String containing current status of the terms of service.
|
static BoxTermsOfService.TermsOfServiceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxTermsOfService.TermsOfServiceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxTermsOfService.TermsOfServiceStatus ENABLED
public static final BoxTermsOfService.TermsOfServiceStatus DISABLED
public static BoxTermsOfService.TermsOfServiceStatus[] values()
for (BoxTermsOfService.TermsOfServiceStatus c : BoxTermsOfService.TermsOfServiceStatus.values()) System.out.println(c);
public static BoxTermsOfService.TermsOfServiceStatus 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 toString()
toString
in class Enum<BoxTermsOfService.TermsOfServiceStatus>