me.snowdrop.istio.api.security.v1beta1.Operation Maven / Gradle / Ivy
The newest version!
package me.snowdrop.istio.api.security.v1beta1;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
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.fabric8.kubernetes.api.model.ObjectMeta;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"hosts",
"methods",
"notHosts",
"notMethods",
"notPaths",
"notPorts",
"paths",
"ports"
})
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
@BuildableReference(ObjectMeta.class)
})
public class Operation implements Serializable
{
/**
*
*/
@JsonProperty("hosts")
@JsonPropertyDescription("")
private List hosts = new ArrayList();
/**
*
*/
@JsonProperty("methods")
@JsonPropertyDescription("")
private List methods = new ArrayList();
/**
*
*/
@JsonProperty("notHosts")
@JsonPropertyDescription("")
private List notHosts = new ArrayList();
/**
*
*/
@JsonProperty("notMethods")
@JsonPropertyDescription("")
private List notMethods = new ArrayList();
/**
*
*/
@JsonProperty("notPaths")
@JsonPropertyDescription("")
private List notPaths = new ArrayList();
/**
*
*/
@JsonProperty("notPorts")
@JsonPropertyDescription("")
private List notPorts = new ArrayList();
/**
*
*/
@JsonProperty("paths")
@JsonPropertyDescription("")
private List paths = new ArrayList();
/**
*
*/
@JsonProperty("ports")
@JsonPropertyDescription("")
private List ports = new ArrayList();
private final static long serialVersionUID = 1914815729875204151L;
/**
* No args constructor for use in serialization
*
*/
public Operation() {
}
/**
*
* @param notMethods
* @param hosts
* @param methods
* @param paths
* @param notPaths
* @param notHosts
* @param ports
* @param notPorts
*/
public Operation(List hosts, List methods, List notHosts, List notMethods, List notPaths, List notPorts, List paths, List ports) {
super();
this.hosts = hosts;
this.methods = methods;
this.notHosts = notHosts;
this.notMethods = notMethods;
this.notPaths = notPaths;
this.notPorts = notPorts;
this.paths = paths;
this.ports = ports;
}
/**
*
*/
public List getHosts() {
return hosts;
}
/**
*
*/
public void setHosts(List hosts) {
this.hosts = hosts;
}
/**
*
*/
public List getMethods() {
return methods;
}
/**
*
*/
public void setMethods(List methods) {
this.methods = methods;
}
/**
*
*/
public List getNotHosts() {
return notHosts;
}
/**
*
*/
public void setNotHosts(List notHosts) {
this.notHosts = notHosts;
}
/**
*
*/
public List getNotMethods() {
return notMethods;
}
/**
*
*/
public void setNotMethods(List notMethods) {
this.notMethods = notMethods;
}
/**
*
*/
public List getNotPaths() {
return notPaths;
}
/**
*
*/
public void setNotPaths(List notPaths) {
this.notPaths = notPaths;
}
/**
*
*/
public List getNotPorts() {
return notPorts;
}
/**
*
*/
public void setNotPorts(List notPorts) {
this.notPorts = notPorts;
}
/**
*
*/
public List getPaths() {
return paths;
}
/**
*
*/
public void setPaths(List paths) {
this.paths = paths;
}
/**
*
*/
public List getPorts() {
return ports;
}
/**
*
*/
public void setPorts(List ports) {
this.ports = ports;
}
}