me.snowdrop.applicationcrd.api.model.ApplicationSpec Maven / Gradle / Ivy
package me.snowdrop.applicationcrd.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.fabric8.kubernetes.api.model.Doneable;
import io.fabric8.kubernetes.api.model.KubernetesResource;
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_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
"assemblyPhase",
"componentKinds",
"descriptor",
"info",
"selector"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = false, builderPackage = "io.fabric8.kubernetes.api.builder", inline = {
@Inline(type = Doneable.class, prefix = "Doneable", value = "done")
}, refs = {
@BuildableReference(ObjectMeta.class),
@BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class)
})
public class ApplicationSpec implements KubernetesResource
{
/**
*
*
*/
@JsonProperty("assemblyPhase")
private String assemblyPhase;
/**
*
*
*/
@JsonProperty("componentKinds")
@Valid
private List componentKinds = new ArrayList();
/**
*
*
*/
@JsonProperty("descriptor")
@Valid
private Descriptor descriptor;
/**
*
*
*/
@JsonProperty("info")
@Valid
private List info = new ArrayList();
/**
*
*
*/
@JsonProperty("selector")
@Valid
private io.fabric8.kubernetes.api.model.LabelSelector selector;
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
* No args constructor for use in serialization
*
*/
public ApplicationSpec() {
}
/**
*
* @param assemblyPhase
* @param selector
* @param descriptor
* @param componentKinds
* @param info
*/
public ApplicationSpec(String assemblyPhase, List componentKinds, Descriptor descriptor, List info, io.fabric8.kubernetes.api.model.LabelSelector selector) {
this.assemblyPhase = assemblyPhase;
this.componentKinds = componentKinds;
this.descriptor = descriptor;
this.info = info;
this.selector = selector;
}
/**
*
*
* @return
* The assemblyPhase
*/
@JsonProperty("assemblyPhase")
public String getAssemblyPhase() {
return assemblyPhase;
}
/**
*
*
* @param assemblyPhase
* The assemblyPhase
*/
@JsonProperty("assemblyPhase")
public void setAssemblyPhase(String assemblyPhase) {
this.assemblyPhase = assemblyPhase;
}
/**
*
*
* @return
* The componentKinds
*/
@JsonProperty("componentKinds")
public List getComponentKinds() {
return componentKinds;
}
/**
*
*
* @param componentKinds
* The componentKinds
*/
@JsonProperty("componentKinds")
public void setComponentKinds(List componentKinds) {
this.componentKinds = componentKinds;
}
/**
*
*
* @return
* The descriptor
*/
@JsonProperty("descriptor")
public Descriptor getDescriptor() {
return descriptor;
}
/**
*
*
* @param descriptor
* The descriptor
*/
@JsonProperty("descriptor")
public void setDescriptor(Descriptor descriptor) {
this.descriptor = descriptor;
}
/**
*
*
* @return
* The info
*/
@JsonProperty("info")
public List getInfo() {
return info;
}
/**
*
*
* @param info
* The info
*/
@JsonProperty("info")
public void setInfo(List info) {
this.info = info;
}
/**
*
*
* @return
* The selector
*/
@JsonProperty("selector")
public io.fabric8.kubernetes.api.model.LabelSelector getSelector() {
return selector;
}
/**
*
*
* @param selector
* The selector
*/
@JsonProperty("selector")
public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector) {
this.selector = selector;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy