Enum AvailabilityData
- java.lang.Object
-
- java.lang.Enum<AvailabilityData>
-
- microsoft.exchange.webservices.data.core.enumeration.availability.AvailabilityData
-
- All Implemented Interfaces:
Serializable,Comparable<AvailabilityData>
public enum AvailabilityData extends Enum<AvailabilityData>
Defines the type of data that can be requested via GetUserAvailability.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FreeBusyThe Free busy.FreeBusyAndSuggestionsThe Free busy and suggestions.SuggestionsThe Suggestions.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AvailabilityDatavalueOf(String name)Returns the enum constant of this type with the specified name.static AvailabilityData[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FreeBusy
public static final AvailabilityData FreeBusy
The Free busy.
-
Suggestions
public static final AvailabilityData Suggestions
The Suggestions.
-
FreeBusyAndSuggestions
public static final AvailabilityData FreeBusyAndSuggestions
The Free busy and suggestions.
-
-
Method Detail
-
values
public static AvailabilityData[] 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 (AvailabilityData c : AvailabilityData.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AvailabilityData valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-