io.apicurio.registry.rest.v2.beans.ArtifactContent Maven / Gradle / Ivy
package io.apicurio.registry.rest.v2.beans;
import java.util.ArrayList;
import java.util.List;
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;
/**
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"content",
"references"
})
@Generated("jsonschema2pojo")
@io.quarkus.runtime.annotations.RegisterForReflection
@lombok.experimental.SuperBuilder
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.EqualsAndHashCode
@lombok.ToString(callSuper = true)
public class ArtifactContent {
/**
* Raw content of the artifact or a valid (and accessible) URL where the content can be found.
* (Required)
*
*/
@JsonProperty("content")
@JsonPropertyDescription("Raw content of the artifact or a valid (and accessible) URL where the content can be found.")
private String content;
/**
* Collection of references to other artifacts.
* (Required)
*
*/
@JsonProperty("references")
@JsonPropertyDescription("Collection of references to other artifacts.")
private List references = new ArrayList();
/**
* Raw content of the artifact or a valid (and accessible) URL where the content can be found.
* (Required)
*
*/
@JsonProperty("content")
public String getContent() {
return content;
}
/**
* Raw content of the artifact or a valid (and accessible) URL where the content can be found.
* (Required)
*
*/
@JsonProperty("content")
public void setContent(String content) {
this.content = content;
}
/**
* Collection of references to other artifacts.
* (Required)
*
*/
@JsonProperty("references")
public List getReferences() {
return references;
}
/**
* Collection of references to other artifacts.
* (Required)
*
*/
@JsonProperty("references")
public void setReferences(List references) {
this.references = references;
}
}