protected static enum BoxAPIConnection.ResourceLinkType extends Enum<BoxAPIConnection.ResourceLinkType>
Enum Constant and Description |
---|
APIEndpoint
Resource URLs that point to an API endipoint such as https://api.box.com/2.0/files/:file_id.
|
SharedLink
Resource URLs that point to a resource that has been shared
such as https://example.box.com/s/qwertyuiop1234567890asdfghjk
or https://example.app.box.com/notes/0987654321?s=zxcvbnm1234567890asdfghjk.
|
Unknown
Catch-all default for resource links that are unknown.
|
Modifier and Type | Method and Description |
---|---|
static BoxAPIConnection.ResourceLinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxAPIConnection.ResourceLinkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxAPIConnection.ResourceLinkType Unknown
public static final BoxAPIConnection.ResourceLinkType APIEndpoint
public static final BoxAPIConnection.ResourceLinkType SharedLink
public static BoxAPIConnection.ResourceLinkType[] values()
for (BoxAPIConnection.ResourceLinkType c : BoxAPIConnection.ResourceLinkType.values()) System.out.println(c);
public static BoxAPIConnection.ResourceLinkType 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 null