Class SearchedVersion
- java.lang.Object
-
- io.apicurio.registry.rest.v2.beans.SearchedVersion
-
@Generated("jsonschema2pojo") 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 Long
getContentId()
(Required)String
getCreatedBy()
(Required)Date
getCreatedOn()
(Required)String
getDescription()
Long
getGlobalId()
(Required)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
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)String
toString()
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getCreatedOn
public Date getCreatedOn()
(Required)
-
setCreatedOn
public void setCreatedOn(Date 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 String getVersion()
(Required)
-
setVersion
public void setVersion(String version)
(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.
-
getContentId
public Long getContentId()
(Required)
-
setContentId
public void setContentId(Long contentId)
(Required)
-
-