Package com.dropbox.core.v2.teamlog
Enum DefaultLinkExpirationDaysPolicy
- java.lang.Object
-
- java.lang.Enum<DefaultLinkExpirationDaysPolicy>
-
- com.dropbox.core.v2.teamlog.DefaultLinkExpirationDaysPolicy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DefaultLinkExpirationDaysPolicy>
public enum DefaultLinkExpirationDaysPolicy extends java.lang.Enum<DefaultLinkExpirationDaysPolicy>
Policy for the default number of days until an externally shared link expires
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DefaultLinkExpirationDaysPolicy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DefaultLinkExpirationDaysPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DAY_1
public static final DefaultLinkExpirationDaysPolicy DAY_1
-
DAY_180
public static final DefaultLinkExpirationDaysPolicy DAY_180
-
DAY_3
public static final DefaultLinkExpirationDaysPolicy DAY_3
-
DAY_30
public static final DefaultLinkExpirationDaysPolicy DAY_30
-
DAY_7
public static final DefaultLinkExpirationDaysPolicy DAY_7
-
DAY_90
public static final DefaultLinkExpirationDaysPolicy DAY_90
-
NONE
public static final DefaultLinkExpirationDaysPolicy NONE
-
YEAR_1
public static final DefaultLinkExpirationDaysPolicy YEAR_1
-
OTHER
public static final DefaultLinkExpirationDaysPolicy OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.
-
-
Method Detail
-
values
public static DefaultLinkExpirationDaysPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DefaultLinkExpirationDaysPolicy c : DefaultLinkExpirationDaysPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultLinkExpirationDaysPolicy valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-