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

io.apicurio.registry.rest.v3.beans.CreateArtifact Maven / Gradle / Ivy

The newest version!

package io.apicurio.registry.rest.v3.beans;

import java.util.Map;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * Data sent when creating a new artifact.
 * 
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
    "artifactId",
    "artifactType",
    "name",
    "description",
    "labels",
    "firstVersion"
})
@Generated("jsonschema2pojo")
@io.quarkus.runtime.annotations.RegisterForReflection
@lombok.experimental.SuperBuilder
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.EqualsAndHashCode
@lombok.ToString(callSuper = true)
public class CreateArtifact {

    /**
     * The ID of a single artifact.
     * (Required)
     * 
     */
    @JsonProperty("artifactId")
    @JsonPropertyDescription("The ID of a single artifact.")
    private String artifactId;
    /**
     * 
     */
    @JsonProperty("artifactType")
    @JsonPropertyDescription("")
    private String artifactType;
    /**
     * 
     */
    @JsonProperty("name")
    @JsonPropertyDescription("")
    private String name;
    /**
     * 
     */
    @JsonProperty("description")
    @JsonPropertyDescription("")
    private String description;
    /**
     * User-defined name-value pairs. Name and value must be strings.
     * 
     */
    @JsonProperty("labels")
    @JsonPropertyDescription("User-defined name-value pairs. Name and value must be strings.")
    private Map labels;
    /**
     * 
     */
    @JsonProperty("firstVersion")
    @JsonPropertyDescription("")
    private CreateVersion firstVersion;

    /**
     * The ID of a single artifact.
     * (Required)
     * 
     */
    @JsonProperty("artifactId")
    public String getArtifactId() {
        return artifactId;
    }

    /**
     * The ID of a single artifact.
     * (Required)
     * 
     */
    @JsonProperty("artifactId")
    public void setArtifactId(String artifactId) {
        this.artifactId = artifactId;
    }

    /**
     * 
     */
    @JsonProperty("artifactType")
    public String getArtifactType() {
        return artifactType;
    }

    /**
     * 
     */
    @JsonProperty("artifactType")
    public void setArtifactType(String artifactType) {
        this.artifactType = artifactType;
    }

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

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

    /**
     * 
     */
    @JsonProperty("description")
    public String getDescription() {
        return description;
    }

    /**
     * 
     */
    @JsonProperty("description")
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * User-defined name-value pairs. Name and value must be strings.
     * 
     */
    @JsonProperty("labels")
    public Map getLabels() {
        return labels;
    }

    /**
     * User-defined name-value pairs. Name and value must be strings.
     * 
     */
    @JsonProperty("labels")
    public void setLabels(Map labels) {
        this.labels = labels;
    }

    /**
     * 
     */
    @JsonProperty("firstVersion")
    public CreateVersion getFirstVersion() {
        return firstVersion;
    }

    /**
     * 
     */
    @JsonProperty("firstVersion")
    public void setFirstVersion(CreateVersion firstVersion) {
        this.firstVersion = firstVersion;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy