Class AggregateMetricDoubleProperty
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase
co.elastic.clients.elasticsearch._types.mapping.AggregateMetricDoubleProperty
- All Implemented Interfaces:
PropertyVariant
,JsonpSerializable
@JsonpDeserializable public class AggregateMetricDoubleProperty extends PropertyBase implements PropertyVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AggregateMetricDoubleProperty.Builder
Builder forAggregateMetricDoubleProperty
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
PropertyBase.AbstractBuilder<BuilderT extends PropertyBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AggregateMetricDoubleProperty>
_DESERIALIZER
Json deserializer forAggregateMetricDoubleProperty
-
Method Summary
Modifier and Type Method Description Property.Kind
_propertyKind()
Property variant kind.java.lang.String
defaultMetric()
Required - API name:default_metric
java.util.List<java.lang.String>
metrics()
Required - API name:metrics
static AggregateMetricDoubleProperty
of(java.util.function.Function<AggregateMetricDoubleProperty.Builder,ObjectBuilder<AggregateMetricDoubleProperty>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupAggregateMetricDoublePropertyDeserializer(ObjectDeserializer<AggregateMetricDoubleProperty.Builder> op)
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, localMetadata, meta, properties, serialize, setupPropertyBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.json.JsonpSerializable
serialize
Methods inherited from interface co.elastic.clients.elasticsearch._types.mapping.PropertyVariant
_toProperty
-
Field Details
-
_DESERIALIZER
Json deserializer forAggregateMetricDoubleProperty
-
-
Method Details
-
of
public static AggregateMetricDoubleProperty of(java.util.function.Function<AggregateMetricDoubleProperty.Builder,ObjectBuilder<AggregateMetricDoubleProperty>> fn) -
_propertyKind
Property variant kind.- Specified by:
_propertyKind
in interfacePropertyVariant
-
defaultMetric
public final java.lang.String defaultMetric()Required - API name:default_metric
-
metrics
public final java.util.List<java.lang.String> metrics()Required - API name:metrics
-
serializeInternal
- Overrides:
serializeInternal
in classPropertyBase
-
setupAggregateMetricDoublePropertyDeserializer
protected static void setupAggregateMetricDoublePropertyDeserializer(ObjectDeserializer<AggregateMetricDoubleProperty.Builder> op)
-