org.gitlab4j.api.models.TimeStats 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 org.gitlab4j.api.utils.JacksonJson;
import java.io.Serializable;
public class TimeStats implements Serializable {
private static final long serialVersionUID = 1L;
private Integer timeEstimate;
private Integer totalTimeSpent;
private Duration humanTimeEstimate;
private Duration humanTotalTimeSpent;
public Integer getTimeEstimate() {
return timeEstimate;
}
public void setTimeEstimate(Integer timeEstimate) {
this.timeEstimate = timeEstimate;
}
public Integer getTotalTimeSpent() {
return totalTimeSpent;
}
public void setTotalTimeSpent(Integer totalTimeSpent) {
this.totalTimeSpent = totalTimeSpent;
}
public Duration getHumanTimeEstimate() {
return humanTimeEstimate;
}
public void setHumanTimeEstimate(Duration humanTimeEstimate) {
this.humanTimeEstimate = humanTimeEstimate;
}
public Duration getHumanTotalTimeSpent() {
return humanTotalTimeSpent;
}
public void setHumanTotalTimeSpent(Duration humanTotalTimeSpent) {
this.humanTotalTimeSpent = humanTotalTimeSpent;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy