Class AggregateMetricDoubleProperty
java.lang.Object
org.opensearch.client.opensearch._types.mapping.PropertyBase
org.opensearch.client.opensearch._types.mapping.AggregateMetricDoubleProperty
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,PropertyVariant,ToCopyableBuilder<AggregateMetricDoubleProperty.Builder,AggregateMetricDoubleProperty>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class AggregateMetricDoubleProperty
extends PropertyBase
implements PropertyVariant, ToCopyableBuilder<AggregateMetricDoubleProperty.Builder,AggregateMetricDoubleProperty>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase
PropertyBase.AbstractBuilder<BuilderT extends PropertyBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AggregateMetricDoubleProperty> Json deserializer forAggregateMetricDoubleProperty -
Method Summary
Modifier and TypeMethodDescriptionPropertyvariant kind.builder()final StringRequired - API name:default_metricbooleaninthashCode()metrics()Required - API name:metricsprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupAggregateMetricDoublePropertyDeserializer(ObjectDeserializer<AggregateMetricDoubleProperty.Builder> op) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, meta, properties, serialize, setupPropertyBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.JsonpSerializable
serializeMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.opensearch._types.mapping.PropertyVariant
toPropertyMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forAggregateMetricDoubleProperty
-
-
Method Details
-
of
-
_propertyKind
Propertyvariant kind.- Specified by:
_propertyKindin interfacePropertyVariant
-
defaultMetric
Required - API name:default_metric -
metrics
Required - API name:metrics -
serializeInternal
- Overrides:
serializeInternalin classPropertyBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AggregateMetricDoubleProperty.Builder,AggregateMetricDoubleProperty> - Returns:
- a new builder instance.
-
builder
-
setupAggregateMetricDoublePropertyDeserializer
protected static void setupAggregateMetricDoublePropertyDeserializer(ObjectDeserializer<AggregateMetricDoubleProperty.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classPropertyBase
-
equals
- Overrides:
equalsin classPropertyBase
-