-
public final class AttachmentProjection
-
-
Field Summary
Fields Modifier and Type Field Description private final UUIDuserIdprivate final OffsetDateTimecreatedAtprivate final StringattachmentIdprivate final OffsetDateTimeupdatedAtprivate final Stringnameprivate final LongcontentLengthprivate final StringcontentType
-
Constructor Summary
Constructors Constructor Description AttachmentProjection(UUID userId, OffsetDateTime createdAt, String attachmentId, OffsetDateTime updatedAt, String name, Long contentLength, String contentType)
-
Method Summary
Modifier and Type Method Description final UUIDgetUserId()final OffsetDateTimegetCreatedAt()final StringgetAttachmentId()final OffsetDateTimegetUpdatedAt()final StringgetName()final LonggetContentLength()final StringgetContentType()-
-
Constructor Detail
-
AttachmentProjection
AttachmentProjection(UUID userId, OffsetDateTime createdAt, String attachmentId, OffsetDateTime updatedAt, String name, Long contentLength, String contentType)
- Parameters:
attachmentId- Attachment IDcontentLength- Content length of attachment in bytescontentType- Content type of attachment.
-
-
Method Detail
-
getCreatedAt
final OffsetDateTime getCreatedAt()
-
getAttachmentId
final String getAttachmentId()
-
getUpdatedAt
final OffsetDateTime getUpdatedAt()
-
getContentLength
final Long getContentLength()
-
getContentType
final String getContentType()
-
-
-
-