Class Weights
java.lang.Object
co.elastic.clients.elasticsearch.ml.put_trained_model.Weights
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Weights extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWeights.BuilderBuilder forWeights. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Weights>_DESERIALIZERJson deserializer forWeights -
Constructor Summary
Constructors Constructor Description Weights(Weights.Builder builder)Weights(java.util.function.Function<Weights.Builder,Weights.Builder> fn) -
Method Summary
Modifier and Type Method Description voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupWeightsDeserializer(DelegatingDeserializer<Weights.Builder> op)doubleweights()API name:weightsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forWeights
-
-
Constructor Details
-
Weights
-
Weights
-
-
Method Details
-
weights
public double weights()API name:weights -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupWeightsDeserializer
-