Class ELFSection

java.lang.Object
ai.reveng.model.ELFSection

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

  • Constructor Details

    • ELFSection

      public ELFSection()
  • Method Details

    • name

      public ELFSection name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • type

      public ELFSection type(@Nonnull String type)
    • getType

      @Nonnull public String getType()
      Get type
      Returns:
      type
    • setType

      public void setType(@Nonnull String type)
    • virtualAddress

      public ELFSection virtualAddress(@Nonnull Integer virtualAddress)
    • getVirtualAddress

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

      public void setVirtualAddress(@Nonnull Integer virtualAddress)
    • virtualSize

      public ELFSection virtualSize(@Nonnull Integer virtualSize)
    • getVirtualSize

      @Nonnull public Integer getVirtualSize()
      Get virtualSize
      Returns:
      virtualSize
    • setVirtualSize

      public void setVirtualSize(@Nonnull Integer virtualSize)
    • rawSize

      public ELFSection rawSize(@Nonnull Integer rawSize)
    • getRawSize

      @Nonnull public Integer getRawSize()
      Get rawSize
      Returns:
      rawSize
    • setRawSize

      public void setRawSize(@Nonnull Integer rawSize)
    • fileOffset

      public ELFSection fileOffset(@Nonnull Integer fileOffset)
    • getFileOffset

      @Nonnull public Integer getFileOffset()
      Get fileOffset
      Returns:
      fileOffset
    • setFileOffset

      public void setFileOffset(@Nonnull Integer fileOffset)
    • flags

      public ELFSection flags(@Nonnull String flags)
    • getFlags

      @Nonnull public String getFlags()
      Get flags
      Returns:
      flags
    • setFlags

      public void setFlags(@Nonnull String flags)
    • flagsRaw

      public ELFSection flagsRaw(@Nonnull Integer flagsRaw)
    • getFlagsRaw

      @Nonnull public Integer getFlagsRaw()
      Get flagsRaw
      Returns:
      flagsRaw
    • setFlagsRaw

      public void setFlagsRaw(@Nonnull Integer flagsRaw)
    • entropy

      public ELFSection entropy(@Nonnull BigDecimal entropy)
    • getEntropy

      @Nonnull public BigDecimal getEntropy()
      Get entropy
      Returns:
      entropy
    • setEntropy

      public void setEntropy(@Nonnull BigDecimal entropy)
    • alignment

      public ELFSection alignment(@Nonnull Integer alignment)
    • getAlignment

      @Nonnull public Integer getAlignment()
      Get alignment
      Returns:
      alignment
    • setAlignment

      public void setAlignment(@Nonnull Integer alignment)
    • putAdditionalProperty

      public ELFSection 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 ELFSection 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 ELFSection
    • fromJson

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

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