public class MediaList extends ResponseData
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <mediaList> <media> <UID>b70c0b71-bb22-4e81-aa13-95eaaeff60f3</UID> <serviceId>7</serviceId> <visibility>PUBLIC</visibility> <mediaType>PHOTO</mediaType> <userId>1016077386756653943</userId> <url>http://fe.example.org/rest/ca/r?uid=b70c0b71-bb22-4e81-aa13-95eaaeff60f3&service_id=7</url> </media> </mediaList>
Media
Constructor and Description |
---|
MediaList() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?>[] |
getDataClasses()
The default implementation equals to calling getClass(), override this if your class requires other classes
for serialization purposes (which cannot be directly resolved).
|
java.util.List<Media> |
getMedia() |
static boolean |
isEmpty(MediaList media) |
void |
setMedia(java.util.List<Media> media) |
public MediaList()
public static boolean isEmpty(MediaList media)
media
- public java.lang.Class<?>[] getDataClasses()
ResponseData
getDataClasses
in class ResponseData
Copyright © 2015 Tampere University of Technology, Pori Department.