Class TopClassEntry
java.lang.Object
co.elastic.clients.elasticsearch.ml.TopClassEntry
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TopClassEntry extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTopClassEntry.BuilderBuilder forTopClassEntry. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TopClassEntry>_DESERIALIZERJson deserializer forTopClassEntry -
Method Summary
Modifier and Type Method Description java.lang.StringclassName()Required - API name:class_namedoubleclassProbability()Required - API name:class_probabilitydoubleclassScore()Required - API name:class_scorestatic TopClassEntryof(java.util.function.Function<TopClassEntry.Builder,ObjectBuilder<TopClassEntry>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTopClassEntryDeserializer(ObjectDeserializer<TopClassEntry.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTopClassEntry
-
-
Method Details
-
of
public static TopClassEntry of(java.util.function.Function<TopClassEntry.Builder,ObjectBuilder<TopClassEntry>> fn) -
className
public final java.lang.String className()Required - API name:class_name -
classProbability
public final double classProbability()Required - API name:class_probability -
classScore
public final double classScore()Required - API name:class_score -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupTopClassEntryDeserializer
-