public static enum BoxTermsOfService.TermsOfServiceType extends Enum<BoxTermsOfService.TermsOfServiceType>
Enum Constant and Description |
---|
EXTERNAL
The terms of service is external to an enterprise.
|
MANAGED
The terms of service is managed by an enterprise.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a String containing terms of service type.
|
static BoxTermsOfService.TermsOfServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxTermsOfService.TermsOfServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxTermsOfService.TermsOfServiceType MANAGED
public static final BoxTermsOfService.TermsOfServiceType EXTERNAL
public static BoxTermsOfService.TermsOfServiceType[] values()
for (BoxTermsOfService.TermsOfServiceType c : BoxTermsOfService.TermsOfServiceType.values()) System.out.println(c);
public static BoxTermsOfService.TermsOfServiceType 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.TermsOfServiceType>