All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.commercetools.rmf.diff.DiffConfiguration Maven / Gradle / Ivy

Go to download

RAML API client code generators based on the REST Modeling Framework. https://github.com/vrapio/rest-modeling-framework

There is a newer version: 1.0.0-20241120142200
Show newest version
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;
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy