Class FunctionBlockResponse

java.lang.Object
ai.reveng.model.FunctionBlockResponse

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

  • Constructor Details

    • FunctionBlockResponse

      public FunctionBlockResponse()
  • Method Details

    • asm

      public FunctionBlockResponse asm(@Nonnull List<String> asm)
    • addAsmItem

      public FunctionBlockResponse addAsmItem(String asmItem)
    • getAsm

      @Nonnull public List<String> getAsm()
      The ordered assembly strings for this chunk
      Returns:
      asm
    • setAsm

      public void setAsm(@Nonnull List<String> asm)
    • id

      public FunctionBlockResponse id(@Nonnull Integer id)
    • getId

      @Nonnull public Integer getId()
      ID of the block
      Returns:
      id
    • setId

      public void setId(@Nonnull Integer id)
    • minAddr

      public FunctionBlockResponse minAddr(@Nonnull Integer minAddr)
    • getMinAddr

      @Nonnull public Integer getMinAddr()
      The minimum vaddr of the block
      Returns:
      minAddr
    • setMinAddr

      public void setMinAddr(@Nonnull Integer minAddr)
    • maxAddr

      public FunctionBlockResponse maxAddr(@Nonnull Integer maxAddr)
    • getMaxAddr

      @Nonnull public Integer getMaxAddr()
      The maximum vaddr of the block
      Returns:
      maxAddr
    • setMaxAddr

      public void setMaxAddr(@Nonnull Integer maxAddr)
    • destinations

      public FunctionBlockResponse destinations(@Nonnull List<FunctionBlockDestinationResponse> destinations)
    • addDestinationsItem

      public FunctionBlockResponse addDestinationsItem(FunctionBlockDestinationResponse destinationsItem)
    • getDestinations

      @Nonnull public List<FunctionBlockDestinationResponse> getDestinations()
      The potential execution flow destinations from this block
      Returns:
      destinations
    • setDestinations

      public void setDestinations(@Nonnull List<FunctionBlockDestinationResponse> destinations)
    • comment

      public FunctionBlockResponse comment(@Nullable String comment)
    • getComment

      @Nullable public String getComment()
      An optional comment associated with this block, if any
      Returns:
      comment
    • setComment

      public void setComment(@Nullable String comment)
    • putAdditionalProperty

      public FunctionBlockResponse putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the FunctionBlockResponse instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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 FunctionBlockResponse
    • fromJson

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

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