Package ai.reveng.model
Class PatchCollectionInputBody
java.lang.Object
ai.reveng.model.PatchCollectionInputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PatchCollectionInputBody
extends Object
PatchCollectionInputBody
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectionName(String collectionName) collectionScope(String collectionScope) description(String description) booleanstatic PatchCollectionInputBodyCreate an instance of PatchCollectionInputBody given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.New collection name.New scope (PUBLIC, PRIVATE, PROTECTED, TEAM).New description.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCollectionName(String collectionName) voidsetCollectionScope(String collectionScope) voidsetDescription(String description) toJson()Convert an instance of PatchCollectionInputBody 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_COLLECTION_SCOPE
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PatchCollectionInputBody
public PatchCollectionInputBody()
-
-
Method Details
-
collectionName
-
getCollectionName
New collection name. Omit, null, or empty string to keep existing.- Returns:
- collectionName
-
setCollectionName
-
collectionScope
-
getCollectionScope
New scope (PUBLIC, PRIVATE, PROTECTED, TEAM). Omit or send null to keep existing. Empty string returns 422 UNPROCESSABLE ENTITY.- Returns:
- collectionScope
-
setCollectionScope
-
description
-
getDescription
New description. Omit, null, or empty string to keep existing.- Returns:
- description
-
setDescription
-
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 PatchCollectionInputBody 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 PatchCollectionInputBody
-
fromJson
Create an instance of PatchCollectionInputBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PatchCollectionInputBody
- Throws:
IOException- if the JSON string is invalid with respect to PatchCollectionInputBody
-
toJson
Convert an instance of PatchCollectionInputBody to an JSON string- Returns:
- JSON string
-