org.gitlab4j.api.models.ProjectFetches Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gitlab4j-api Show documentation
Show all versions of gitlab4j-api Show documentation
GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.
package org.gitlab4j.api.models;
import java.util.Date;
import java.util.List;
import org.gitlab4j.api.utils.JacksonJson;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
public class ProjectFetches {
public static class DateCount {
private Integer count;
@JsonSerialize(using = JacksonJson.DateOnlySerializer.class)
private Date date;
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public Date getDate() {
return date;
}
public void setDate(Date date) {
this.date = date;
}
}
public static class Fetches {
private Integer total;
private List days;
public Integer getTotal() {
return total;
}
public void setTotal(Integer total) {
this.total = total;
}
public List getDays() {
return days;
}
public void setDays(List days) {
this.days = days;
}
}
private Fetches fetches;
public Fetches getFetches() {
return fetches;
}
public void setFetches(Fetches fetches) {
this.fetches = fetches;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
}
}