microsoft.exchange.webservices.data
Enum AvailabilityData

java.lang.Object
  extended by java.lang.Enum<AvailabilityData>
      extended by microsoft.exchange.webservices.data.AvailabilityData
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AvailabilityData>

public enum AvailabilityData
extends java.lang.Enum<AvailabilityData>

Defines the type of data that can be requested via GetUserAvailability.


Enum Constant Summary
FreeBusy
          The Free busy.
FreeBusyAndSuggestions
          The Free busy and suggestions.
Suggestions
          The Suggestions.
 
Method Summary
static AvailabilityData valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(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 name
java.lang.NullPointerException - if the argument is null