Class FunctionStringsResponse

java.lang.Object
ai.reveng.model.FunctionStringsResponse

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class FunctionStringsResponse extends Object
Response for listing all the strings of a function.
  • Field Details

  • Constructor Details

    • FunctionStringsResponse

      public FunctionStringsResponse()
  • Method Details

    • strings

      public FunctionStringsResponse strings(@Nonnull List<FunctionString> strings)
    • addStringsItem

      public FunctionStringsResponse addStringsItem(FunctionString stringsItem)
    • getStrings

      @Nonnull public List<FunctionString> getStrings()
      The strings associated with this function
      Returns:
      strings
    • setStrings

      public void setStrings(@Nonnull List<FunctionString> strings)
    • totalStrings

      public FunctionStringsResponse totalStrings(@Nonnull Integer totalStrings)
    • getTotalStrings

      @Nonnull public Integer getTotalStrings()
      The total number of strings associated with this function
      Returns:
      totalStrings
    • setTotalStrings

      public void setTotalStrings(@Nonnull Integer totalStrings)
    • 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 FunctionStringsResponse
    • fromJson

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

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