Class FullTextEntitiesAnnotationsAllOf


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class FullTextEntitiesAnnotationsAllOf
    extends Object
    Represents the data for the annotation.
    • Constructor Detail

      • FullTextEntitiesAnnotationsAllOf

        public FullTextEntitiesAnnotationsAllOf()
    • Method Detail

      • getNormalizedText

        @Nullable
        public String getNormalizedText()
        Text used to determine annotation.
        Returns:
        normalizedText
      • setNormalizedText

        public void setNormalizedText​(String normalizedText)
      • getProbability

        @Nullable
        public Double getProbability()
        Confidence factor for annotation type. minimum: 0 maximum: 1
        Returns:
        probability
      • setProbability

        public void setProbability​(Double probability)
      • getType

        @Nullable
        public String getType()
        Annotation type.
        Returns:
        type
      • setType

        public void setType​(String type)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to FullTextEntitiesAnnotationsAllOf
      • fromJson

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

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