me.snowdrop.istio.api.model.v1.mixer.template.Action Maven / Gradle / Ivy
package me.snowdrop.istio.api.model.v1.mixer.template;
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;
import me.snowdrop.istio.api.model.v1.cexl.TypedValue;
/**
*
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"method",
"namespace",
"path",
"properties",
"service"
})
@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 Action implements Serializable
{
/**
*
*
*/
@JsonProperty("method")
@JsonPropertyDescription("")
private java.lang.String method;
/**
*
*
*/
@JsonProperty("namespace")
@JsonPropertyDescription("")
private java.lang.String namespace;
/**
*
*
*/
@JsonProperty("path")
@JsonPropertyDescription("")
private java.lang.String path;
/**
*
*
*/
@JsonProperty("properties")
@JsonPropertyDescription("")
@Valid
private Map properties;
/**
*
*
*/
@JsonProperty("service")
@JsonPropertyDescription("")
private java.lang.String service;
@JsonIgnore
@Valid
private Map additionalProperties = new HashMap();
private final static long serialVersionUID = 7790093923942430181L;
/**
* No args constructor for use in serialization
*
*/
public Action() {
}
/**
*
* @param path
* @param method
* @param service
* @param namespace
* @param properties
*/
public Action(java.lang.String method, java.lang.String namespace, java.lang.String path, Map properties, java.lang.String service) {
super();
this.method = method;
this.namespace = namespace;
this.path = path;
this.properties = properties;
this.service = service;
}
/**
*
*
*/
@JsonProperty("method")
public java.lang.String getMethod() {
return method;
}
/**
*
*
*/
@JsonProperty("method")
public void setMethod(java.lang.String method) {
this.method = method;
}
/**
*
*
*/
@JsonProperty("namespace")
public java.lang.String getNamespace() {
return namespace;
}
/**
*
*
*/
@JsonProperty("namespace")
public void setNamespace(java.lang.String namespace) {
this.namespace = namespace;
}
/**
*
*
*/
@JsonProperty("path")
public java.lang.String getPath() {
return path;
}
/**
*
*
*/
@JsonProperty("path")
public void setPath(java.lang.String path) {
this.path = path;
}
/**
*
*
*/
@JsonProperty("properties")
public Map getProperties() {
return properties;
}
/**
*
*
*/
@JsonProperty("properties")
public void setProperties(Map properties) {
this.properties = properties;
}
/**
*
*
*/
@JsonProperty("service")
public java.lang.String getService() {
return service;
}
/**
*
*
*/
@JsonProperty("service")
public void setService(java.lang.String service) {
this.service = service;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(java.lang.String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy