ZTMediaFileTemplate

Media file template used to upload media file

Properties

  • key
  • url
  • Initialize instance with custom properties

    • ZTParameters:
      • data: Data representing media object
      • fileName: file name of the media file, including the file extension (eg. photo.jpg)
      • mimeType: the mimetype for the media file; if not supplied, will be guessed by the file name (eg. image/png)
      • description: a description for the mediafile, could be a caption
  • ZTMap a JSON object to this class using ObjectMapper.