Class FileInfo

    • Field Detail

      • mimetype

        private String mimetype
        The mimetype of the image, e.g. image/jpeg.
      • size

        private Long size
        Size of the image in bytes.
      • thumbnailUrl

        private String thumbnailUrl
        The URL to a thumbnail of the image.
      • thumbnailFile

        private EncryptedFile thumbnailFile
        Information on the encrypted thumbnail file, as specified in End-to-end encryption. Only present if the thumbnail is encrypted.
      • thumbnailInfo

        private ThumbnailInfo thumbnailInfo
        Metadata about the image referred to in thumbnail_url.
    • Constructor Detail

      • FileInfo

        public FileInfo()
    • Method Detail

      • getMimetype

        public String getMimetype()
      • setMimetype

        public void setMimetype​(String mimetype)
      • getSize

        public Long getSize()
      • setSize

        public void setSize​(Long size)
      • getThumbnailUrl

        public String getThumbnailUrl()
      • setThumbnailUrl

        public void setThumbnailUrl​(String thumbnailUrl)
      • setThumbnailFile

        public void setThumbnailFile​(EncryptedFile thumbnailFile)
      • setThumbnailInfo

        public void setThumbnailInfo​(ThumbnailInfo thumbnailInfo)