Class CanonicalizeNamesOutputBody

java.lang.Object
ai.reveng.model.CanonicalizeNamesOutputBody

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

  • Constructor Details

    • CanonicalizeNamesOutputBody

      public CanonicalizeNamesOutputBody()
  • Method Details

    • results

      public CanonicalizeNamesOutputBody results(@Nullable List<CanonicalName> results)
    • addResultsItem

      public CanonicalizeNamesOutputBody addResultsItem(CanonicalName resultsItem)
    • getResults

      @Nullable public List<CanonicalName> getResults()
      Canonicalized names in the same order as the input.
      Returns:
      results
    • setResults

      public void setResults(@Nullable List<CanonicalName> results)
    • 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 CanonicalizeNamesOutputBody
    • fromJson

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

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