com.clarolab.bamboo.entities.BambooProjects Maven / Gradle / Ivy
package com.clarolab.bamboo.entities;
import com.google.gson.annotations.SerializedName;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
@Getter
@Setter
public class BambooProjects {
@SerializedName("project")
private List projects;
private int size;
@SerializedName("start-index")
private int startIndex;
@SerializedName("max-result")
private int maxResult;
public boolean isLimitReached(){
return size == startIndex + maxResult;
}
}