Class MessageAttachmentViewModel

    • Constructor Detail

      • MessageAttachmentViewModel

        public MessageAttachmentViewModel​(Long attachmentId,
                                          String fileName,
                                          long fileSize)
    • Method Detail

      • getAttachmentId

        public Long getAttachmentId()
        The ID of the referenced attachment.
        Returns:
        The attachment's ID.
      • getFileName

        public String getFileName()
        The file name of the attachment.
        Returns:
        The file name.
      • getFileSize

        public long getFileSize()
        The file size in bytes of the attachment.
        Returns:
        The file size in bytes.