GetAttachmentsWithIds method
Future<ServiceResponseCollection<GetAttachmentResponse> >
GetAttachmentsWithIds(
- Iterable<
String> attachmentIds, - BodyType? bodyType,
- Iterable<
PropertyDefinitionBase> ? additionalProperties
Implementation
Future<ServiceResponseCollection<GetAttachmentResponse>>
GetAttachmentsWithIds(
Iterable<String> attachmentIds,
BodyType? bodyType,
Iterable<PropertyDefinitionBase>? additionalProperties,
) {
GetAttachmentRequest request = GetAttachmentRequest(
this,
ServiceErrorHandling.ReturnErrors,
);
request.AttachmentIds.addAll(attachmentIds);
request.BodyType = bodyType;
if (additionalProperties != null) {
request.AdditionalProperties.addAll(additionalProperties);
}
return request.Execute();
}