io.apicurio.registry.rest.v2.beans.EditableMetaData Maven / Gradle / Ivy
package io.apicurio.registry.rest.v2.beans;
import java.util.ArrayList;
import java.util.List;
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 EditableArtifactMetaData
*
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"name",
"description",
"labels",
"properties"
})
@Generated("jsonschema2pojo")
@io.quarkus.runtime.annotations.RegisterForReflection
@lombok.experimental.SuperBuilder
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.EqualsAndHashCode
@lombok.ToString(callSuper = true)
public class EditableMetaData {
@JsonProperty("name")
private String name;
@JsonProperty("description")
private String description;
/**
*
*/
@JsonProperty("labels")
@JsonPropertyDescription("")
private List labels = new ArrayList();
/**
* User-defined name-value pairs. Name and value must be strings.
*
*/
@JsonProperty("properties")
@JsonPropertyDescription("User-defined name-value pairs. Name and value must be strings.")
private Map properties;
@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;
}
/**
*
*/
@JsonProperty("labels")
public List getLabels() {
return labels;
}
/**
*
*/
@JsonProperty("labels")
public void setLabels(List labels) {
this.labels = labels;
}
/**
* User-defined name-value pairs. Name and value must be strings.
*
*/
@JsonProperty("properties")
public Map getProperties() {
return properties;
}
/**
* User-defined name-value pairs. Name and value must be strings.
*
*/
@JsonProperty("properties")
public void setProperties(Map properties) {
this.properties = properties;
}
}