Class SearchedArtifact
- java.lang.Object
-
- io.apicurio.registry.rest.v2.beans.SearchedArtifact
-
public class SearchedArtifact extends Object
Models a single artifact from the result set returned when searching for artifacts.
-
-
Constructor Summary
Constructors Constructor Description SearchedArtifact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCreatedBy()
(Required)Date
getCreatedOn()
(Required)String
getDescription()
String
getGroupId()
An ID of a single artifact group.String
getId()
The ID of a single artifact.List<String>
getLabels()
String
getModifiedBy()
Date
getModifiedOn()
String
getName()
ArtifactState
getState()
Describes the state of an artifact or artifact version.ArtifactType
getType()
(Required)void
setCreatedBy(String createdBy)
(Required)void
setCreatedOn(Date createdOn)
(Required)void
setDescription(String description)
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
setModifiedBy(String modifiedBy)
void
setModifiedOn(Date modifiedOn)
void
setName(String name)
void
setState(ArtifactState state)
Describes the state of an artifact or artifact version.void
setType(ArtifactType type)
(Required)
-
-
-
Method Detail
-
getId
public String getId()
The ID of a single artifact. (Required)
-
setId
public void setId(String id)
The ID of a single artifact. (Required)
-
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)
-
getModifiedOn
public Date getModifiedOn()
-
setModifiedOn
public void setModifiedOn(Date modifiedOn)
-
getModifiedBy
public String getModifiedBy()
-
setModifiedBy
public void setModifiedBy(String modifiedBy)
-
getGroupId
public String getGroupId()
An ID of a single artifact group.
-
setGroupId
public void setGroupId(String groupId)
An ID of a single artifact group.
-
-