Package ai.reveng.model
Class CollectionListItemBody
java.lang.Object
ai.reveng.model.CollectionListItemBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CollectionListItemBody
extends Object
CollectionListItemBody
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCollectionTagsItem(String collectionTagsItem) collectionId(Long collectionId) collectionName(String collectionName) collectionOwner(String collectionOwner) collectionScope(String collectionScope) collectionSize(Long collectionSize) collectionTags(List<String> collectionTags) creation(OffsetDateTime creation) description(String description) booleanstatic CollectionListItemBodyCreate an instance of CollectionListItemBody given an JSON stringGet collectionIdGet collectionNameGet collectionOwnerGet collectionScopeGet collectionSizeGet collectionTagsGet creationGet descriptionGet modelNameGet officialCollectionGet teamIdinthashCode()officialCollection(Boolean officialCollection) voidsetCollectionId(Long collectionId) voidsetCollectionName(String collectionName) voidsetCollectionOwner(String collectionOwner) voidsetCollectionScope(String collectionScope) voidsetCollectionSize(Long collectionSize) voidsetCollectionTags(List<String> collectionTags) voidsetCreation(OffsetDateTime creation) voidsetDescription(String description) voidsetModelName(String modelName) voidsetOfficialCollection(Boolean officialCollection) voidtoJson()Convert an instance of CollectionListItemBody 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_COLLECTION_OWNER
- See Also:
-
SERIALIZED_NAME_COLLECTION_SCOPE
- See Also:
-
SERIALIZED_NAME_COLLECTION_SIZE
- See Also:
-
SERIALIZED_NAME_COLLECTION_TAGS
- See Also:
-
SERIALIZED_NAME_CREATION
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_MODEL_NAME
- See Also:
-
SERIALIZED_NAME_OFFICIAL_COLLECTION
- See Also:
-
SERIALIZED_NAME_TEAM_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CollectionListItemBody
public CollectionListItemBody()
-
-
Method Details
-
collectionId
-
getCollectionId
Get collectionId- Returns:
- collectionId
-
setCollectionId
-
collectionName
-
getCollectionName
Get collectionName- Returns:
- collectionName
-
setCollectionName
-
collectionOwner
-
getCollectionOwner
Get collectionOwner- Returns:
- collectionOwner
-
setCollectionOwner
-
collectionScope
-
getCollectionScope
Get collectionScope- Returns:
- collectionScope
-
setCollectionScope
-
collectionSize
-
getCollectionSize
Get collectionSize- Returns:
- collectionSize
-
setCollectionSize
-
collectionTags
-
addCollectionTagsItem
-
getCollectionTags
Get collectionTags- Returns:
- collectionTags
-
setCollectionTags
-
creation
-
getCreation
Get creation- Returns:
- creation
-
setCreation
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
modelName
-
getModelName
Get modelName- Returns:
- modelName
-
setModelName
-
officialCollection
-
getOfficialCollection
Get officialCollection- Returns:
- officialCollection
-
setOfficialCollection
-
teamId
-
getTeamId
Get teamId- Returns:
- teamId
-
setTeamId
-
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 CollectionListItemBody
-
fromJson
Create an instance of CollectionListItemBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CollectionListItemBody
- Throws:
IOException- if the JSON string is invalid with respect to CollectionListItemBody
-
toJson
Convert an instance of CollectionListItemBody to an JSON string- Returns:
- JSON string
-