Package ai.reveng.model
Class ListCollectionResults
java.lang.Object
ai.reveng.model.ListCollectionResults
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ListCollectionResults
extends Object
ListCollectionResults
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResultsItem(CollectionListItem resultsItem) booleanstatic ListCollectionResultsCreate an instance of ListCollectionResults given an JSON stringPage containing the results of the collections searchinthashCode()results(List<CollectionListItem> results) voidsetResults(List<CollectionListItem> results) toJson()Convert an instance of ListCollectionResults to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_RESULTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListCollectionResults
public ListCollectionResults()
-
-
Method Details
-
results
-
addResultsItem
-
getResults
Page containing the results of the collections search- Returns:
- results
-
setResults
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ListCollectionResults
-
fromJson
Create an instance of ListCollectionResults given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListCollectionResults
- Throws:
IOException- if the JSON string is invalid with respect to ListCollectionResults
-
toJson
Convert an instance of ListCollectionResults to an JSON string- Returns:
- JSON string
-