Class Suggestion
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.availability.Suggestion
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class Suggestion extends ComplexProperty
Represents a suggestion for a specific date.
-
-
Constructor Summary
Constructors Constructor Description Suggestion()Initializes a new instance of the Suggestion class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetDate()Gets the date and time of the suggestion.SuggestionQualitygetQuality()Gets the quality of the suggestion.Collection<TimeSuggestion>getTimeSuggestions()Gets a collection of suggested times within the suggested day.booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeElementsToXml, writeToXml, writeToXml
-
-
-
-
Constructor Detail
-
Suggestion
public Suggestion()
Initializes a new instance of the Suggestion class.
-
-
Method Detail
-
tryReadElementFromXml
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Tries to read element from XML.- Overrides:
tryReadElementFromXmlin classComplexProperty- Parameters:
reader- the reader- Returns:
- True if appropriate element was read.
- Throws:
Exception- the exception
-
getQuality
public SuggestionQuality getQuality()
Gets the quality of the suggestion.- Returns:
- the quality
-
getTimeSuggestions
public Collection<TimeSuggestion> getTimeSuggestions()
Gets a collection of suggested times within the suggested day.- Returns:
- the time suggestions
-
-