public final class PlayOnPhoneRequest extends SimpleServiceRequestBase<PlayOnPhoneResponse>
Constructor and Description |
---|
PlayOnPhoneRequest(ExchangeService service)
Initializes a new instance of the PlayOnPhoneRequest class.
|
Modifier and Type | Method and Description |
---|---|
PlayOnPhoneResponse |
execute()
Executes this request.
|
protected String |
getDialString()
Gets the dial string.
|
protected ItemId |
getItemId()
Gets the item id of the message to play.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
protected PlayOnPhoneResponse |
parseResponse(EwsServiceXmlReader reader)
Parses the response.
|
void |
setDialString(String dialString)
Sets the dial string.
|
void |
setItemId(ItemId itemId)
Sets the item id.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.
|
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validate, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public PlayOnPhoneRequest(ExchangeService service) throws Exception
service
- the serviceException
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<PlayOnPhoneResponse>
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<PlayOnPhoneResponse>
writer
- the writerException
- the exceptionprotected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<PlayOnPhoneResponse>
protected PlayOnPhoneResponse parseResponse(EwsServiceXmlReader reader) throws Exception
parseResponse
in class ServiceRequestBase<PlayOnPhoneResponse>
reader
- The reader.Exception
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<PlayOnPhoneResponse>
public PlayOnPhoneResponse execute() throws Exception
Exception
- the exceptionprotected ItemId getItemId()
public void setItemId(ItemId itemId)
itemId
- the new item idprotected String getDialString()
public void setDialString(String dialString)
dialString
- the new dial stringCopyright © 2012–2015 Microsoft. All rights reserved.