public class CommentResponse extends Object
| Constructor and Description |
|---|
CommentResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComments(Comment comment) |
ArrayList<Comment> |
getComments()
an array of comment object
|
int |
getCount()
get count of comment on a post
|
String |
getEndCursor()
string code for getting next comments with getComment method
|
com.afollestad.ason.Ason |
getJson()
get full json object of get comments response
|
boolean |
hasNextPage()
is exist any other comment
|
void |
setCount(int count) |
void |
setEndCursor(String endCursor) |
void |
setHasNextPage(boolean hasNextPage) |
void |
setJson(com.afollestad.ason.Ason json) |
public com.afollestad.ason.Ason getJson()
public void setJson(com.afollestad.ason.Ason json)
public int getCount()
public void setCount(int count)
public boolean hasNextPage()
public void setHasNextPage(boolean hasNextPage)
public String getEndCursor()
public void setEndCursor(String endCursor)
public void addComments(Comment comment)
Copyright © 2018. All rights reserved.