Class FunctionMatchingResponse

java.lang.Object
ai.reveng.model.FunctionMatchingResponse

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

  • Constructor Details

    • FunctionMatchingResponse

      public FunctionMatchingResponse()
  • Method Details

    • progress

      public FunctionMatchingResponse progress(@Nullable Integer progress)
    • getProgress

      @Nullable public Integer getProgress()
      Progress of the matching operation, represented as a percentage
      Returns:
      progress
    • setProgress

      public void setProgress(@Nullable Integer progress)
    • status

      public FunctionMatchingResponse status(@Nullable String status)
    • getStatus

      @Nullable public String getStatus()
      Status of the function matching operation
      Returns:
      status
    • setStatus

      public void setStatus(@Nullable String status)
    • totalTime

      public FunctionMatchingResponse totalTime(@Nullable Integer totalTime)
    • getTotalTime

      @Nullable public Integer getTotalTime()
      Total time taken for the matching operation in seconds
      Returns:
      totalTime
    • setTotalTime

      public void setTotalTime(@Nullable Integer totalTime)
    • errorMessage

      public FunctionMatchingResponse errorMessage(@Nullable String errorMessage)
    • getErrorMessage

      @Nullable public String getErrorMessage()
      Optional message providing additional information about the operation
      Returns:
      errorMessage
    • setErrorMessage

      public void setErrorMessage(@Nullable String errorMessage)
    • currentPage

      public FunctionMatchingResponse currentPage(@Nullable Integer currentPage)
    • getCurrentPage

      @Nullable public Integer getCurrentPage()
      Current page number of the results, if pagination is used
      Returns:
      currentPage
    • setCurrentPage

      public void setCurrentPage(@Nullable Integer currentPage)
    • totalPages

      public FunctionMatchingResponse totalPages(@Nullable Integer totalPages)
    • getTotalPages

      @Nullable public Integer getTotalPages()
      Total number of pages available, if pagination is used
      Returns:
      totalPages
    • setTotalPages

      public void setTotalPages(@Nullable Integer totalPages)
    • matches

      public FunctionMatchingResponse matches(@Nullable List<V2FunctionMatch> matches)
    • addMatchesItem

      public FunctionMatchingResponse addMatchesItem(V2FunctionMatch matchesItem)
    • getMatches

      @Nullable public List<V2FunctionMatch> getMatches()
      List of function matching results with best match information
      Returns:
      matches
    • setMatches

      public void setMatches(@Nullable List<V2FunctionMatch> matches)
    • numMatches

      public FunctionMatchingResponse numMatches(@Nullable Integer numMatches)
    • getNumMatches

      @Nullable public Integer getNumMatches()
      Total number of function matches found
      Returns:
      numMatches
    • setNumMatches

      public void setNumMatches(@Nullable Integer numMatches)
    • numDebugMatches

      public FunctionMatchingResponse numDebugMatches(@Nullable Integer numDebugMatches)
    • getNumDebugMatches

      @Nullable public Integer getNumDebugMatches()
      Total number of debug function matches found
      Returns:
      numDebugMatches
    • setNumDebugMatches

      public void setNumDebugMatches(@Nullable Integer numDebugMatches)
    • updatedAt

      public FunctionMatchingResponse updatedAt(@Nullable String updatedAt)
    • getUpdatedAt

      @Nullable public String getUpdatedAt()
      Timestamp of the last time function matching with the same request parameters was performed
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nullable String updatedAt)
    • putAdditionalProperty

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

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

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