GetAttachment method
      
Future<void> 
GetAttachment(
    
- Attachment attachment,
- BodyType? bodyType,
- Iterable<PropertyDefinitionBase> ? additionalProperties
Implementation
//ServiceResponseCollection<GetAttachmentResponse> GetAttachments(
//            Attachment[] attachments,
//            BodyType? bodyType,
//            Iterable<PropertyDefinitionBase> additionalProperties)
//        {
//            return this.InternalGetAttachments(
//                attachments,
//                bodyType,
//                additionalProperties,
//                ServiceErrorHandling.ReturnErrors);
//        }
/// <summary>
/// Gets attachments.
/// </summary>
/// <param name="attachmentIds">The attachment ids.</param>
/// <param name="bodyType">Type of the body.</param>
/// <param name="additionalProperties">The additional properties.</param>
/// <returns>Service response collection.</returns>
//ServiceResponseCollection<GetAttachmentResponse> GetAttachments(
//            string[] attachmentIds,
//            BodyType? bodyType,
//            Iterable<PropertyDefinitionBase> additionalProperties)
//        {
//            GetAttachmentRequest request = new GetAttachmentRequest(this, ServiceErrorHandling.ReturnErrors);
//
//            request.AttachmentIds.AddRange(attachmentIds);
//            request.BodyType = bodyType;
//
//            if (additionalProperties != null)
//            {
//                request.AdditionalProperties.AddRange(additionalProperties);
//            }
//
//            return request.Execute();
//        }
/// <summary>
/// Gets an attachment.
/// </summary>
/// <param name="attachment">The attachment.</param>
/// <param name="bodyType">Type of the body.</param>
/// <param name="additionalProperties">The additional properties.</param>
Future<void> GetAttachment(Attachment attachment, BodyType? bodyType,
    Iterable<PropertyDefinitionBase>? additionalProperties) {
  return this.InternalGetAttachments([attachment], bodyType,
      additionalProperties, ServiceErrorHandling.ThrowOnError);
}