ir.sadeghpro.insta.client.SuggestedResponse 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 SuggestedResponse {
private boolean hasNextPage;
private ArrayList suggestedUsers = new ArrayList<>();
private ArrayList userIds = new ArrayList<>();
public boolean hasNextPage() {
return hasNextPage;
}
public void setHasNextPage(boolean hasNextPage) {
this.hasNextPage = hasNextPage;
}
public ArrayList getSuggestedUsers() {
return suggestedUsers;
}
public void addSuggestedUser(SuggestedUser suggestedUser) {
suggestedUsers.add(suggestedUser);
}
public void addAllSuggestedUsers(ArrayList suggestedUsers){
this.suggestedUsers.addAll(suggestedUsers);
}
public ArrayList getUserIds() {
return userIds;
}
public void setUserId(String userId) {
userIds.add(userId);
}
public void addAllUserIds(ArrayList userIds){
this.userIds.addAll(userIds);
}
}