Class VersionMetaData
java.lang.Object
io.apicurio.registry.rest.v3.beans.VersionMetaData
Root Type for ArtifactVersionMetaData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe ID of a single artifact.(Required)(Required)(Required)(Required)An ID of a single artifact group.User-defined name-value pairs.getName()getOwner()(Required)getState()Describes the state of an artifact or artifact version.A single version of an artifact.voidsetArtifactId(String artifactId) The ID of a single artifact.voidsetArtifactType(String artifactType) (Required)voidsetContentId(Long contentId) (Required)voidsetCreatedOn(Date createdOn) (Required)voidsetDescription(String description) voidsetGlobalId(Long globalId) (Required)voidsetGroupId(String groupId) An ID of a single artifact group.voidUser-defined name-value pairs.voidsetModifiedBy(String modifiedBy) voidsetModifiedOn(Date modifiedOn) voidvoid(Required)voidsetState(VersionState state) Describes the state of an artifact or artifact version.voidsetVersion(String version) A single version of an artifact.
-
Constructor Details
-
VersionMetaData
public VersionMetaData()
-
-
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. (Required) -
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. (Required) -
getName
-
setName
-
getDescription
-
setDescription
-
getOwner
(Required) -
setOwner
(Required) -
getCreatedOn
(Required) -
setCreatedOn
(Required) -
getArtifactType
(Required) -
setArtifactType
(Required) -
getGlobalId
(Required) -
setGlobalId
(Required) -
getState
Describes the state of an artifact or artifact version. The following states are possible: * ENABLED * DISABLED * DEPRECATED -
setState
Describes the state of an artifact or artifact version. The following states are possible: * ENABLED * DISABLED * DEPRECATED -
getLabels
User-defined name-value pairs. Name and value must be strings. -
setLabels
User-defined name-value pairs. Name and value must be strings. -
getGroupId
An ID of a single artifact group. -
setGroupId
An ID of a single artifact group. -
getContentId
(Required) -
setContentId
(Required) -
getArtifactId
The ID of a single artifact. (Required) -
setArtifactId
The ID of a single artifact. (Required) -
getModifiedBy
-
setModifiedBy
-
getModifiedOn
-
setModifiedOn
-