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 classAggregateMetricDoubleProperty.BuilderBuilder 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>_DESERIALIZERJson 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()Propertyvariant typejava.lang.StringdefaultMetric()Required - API name:default_metricjava.util.List<java.lang.String>metrics()Required - API name:metricsprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAggregateMetricDoublePropertyDeserializer(DelegatingDeserializer<AggregateMetricDoubleProperty.Builder> op)Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, localMetadata, meta, name, properties, serialize, setupPropertyBaseDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.json.JsonpSerializable
serializeMethods 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()Propertyvariant type- Specified by:
_variantTypein 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:
serializeInternalin classPropertyBase
-
setupAggregateMetricDoublePropertyDeserializer
protected static void setupAggregateMetricDoublePropertyDeserializer(DelegatingDeserializer<AggregateMetricDoubleProperty.Builder> op)
-