org.springframework.social.twitter.api
Class MediaEntity
java.lang.Object
org.springframework.social.twitter.api.MediaEntity
- All Implemented Interfaces:
- java.io.Serializable
public class MediaEntity
- extends java.lang.Object
- implements java.io.Serializable
A representation of embedded media entity.
User: bowen
Date: 12/26/11
- See Also:
- Serialized Form
Constructor Summary |
MediaEntity(long id,
java.lang.String mediaHttp,
java.lang.String mediaHttps,
java.lang.String url,
java.lang.String display,
java.lang.String expanded,
java.lang.String type,
int[] indices)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
MediaEntity
public MediaEntity(long id,
java.lang.String mediaHttp,
java.lang.String mediaHttps,
java.lang.String url,
java.lang.String display,
java.lang.String expanded,
java.lang.String type,
int[] indices)
getId
public long getId()
getMediaUrl
public java.lang.String getMediaUrl()
getMediaSecureUrl
public java.lang.String getMediaSecureUrl()
getType
public java.lang.String getType()
getDisplayUrl
public java.lang.String getDisplayUrl()
getExpandedUrl
public java.lang.String getExpandedUrl()
getUrl
public java.lang.String getUrl()
getIndices
public int[] getIndices()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object