twitter4j
Class DirectMessage
java.lang.Object
twitter4j.TwitterResponse
twitter4j.DirectMessage
- All Implemented Interfaces:
- java.io.Serializable
public class DirectMessage
- extends TwitterResponse
- implements java.io.Serializable
A data class representing sent/received direct message.
- Author:
- Yusuke Yamamoto - yusuke at mac.com
- See Also:
- Serialized Form
| Methods inherited from class twitter4j.TwitterResponse |
encodeDate, ensureRootNodeNameIs, ensureRootNodeNameIs, ensureRootNodeNameIs, getChildBoolean, getChildDate, getChildDate, getChildInt, getChildLong, getChildText, getString, isRootNodeNilClasses |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
getId
public int getId()
getText
public java.lang.String getText()
getSenderId
public int getSenderId()
getRecipientId
public int getRecipientId()
getCreatedAt
public java.util.Date getCreatedAt()
- Returns:
- created_at
- Since:
- Twitter4J 1.1.0
getSenderScreenName
public java.lang.String getSenderScreenName()
getRecipientScreenName
public java.lang.String getRecipientScreenName()
getSender
public User getSender()
getRecipient
public User getRecipient()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2009. All Rights Reserved.