Class AggregateMetricDoubleProperty
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase
co.elastic.clients.elasticsearch._types.mapping.AggregateMetricDoubleProperty
- All Implemented Interfaces:
PropertyVariant
,JsonpSerializable
,UnionVariant
@JsonpDeserializable public final class AggregateMetricDoubleProperty extends PropertyBase implements PropertyVariant
-
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
-
Constructor Summary
Constructors Constructor Description AggregateMetricDoubleProperty(AggregateMetricDoubleProperty.Builder builder)
AggregateMetricDoubleProperty(java.util.function.Function<AggregateMetricDoubleProperty.Builder,AggregateMetricDoubleProperty.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
_variantType()
Property
variant typejava.lang.String
defaultMetric()
Required - API name:default_metric
java.util.List<java.lang.String>
metrics()
Required - API name:metrics
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupAggregateMetricDoublePropertyDeserializer(DelegatingDeserializer<AggregateMetricDoubleProperty.Builder> op)
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, localMetadata, meta, name, properties, serialize, setupPropertyBaseDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
-
-
Constructor Details
-
AggregateMetricDoubleProperty
-
AggregateMetricDoubleProperty
public AggregateMetricDoubleProperty(java.util.function.Function<AggregateMetricDoubleProperty.Builder,AggregateMetricDoubleProperty.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Property
variant type- Specified by:
_variantType
in interfaceUnionVariant
-
defaultMetric
public java.lang.String defaultMetric()Required - API name:default_metric
-
metrics
public java.util.List<java.lang.String> metrics()Required - API name:metrics
-
serializeInternal
- Overrides:
serializeInternal
in classPropertyBase
-
setupAggregateMetricDoublePropertyDeserializer
protected static void setupAggregateMetricDoublePropertyDeserializer(DelegatingDeserializer<AggregateMetricDoubleProperty.Builder> op)
-