public final class OofSettings extends ComplexProperty implements ISelfValidate
Constructor and Description |
---|
OofSettings()
Initializes a new instance of OofSettings.
|
Modifier and Type | Method and Description |
---|---|
OofExternalAudience |
getAllowExternalOof()
Gets a value indicating the authorized external OOF notification.
|
TimeWindow |
getDuration()
Gets the duration of the OOF status when State is set to
OofState.Scheduled.
|
OofExternalAudience |
getExternalAudience()
Gets a value indicating who should receive external OOF messages.
|
OofReply |
getExternalReply()
Gets the OOF response sent to addresses outside the user's domain or
trusted domain.
|
OofReply |
getInternalReply()
Gets the OOF response sent other users in the user's domain or trusted
domain.
|
OofState |
getState()
Gets the user's OOF state.
|
void |
setAllowExternalOof(OofExternalAudience allowExternalOof)
Sets a value indicating the authorized external OOF notification.
|
void |
setDuration(TimeWindow duration)
Sets the duration of the OOF status when State is set to
OofState.Scheduled.
|
void |
setExternalAudience(OofExternalAudience externalAudience)
Sets a value indicating who should receive external OOF messages.
|
void |
setExternalReply(OofReply externalReply)
Sets the OOF response sent to addresses outside the user's domain or
trusted domain.
|
void |
setInternalReply(OofReply internalReply)
Sets the OOF response sent other users in the user's domain or trusted
domain.
|
void |
setState(OofState state)
Sets the user's OOF state.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
validate()
Validates this instance.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, writeAttributesToXml, writeToXml, writeToXml
public OofSettings()
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- The readerException
- the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ComplexProperty
writer
- The writerException
- the exceptionpublic void setState(OofState state)
state
- the new statepublic OofExternalAudience getExternalAudience()
public void setExternalAudience(OofExternalAudience externalAudience)
externalAudience
- the new external audiencepublic TimeWindow getDuration()
public void setDuration(TimeWindow duration)
duration
- the new durationpublic OofReply getInternalReply()
public void setInternalReply(OofReply internalReply)
internalReply
- the new internal replypublic OofReply getExternalReply()
public void setExternalReply(OofReply externalReply)
externalReply
- the new external replypublic OofExternalAudience getAllowExternalOof()
public void setAllowExternalOof(OofExternalAudience allowExternalOof)
allowExternalOof
- the new allow external oofpublic void validate() throws Exception
validate
in interface ISelfValidate
validate
in class ComplexProperty
Exception
- the exceptionCopyright © 2012–2015 Microsoft. All rights reserved.