com.sola.instagram.model
Class Tag
java.lang.Object
com.sola.instagram.model.InstagramModel
com.sola.instagram.model.Tag
public class Tag
- extends InstagramModel
Constructor Summary |
Tag(JSONObject obj,
java.lang.String accessToken)
|
Method Summary |
boolean |
equals(java.lang.Object o)
Checks if two tags objects are equal |
int |
getMediaCount()
|
java.lang.String |
getName()
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Tag
public Tag(JSONObject obj,
java.lang.String accessToken)
throws JSONException
- Throws:
JSONException
getMediaCount
public int getMediaCount()
getName
public java.lang.String getName()
equals
public boolean equals(java.lang.Object o)
- Checks if two tags objects are equal
- Overrides:
equals
in class java.lang.Object
- Parameters:
o
- The object to be compared
- Returns:
- True of the two objects are equal, false otherwise