Class XRef

java.lang.Object
ai.reveng.model.XRef

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

  • Constructor Details

    • XRef

      public XRef()
  • Method Details

    • value

      public XRef value(@Nullable String value)
    • getValue

      @Nullable public String getValue()
      Get value
      Returns:
      value
    • setValue

      public void setValue(@Nullable String value)
    • xrefTo

      public XRef xrefTo(@Nullable String xrefTo)
    • getXrefTo

      @Nullable public String getXrefTo()
      Get xrefTo
      Returns:
      xrefTo
    • setXrefTo

      public void setXrefTo(@Nullable String xrefTo)
    • isScalar

      public XRef isScalar(@Nullable Boolean isScalar)
    • getIsScalar

      @Nullable public Boolean getIsScalar()
      Get isScalar
      Returns:
      isScalar
    • setIsScalar

      public void setIsScalar(@Nullable Boolean isScalar)
    • isCall

      public XRef isCall(@Nullable Boolean isCall)
    • getIsCall

      @Nullable public Boolean getIsCall()
      Get isCall
      Returns:
      isCall
    • setIsCall

      public void setIsCall(@Nullable Boolean isCall)
    • isData

      public XRef isData(@Nullable Boolean isData)
    • getIsData

      @Nullable public Boolean getIsData()
      Get isData
      Returns:
      isData
    • setIsData

      public void setIsData(@Nullable Boolean isData)
    • isString

      public XRef isString(@Nullable Boolean isString)
    • getIsString

      @Nullable public Boolean getIsString()
      Get isString
      Returns:
      isString
    • setIsString

      public void setIsString(@Nullable Boolean isString)
    • rawData

      public XRef rawData(@Nullable File rawData)
    • getRawData

      @Nullable public File getRawData()
      Get rawData
      Returns:
      rawData
    • setRawData

      public void setRawData(@Nullable File rawData)
    • segment

      public XRef segment(@Nullable SegmentInfo segment)
    • getSegment

      @Nullable public SegmentInfo getSegment()
      Get segment
      Returns:
      segment
    • setSegment

      public void setSegment(@Nullable SegmentInfo segment)
    • origStrEncoding

      public XRef origStrEncoding(@Nullable String origStrEncoding)
    • getOrigStrEncoding

      @Nullable public String getOrigStrEncoding()
      Get origStrEncoding
      Returns:
      origStrEncoding
    • setOrigStrEncoding

      public void setOrigStrEncoding(@Nullable String origStrEncoding)
    • putAdditionalProperty

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

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

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