AttachmentMetadataDto

data class AttachmentMetadataDto(var id: String, var mimetype: String, var name: String, var datePublishing: OffsetDateTime, var propertySize: Long? = null, var encoding: String? = null)

The file metadata holds the information about a file that may be a single document or a message attachment.

Parameters

id

ID of the attachment

mimetype

Mimetype of the file. Potential values are documented https://www.iana.org/assignments/media-types/media-types.xhtml

name

name of the file

datePublishing

Date in format according to RFC3339

propertySize

The size of the file in bytes.

encoding

The encoding used for the file

Constructors

Link copied to clipboard
constructor(id: String, mimetype: String, name: String, datePublishing: OffsetDateTime, propertySize: Long? = null, encoding: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:Size(max = 100)
var id: String
Link copied to clipboard
Link copied to clipboard
@get:Size(max = 255)
var name: String
Link copied to clipboard