All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.alauda.kubernetes.api.model.NodeStatus Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
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.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.alauda.kubernetes.api.model.Doneable;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"addresses",
"allocatable",
"capacity",
"conditions",
"daemonEndpoints",
"images",
"nodeInfo",
"phase",
"volumesAttached",
"volumesInUse"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.alauda.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class NodeStatus implements KubernetesResource
{
/**
*
*
*/
@JsonProperty("addresses")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Valid
private List addresses = new ArrayList();
/**
*
*
*/
@JsonProperty("allocatable")
@Valid
private Map allocatable;
/**
*
*
*/
@JsonProperty("capacity")
@Valid
private Map capacity;
/**
*
*
*/
@JsonProperty("conditions")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Valid
private List conditions = new ArrayList();
/**
*
*
*/
@JsonProperty("daemonEndpoints")
@Valid
private NodeDaemonEndpoints daemonEndpoints;
/**
*
*
*/
@JsonProperty("images")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Valid
private List images = new ArrayList();
/**
*
*
*/
@JsonProperty("nodeInfo")
@Valid
private NodeSystemInfo nodeInfo;
/**
*
*
*/
@JsonProperty("phase")
private java.lang.String phase;
/**
*
*
*/
@JsonProperty("volumesAttached")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Valid
private List volumesAttached = new ArrayList();
/**
*
*
*/
@JsonProperty("volumesInUse")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Valid
private List volumesInUse = new ArrayList();
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
* No args constructor for use in serialization
*
*/
public NodeStatus() {
}
/**
*
* @param daemonEndpoints
* @param phase
* @param allocatable
* @param volumesInUse
* @param addresses
* @param images
* @param nodeInfo
* @param conditions
* @param volumesAttached
* @param capacity
*/
public NodeStatus(List addresses, Map allocatable, Map capacity, List conditions, NodeDaemonEndpoints daemonEndpoints, List images, NodeSystemInfo nodeInfo, java.lang.String phase, List volumesAttached, List volumesInUse) {
this.addresses = addresses;
this.allocatable = allocatable;
this.capacity = capacity;
this.conditions = conditions;
this.daemonEndpoints = daemonEndpoints;
this.images = images;
this.nodeInfo = nodeInfo;
this.phase = phase;
this.volumesAttached = volumesAttached;
this.volumesInUse = volumesInUse;
}
/**
*
*
* @return
* The addresses
*/
@JsonProperty("addresses")
public List getAddresses() {
return addresses;
}
/**
*
*
* @param addresses
* The addresses
*/
@JsonProperty("addresses")
public void setAddresses(List addresses) {
this.addresses = addresses;
}
/**
*
*
* @return
* The allocatable
*/
@JsonProperty("allocatable")
public Map getAllocatable() {
return allocatable;
}
/**
*
*
* @param allocatable
* The allocatable
*/
@JsonProperty("allocatable")
public void setAllocatable(Map allocatable) {
this.allocatable = allocatable;
}
/**
*
*
* @return
* The capacity
*/
@JsonProperty("capacity")
public Map getCapacity() {
return capacity;
}
/**
*
*
* @param capacity
* The capacity
*/
@JsonProperty("capacity")
public void setCapacity(Map capacity) {
this.capacity = capacity;
}
/**
*
*
* @return
* The conditions
*/
@JsonProperty("conditions")
public List getConditions() {
return conditions;
}
/**
*
*
* @param conditions
* The conditions
*/
@JsonProperty("conditions")
public void setConditions(List conditions) {
this.conditions = conditions;
}
/**
*
*
* @return
* The daemonEndpoints
*/
@JsonProperty("daemonEndpoints")
public NodeDaemonEndpoints getDaemonEndpoints() {
return daemonEndpoints;
}
/**
*
*
* @param daemonEndpoints
* The daemonEndpoints
*/
@JsonProperty("daemonEndpoints")
public void setDaemonEndpoints(NodeDaemonEndpoints daemonEndpoints) {
this.daemonEndpoints = daemonEndpoints;
}
/**
*
*
* @return
* The images
*/
@JsonProperty("images")
public List getImages() {
return images;
}
/**
*
*
* @param images
* The images
*/
@JsonProperty("images")
public void setImages(List images) {
this.images = images;
}
/**
*
*
* @return
* The nodeInfo
*/
@JsonProperty("nodeInfo")
public NodeSystemInfo getNodeInfo() {
return nodeInfo;
}
/**
*
*
* @param nodeInfo
* The nodeInfo
*/
@JsonProperty("nodeInfo")
public void setNodeInfo(NodeSystemInfo nodeInfo) {
this.nodeInfo = nodeInfo;
}
/**
*
*
* @return
* The phase
*/
@JsonProperty("phase")
public java.lang.String getPhase() {
return phase;
}
/**
*
*
* @param phase
* The phase
*/
@JsonProperty("phase")
public void setPhase(java.lang.String phase) {
this.phase = phase;
}
/**
*
*
* @return
* The volumesAttached
*/
@JsonProperty("volumesAttached")
public List getVolumesAttached() {
return volumesAttached;
}
/**
*
*
* @param volumesAttached
* The volumesAttached
*/
@JsonProperty("volumesAttached")
public void setVolumesAttached(List volumesAttached) {
this.volumesAttached = volumesAttached;
}
/**
*
*
* @return
* The volumesInUse
*/
@JsonProperty("volumesInUse")
public List getVolumesInUse() {
return volumesInUse;
}
/**
*
*
* @param volumesInUse
* The volumesInUse
*/
@JsonProperty("volumesInUse")
public void setVolumesInUse(List volumesInUse) {
this.volumesInUse = volumesInUse;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(java.lang.String name, Object value) {
this.additionalProperties.put(name, value);
}
}