Class NestedProperty
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase
co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
co.elastic.clients.elasticsearch._types.mapping.NestedProperty
- All Implemented Interfaces:
PropertyVariant
,JsonpSerializable
,UnionVariant
@JsonpDeserializable public final class NestedProperty extends CorePropertyBase implements PropertyVariant
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NestedProperty.Builder
Builder forNestedProperty
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
CorePropertyBase.AbstractBuilder<BuilderT extends CorePropertyBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NestedProperty>
_DESERIALIZER
Json deserializer forNestedProperty
-
Constructor Summary
Constructors Constructor Description NestedProperty(NestedProperty.Builder builder)
NestedProperty(java.util.function.Function<NestedProperty.Builder,NestedProperty.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
_variantType()
Property
variant typejava.lang.Boolean
enabled()
API name:enabled
java.lang.Boolean
includeInParent()
API name:include_in_parent
java.lang.Boolean
includeInRoot()
API name:include_in_root
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupNestedPropertyDeserializer(DelegatingDeserializer<NestedProperty.Builder> op)
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
copyTo, setupCorePropertyBaseDeserializer, similarity, store
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 forNestedProperty
-
-
Constructor Details
-
NestedProperty
-
NestedProperty
public NestedProperty(java.util.function.Function<NestedProperty.Builder,NestedProperty.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Property
variant type- Specified by:
_variantType
in interfaceUnionVariant
-
enabled
@Nullable public java.lang.Boolean enabled()API name:enabled
-
includeInParent
@Nullable public java.lang.Boolean includeInParent()API name:include_in_parent
-
includeInRoot
@Nullable public java.lang.Boolean includeInRoot()API name:include_in_root
-
serializeInternal
- Overrides:
serializeInternal
in classCorePropertyBase
-
setupNestedPropertyDeserializer
protected static void setupNestedPropertyDeserializer(DelegatingDeserializer<NestedProperty.Builder> op)
-