public final class AvailabilityOptions extends Object
Constructor and Description |
---|
AvailabilityOptions()
Initializes a new instance of the AvailabilityOptions class.
|
Modifier and Type | Method and Description |
---|---|
Date |
getCurrentMeetingTime()
Gets the start time of a meeting that you want to update with the
suggested meeting times.
|
TimeWindow |
getDetailedSuggestionsWindow()
Gets the time window for which detailed information about
suggested meeting times should be returned.
|
String |
getGlobalObjectId()
Gets the global object Id of a meeting that will be modified
based on the data returned by GetUserAvailability.
|
int |
getGoodSuggestionThreshold()
Gets the percentage of attendees that must have the time period
open for the time period to qualify as a good suggested meeting time.
|
int |
getMaximumNonWorkHoursSuggestionsPerDay()
Gets the number of suggested meeting times outside regular
working hours per day.
|
int |
getMaximumSuggestionsPerDay()
Gets the number of suggested meeting times that should be
returned per day.
|
int |
getMeetingDuration()
Gets the duration, in minutes, of the meeting for which to obtain
suggestions.
|
int |
getMergedFreeBusyInterval()
Gets the time difference between two successive slots in a
FreeBusyMerged view.
|
SuggestionQuality |
getMinimumSuggestionQuality()
Gets the minimum quality of suggestions that should be returned.
|
FreeBusyViewType |
getRequestedFreeBusyView()
Gets the requested type of free/busy view.
|
void |
setCurrentMeetingTime(Date value)
Sets the current meeting time.
|
void |
setDetailedSuggestionsWindow(TimeWindow value)
Sets the detailed suggestions window.
|
void |
setGlobalObjectId(String value)
Sets the global object id.
|
void |
setGoodSuggestionThreshold(int value)
Sets the good suggestion threshold.
|
void |
setMaximumNonWorkHoursSuggestionsPerDay(int value)
Sets the maximum non work hours suggestions per day.
|
void |
setMaximumSuggestionsPerDay(int value)
Sets the maximum suggestions per day.
|
void |
setMeetingDuration(int value)
Sets the meeting duration.
|
void |
setMergedFreeBusyInterval(int value)
Sets the merged free busy interval.
|
void |
setMinimumSuggestionQuality(SuggestionQuality value)
Sets the minimum suggestion quality.
|
void |
setRequestedFreeBusyView(FreeBusyViewType value)
Sets the requested free busy view.
|
void |
validate(long timeWindow)
Validates this instance against the specified time window.
|
void |
writeToXml(EwsServiceXmlWriter writer,
GetUserAvailabilityRequest request)
Writes to XML.
|
public AvailabilityOptions()
public void validate(long timeWindow) throws Exception
timeWindow
- the time windowException
- the exceptionpublic void writeToXml(EwsServiceXmlWriter writer, GetUserAvailabilityRequest request) throws Exception
writer
- the writerrequest
- the requestException
- the exceptionpublic int getMergedFreeBusyInterval()
public void setMergedFreeBusyInterval(int value)
value
- the new merged free busy intervalpublic FreeBusyViewType getRequestedFreeBusyView()
public void setRequestedFreeBusyView(FreeBusyViewType value)
value
- the new requested free busy viewpublic int getGoodSuggestionThreshold()
public void setGoodSuggestionThreshold(int value)
value
- the new good suggestion thresholdpublic int getMaximumSuggestionsPerDay()
public void setMaximumSuggestionsPerDay(int value)
value
- the new maximum suggestions per daypublic int getMaximumNonWorkHoursSuggestionsPerDay()
public void setMaximumNonWorkHoursSuggestionsPerDay(int value)
value
- the new maximum non work hours suggestions per daypublic int getMeetingDuration()
public void setMeetingDuration(int value)
value
- the new meeting durationpublic SuggestionQuality getMinimumSuggestionQuality()
public void setMinimumSuggestionQuality(SuggestionQuality value)
value
- the new minimum suggestion qualitypublic TimeWindow getDetailedSuggestionsWindow()
public void setDetailedSuggestionsWindow(TimeWindow value)
value
- the new detailed suggestions windowpublic Date getCurrentMeetingTime()
public void setCurrentMeetingTime(Date value)
value
- the new current meeting timepublic String getGlobalObjectId()
public void setGlobalObjectId(String value)
value
- the new global object idCopyright © 2012–2015 Microsoft. All rights reserved.