Package ai.reveng.model
Class GlobalVariable
java.lang.Object
ai.reveng.model.GlobalVariable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class GlobalVariable
extends Object
GlobalVariable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartifactType(String artifactType) booleanstatic GlobalVariableCreate an instance of GlobalVariable given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getAddr()Memory address of the global variableType of artifact that the global variable is associated withTimestamp of the last change to this global variablegetName()Name of the global variablegetSize()Size of the global variable in bytesgetType()Data type of the global variableinthashCode()lastChange(String lastChange) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetArtifactType(String artifactType) voidsetLastChange(String lastChange) voidvoidvoidtoJson()Convert an instance of GlobalVariable 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_ADDR
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_ARTIFACT_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GlobalVariable
public GlobalVariable()
-
-
Method Details
-
lastChange
-
getLastChange
Timestamp of the last change to this global variable- Returns:
- lastChange
-
setLastChange
-
addr
-
getAddr
Memory address of the global variable- Returns:
- addr
-
setAddr
-
name
-
getName
Name of the global variable- Returns:
- name
-
setName
-
type
-
getType
Data type of the global variable- Returns:
- type
-
setType
-
size
-
getSize
Size of the global variable in bytes- Returns:
- size
-
setSize
-
artifactType
-
getArtifactType
Type of artifact that the global variable 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 GlobalVariable 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 GlobalVariable
-
fromJson
Create an instance of GlobalVariable given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GlobalVariable
- Throws:
IOException- if the JSON string is invalid with respect to GlobalVariable
-
toJson
Convert an instance of GlobalVariable to an JSON string- Returns:
- JSON string
-