facebook4j.internal.json
Class FriendRequestJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.FriendRequestJSONImpl
- All Implemented Interfaces:
- FacebookResponse, FriendRequest, java.io.Serializable
final class FriendRequestJSONImpl
- extends FacebookResponseImpl
- implements FriendRequest, java.io.Serializable
- Author:
- Ryuji Yamashita - roundrop at gmail.com
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
from
private IdNameEntity from
to
private IdNameEntity to
createdTime
private java.util.Date createdTime
message
private java.lang.String message
unread
private java.lang.Boolean unread
FriendRequestJSONImpl
FriendRequestJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
FriendRequestJSONImpl
FriendRequestJSONImpl(JSONObject json)
throws FacebookException
- Throws:
FacebookException
init
private void init(JSONObject json)
throws FacebookException
- Throws:
FacebookException
getFrom
public IdNameEntity getFrom()
- Specified by:
getFrom in interface FriendRequest
getTo
public IdNameEntity getTo()
- Specified by:
getTo in interface FriendRequest
getCreatedTime
public java.util.Date getCreatedTime()
- Specified by:
getCreatedTime in interface FriendRequest
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage in interface FriendRequest
unread
public java.lang.Boolean unread()
- Specified by:
unread in interface FriendRequest
createFriendRequestList
static ResponseList<FriendRequest> createFriendRequestList(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
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