com.testfabrik.webmate.javasdk.testmgmt.TestTemplateInfo Maven / Gradle / Ivy
package com.testfabrik.webmate.javasdk.testmgmt;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.joda.time.DateTime;
public class TestTemplateInfo {
@JsonProperty("id")
private TestTemplateId testId;
private String name;
private DateTime creationTime;
private String description;
private int version;
@JsonProperty("isBaseTemplate")
private boolean isBaseTemplate;
// For jackson
public TestTemplateInfo() { }
public TestTemplateInfo(TestTemplateId testId, String name, DateTime creationTime, String description, int version,
boolean isBaseTemplate) {
this.testId = testId;
this.name = name;
this.creationTime = creationTime;
this.description = description;
this.version = version;
this.isBaseTemplate = isBaseTemplate;
}
public TestTemplateId getTestId() {
return testId;
}
public String getName() {
return name;
}
public DateTime getCreationTime() {
return creationTime;
}
public String getDescription() {
return description;
}
public int getVersion() {
return version;
}
public boolean isBaseTemplate() {
return isBaseTemplate;
}
}