twitter4j
Class FriendshipJSONImpl
java.lang.Object
twitter4j.FriendshipJSONImpl
- All Implemented Interfaces:
- java.io.Serializable, Friendship
class FriendshipJSONImpl
- extends java.lang.Object
- implements Friendship
- Since:
- Twitter4J 2.1.9
- Author:
- Yusuke Yamamoto - yusuke at mac.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
id
private final int id
name
private final java.lang.String name
screenName
private final java.lang.String screenName
following
private boolean following
followedBy
private boolean followedBy
FriendshipJSONImpl
FriendshipJSONImpl(twitter4j.internal.http.HttpResponse res)
throws TwitterException
- Throws:
TwitterException
FriendshipJSONImpl
FriendshipJSONImpl(twitter4j.internal.org.json.JSONObject json)
throws TwitterException
- Throws:
TwitterException
createFriendshipList
static ResponseList<Friendship> createFriendshipList(twitter4j.internal.http.HttpResponse res)
throws TwitterException
- Throws:
TwitterException
getId
public int getId()
- Specified by:
getId
in interface Friendship
getName
public java.lang.String getName()
- Specified by:
getName
in interface Friendship
getScreenName
public java.lang.String getScreenName()
- Specified by:
getScreenName
in interface Friendship
isFollowing
public boolean isFollowing()
- Specified by:
isFollowing
in interface Friendship
isFollowedBy
public boolean isFollowedBy()
- Specified by:
isFollowedBy
in interface Friendship
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object