Package ai.reveng.model
Class TagItem
java.lang.Object
ai.reveng.model.TagItem
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class TagItem
extends Object
TagItem
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectionId(Integer collectionId) booleanstatic TagItemCreate an instance of TagItem given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The ID of the analysis owner's associated collectiongetName()Get nameGet origininthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCollectionId(Integer collectionId) voidvoidtoJson()Convert an instance of TagItem 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_NAME
- See Also:
-
SERIALIZED_NAME_ORIGIN
- See Also:
-
SERIALIZED_NAME_COLLECTION_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TagItem
public TagItem()
-
-
Method Details
-
name
-
getName
Get name- Returns:
- name
-
setName
-
origin
-
getOrigin
Get origin- Returns:
- origin
-
setOrigin
-
collectionId
-
getCollectionId
The ID of the analysis owner's associated collection- Returns:
- collectionId
-
setCollectionId
-
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 TagItem 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 TagItem
-
fromJson
Create an instance of TagItem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TagItem
- Throws:
IOException- if the JSON string is invalid with respect to TagItem
-
toJson
Convert an instance of TagItem to an JSON string- Returns:
- JSON string
-