Class DeleteAttachmentResponse
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.response.ServiceResponse
-
- microsoft.exchange.webservices.data.core.response.DeleteAttachmentResponse
-
public final class DeleteAttachmentResponse extends ServiceResponse
Represents the response to an individual attachment deletion operation.
-
-
Constructor Summary
Constructors Constructor Description DeleteAttachmentResponse(Attachment attachment)Initializes a new instance of the DeleteAttachmentResponse class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentgetAttachment()Gets the attachment that was deleted.protected voidreadElementsFromXml(EwsServiceXmlReader reader)Reads response elements from XML.-
Methods inherited from class microsoft.exchange.webservices.data.core.response.ServiceResponse
getBatchProcessingStopped, getErrorCode, getErrorDetails, getErrorMessage, getErrorProperties, getResult, internalThrowIfNecessary, loaded, loadExtraErrorDetailsFromXml, loadFromXml, mapErrorCodeToErrorMessage, parseMessageXml, setErrorMessage, throwIfNecessary
-
-
-
-
Constructor Detail
-
DeleteAttachmentResponse
public DeleteAttachmentResponse(Attachment attachment)
Initializes a new instance of the DeleteAttachmentResponse class.- Parameters:
attachment- the attachment
-
-
Method Detail
-
readElementsFromXml
protected void readElementsFromXml(EwsServiceXmlReader reader) throws ServiceLocalException, Exception
Reads response elements from XML.- Overrides:
readElementsFromXmlin classServiceResponse- Parameters:
reader- the reader- Throws:
ServiceLocalException- the service local exceptionException- the exception
-
getAttachment
public Attachment getAttachment()
Gets the attachment that was deleted.- Returns:
- the attachment
-
-