org.springframework.social.twitter.api
Class DirectMessage

java.lang.Object
  extended by org.springframework.social.twitter.api.DirectMessage

public class DirectMessage
extends java.lang.Object

Represents a direct message.


Constructor Summary
DirectMessage(long id, java.lang.String text, TwitterProfile sender, TwitterProfile recipient, java.util.Date createdAt)
           
 
Method Summary
 java.util.Date getCreatedAt()
           
 long getId()
           
 TwitterProfile getRecipient()
           
 TwitterProfile getSender()
           
 java.lang.String getText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectMessage

public DirectMessage(long id,
                     java.lang.String text,
                     TwitterProfile sender,
                     TwitterProfile recipient,
                     java.util.Date createdAt)
Method Detail

getId

public long getId()

getText

public java.lang.String getText()

getSender

public TwitterProfile getSender()

getRecipient

public TwitterProfile getRecipient()

getCreatedAt

public java.util.Date getCreatedAt()