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 stringGet binariesCollection IDCollection nameCollection public statusCollection creation dateCollection descriptionCollection model IDgetTags()Get tagsGet teamIdCollection last update dateCollection user IDinthashCode()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
Get teamId- 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
Get tags- Returns:
- tags
-
setTags
-
binaries
-
addBinariesItem
-
getBinaries
Get binaries- Returns:
- binaries
-
setBinaries
-
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
-