Package ai.reveng.model
Class CollectionListItem
java.lang.Object
ai.reveng.model.CollectionListItem
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CollectionListItem
extends Object
CollectionListItem
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCollectionTagsItem(String collectionTagsItem) collectionId(Integer collectionId) collectionName(String collectionName) collectionOwner(String collectionOwner) collectionScope(String collectionScope) collectionSize(Integer collectionSize) collectionTags(List<String> collectionTags) creation(OffsetDateTime creation) description(String description) booleanstatic CollectionListItemCreate an instance of CollectionListItem 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 owner of the collectionThe scope of the collectionThe size of the collectionThe tags of the collectionThe datetime of when the collection was createdThe description of the collectionThe model being used for the collectionWhether the collection is maintained by RevEng.AIThe team ID for the collectioninthashCode()officialCollection(Boolean officialCollection) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCollectionId(Integer collectionId) voidsetCollectionName(String collectionName) voidsetCollectionOwner(String collectionOwner) voidsetCollectionScope(String collectionScope) voidsetCollectionSize(Integer collectionSize) voidsetCollectionTags(List<String> collectionTags) voidsetCreation(OffsetDateTime creation) voidsetDescription(String description) voidsetModelName(String modelName) voidsetOfficialCollection(Boolean officialCollection) voidtoJson()Convert an instance of CollectionListItem 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_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_COLLECTION_SCOPE
- See Also:
-
SERIALIZED_NAME_COLLECTION_OWNER
- See Also:
-
SERIALIZED_NAME_OFFICIAL_COLLECTION
- See Also:
-
SERIALIZED_NAME_COLLECTION_TAGS
- See Also:
-
SERIALIZED_NAME_COLLECTION_SIZE
- See Also:
-
SERIALIZED_NAME_COLLECTION_ID
- See Also:
-
SERIALIZED_NAME_CREATION
- See Also:
-
SERIALIZED_NAME_MODEL_NAME
- See Also:
-
SERIALIZED_NAME_TEAM_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CollectionListItem
public CollectionListItem()
-
-
Method Details
-
collectionName
-
getCollectionName
The name of the collection- Returns:
- collectionName
-
setCollectionName
-
description
-
getDescription
The description of the collection- Returns:
- description
-
setDescription
-
collectionScope
-
getCollectionScope
The scope of the collection- Returns:
- collectionScope
-
setCollectionScope
-
collectionOwner
-
getCollectionOwner
The owner of the collection- Returns:
- collectionOwner
-
setCollectionOwner
-
officialCollection
-
getOfficialCollection
Whether the collection is maintained by RevEng.AI- Returns:
- officialCollection
-
setOfficialCollection
-
collectionTags
-
addCollectionTagsItem
-
getCollectionTags
The tags of the collection- Returns:
- collectionTags
-
setCollectionTags
-
collectionSize
-
getCollectionSize
The size of the collection- Returns:
- collectionSize
-
setCollectionSize
-
collectionId
-
getCollectionId
The ID of the collection- Returns:
- collectionId
-
setCollectionId
-
creation
-
getCreation
The datetime of when the collection was created- Returns:
- creation
-
setCreation
-
modelName
-
getModelName
The model being used for the collection- Returns:
- modelName
-
setModelName
-
teamId
-
getTeamId
The team ID for 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 CollectionListItem 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 CollectionListItem
-
fromJson
Create an instance of CollectionListItem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CollectionListItem
- Throws:
IOException- if the JSON string is invalid with respect to CollectionListItem
-
toJson
Convert an instance of CollectionListItem to an JSON string- Returns:
- JSON string
-