Class VersionSearchResults
- java.lang.Object
-
- io.apicurio.registry.rest.v2.beans.VersionSearchResults
-
public class VersionSearchResults extends Object
Describes the response received when searching for artifacts.
-
-
Constructor Summary
Constructors Constructor Description VersionSearchResults()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getCount()
The total number of versions that matched the query (may be more than the number of versions returned in the result set).List<SearchedVersion>
getVersions()
The collection of artifact versions returned in the result set.void
setCount(Integer count)
The total number of versions that matched the query (may be more than the number of versions returned in the result set).void
setVersions(List<SearchedVersion> versions)
The collection of artifact versions returned in the result set.
-
-
-
Method Detail
-
getCount
public Integer getCount()
The total number of versions that matched the query (may be more than the number of versions returned in the result set). (Required)
-
setCount
public void setCount(Integer count)
The total number of versions that matched the query (may be more than the number of versions returned in the result set). (Required)
-
getVersions
public List<SearchedVersion> getVersions()
The collection of artifact versions returned in the result set. (Required)
-
setVersions
public void setVersions(List<SearchedVersion> versions)
The collection of artifact versions returned in the result set. (Required)
-
-