me.snowdrop.istio.api.model.v1.mixer.AttributeMatch Maven / Gradle / Ivy
package me.snowdrop.istio.api.model.v1.mixer;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
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 com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.model.Doneable;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"condition",
"mapKey",
"name",
"regex"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class AttributeMatch implements Serializable
{
@JsonProperty("condition")
private Condition condition;
/**
*
*
*/
@JsonProperty("mapKey")
@JsonPropertyDescription("")
private Integer mapKey;
/**
*
*
*/
@JsonProperty("name")
@JsonPropertyDescription("")
private Integer name;
/**
*
*
*/
@JsonProperty("regex")
@JsonPropertyDescription("")
private String regex;
@JsonIgnore
@Valid
private Map additionalProperties = new HashMap();
private final static long serialVersionUID = 4147219492621752866L;
/**
* No args constructor for use in serialization
*
*/
public AttributeMatch() {
}
/**
*
* @param condition
* @param regex
* @param mapKey
* @param name
*/
public AttributeMatch(Condition condition, Integer mapKey, Integer name, String regex) {
super();
this.condition = condition;
this.mapKey = mapKey;
this.name = name;
this.regex = regex;
}
@JsonProperty("condition")
public Condition getCondition() {
return condition;
}
@JsonProperty("condition")
public void setCondition(Condition condition) {
this.condition = condition;
}
/**
*
*
*/
@JsonProperty("mapKey")
public Integer getMapKey() {
return mapKey;
}
/**
*
*
*/
@JsonProperty("mapKey")
public void setMapKey(Integer mapKey) {
this.mapKey = mapKey;
}
/**
*
*
*/
@JsonProperty("name")
public Integer getName() {
return name;
}
/**
*
*
*/
@JsonProperty("name")
public void setName(Integer name) {
this.name = name;
}
/**
*
*
*/
@JsonProperty("regex")
public String getRegex() {
return regex;
}
/**
*
*
*/
@JsonProperty("regex")
public void setRegex(String regex) {
this.regex = regex;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy