
me.snowdrop.applicationcrd.api.model.Descriptor Maven / Gradle / Ivy
The newest version!
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.LabelSelector;
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({
"description",
"icons",
"keywords",
"links",
"maintainers",
"notes",
"owners",
"type",
"version"
})
@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(LabelSelector.class)
})
public class Descriptor implements KubernetesResource
{
/**
*
*
*/
@JsonProperty("description")
private String description;
/**
*
*
*/
@JsonProperty("icons")
@Valid
private List icons = new ArrayList();
/**
*
*
*/
@JsonProperty("keywords")
@Valid
private List keywords = new ArrayList();
/**
*
*
*/
@JsonProperty("links")
@Valid
private List links = new ArrayList();
/**
*
*
*/
@JsonProperty("maintainers")
@Valid
private List maintainers = new ArrayList();
/**
*
*
*/
@JsonProperty("notes")
private String notes;
/**
*
*
*/
@JsonProperty("owners")
@Valid
private List owners = new ArrayList();
/**
*
*
*/
@JsonProperty("type")
private String type;
/**
*
*
*/
@JsonProperty("version")
private String version;
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
* No args constructor for use in serialization
*
*/
public Descriptor() {
}
/**
*
* @param maintainers
* @param notes
* @param keywords
* @param description
* @param links
* @param owners
* @param icons
* @param type
* @param version
*/
public Descriptor(String description, List icons, List keywords, List links, List maintainers, String notes, List owners, String type, String version) {
this.description = description;
this.icons = icons;
this.keywords = keywords;
this.links = links;
this.maintainers = maintainers;
this.notes = notes;
this.owners = owners;
this.type = type;
this.version = version;
}
/**
*
*
* @return
* The description
*/
@JsonProperty("description")
public String getDescription() {
return description;
}
/**
*
*
* @param description
* The description
*/
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
/**
*
*
* @return
* The icons
*/
@JsonProperty("icons")
public List getIcons() {
return icons;
}
/**
*
*
* @param icons
* The icons
*/
@JsonProperty("icons")
public void setIcons(List icons) {
this.icons = icons;
}
/**
*
*
* @return
* The keywords
*/
@JsonProperty("keywords")
public List getKeywords() {
return keywords;
}
/**
*
*
* @param keywords
* The keywords
*/
@JsonProperty("keywords")
public void setKeywords(List keywords) {
this.keywords = keywords;
}
/**
*
*
* @return
* The links
*/
@JsonProperty("links")
public List getLinks() {
return links;
}
/**
*
*
* @param links
* The links
*/
@JsonProperty("links")
public void setLinks(List links) {
this.links = links;
}
/**
*
*
* @return
* The maintainers
*/
@JsonProperty("maintainers")
public List getMaintainers() {
return maintainers;
}
/**
*
*
* @param maintainers
* The maintainers
*/
@JsonProperty("maintainers")
public void setMaintainers(List maintainers) {
this.maintainers = maintainers;
}
/**
*
*
* @return
* The notes
*/
@JsonProperty("notes")
public String getNotes() {
return notes;
}
/**
*
*
* @param notes
* The notes
*/
@JsonProperty("notes")
public void setNotes(String notes) {
this.notes = notes;
}
/**
*
*
* @return
* The owners
*/
@JsonProperty("owners")
public List getOwners() {
return owners;
}
/**
*
*
* @param owners
* The owners
*/
@JsonProperty("owners")
public void setOwners(List owners) {
this.owners = owners;
}
/**
*
*
* @return
* The type
*/
@JsonProperty("type")
public String getType() {
return type;
}
/**
*
*
* @param type
* The type
*/
@JsonProperty("type")
public void setType(String type) {
this.type = type;
}
/**
*
*
* @return
* The version
*/
@JsonProperty("version")
public String getVersion() {
return version;
}
/**
*
*
* @param version
* The version
*/
@JsonProperty("version")
public void setVersion(String version) {
this.version = version;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy