public final class SetUserOofSettingsRequest extends SimpleServiceRequestBase<ServiceResponse>
Constructor and Description |
---|
SetUserOofSettingsRequest(ExchangeService service)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
ServiceResponse |
execute()
Executes this request.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
OofSettings |
getOofSettings()
Gets the oof settings.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
String |
getSmtpAddress()
Gets the SMTP address.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
protected ServiceResponse |
parseResponse(EwsServiceXmlReader reader)
Parses the response.
|
void |
setOofSettings(OofSettings oofSettings)
Sets the oof settings.
|
void |
setSmtpAddress(String smtpAddress)
Sets the smtp address.
|
protected void |
validate()
Validate request.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes the elements to XML.
|
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public SetUserOofSettingsRequest(ExchangeService service) throws Exception
service
- the serviceException
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponse>
protected void validate() throws Exception
validate
in class ServiceRequestBase<ServiceResponse>
Exception
- the exceptionprotected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<ServiceResponse>
writer
- the writerException
- the exceptionprotected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponse>
protected ServiceResponse parseResponse(EwsServiceXmlReader reader) throws Exception
parseResponse
in class ServiceRequestBase<ServiceResponse>
reader
- The reader.Exception
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponse>
public ServiceResponse execute() throws Exception
Exception
- the exceptionpublic String getSmtpAddress()
public void setSmtpAddress(String smtpAddress)
smtpAddress
- the new smtp addresspublic OofSettings getOofSettings()
public void setOofSettings(OofSettings oofSettings)
oofSettings
- the new oof settingsCopyright © 2012–2015 Microsoft. All rights reserved.