Package ai.reveng.model
Class CollectionSearchResult
java.lang.Object
ai.reveng.model.CollectionSearchResult
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CollectionSearchResult
extends Object
CollectionSearchResult
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) collectionId(Integer collectionId) collectionName(String collectionName) createdAt(OffsetDateTime createdAt) description(String description) booleanstatic CollectionSearchResultCreate an instance of CollectionSearchResult given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The ID of the collectionThe name of the collectionThe creation date of the collectionThe description of the collectionThe last update date of the collectionThe model ID of the binaryThe name of the modelThe owner of the collectiongetScope()The scope of the collectiongetSize()The number of binaries in the collectiongetTags()The tags of the collectionThe team ID of the collectioninthashCode()lastUpdatedAt(OffsetDateTime lastUpdatedAt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCollectionId(Integer collectionId) voidsetCollectionName(String collectionName) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDescription(String description) voidsetLastUpdatedAt(OffsetDateTime lastUpdatedAt) voidsetModelId(Integer modelId) voidsetModelName(String modelName) voidsetOwnedBy(String ownedBy) voidvoidvoidvoidtoJson()Convert an instance of CollectionSearchResult 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_COLLECTION_ID
- See Also:
-
SERIALIZED_NAME_COLLECTION_NAME
- See Also:
-
SERIALIZED_NAME_SCOPE
- See Also:
-
SERIALIZED_NAME_LAST_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_MODEL_ID
- See Also:
-
SERIALIZED_NAME_MODEL_NAME
- See Also:
-
SERIALIZED_NAME_OWNED_BY
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_TEAM_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CollectionSearchResult
public CollectionSearchResult()
-
-
Method Details
-
collectionId
-
getCollectionId
The ID of the collection- Returns:
- collectionId
-
setCollectionId
-
collectionName
-
getCollectionName
The name of the collection- Returns:
- collectionName
-
setCollectionName
-
scope
-
getScope
The scope of the collection- Returns:
- scope
-
setScope
-
lastUpdatedAt
-
getLastUpdatedAt
The last update date of the collection- Returns:
- lastUpdatedAt
-
setLastUpdatedAt
-
createdAt
-
getCreatedAt
The creation date of the collection- Returns:
- createdAt
-
setCreatedAt
-
modelId
-
getModelId
The model ID of the binary- Returns:
- modelId
-
setModelId
-
modelName
-
getModelName
The name of the model- Returns:
- modelName
-
setModelName
-
ownedBy
-
getOwnedBy
The owner of the collection- Returns:
- ownedBy
-
setOwnedBy
-
tags
-
addTagsItem
-
getTags
The tags of the collection- Returns:
- tags
-
setTags
-
size
-
getSize
The number of binaries in the collection- Returns:
- size
-
setSize
-
description
-
getDescription
The description of the collection- Returns:
- description
-
setDescription
-
teamId
-
getTeamId
The team ID of the collection- Returns:
- teamId
-
setTeamId
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the CollectionSearchResult instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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 CollectionSearchResult
-
fromJson
Create an instance of CollectionSearchResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CollectionSearchResult
- Throws:
IOException- if the JSON string is invalid with respect to CollectionSearchResult
-
toJson
Convert an instance of CollectionSearchResult to an JSON string- Returns:
- JSON string
-