Package com.blockchyp.client.dto
Class MediaMetadata
java.lang.Object
com.blockchyp.client.dto.MediaMetadata
- All Implemented Interfaces:
IAbstractAcknowledgement
Models a request to retrieve survey results.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetError()Gets the error, if an error occurred.Gets the url for the full resolution versio of the media file.getId()Gets id used to identify the media asset.Gets the original filename assigned to the media asset.Gets a narrative description of the transaction result.Gets the url for to the thumbnail of an image.booleanGets whether or not the request succeeded.booleanisVideo()Gets an identifier used to flag video files.voidSets the error, if an error occurred.voidsetFileUrl(String value) Sets the url for the full resolution versio of the media file.voidSets id used to identify the media asset.voidsetOriginalFile(String value) Sets the original filename assigned to the media asset.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetSuccess(boolean value) Sets whether or not the request succeeded.voidsetThumbnailUrl(String value) Sets the url for to the thumbnail of an image.voidsetVideo(boolean value) Sets an identifier used to flag video files.
-
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:
isSuccessin interfaceIAbstractAcknowledgement- Returns:
- whether or not the request succeeded.
-
setError
Sets the error, if an error occurred.- Parameters:
value- the error, if an error occurred.
-
getError
Gets the error, if an error occurred.- Specified by:
getErrorin interfaceIAbstractAcknowledgement- Returns:
- the error, if an error occurred.
-
setResponseDescription
Sets a narrative description of the transaction result.- Parameters:
value- a narrative description of the transaction result.
-
getResponseDescription
Gets a narrative description of the transaction result.- Specified by:
getResponseDescriptionin interfaceIAbstractAcknowledgement- Returns:
- a narrative description of the transaction result.
-
setId
Sets id used to identify the media asset.- Parameters:
value- id used to identify the media asset.
-
getId
Gets id used to identify the media asset.- Returns:
- id used to identify the media asset.
-
setOriginalFile
Sets the original filename assigned to the media asset.- Parameters:
value- the original filename assigned to the media asset.
-
getOriginalFile
Gets the original filename assigned to the media asset.- Returns:
- the original filename assigned to the media asset.
-
setFileUrl
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
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
Sets the url for to the thumbnail of an image.- Parameters:
value- the url for to the thumbnail of an image.
-
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.
-