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 String
getCreatedBy()
(Required)long
getCreatedOn()
(Required)String
getDescription()
Long
getGlobalId()
(Required)List<String>
getLabels()
String
getName()
ArtifactState
getState()
Describes the state of an artifact or artifact version.ArtifactType
getType()
(Required)Long
getVersion()
(Required)void
setCreatedBy(String createdBy)
(Required)void
setCreatedOn(long createdOn)
(Required)void
setDescription(String description)
void
setGlobalId(Long globalId)
(Required)void
setLabels(List<String> labels)
void
setName(String name)
void
setState(ArtifactState state)
Describes the state of an artifact or artifact version.void
setType(ArtifactType type)
(Required)void
setVersion(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)
-
-