Class CollectionTagsUpdateRequest

java.lang.Object
ai.reveng.model.CollectionTagsUpdateRequest

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

  • Constructor Details

    • CollectionTagsUpdateRequest

      public CollectionTagsUpdateRequest()
  • Method Details

    • tags

      public CollectionTagsUpdateRequest tags(@Nonnull List<String> tags)
    • addTagsItem

      public CollectionTagsUpdateRequest addTagsItem(String tagsItem)
    • getTags

      @Nonnull public List<String> getTags()
      Get tags
      Returns:
      tags
    • setTags

      public void setTags(@Nonnull List<String> tags)
    • 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 CollectionTagsUpdateRequest
    • fromJson

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

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