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

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 io.sundr.builder.annotations.Buildable;
import lombok.EqualsAndHashCode;
import lombok.ToString;


/**
 * 
 * 
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
    "apiVersion",
    "kind",
    "metadata",
    "condition",
    "mapKey",
    "name",
    "regex"
})
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "me.snowdrop.istio.api.builder")
public class AttributeMatch implements Serializable
{

    /**
     * 
     * 
     */
    @JsonProperty("condition")
    @JsonPropertyDescription("")
    private Integer 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 = -7825254174132471280L;

    /**
     * No args constructor for use in serialization
     * 
     */
    public AttributeMatch() {
    }

    /**
     * 
     * @param condition
     * @param regex
     * @param mapKey
     * @param name
     */
    public AttributeMatch(Integer condition, Integer mapKey, Integer name, String regex) {
        super();
        this.condition = condition;
        this.mapKey = mapKey;
        this.name = name;
        this.regex = regex;
    }

    /**
     * 
     * 
     */
    @JsonProperty("condition")
    public Integer getCondition() {
        return condition;
    }

    /**
     * 
     * 
     */
    @JsonProperty("condition")
    public void setCondition(Integer 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