AttachmentControllerApi class

Constructors

AttachmentControllerApi([ApiClient? apiClient])

Properties

apiClient ApiClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteAllAttachments() Future<void>
Delete all attachments
deleteAllAttachmentsWithHttpInfo() Future<Response>
Delete all attachments
deleteAttachment(String attachmentId) Future<void>
Delete an attachment
deleteAttachmentWithHttpInfo(String attachmentId) Future<Response>
Delete an attachment
downloadAttachmentAsBase64Encoded(String attachmentId) Future<DownloadAttachmentDto?>
Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents.
downloadAttachmentAsBase64EncodedWithHttpInfo(String attachmentId) Future<Response>
Get email attachment as base64 encoded string as alternative to binary responses. To read the content decode the Base64 encoded contents.
downloadAttachmentAsBytes(String attachmentId) Future<String?>
Download attachments. Get email attachment bytes. If you have trouble with byte responses try the downloadAttachmentBase64 response endpoints.
downloadAttachmentAsBytesWithHttpInfo(String attachmentId) Future<Response>
Download attachments. Get email attachment bytes. If you have trouble with byte responses try the downloadAttachmentBase64 response endpoints.
getAttachment(String attachmentId) Future<AttachmentEntity?>
Get an attachment entity
getAttachmentInfo(String attachmentId) Future<AttachmentMetaData?>
Get email attachment metadata information
getAttachmentInfoWithHttpInfo(String attachmentId) Future<Response>
Get email attachment metadata information
getAttachments({int? page, int? size, String? sort, String? fileNameFilter, DateTime? since, DateTime? before}) Future<PageAttachmentEntity?>
Get email attachments
getAttachmentsWithHttpInfo({int? page, int? size, String? sort, String? fileNameFilter, DateTime? since, DateTime? before}) Future<Response>
Get email attachments
getAttachmentWithHttpInfo(String attachmentId) Future<Response>
Get an attachment entity
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
uploadAttachment(UploadAttachmentOptions uploadAttachmentOptions) Future<List<String>?>
Upload an attachment for sending using base64 file encoding. Returns an array whose first element is the ID of the uploaded attachment.
uploadAttachmentBytes(UploadAttachmentBytesRequest uploadAttachmentBytesRequest, {String? contentType, String? filename}) Future<List<String>?>
Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment.
uploadAttachmentBytesWithHttpInfo(UploadAttachmentBytesRequest uploadAttachmentBytesRequest, {String? contentType, String? filename}) Future<Response>
Upload an attachment for sending using file byte stream input octet stream. Returns an array whose first element is the ID of the uploaded attachment.
uploadAttachmentWithHttpInfo(UploadAttachmentOptions uploadAttachmentOptions) Future<Response>
Upload an attachment for sending using base64 file encoding. Returns an array whose first element is the ID of the uploaded attachment.
uploadMultipartForm({String? contentType, String? filename, String? xFilename, UploadMultipartFormRequest? uploadMultipartFormRequest}) Future<List<String>?>
Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment.
uploadMultipartFormWithHttpInfo({String? contentType, String? filename, String? xFilename, UploadMultipartFormRequest? uploadMultipartFormRequest}) Future<Response>
Upload an attachment for sending using a Multipart Form request. Returns an array whose first element is the ID of the uploaded attachment.

Operators

operator ==(Object other) bool
The equality operator.
inherited