Class VersionMetaData
- java.lang.Object
-
- io.apicurio.registry.rest.v2.beans.VersionMetaData
-
public class VersionMetaData extends Object
Root Type for ArtifactVersionMetaData
-
-
Constructor Summary
Constructors Constructor Description VersionMetaData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getContentId()
(Required)String
getCreatedBy()
(Required)Date
getCreatedOn()
(Required)String
getDescription()
Long
getGlobalId()
(Required)String
getGroupId()
An ID of a single artifact group.String
getId()
The ID of a single artifact.List<String>
getLabels()
String
getName()
Map<String,String>
getProperties()
User-defined name-value pairs.ArtifactState
getState()
Describes the state of an artifact or artifact version.ArtifactType
getType()
(Required)String
getVersion()
(Required)void
setContentId(Long contentId)
(Required)void
setCreatedBy(String createdBy)
(Required)void
setCreatedOn(Date createdOn)
(Required)void
setDescription(String description)
void
setGlobalId(Long globalId)
(Required)void
setGroupId(String groupId)
An ID of a single artifact group.void
setId(String id)
The ID of a single artifact.void
setLabels(List<String> labels)
void
setName(String name)
void
setProperties(Map<String,String> properties)
User-defined name-value pairs.void
setState(ArtifactState state)
Describes the state of an artifact or artifact version.void
setType(ArtifactType type)
(Required)void
setVersion(String version)
(Required)
-
-
-
Method Detail
-
getVersion
public String getVersion()
(Required)
-
setVersion
public void setVersion(String version)
(Required)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getCreatedBy
public String getCreatedBy()
(Required)
-
setCreatedBy
public void setCreatedBy(String createdBy)
(Required)
-
getCreatedOn
public Date getCreatedOn()
(Required)
-
setCreatedOn
public void setCreatedOn(Date createdOn)
(Required)
-
getType
public ArtifactType getType()
(Required)
-
setType
public void setType(ArtifactType type)
(Required)
-
getGlobalId
public Long getGlobalId()
(Required)
-
setGlobalId
public void setGlobalId(Long globalId)
(Required)
-
getState
public ArtifactState getState()
Describes the state of an artifact or artifact version. The following states are possible: * ENABLED * DISABLED * DEPRECATED
-
setState
public void setState(ArtifactState state)
Describes the state of an artifact or artifact version. The following states are possible: * ENABLED * DISABLED * DEPRECATED
-
getId
public String getId()
The ID of a single artifact. (Required)
-
setId
public void setId(String id)
The ID of a single artifact. (Required)
-
getProperties
public Map<String,String> getProperties()
User-defined name-value pairs. Name and value must be strings.
-
setProperties
public void setProperties(Map<String,String> properties)
User-defined name-value pairs. Name and value must be strings.
-
getGroupId
public String getGroupId()
An ID of a single artifact group.
-
setGroupId
public void setGroupId(String groupId)
An ID of a single artifact group.
-
getContentId
public Long getContentId()
(Required)
-
setContentId
public void setContentId(Long contentId)
(Required)
-
-