io.apicurio.registry.rest.v2.beans.Rule Maven / Gradle / Ivy
package io.apicurio.registry.rest.v2.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",
"type"
})
@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("type")
@JsonPropertyDescription("")
private RuleType type;
/**
*
* (Required)
*
*/
@JsonProperty("config")
public String getConfig() {
return config;
}
/**
*
* (Required)
*
*/
@JsonProperty("config")
public void setConfig(String config) {
this.config = config;
}
/**
*
*/
@JsonProperty("type")
public RuleType getType() {
return type;
}
/**
*
*/
@JsonProperty("type")
public void setType(RuleType type) {
this.type = type;
}
}