Class Block

java.lang.Object
ai.reveng.model.Block

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

  • Constructor Details

    • Block

      public Block()
  • Method Details

    • virtualAddress

      public Block virtualAddress(@Nonnull Integer virtualAddress)
    • getVirtualAddress

      @Nonnull public Integer getVirtualAddress()
      Get virtualAddress
      Returns:
      virtualAddress
    • setVirtualAddress

      public void setVirtualAddress(@Nonnull Integer virtualAddress)
    • 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 Block
    • fromJson

      public static Block fromJson(String jsonString) throws IOException
      Create an instance of Block given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of Block
      Throws:
      IOException - if the JSON string is invalid with respect to Block
    • toJson

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