Class VersionMetaData
- java.lang.Object
-
- io.apicurio.registry.rest.v1.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 String
getCreatedBy()
(Required)long
getCreatedOn()
(Required)String
getDescription()
Long
getGlobalId()
(Required)String
getId()
The artifact id.List<String>
getLabels()
String
getName()
Map<String,String>
getProperties()
ArtifactState
getState()
Describes the state of an artifact or artifact version.ArtifactType
getType()
(Required)Integer
getVersion()
(Required)void
setCreatedBy(String createdBy)
(Required)void
setCreatedOn(long createdOn)
(Required)void
setDescription(String description)
void
setGlobalId(Long globalId)
(Required)void
setId(String id)
The artifact id.void
setLabels(List<String> labels)
void
setName(String name)
void
setProperties(Map<String,String> properties)
void
setState(ArtifactState state)
Describes the state of an artifact or artifact version.void
setType(ArtifactType type)
(Required)void
setVersion(Integer version)
(Required)String
toString()
-
-
-
Method Detail
-
getVersion
public Integer getVersion()
(Required)
-
setVersion
public void setVersion(Integer 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 long getCreatedOn()
(Required)
-
setCreatedOn
public void setCreatedOn(long 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 artifact id. (Required)
-
setId
public void setId(String id)
The artifact id. (Required)
-
-