Class Image


public class Image extends EntityId
Represents an image of the Api.
  • Constructor Details

    • Image

      public Image(UUID id, String filename, String imageType, long uploadedOn, long lastModifiedOn, UUID lastModifiedBy, UUID createdBy, long fileSize, UUID fileId, String checksum)
  • Method Details

    • builder

      public static Image.Builder builder()
    • getFilename

      public String getFilename()
      The name of the image
    • getImageType

      public String getImageType()
      The type of image
    • getUploadedOn

      public long getUploadedOn()
      Date and time it was uploaded
    • getLastModifiedOn

      public long getLastModifiedOn()
      Date and time it was last modified
    • getLastModifiedBy

      public UUID getLastModifiedBy()
      The user id of the last modifier
    • getCreatedBy

      public UUID getCreatedBy()
      The user id of the created user
    • getFileSize

      public long getFileSize()
      The size of the file
    • getFileId

      public UUID getFileId()
      The unique file identifier of the image in the file storage location
    • getChecksum

      public String getChecksum()