com.testdroid.api.model.APIUserStatistics Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testdroid-api Show documentation
Show all versions of testdroid-api Show documentation
The Testdroid API library for Java
The newest version!
package com.testdroid.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.testdroid.api.APIEntity;
/**
* @author Adrian Zybala
*/
public class APIUserStatistics extends APIEntity {
private Long additionalUsers;
private Long allTimeProjects;
private Long devicesUsed;
private Float overallTestCaseSuccessRatio;
private Long runningTestRuns;
private Long totalTestRuns;
public APIUserStatistics() {
}
public APIUserStatistics(Float overallTestCaseSuccessRatio, Long runningTestRuns, Long totalTestRuns) {
this.overallTestCaseSuccessRatio = overallTestCaseSuccessRatio;
this.runningTestRuns = runningTestRuns;
this.totalTestRuns = totalTestRuns;
}
public Long getAdditionalUsers() {
return additionalUsers;
}
public void setAdditionalUsers(Long additionalUsers) {
this.additionalUsers = additionalUsers;
}
public Long getAllTimeProjects() {
return allTimeProjects;
}
public void setAllTimeProjects(Long allTimeProjects) {
this.allTimeProjects = allTimeProjects;
}
public Long getDevicesUsed() {
return devicesUsed;
}
public void setDevicesUsed(Long devicesUsed) {
this.devicesUsed = devicesUsed;
}
public Float getOverallTestCaseSuccessRatio() {
return overallTestCaseSuccessRatio;
}
public void setOverallTestCaseSuccessRatio(Float overallTestCaseSuccessRatio) {
this.overallTestCaseSuccessRatio = overallTestCaseSuccessRatio;
}
public Long getRunningTestRuns() {
return runningTestRuns;
}
public void setRunningTestRuns(Long runningTestRuns) {
this.runningTestRuns = runningTestRuns;
}
public Long getTotalTestRuns() {
return totalTestRuns;
}
public void setTotalTestRuns(Long totalTestRuns) {
this.totalTestRuns = totalTestRuns;
}
@Override
@JsonIgnore
protected void clone(T from) {
APIUserStatistics apiUserStatistics = (APIUserStatistics) from;
cloneBase(from);
this.additionalUsers = apiUserStatistics.additionalUsers;
this.allTimeProjects = apiUserStatistics.allTimeProjects;
this.devicesUsed = apiUserStatistics.devicesUsed;
this.overallTestCaseSuccessRatio = apiUserStatistics.overallTestCaseSuccessRatio;
this.runningTestRuns = apiUserStatistics.runningTestRuns;
this.totalTestRuns = apiUserStatistics.totalTestRuns;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy