public static enum BoxSharedLink.Access extends java.lang.Enum<BoxSharedLink.Access>
| Enum Constant and Description |
|---|
COLLABORATORS
The link can be accessed by other collaborators.
|
COMPANY
The link can be accessed by other users within the company.
|
DEFAULT
The default access level for the user or enterprise.
|
OPEN
The link can be accessed by anyone.
|
| Modifier and Type | Method and Description |
|---|---|
static BoxSharedLink.Access |
fromString(java.lang.String text) |
java.lang.String |
toString() |
static BoxSharedLink.Access |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BoxSharedLink.Access[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxSharedLink.Access DEFAULT
public static final BoxSharedLink.Access OPEN
public static final BoxSharedLink.Access COMPANY
public static final BoxSharedLink.Access COLLABORATORS
public static BoxSharedLink.Access[] values()
for (BoxSharedLink.Access c : BoxSharedLink.Access.values()) System.out.println(c);
public static BoxSharedLink.Access valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static BoxSharedLink.Access fromString(java.lang.String text)
public java.lang.String toString()
toString in class java.lang.Enum<BoxSharedLink.Access>