me.snowdrop.istio.api.model.v1.mixer.ReferencedAttributes Maven / Gradle / Ivy
package me.snowdrop.istio.api.model.v1.mixer;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
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",
"attributeMatches",
"words"
})
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "me.snowdrop.istio.api.builder")
public class ReferencedAttributes implements Serializable
{
/**
*
*
*/
@JsonProperty("attributeMatches")
@JsonPropertyDescription("")
@Valid
private List attributeMatches = new ArrayList();
/**
*
*
*/
@JsonProperty("words")
@JsonPropertyDescription("")
@Valid
private List words = new ArrayList();
@JsonIgnore
@Valid
private Map additionalProperties = new HashMap();
private final static long serialVersionUID = -4336993040885865222L;
/**
* No args constructor for use in serialization
*
*/
public ReferencedAttributes() {
}
/**
*
* @param attributeMatches
* @param words
*/
public ReferencedAttributes(List attributeMatches, List words) {
super();
this.attributeMatches = attributeMatches;
this.words = words;
}
/**
*
*
*/
@JsonProperty("attributeMatches")
public List getAttributeMatches() {
return attributeMatches;
}
/**
*
*
*/
@JsonProperty("attributeMatches")
public void setAttributeMatches(List attributeMatches) {
this.attributeMatches = attributeMatches;
}
/**
*
*
*/
@JsonProperty("words")
public List getWords() {
return words;
}
/**
*
*
*/
@JsonProperty("words")
public void setWords(List words) {
this.words = words;
}
@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