## Uses of Class
com.independentsoft.exchange.Attachment

- Packages that use Attachment
  Package | Description
  --- | ---
  com.independentsoft.exchange |

- - ### Uses of Attachment in com.independentsoft.exchange

    Subclasses of Attachment in com.independentsoft.exchange
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FileAttachment` Represents a file that is attached to an item in the Exchange store.
    `class` | `ItemAttachment` Represents an Exchange item that is attached to another Exchange item.

    Methods in com.independentsoft.exchange that return Attachment
    Modifier and Type | Method and Description
    --- | ---
    `Attachment` | CreateAttachmentResponse.`getAttachment()` Gets the items or files that are attached to an item in the Exchange store.
    `Attachment` | Service.`getAttachment(AttachmentInfo attachmentInfo)` Retrieve existing attachment.
    `Attachment` | Service.`getAttachment(AttachmentInfo attachmentInfo, AttachmentShape attachmentShape)` Retrieve existing attachment.
    `Attachment` | Service.`getAttachment(java.lang.String attachmentId)` Retrieve existing attachment.
    `Attachment` | Service.`getAttachment(java.lang.String attachmentId, AttachmentShape attachmentShape)` Retrieve existing attachment.

    Methods in com.independentsoft.exchange that return types with arguments of type Attachment
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<Attachment>` | GetAttachmentResponse.`getAttachments()` Gets a collection of attachments.
    `java.util.List<Attachment>` | Service.`getAttachments(java.util.List<java.lang.String> attachmentIds)` Retrieve existing attachments.
    `java.util.List<Attachment>` | Service.`getAttachments(java.util.List<java.lang.String> attachmentIds, AttachmentShape attachmentShape)` Retrieve existing attachments.

    Methods in com.independentsoft.exchange with parameters of type Attachment
    Modifier and Type | Method and Description
    --- | ---
    `AttachmentId` | Service.`createAttachment(Attachment attachment, ItemId itemId)` Creates either an item or file attachment and attaches it to the specified item.
    `AttachmentId` | Service.`createAttachment(Attachment attachment, java.lang.String itemId)` Creates either an item or file attachment and attaches it to the specified item.

    Method parameters in com.independentsoft.exchange with type arguments of type Attachment
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<CreateAttachmentResponse>` | Service.`createAttachment(java.util.List<Attachment> attachments, ItemId itemId)` Creates attachments and attaches them to the specified item.
    `java.util.List<CreateAttachmentResponse>` | Service.`createAttachment(java.util.List<Attachment> attachments, java.lang.String itemId)` Creates attachments and attaches them to the specified item.