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 stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Type of artifact that the enumeration is associated withTimestamp of the last change to this enumerationDictionary of enumeration members and their valuesgetName()Name of the enumerationinthashCode()lastChange(String lastChange) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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
Timestamp of the last change to this enumeration- 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
-
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 Enumeration 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 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
-