public class MediaLibraryResponse extends Object implements IAbstractAcknowledgement
Constructor and Description |
---|
MediaLibraryResponse() |
Modifier and Type | Method and Description |
---|---|
void |
addResult(MediaMetadata value)
Adds a enumerates all media assets available in the context.
|
String |
getError()
Gets the error, if an error occurred.
|
int |
getMaxResults()
Gets max to be returned in a single page.
|
String |
getResponseDescription()
Gets a narrative description of the transaction result.
|
int |
getResultCount()
Gets total number of results accessible through paging.
|
Collection<MediaMetadata> |
getResults()
Gets enumerates all media assets available in the context.
|
int |
getStartIndex()
Gets starting index for paged results.
|
boolean |
isSuccess()
Gets whether or not the request succeeded.
|
void |
setError(String value)
Sets the error, if an error occurred.
|
void |
setMaxResults(int value)
Sets max to be returned in a single page.
|
void |
setResponseDescription(String value)
Sets a narrative description of the transaction result.
|
void |
setResultCount(int value)
Sets total number of results accessible through paging.
|
void |
setResults(Collection<MediaMetadata> value)
Sets enumerates all media assets available in the context.
|
void |
setStartIndex(int value)
Sets starting index for paged results.
|
void |
setSuccess(boolean value)
Sets whether or not the request succeeded.
|
public void setSuccess(boolean value)
value
- whether or not the request succeeded.public boolean isSuccess()
isSuccess
in interface IAbstractAcknowledgement
public void setError(String value)
value
- the error, if an error occurred.public String getError()
getError
in interface IAbstractAcknowledgement
public void setResponseDescription(String value)
value
- a narrative description of the transaction result.public String getResponseDescription()
getResponseDescription
in interface IAbstractAcknowledgement
public void setMaxResults(int value)
value
- max to be returned in a single page. Defaults to the system max of 250.public int getMaxResults()
public void setStartIndex(int value)
value
- starting index for paged results. Defaults to zero.public int getStartIndex()
public void setResultCount(int value)
value
- total number of results accessible through paging.public int getResultCount()
public void setResults(Collection<MediaMetadata> value)
value
- enumerates all media assets available in the context.public Collection<MediaMetadata> getResults()
public void addResult(MediaMetadata value)
value
- enumerates all media assets available in the context.Copyright © 2022 BlockChyp, Inc.. All rights reserved.