All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.alauda.kubernetes.api.model.PipelineTemplateArgumentValue Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version

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",
    "binding",
    "default",
    "display",
    "name",
    "relation",
    "required",
    "schema",
    "validation",
    "value"
})
@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 PipelineTemplateArgumentValue implements KubernetesResource
{

    /**
     * 
     * 
     */
    @JsonProperty("binding")
    @Valid
    private List binding = new ArrayList();
    /**
     * 
     * 
     */
    @JsonProperty("default")
    private String _default;
    /**
     * 
     * 
     */
    @JsonProperty("display")
    @Valid
    private PipelineTaskArgumentDisplay display;
    /**
     * 
     * 
     */
    @JsonProperty("name")
    private String name;
    /**
     * 
     * 
     */
    @JsonProperty("relation")
    @Valid
    private List relation = new ArrayList();
    /**
     * 
     * 
     */
    @JsonProperty("required")
    private Boolean required;
    /**
     * 
     * 
     */
    @JsonProperty("schema")
    @Valid
    private PipelineTaskArgumentSchema schema;
    /**
     * 
     * 
     */
    @JsonProperty("validation")
    @Valid
    private PipelineTaskArgumentValidation validation;
    /**
     * 
     * 
     */
    @JsonProperty("value")
    private String value;
    @JsonIgnore
    private Map additionalProperties = new HashMap();

    /**
     * No args constructor for use in serialization
     * 
     */
    public PipelineTemplateArgumentValue() {
    }

    /**
     * 
     * @param schema
     * @param _default
     * @param display
     * @param name
     * @param binding
     * @param value
     * @param required
     * @param validation
     * @param relation
     */
    public PipelineTemplateArgumentValue(List binding, String _default, PipelineTaskArgumentDisplay display, String name, List relation, Boolean required, PipelineTaskArgumentSchema schema, PipelineTaskArgumentValidation validation, String value) {
        this.binding = binding;
        this._default = _default;
        this.display = display;
        this.name = name;
        this.relation = relation;
        this.required = required;
        this.schema = schema;
        this.validation = validation;
        this.value = value;
    }

    /**
     * 
     * 
     * @return
     *     The binding
     */
    @JsonProperty("binding")
    public List getBinding() {
        return binding;
    }

    /**
     * 
     * 
     * @param binding
     *     The binding
     */
    @JsonProperty("binding")
    public void setBinding(List binding) {
        this.binding = binding;
    }

    /**
     * 
     * 
     * @return
     *     The _default
     */
    @JsonProperty("default")
    public String getDefault() {
        return _default;
    }

    /**
     * 
     * 
     * @param _default
     *     The default
     */
    @JsonProperty("default")
    public void setDefault(String _default) {
        this._default = _default;
    }

    /**
     * 
     * 
     * @return
     *     The display
     */
    @JsonProperty("display")
    public PipelineTaskArgumentDisplay getDisplay() {
        return display;
    }

    /**
     * 
     * 
     * @param display
     *     The display
     */
    @JsonProperty("display")
    public void setDisplay(PipelineTaskArgumentDisplay display) {
        this.display = display;
    }

    /**
     * 
     * 
     * @return
     *     The name
     */
    @JsonProperty("name")
    public String getName() {
        return name;
    }

    /**
     * 
     * 
     * @param name
     *     The name
     */
    @JsonProperty("name")
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 
     * 
     * @return
     *     The relation
     */
    @JsonProperty("relation")
    public List getRelation() {
        return relation;
    }

    /**
     * 
     * 
     * @param relation
     *     The relation
     */
    @JsonProperty("relation")
    public void setRelation(List relation) {
        this.relation = relation;
    }

    /**
     * 
     * 
     * @return
     *     The required
     */
    @JsonProperty("required")
    public Boolean getRequired() {
        return required;
    }

    /**
     * 
     * 
     * @param required
     *     The required
     */
    @JsonProperty("required")
    public void setRequired(Boolean required) {
        this.required = required;
    }

    /**
     * 
     * 
     * @return
     *     The schema
     */
    @JsonProperty("schema")
    public PipelineTaskArgumentSchema getSchema() {
        return schema;
    }

    /**
     * 
     * 
     * @param schema
     *     The schema
     */
    @JsonProperty("schema")
    public void setSchema(PipelineTaskArgumentSchema schema) {
        this.schema = schema;
    }

    /**
     * 
     * 
     * @return
     *     The validation
     */
    @JsonProperty("validation")
    public PipelineTaskArgumentValidation getValidation() {
        return validation;
    }

    /**
     * 
     * 
     * @param validation
     *     The validation
     */
    @JsonProperty("validation")
    public void setValidation(PipelineTaskArgumentValidation validation) {
        this.validation = validation;
    }

    /**
     * 
     * 
     * @return
     *     The value
     */
    @JsonProperty("value")
    public String getValue() {
        return value;
    }

    /**
     * 
     * 
     * @param value
     *     The value
     */
    @JsonProperty("value")
    public void setValue(String value) {
        this.value = value;
    }

    @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