Class SearchedVersion
- java.lang.Object
-
- io.apicurio.registry.rest.v1.beans.SearchedVersion
-
public class SearchedVersion extends Object
Models a single artifact from the result set returned when searching for artifacts.
-
-
Constructor Summary
Constructors Constructor Description SearchedVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreatedBy()(Required)longgetCreatedOn()(Required)StringgetDescription()LonggetGlobalId()(Required)List<String>getLabels()StringgetName()ArtifactStategetState()Describes the state of an artifact or artifact version.ArtifactTypegetType()(Required)LonggetVersion()(Required)voidsetCreatedBy(String createdBy)(Required)voidsetCreatedOn(long createdOn)(Required)voidsetDescription(String description)voidsetGlobalId(Long globalId)(Required)voidsetLabels(List<String> labels)voidsetName(String name)voidsetState(ArtifactState state)Describes the state of an artifact or artifact version.voidsetType(ArtifactType type)(Required)voidsetVersion(Long version)(Required)
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getCreatedOn
public long getCreatedOn()
(Required)
-
setCreatedOn
public void setCreatedOn(long createdOn)
(Required)
-
getCreatedBy
public String getCreatedBy()
(Required)
-
setCreatedBy
public void setCreatedBy(String createdBy)
(Required)
-
getType
public ArtifactType getType()
(Required)
-
setType
public void setType(ArtifactType type)
(Required)
-
getState
public ArtifactState getState()
Describes the state of an artifact or artifact version. The following states are possible: * ENABLED * DISABLED * DEPRECATED (Required)
-
setState
public void setState(ArtifactState state)
Describes the state of an artifact or artifact version. The following states are possible: * ENABLED * DISABLED * DEPRECATED (Required)
-
getGlobalId
public Long getGlobalId()
(Required)
-
setGlobalId
public void setGlobalId(Long globalId)
(Required)
-
getVersion
public Long getVersion()
(Required)
-
setVersion
public void setVersion(Long version)
(Required)
-
-