Class TagResponse

java.lang.Object
ai.reveng.model.TagResponse

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

  • Constructor Details

    • TagResponse

      public TagResponse()
  • Method Details

    • name

      public TagResponse name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Name of the tag
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • origin

      public TagResponse origin(@Nonnull String origin)
    • getOrigin

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

      public void setOrigin(@Nonnull String 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 TagResponse
    • fromJson

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

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