Package ai.reveng.model
Class Enumeration
java.lang.Object
ai.reveng.model.Enumeration
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Enumeration
extends Object
Enumeration
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartifactType(String artifactType) booleanstatic EnumerationCreate an instance of Enumeration given an JSON stringType of artifact that the enumeration is associated withGet lastChangeDictionary of enumeration members and their valuesgetName()Name of the enumerationinthashCode()lastChange(String lastChange) putMembersItem(String key, Integer membersItem) voidsetArtifactType(String artifactType) voidsetLastChange(String lastChange) voidsetMembers(Map<String, Integer> members) voidtoJson()Convert an instance of Enumeration 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_LAST_CHANGE
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_MEMBERS
- See Also:
-
SERIALIZED_NAME_ARTIFACT_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Enumeration
public Enumeration()
-
-
Method Details
-
lastChange
-
getLastChange
Get lastChange- Returns:
- lastChange
-
setLastChange
-
name
-
getName
Name of the enumeration- Returns:
- name
-
setName
-
members
-
putMembersItem
-
getMembers
Dictionary of enumeration members and their values- Returns:
- members
-
setMembers
-
artifactType
-
getArtifactType
Type of artifact that the enumeration is associated with- Returns:
- artifactType
-
setArtifactType
-
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 Enumeration
-
fromJson
Create an instance of Enumeration given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Enumeration
- Throws:
IOException- if the JSON string is invalid with respect to Enumeration
-
toJson
Convert an instance of Enumeration to an JSON string- Returns:
- JSON string
-