com.rmn.testrail.entity.TestSuite Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testrailsdk Show documentation
Show all versions of testrailsdk Show documentation
A package for managing your TestRail information
package com.rmn.testrail.entity;
import org.codehaus.jackson.annotate.JsonProperty;
import java.util.List;
/**
* @author mmerrell
*/
public class TestSuite extends BaseEntity {
@JsonProperty("id")
private Integer id;
public Integer getId() { return id; }
public void setId(Integer id) { this.id = id; }
@JsonProperty("name")
private String name;
public String getName() { return name; }
public void setName(String name) { this.name = name; }
@JsonProperty("description")
private String description;
public String getDescription() { return description; }
public void setDescription(String description) { this.description = description; }
@JsonProperty("project_id")
private Integer projectId;
public Integer getProjectId() { return projectId; }
public void setProjectId(Integer projectId) { this.projectId = projectId; }
@JsonProperty("url")
private String url;
public String getUrl() { return url; }
public void setUrl(String url) { this.url = url; }
@JsonProperty("completed_on")
private String completedOn;
public String getCompletedOn() { return completedOn; }
public void setCompletedOn(String completedOn) { this.completedOn = completedOn; }
@JsonProperty("is_completed")
private Boolean isCompleted;
public Boolean isCompleted() { return isCompleted; }
public void setCompleted(Boolean isCompleted) { this.isCompleted = isCompleted; }
@JsonProperty("is_baseline")
private Boolean isBaseline;
public Boolean isBaseline() { return isBaseline; }
public void setBaseline(Boolean isBaseline) { this.isBaseline = isBaseline; }
@JsonProperty("is_master")
private Boolean isMaster;
public Boolean isMaster() { return isMaster; }
public void setMaster(Boolean isMaster) { this.isMaster = isMaster; }
/**
* Returns the list of Section entities contained within this TestSuite
* @return the list of Section entities contained within this TestSuite
*/
public List getSections() {
return getTestRailService().getSections(this.projectId, this.getId());
}
/**
* Returns the list of TestCase entities contained within this TestSuite
* @return the list of TestCase entities contained within this TestCase
*/
public List getTestCases() {
return getTestRailService().getTestCases(projectId, this.getId());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy