io.apicurio.registry.rest.v3.beans.ArtifactMetaData Maven / Gradle / Ivy
package io.apicurio.registry.rest.v3.beans;
import java.util.Date;
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;
/**
* Root Type for ArtifactMetaData
*
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"name",
"description",
"owner",
"createdOn",
"modifiedBy",
"modifiedOn",
"artifactType",
"labels",
"groupId",
"artifactId"
})
@Generated("jsonschema2pojo")
@io.quarkus.runtime.annotations.RegisterForReflection
@lombok.experimental.SuperBuilder
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.EqualsAndHashCode
@lombok.ToString(callSuper = true)
public class ArtifactMetaData {
@JsonProperty("name")
private String name;
@JsonProperty("description")
private String description;
/**
*
* (Required)
*
*/
@JsonProperty("owner")
private String owner;
/**
*
* (Required)
*
*/
@JsonProperty("createdOn")
private Date createdOn;
/**
*
* (Required)
*
*/
@JsonProperty("modifiedBy")
private String modifiedBy;
/**
*
* (Required)
*
*/
@JsonProperty("modifiedOn")
private Date modifiedOn;
/**
*
* (Required)
*
*/
@JsonProperty("artifactType")
@JsonPropertyDescription("")
private String artifactType;
/**
* 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;
/**
* An ID of a single artifact group.
* (Required)
*
*/
@JsonProperty("groupId")
@JsonPropertyDescription("An ID of a single artifact group.")
private String groupId;
/**
* The ID of a single artifact.
* (Required)
*
*/
@JsonProperty("artifactId")
@JsonPropertyDescription("The ID of a single artifact.")
private String artifactId;
@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;
}
/**
*
* (Required)
*
*/
@JsonProperty("owner")
public String getOwner() {
return owner;
}
/**
*
* (Required)
*
*/
@JsonProperty("owner")
public void setOwner(String owner) {
this.owner = owner;
}
/**
*
* (Required)
*
*/
@JsonProperty("createdOn")
public Date getCreatedOn() {
return createdOn;
}
/**
*
* (Required)
*
*/
@JsonProperty("createdOn")
public void setCreatedOn(Date createdOn) {
this.createdOn = createdOn;
}
/**
*
* (Required)
*
*/
@JsonProperty("modifiedBy")
public String getModifiedBy() {
return modifiedBy;
}
/**
*
* (Required)
*
*/
@JsonProperty("modifiedBy")
public void setModifiedBy(String modifiedBy) {
this.modifiedBy = modifiedBy;
}
/**
*
* (Required)
*
*/
@JsonProperty("modifiedOn")
public Date getModifiedOn() {
return modifiedOn;
}
/**
*
* (Required)
*
*/
@JsonProperty("modifiedOn")
public void setModifiedOn(Date modifiedOn) {
this.modifiedOn = modifiedOn;
}
/**
*
* (Required)
*
*/
@JsonProperty("artifactType")
public String getArtifactType() {
return artifactType;
}
/**
*
* (Required)
*
*/
@JsonProperty("artifactType")
public void setArtifactType(String artifactType) {
this.artifactType = artifactType;
}
/**
* 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;
}
/**
* An ID of a single artifact group.
* (Required)
*
*/
@JsonProperty("groupId")
public String getGroupId() {
return groupId;
}
/**
* An ID of a single artifact group.
* (Required)
*
*/
@JsonProperty("groupId")
public void setGroupId(String groupId) {
this.groupId = groupId;
}
/**
* 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;
}
}