Class CanonicalName

java.lang.Object
ai.reveng.model.CanonicalName

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

  • Constructor Details

    • CanonicalName

      public CanonicalName()
  • Method Details

    • canonicalName

      public CanonicalName canonicalName(@Nonnull String canonicalName)
    • getCanonicalName

      @Nonnull public String getCanonicalName()
      Canonical form of the name, or the input name itself when it has no canonical form.
      Returns:
      canonicalName
    • setCanonicalName

      public void setCanonicalName(@Nonnull String canonicalName)
    • name

      public CanonicalName name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      The input function name.
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • 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 CanonicalName
    • fromJson

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

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