Class Tags

java.lang.Object
ai.reveng.model.Tags

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

  • Constructor Details

    • Tags

      public Tags()
  • Method Details

    • tag

      public Tags tag(@Nonnull String tag)
    • getTag

      @Nonnull public String getTag()
      The tag name
      Returns:
      tag
    • setTag

      public void setTag(@Nonnull String tag)
    • origin

      public Tags origin(@Nonnull Origin origin)
    • getOrigin

      @Nonnull public Origin getOrigin()
      The origin of the tag
      Returns:
      origin
    • setOrigin

      public void setOrigin(@Nonnull Origin origin)
    • 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 Tags
    • fromJson

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

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