Class VersionContent
java.lang.Object
io.apicurio.registry.rest.v3.beans.VersionContent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRaw content of the artifact version or a valid (and accessible) URL where the content can be found.The content-type, such as `application/json` or `text/xml`.Collection of references to other artifacts.voidsetContent(String content) Raw content of the artifact version or a valid (and accessible) URL where the content can be found.voidsetContentType(String contentType) The content-type, such as `application/json` or `text/xml`.voidsetReferences(List<ArtifactReference> references) Collection of references to other artifacts.
-
Constructor Details
-
VersionContent
public VersionContent()
-
-
Method Details
-
getContent
Raw content of the artifact version or a valid (and accessible) URL where the content can be found. (Required) -
setContent
Raw content of the artifact version or a valid (and accessible) URL where the content can be found. (Required) -
getReferences
Collection of references to other artifacts. -
setReferences
Collection of references to other artifacts. -
getContentType
The content-type, such as `application/json` or `text/xml`. (Required) -
setContentType
The content-type, such as `application/json` or `text/xml`. (Required)
-