public enum SharedLinkAccess extends Enum<SharedLinkAccess>
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 |
OPEN
The link can be accessed by anyone.
|
Modifier and Type | Method and Description |
---|---|
static SharedLinkAccess |
fromString(String string) |
static SharedLinkAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharedLinkAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharedLinkAccess DEFAULT
public static final SharedLinkAccess OPEN
public static final SharedLinkAccess COMPANY
public static final SharedLinkAccess COLLABORATORS
public static SharedLinkAccess[] values()
for (SharedLinkAccess c : SharedLinkAccess.values()) System.out.println(c);
public static SharedLinkAccess 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 static SharedLinkAccess fromString(String string)
Copyright © 2010–2017. All rights reserved.