Class MediaMetadata

java.lang.Object
com.blockchyp.client.dto.MediaMetadata
All Implemented Interfaces:
IAbstractAcknowledgement

public class MediaMetadata extends Object implements IAbstractAcknowledgement
Models a request to retrieve survey results.
  • Constructor Details

    • MediaMetadata

      public MediaMetadata()
  • Method Details

    • setSuccess

      public void setSuccess(boolean value)
      Sets whether or not the request succeeded.
      Parameters:
      value - whether or not the request succeeded.
    • isSuccess

      public boolean isSuccess()
      Gets whether or not the request succeeded.
      Specified by:
      isSuccess in interface IAbstractAcknowledgement
      Returns:
      whether or not the request succeeded.
    • setError

      public void setError(String value)
      Sets the error, if an error occurred.
      Parameters:
      value - the error, if an error occurred.
    • getError

      public String getError()
      Gets the error, if an error occurred.
      Specified by:
      getError in interface IAbstractAcknowledgement
      Returns:
      the error, if an error occurred.
    • setResponseDescription

      public void setResponseDescription(String value)
      Sets a narrative description of the transaction result.
      Parameters:
      value - a narrative description of the transaction result.
    • getResponseDescription

      public String getResponseDescription()
      Gets a narrative description of the transaction result.
      Specified by:
      getResponseDescription in interface IAbstractAcknowledgement
      Returns:
      a narrative description of the transaction result.
    • setId

      public void setId(String value)
      Sets id used to identify the media asset.
      Parameters:
      value - id used to identify the media asset.
    • getId

      public String getId()
      Gets id used to identify the media asset.
      Returns:
      id used to identify the media asset.
    • setOriginalFile

      public void setOriginalFile(String value)
      Sets the original filename assigned to the media asset.
      Parameters:
      value - the original filename assigned to the media asset.
    • getOriginalFile

      public String getOriginalFile()
      Gets the original filename assigned to the media asset.
      Returns:
      the original filename assigned to the media asset.
    • setName

      public void setName(String value)
      Sets the descriptive name of the media asset.
      Parameters:
      value - the descriptive name of the media asset.
    • getName

      public String getName()
      Gets the descriptive name of the media asset.
      Returns:
      the descriptive name of the media asset.
    • setDescription

      public void setDescription(String value)
      Sets a description of the media asset and its purpose.
      Parameters:
      value - a description of the media asset and its purpose.
    • getDescription

      public String getDescription()
      Gets a description of the media asset and its purpose.
      Returns:
      a description of the media asset and its purpose.
    • setTags

      public void setTags(Collection<String> value)
      Sets an array of tags associated with a media asset.
      Parameters:
      value - an array of tags associated with a media asset.
    • getTags

      public Collection<String> getTags()
      Gets an array of tags associated with a media asset.
      Returns:
      an array of tags associated with a media asset.
    • setFileUrl

      public void setFileUrl(String value)
      Sets the url for the full resolution versio of the media file.
      Parameters:
      value - the url for the full resolution versio of the media file.
    • getFileUrl

      public String getFileUrl()
      Gets the url for the full resolution versio of the media file.
      Returns:
      the url for the full resolution versio of the media file.
    • setThumbnailUrl

      public void setThumbnailUrl(String value)
      Sets the url for to the thumbnail of an image.
      Parameters:
      value - the url for to the thumbnail of an image.
    • getThumbnailUrl

      public String getThumbnailUrl()
      Gets the url for to the thumbnail of an image.
      Returns:
      the url for to the thumbnail of an image.
    • setVideo

      public void setVideo(boolean value)
      Sets an identifier used to flag video files.
      Parameters:
      value - an identifier used to flag video files.
    • isVideo

      public boolean isVideo()
      Gets an identifier used to flag video files.
      Returns:
      an identifier used to flag video files.
    • addTag

      public void addTag(String value)
      Adds a an array of tags associated with a media asset.
      Parameters:
      value - an array of tags associated with a media asset.