microsoft.exchange.webservices.data.core.response
Class CreateAttachmentResponse

java.lang.Object
  extended by microsoft.exchange.webservices.data.core.response.ServiceResponse
      extended by microsoft.exchange.webservices.data.core.response.CreateAttachmentResponse

public final class CreateAttachmentResponse
extends ServiceResponse

Represents the response to an individual attachment creation operation.


Constructor Summary
CreateAttachmentResponse(Attachment attachment)
          Initializes a new instance of the CreateAttachmentResponse class.
 
Method Summary
 Attachment getAttachment()
          Gets the attachment that was created.
protected  void readElementsFromXml(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateAttachmentResponse

public CreateAttachmentResponse(Attachment attachment)
Initializes a new instance of the CreateAttachmentResponse class.

Parameters:
attachment - the attachment
Method Detail

readElementsFromXml

protected void readElementsFromXml(EwsServiceXmlReader reader)
                            throws Exception
Reads response elements from XML.

Overrides:
readElementsFromXml in class ServiceResponse
Parameters:
reader - the reader
Throws:
Exception - the exception

getAttachment

public Attachment getAttachment()
Gets the attachment that was created.

Returns:
the attachment


Copyright © 2012–2015 Microsoft. All rights reserved.