Class AnalysisTagBody

java.lang.Object
ai.reveng.model.AnalysisTagBody

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

  • Constructor Details

    • AnalysisTagBody

      public AnalysisTagBody()
  • Method Details

    • collectionId

      public AnalysisTagBody collectionId(@Nullable Long collectionId)
    • getCollectionId

      @Nullable public Long getCollectionId()
      Collection this tag maps to, or null
      Returns:
      collectionId
    • setCollectionId

      public void setCollectionId(@Nullable Long collectionId)
    • name

      public AnalysisTagBody name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Tag name
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • origin

      public AnalysisTagBody origin(@Nonnull String origin)
    • getOrigin

      @Nonnull public String getOrigin()
      Origin of the 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 AnalysisTagBody
    • fromJson

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

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