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 TypeMethodDescriptionvoidAdds a an array of tags associated with a media asset.Gets a description of the media asset and its purpose.getError()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.getName()Gets the descriptive name of the media asset.Gets the original filename assigned to the media asset.Gets a narrative description of the transaction result.getTags()Gets an array of tags associated with a media asset.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.voidsetDescription(String value) Sets a description of the media asset and its purpose.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.voidSets the descriptive name of 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.voidsetTags(Collection<String> value) Sets an array of tags associated with a media asset.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.
-
setName
Sets the descriptive name of the media asset.- Parameters:
value- the descriptive name of the media asset.
-
getName
Gets the descriptive name of the media asset.- Returns:
- the descriptive name of the media asset.
-
setDescription
Sets a description of the media asset and its purpose.- Parameters:
value- a description of the media asset and its purpose.
-
getDescription
Gets a description of the media asset and its purpose.- Returns:
- a description of the media asset and its purpose.
-
setTags
Sets an array of tags associated with a media asset.- Parameters:
value- an array of tags associated with a media asset.
-
getTags
Gets an array of tags associated with a media asset.- Returns:
- an array of tags associated with a 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.
-
addTag
Adds a an array of tags associated with a media asset.- Parameters:
value- an array of tags associated with a media asset.
-