io.apicurio.registry.rest.v3.beans.VersionContent Maven / Gradle / Ivy
The newest version!
package io.apicurio.registry.rest.v3.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",
"contentType"
})
@Generated("jsonschema2pojo")
@io.quarkus.runtime.annotations.RegisterForReflection
@lombok.experimental.SuperBuilder
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.EqualsAndHashCode
@lombok.ToString(callSuper = true)
public class VersionContent {
/**
* Raw content of the artifact version or a valid (and accessible) URL where the content can be found.
* (Required)
*
*/
@JsonProperty("content")
@JsonPropertyDescription("Raw content of the artifact version or a valid (and accessible) URL where the content can be found.")
private String content;
/**
* Collection of references to other artifacts.
*
*/
@JsonProperty("references")
@JsonPropertyDescription("Collection of references to other artifacts.")
private List references = new ArrayList();
/**
* The content-type, such as `application/json` or `text/xml`.
* (Required)
*
*/
@JsonProperty("contentType")
@JsonPropertyDescription("The content-type, such as `application/json` or `text/xml`.")
private String contentType;
/**
* Raw content of the artifact version 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 version 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.
*
*/
@JsonProperty("references")
public List getReferences() {
return references;
}
/**
* Collection of references to other artifacts.
*
*/
@JsonProperty("references")
public void setReferences(List references) {
this.references = references;
}
/**
* The content-type, such as `application/json` or `text/xml`.
* (Required)
*
*/
@JsonProperty("contentType")
public String getContentType() {
return contentType;
}
/**
* The content-type, such as `application/json` or `text/xml`.
* (Required)
*
*/
@JsonProperty("contentType")
public void setContentType(String contentType) {
this.contentType = contentType;
}
}