io.apicurio.registry.rest.v3.beans.Rule Maven / Gradle / Ivy
package io.apicurio.registry.rest.v3.beans;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import io.apicurio.registry.types.RuleType;
/**
* Root Type for Rule
*
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"config",
"ruleType"
})
@Generated("jsonschema2pojo")
@io.quarkus.runtime.annotations.RegisterForReflection
@lombok.experimental.SuperBuilder
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.EqualsAndHashCode
@lombok.ToString(callSuper = true)
public class Rule {
/**
*
* (Required)
*
*/
@JsonProperty("config")
private String config;
/**
*
*/
@JsonProperty("ruleType")
@JsonPropertyDescription("")
private RuleType ruleType;
/**
*
* (Required)
*
*/
@JsonProperty("config")
public String getConfig() {
return config;
}
/**
*
* (Required)
*
*/
@JsonProperty("config")
public void setConfig(String config) {
this.config = config;
}
/**
*
*/
@JsonProperty("ruleType")
public RuleType getRuleType() {
return ruleType;
}
/**
*
*/
@JsonProperty("ruleType")
public void setRuleType(RuleType ruleType) {
this.ruleType = ruleType;
}
}