class FriendshipJSONImpl extends java.lang.Object implements Friendship
Modifier and Type | Field and Description |
---|---|
private boolean |
followedBy |
private boolean |
following |
private int |
id |
private java.lang.String |
name |
private java.lang.String |
screenName |
private static long |
serialVersionUID |
Constructor and Description |
---|
FriendshipJSONImpl(twitter4j.internal.http.HttpResponse res) |
FriendshipJSONImpl(twitter4j.internal.org.json.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
(package private) static ResponseList<Friendship> |
createFriendshipList(twitter4j.internal.http.HttpResponse res) |
boolean |
equals(java.lang.Object o) |
int |
getId() |
java.lang.String |
getName() |
java.lang.String |
getScreenName() |
int |
hashCode() |
boolean |
isFollowedBy() |
boolean |
isFollowing() |
java.lang.String |
toString() |
private static final long serialVersionUID
private final int id
private final java.lang.String name
private final java.lang.String screenName
private boolean following
private boolean followedBy
FriendshipJSONImpl(twitter4j.internal.http.HttpResponse res) throws TwitterException
TwitterException
FriendshipJSONImpl(twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
static ResponseList<Friendship> createFriendshipList(twitter4j.internal.http.HttpResponse res) throws TwitterException
TwitterException
public int getId()
getId
in interface Friendship
public java.lang.String getName()
getName
in interface Friendship
public java.lang.String getScreenName()
getScreenName
in interface Friendship
public boolean isFollowing()
isFollowing
in interface Friendship
public boolean isFollowedBy()
isFollowedBy
in interface Friendship
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object