com.sola.instagram.model
Class Relationship
java.lang.Object
com.sola.instagram.model.InstagramModel
com.sola.instagram.model.Relationship
public class Relationship
- extends InstagramModel
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Relationship
public Relationship(JSONObject obj,
java.lang.String accessToken)
throws JSONException
- Throws:
JSONException
getOutgoingStatus
public Relationship.OutgoingStatus getOutgoingStatus()
getIncomingStatus
public Relationship.IncomingStatus getIncomingStatus()
targetUserIsPrivate
public boolean targetUserIsPrivate()
equals
public boolean equals(java.lang.Object o)
- Checks if two relationship objects are equal. Relationships
are equal if their incoming and outgoing statuses are the same.
- Overrides:
equals
in class java.lang.Object
- Parameters:
o
- The object to be compared
- Returns:
- True of the two objects are equal, false otherwise