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.fabric8.kubernetes.api.model.scheduling.v1beta1.PriorityClass Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model.scheduling.v1beta1;
import java.util.LinkedHashMap;
import java.util.Map;
import javax.annotation.Generated;
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.fabric8.kubernetes.api.builder.Editable;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.HasMetadata;
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
import io.fabric8.kubernetes.api.model.ResourceRequirements;
import io.fabric8.kubernetes.model.annotation.Group;
import io.fabric8.kubernetes.model.annotation.Version;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import io.sundr.transform.annotations.TemplateTransformation;
import io.sundr.transform.annotations.TemplateTransformations;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"description",
"globalDefault",
"preemptionPolicy",
"value"
})
@ToString
@EqualsAndHashCode
@Setter
@Accessors(prefix = {
"_",
""
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
@BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class),
@BuildableReference(LabelSelector.class),
@BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
@BuildableReference(ResourceRequirements.class),
@BuildableReference(IntOrString.class),
@BuildableReference(ObjectReference.class),
@BuildableReference(LocalObjectReference.class),
@BuildableReference(PersistentVolumeClaim.class)
})
@TemplateTransformations({
@TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true)
})
@Version("v1beta1")
@Group("scheduling.k8s.io")
@Generated("jsonschema2pojo")
public class PriorityClass implements Editable , HasMetadata
{
/**
*
* (Required)
*
*/
@JsonProperty("apiVersion")
private String apiVersion = "scheduling.k8s.io/v1beta1";
@JsonProperty("description")
private String description;
@JsonProperty("globalDefault")
private Boolean globalDefault;
/**
*
* (Required)
*
*/
@JsonProperty("kind")
private String kind = "PriorityClass";
@JsonProperty("metadata")
private io.fabric8.kubernetes.api.model.ObjectMeta metadata;
@JsonProperty("preemptionPolicy")
private String preemptionPolicy;
@JsonProperty("value")
private Integer value;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
/**
* No args constructor for use in serialization
*
*/
public PriorityClass() {
}
public PriorityClass(String apiVersion, String description, Boolean globalDefault, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, String preemptionPolicy, Integer value) {
super();
this.apiVersion = apiVersion;
this.description = description;
this.globalDefault = globalDefault;
this.kind = kind;
this.metadata = metadata;
this.preemptionPolicy = preemptionPolicy;
this.value = value;
}
/**
*
* (Required)
*
*/
@JsonProperty("apiVersion")
public String getApiVersion() {
return apiVersion;
}
/**
*
* (Required)
*
*/
@JsonProperty("apiVersion")
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
@JsonProperty("description")
public String getDescription() {
return description;
}
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
@JsonProperty("globalDefault")
public Boolean getGlobalDefault() {
return globalDefault;
}
@JsonProperty("globalDefault")
public void setGlobalDefault(Boolean globalDefault) {
this.globalDefault = globalDefault;
}
/**
*
* (Required)
*
*/
@JsonProperty("kind")
public String getKind() {
return kind;
}
/**
*
* (Required)
*
*/
@JsonProperty("kind")
public void setKind(String kind) {
this.kind = kind;
}
@JsonProperty("metadata")
public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() {
return metadata;
}
@JsonProperty("metadata")
public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) {
this.metadata = metadata;
}
@JsonProperty("preemptionPolicy")
public String getPreemptionPolicy() {
return preemptionPolicy;
}
@JsonProperty("preemptionPolicy")
public void setPreemptionPolicy(String preemptionPolicy) {
this.preemptionPolicy = preemptionPolicy;
}
@JsonProperty("value")
public Integer getValue() {
return value;
}
@JsonProperty("value")
public void setValue(Integer value) {
this.value = value;
}
@JsonIgnore
public PriorityClassBuilder edit() {
return new PriorityClassBuilder(this);
}
@JsonIgnore
public PriorityClassBuilder toBuilder() {
return edit();
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}