com.commercetools.rmf.diff.DiffConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ctp-validators Show documentation
Show all versions of ctp-validators Show documentation
RAML API client code generators based on the REST Modeling Framework. https://github.com/vrapio/rest-modeling-framework
package com.commercetools.rmf.diff;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import java.util.ArrayList;
import java.util.List;
@JacksonXmlRootElement(localName = "diff")
public class DiffConfiguration {
@JacksonXmlProperty(localName = "name")
private String name;
@JacksonXmlProperty(localName = "apply")
private List apply = new ArrayList<>();
@JacksonXmlElementWrapper(localName = "checks")
@JacksonXmlProperty(localName = "check")
private List checks = new ArrayList<>();
@JsonCreator
public DiffConfiguration() {
}
public DiffConfiguration(String name, List checks) {
this.name = name;
this.checks = checks;
}
public DiffConfiguration(String name, List checks, List apply) {
this.name = name;
this.checks = checks;
this.apply = apply;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public List getChecks() {
return checks;
}
public void setChecks(List checks) {
this.checks = checks;
}
public List getApply() {
return apply;
}
public void setApply(List apply) {
this.apply = apply;
}
}