ir.sadeghpro.insta.client.LikerResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of insta4j Show documentation
Show all versions of insta4j Show documentation
this is library for working with instagram without using instagram api.
this library use instagram web browser
package ir.sadeghpro.insta.client;
import java.util.ArrayList;
public class LikerResponse {
private boolean hasNextPage;
private String endCursor;
private ArrayList likers = new ArrayList<>();
/**
* is exist any other post
* @return boolean
*/
public boolean hasNextPage() {
return hasNextPage;
}
public void setHasNextPage(boolean hasNextPage) {
this.hasNextPage = hasNextPage;
}
/**
* string code for getting next likers with getPost method
* @return String
*/
public String getEndCursor() {
return endCursor;
}
public void setEndCursor(String endCursor) {
this.endCursor = endCursor;
}
/**
* an array of post object
* @return ArrayList
*/
public ArrayList getLikers() {
return likers;
}
public void addLiker(Liker liker) {
likers.add(liker);
}
}