Spring Social Twitter

org.springframework.social.twitter.api
Class MediaEntity

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getDisplayUrl()
           
 java.lang.String getExpandedUrl()
           
 long getId()
           
 int[] getIndices()
           
 java.lang.String getMediaSecureUrl()
           
 java.lang.String getMediaUrl()
           
 java.lang.String getType()
           
 java.lang.String getUrl()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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

Spring Social Twitter