Package com.dropbox.core.v2.teamcommon
Enum MemberSpaceLimitType
- java.lang.Object
-
- java.lang.Enum<MemberSpaceLimitType>
-
- com.dropbox.core.v2.teamcommon.MemberSpaceLimitType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MemberSpaceLimitType>
public enum MemberSpaceLimitType extends java.lang.Enum<MemberSpaceLimitType>
The type of the space limit imposed on a team member.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MemberSpaceLimitType.Serializer
For internal use only.
-
Enum Constant Summary
Enum Constants Enum Constant Description ALERT_ONLY
The team member has soft imposed space limit - the limit is used for display and for notifications.OFF
The team member does not have imposed space limit.OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.STOP_SYNC
The team member has hard imposed space limit - Dropbox file sync will stop after the limit is reached.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MemberSpaceLimitType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MemberSpaceLimitType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final MemberSpaceLimitType OFF
The team member does not have imposed space limit.
-
ALERT_ONLY
public static final MemberSpaceLimitType ALERT_ONLY
The team member has soft imposed space limit - the limit is used for display and for notifications.
-
STOP_SYNC
public static final MemberSpaceLimitType STOP_SYNC
The team member has hard imposed space limit - Dropbox file sync will stop after the limit is reached.
-
OTHER
public static final MemberSpaceLimitType 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 MemberSpaceLimitType[] 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 (MemberSpaceLimitType c : MemberSpaceLimitType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MemberSpaceLimitType 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
-
-