Package ai.reveng.model
Class AnalysisTagBody
java.lang.Object
ai.reveng.model.AnalysisTagBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AnalysisTagBody
extends Object
AnalysisTagBody
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectionId(Long collectionId) booleanstatic AnalysisTagBodyCreate an instance of AnalysisTagBody given an JSON stringCollection this tag maps to, or nullgetName()Tag nameOrigin of the taginthashCode()voidsetCollectionId(Long collectionId) voidvoidtoJson()Convert an instance of AnalysisTagBody 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_NAME
- See Also:
-
SERIALIZED_NAME_ORIGIN
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AnalysisTagBody
public AnalysisTagBody()
-
-
Method Details
-
collectionId
-
getCollectionId
Collection this tag maps to, or null- Returns:
- collectionId
-
setCollectionId
-
name
-
getName
Tag name- Returns:
- name
-
setName
-
origin
-
getOrigin
Origin of the tag- Returns:
- origin
-
setOrigin
-
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 AnalysisTagBody
-
fromJson
Create an instance of AnalysisTagBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AnalysisTagBody
- Throws:
IOException- if the JSON string is invalid with respect to AnalysisTagBody
-
toJson
Convert an instance of AnalysisTagBody to an JSON string- Returns:
- JSON string
-