Class GlobalVariable

java.lang.Object
ai.reveng.model.GlobalVariable

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class GlobalVariable extends Object
GlobalVariable
  • Field Details

  • Constructor Details

    • GlobalVariable

      public GlobalVariable()
  • Method Details

    • lastChange

      public GlobalVariable lastChange(@Nullable String lastChange)
    • getLastChange

      @Nullable public String getLastChange()
      Get lastChange
      Returns:
      lastChange
    • setLastChange

      public void setLastChange(@Nullable String lastChange)
    • addr

      public GlobalVariable addr(@Nonnull Integer addr)
    • getAddr

      @Nonnull public Integer getAddr()
      Memory address of the global variable
      Returns:
      addr
    • setAddr

      public void setAddr(@Nonnull Integer addr)
    • name

      public GlobalVariable name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Name of the global variable
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • type

      public GlobalVariable type(@Nonnull String type)
    • getType

      @Nonnull public String getType()
      Data type of the global variable
      Returns:
      type
    • setType

      public void setType(@Nonnull String type)
    • size

      public GlobalVariable size(@Nonnull Integer size)
    • getSize

      @Nonnull public Integer getSize()
      Size of the global variable in bytes
      Returns:
      size
    • setSize

      public void setSize(@Nonnull Integer size)
    • artifactType

      public GlobalVariable artifactType(@Nullable String artifactType)
    • getArtifactType

      @Nullable public String getArtifactType()
      Type of artifact that the global variable is associated with
      Returns:
      artifactType
    • setArtifactType

      public void setArtifactType(@Nullable String artifactType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static GlobalVariable fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of GlobalVariable to an JSON string
      Returns:
      JSON string