Package ai.reveng.model
Class CollectionResponse
java.lang.Object
ai.reveng.model.CollectionResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CollectionResponse
extends Object
CollectionResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBinariesItem(CollectionResponseBinariesInner binariesItem) addTagsItem(String tagsItem) binaries(List<CollectionResponseBinariesInner> binaries) collectionId(Integer collectionId) collectionName(String collectionName) collectionScope(CollectionScope collectionScope) createdAt(OffsetDateTime createdAt) description(String description) booleanstatic CollectionResponseCreate an instance of CollectionResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Collection binariesCollection IDCollection nameCollection public statusCollection creation dateCollection descriptionCollection model IDgetTags()Collection tagsCollection team IDCollection last update dateCollection user IDinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBinaries(List<CollectionResponseBinariesInner> binaries) voidsetCollectionId(Integer collectionId) voidsetCollectionName(String collectionName) voidsetCollectionScope(CollectionScope collectionScope) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDescription(String description) voidsetModelId(Integer modelId) voidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidtoJson()Convert an instance of CollectionResponse to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) 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_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_MODEL_ID
- See Also:
-
SERIALIZED_NAME_USER_ID
- See Also:
-
SERIALIZED_NAME_TEAM_ID
- See Also:
-
SERIALIZED_NAME_COLLECTION_SCOPE
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_BINARIES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CollectionResponse
public CollectionResponse()
-
-
Method Details
-
collectionId
-
getCollectionId
Collection ID- Returns:
- collectionId
-
setCollectionId
-
collectionName
-
getCollectionName
Collection name- Returns:
- collectionName
-
setCollectionName
-
description
-
getDescription
Collection description- Returns:
- description
-
setDescription
-
modelId
-
getModelId
Collection model ID- Returns:
- modelId
-
setModelId
-
userId
-
getUserId
Collection user ID- Returns:
- userId
-
setUserId
-
teamId
-
getTeamId
Collection team ID- Returns:
- teamId
-
setTeamId
-
collectionScope
-
getCollectionScope
Collection public status- Returns:
- collectionScope
-
setCollectionScope
-
createdAt
-
getCreatedAt
Collection creation date- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Collection last update date- Returns:
- updatedAt
-
setUpdatedAt
-
tags
-
addTagsItem
-
getTags
Collection tags- Returns:
- tags
-
setTags
-
binaries
-
addBinariesItem
-
getBinaries
Collection binaries- Returns:
- binaries
-
setBinaries
-
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 CollectionResponse 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 CollectionResponse
-
fromJson
Create an instance of CollectionResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CollectionResponse
- Throws:
IOException- if the JSON string is invalid with respect to CollectionResponse
-
toJson
Convert an instance of CollectionResponse to an JSON string- Returns:
- JSON string
-