Class CreateVersion
java.lang.Object
io.apicurio.registry.rest.v3.beans.CreateVersion
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(Required)User-defined name-value pairs.getName()A single version of an artifact.voidsetBranches(List<String> branches) voidsetContent(VersionContent content) (Required)voidsetDescription(String description) voidsetIsDraft(Boolean isDraft) voidUser-defined name-value pairs.voidvoidsetVersion(String version) A single version of an artifact.
-
Constructor Details
-
CreateVersion
public CreateVersion()
-
-
Method Details
-
getVersion
A single version of an artifact. Can be provided by the client when creating a new version, or it can be server-generated. The value can be any string unique to the artifact, but it is recommended to use a simple integer or a semver value. -
setVersion
A single version of an artifact. Can be provided by the client when creating a new version, or it can be server-generated. The value can be any string unique to the artifact, but it is recommended to use a simple integer or a semver value. -
getContent
(Required) -
setContent
(Required) -
getName
-
setName
-
getDescription
-
setDescription
-
getLabels
User-defined name-value pairs. Name and value must be strings. -
setLabels
User-defined name-value pairs. Name and value must be strings. -
getBranches
-
setBranches
-
getIsDraft
-
setIsDraft
-