Class ELFSegment

java.lang.Object
ai.reveng.model.ELFSegment

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

  • Constructor Details

    • ELFSegment

      public ELFSegment()
  • Method Details

    • type

      public ELFSegment type(@Nonnull String type)
    • getType

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

      public void setType(@Nonnull String type)
    • virtualAddress

      public ELFSegment virtualAddress(@Nonnull Integer virtualAddress)
    • getVirtualAddress

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

      public void setVirtualAddress(@Nonnull Integer virtualAddress)
    • virtualSize

      public ELFSegment virtualSize(@Nonnull Integer virtualSize)
    • getVirtualSize

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

      public void setVirtualSize(@Nonnull Integer virtualSize)
    • physicalAddress

      public ELFSegment physicalAddress(@Nonnull Integer physicalAddress)
    • getPhysicalAddress

      @Nonnull public Integer getPhysicalAddress()
      Get physicalAddress
      Returns:
      physicalAddress
    • setPhysicalAddress

      public void setPhysicalAddress(@Nonnull Integer physicalAddress)
    • physicalSize

      public ELFSegment physicalSize(@Nonnull Integer physicalSize)
    • getPhysicalSize

      @Nonnull public Integer getPhysicalSize()
      Get physicalSize
      Returns:
      physicalSize
    • setPhysicalSize

      public void setPhysicalSize(@Nonnull Integer physicalSize)
    • fileOffset

      public ELFSegment fileOffset(@Nonnull Integer fileOffset)
    • getFileOffset

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

      public void setFileOffset(@Nonnull Integer fileOffset)
    • flags

      public ELFSegment flags(@Nonnull String flags)
    • getFlags

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

      public void setFlags(@Nonnull String flags)
    • flagsRaw

      public ELFSegment flagsRaw(@Nonnull Integer flagsRaw)
    • getFlagsRaw

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

      public void setFlagsRaw(@Nonnull Integer flagsRaw)
    • alignment

      public ELFSegment alignment(@Nonnull Integer alignment)
    • getAlignment

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

      public void setAlignment(@Nonnull Integer alignment)
    • putAdditionalProperty

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

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

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