me.snowdrop.istio.api.rbac.v1alpha1.Subject Maven / Gradle / Ivy
package me.snowdrop.istio.api.rbac.v1alpha1;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.validation.Valid;
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.Doneable;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"group",
"groups",
"ips",
"names",
"namespaces",
"notGroups",
"notIps",
"notNames",
"notNamespaces",
"properties",
"user"
})
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = {
@Inline(type = Doneable.class, prefix = "Doneable", value = "done")
}, refs = {
@BuildableReference(ObjectMeta.class)
})
public class Subject implements Serializable
{
/**
*
*
*/
@JsonProperty("group")
@JsonPropertyDescription("")
private java.lang.String group;
/**
*
*
*/
@JsonProperty("groups")
@JsonPropertyDescription("")
@Valid
private List groups = new ArrayList();
/**
*
*
*/
@JsonProperty("ips")
@JsonPropertyDescription("")
@Valid
private List ips = new ArrayList();
/**
*
*
*/
@JsonProperty("names")
@JsonPropertyDescription("")
@Valid
private List names = new ArrayList();
/**
*
*
*/
@JsonProperty("namespaces")
@JsonPropertyDescription("")
@Valid
private List namespaces = new ArrayList();
/**
*
*
*/
@JsonProperty("notGroups")
@JsonPropertyDescription("")
@Valid
private List notGroups = new ArrayList();
/**
*
*
*/
@JsonProperty("notIps")
@JsonPropertyDescription("")
@Valid
private List notIps = new ArrayList();
/**
*
*
*/
@JsonProperty("notNames")
@JsonPropertyDescription("")
@Valid
private List notNames = new ArrayList();
/**
*
*
*/
@JsonProperty("notNamespaces")
@JsonPropertyDescription("")
@Valid
private List notNamespaces = new ArrayList();
/**
*
*
*/
@JsonProperty("properties")
@JsonPropertyDescription("")
@Valid
private Map properties;
/**
*
*
*/
@JsonProperty("user")
@JsonPropertyDescription("")
private java.lang.String user;
private final static long serialVersionUID = 3681874877287980448L;
/**
* No args constructor for use in serialization
*
*/
public Subject() {
}
/**
*
* @param names
* @param notNames
* @param notNamespaces
* @param notGroups
* @param groups
* @param ips
* @param user
* @param notIps
* @param properties
* @param group
* @param namespaces
*/
public Subject(java.lang.String group, List groups, List ips, List names, List namespaces, List notGroups, List notIps, List notNames, List notNamespaces, Map properties, java.lang.String user) {
super();
this.group = group;
this.groups = groups;
this.ips = ips;
this.names = names;
this.namespaces = namespaces;
this.notGroups = notGroups;
this.notIps = notIps;
this.notNames = notNames;
this.notNamespaces = notNamespaces;
this.properties = properties;
this.user = user;
}
/**
*
*
*/
@JsonProperty("group")
public java.lang.String getGroup() {
return group;
}
/**
*
*
*/
@JsonProperty("group")
public void setGroup(java.lang.String group) {
this.group = group;
}
/**
*
*
*/
@JsonProperty("groups")
public List getGroups() {
return groups;
}
/**
*
*
*/
@JsonProperty("groups")
public void setGroups(List groups) {
this.groups = groups;
}
/**
*
*
*/
@JsonProperty("ips")
public List getIps() {
return ips;
}
/**
*
*
*/
@JsonProperty("ips")
public void setIps(List ips) {
this.ips = ips;
}
/**
*
*
*/
@JsonProperty("names")
public List getNames() {
return names;
}
/**
*
*
*/
@JsonProperty("names")
public void setNames(List names) {
this.names = names;
}
/**
*
*
*/
@JsonProperty("namespaces")
public List getNamespaces() {
return namespaces;
}
/**
*
*
*/
@JsonProperty("namespaces")
public void setNamespaces(List namespaces) {
this.namespaces = namespaces;
}
/**
*
*
*/
@JsonProperty("notGroups")
public List getNotGroups() {
return notGroups;
}
/**
*
*
*/
@JsonProperty("notGroups")
public void setNotGroups(List notGroups) {
this.notGroups = notGroups;
}
/**
*
*
*/
@JsonProperty("notIps")
public List getNotIps() {
return notIps;
}
/**
*
*
*/
@JsonProperty("notIps")
public void setNotIps(List notIps) {
this.notIps = notIps;
}
/**
*
*
*/
@JsonProperty("notNames")
public List getNotNames() {
return notNames;
}
/**
*
*
*/
@JsonProperty("notNames")
public void setNotNames(List notNames) {
this.notNames = notNames;
}
/**
*
*
*/
@JsonProperty("notNamespaces")
public List getNotNamespaces() {
return notNamespaces;
}
/**
*
*
*/
@JsonProperty("notNamespaces")
public void setNotNamespaces(List notNamespaces) {
this.notNamespaces = notNamespaces;
}
/**
*
*
*/
@JsonProperty("properties")
public Map getProperties() {
return properties;
}
/**
*
*
*/
@JsonProperty("properties")
public void setProperties(Map properties) {
this.properties = properties;
}
/**
*
*
*/
@JsonProperty("user")
public java.lang.String getUser() {
return user;
}
/**
*
*
*/
@JsonProperty("user")
public void setUser(java.lang.String user) {
this.user = user;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy