Class VersionContent
java.lang.Object
io.apicurio.registry.rest.v3.beans.VersionContent
-
Nested Class Summary
Nested Classes -
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`.Optional encoding for the content property.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`.voidsetEncoding(VersionContent.Encoding encoding) Optional encoding for the content property.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) -
getEncoding
Optional encoding for the content property. When set to 'base64', the content value will be base64-decoded by the server before processing. -
setEncoding
Optional encoding for the content property. When set to 'base64', the content value will be base64-decoded by the server before processing.
-