Class IndexMappingRecord
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.get_mapping.IndexMappingRecord
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexMappingRecord extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexMappingRecord.BuilderBuilder forIndexMappingRecord.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexMappingRecord>_DESERIALIZERJson deserializer forIndexMappingRecord
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeMappingitem()API name:itemTypeMappingmappings()Required - API name:mappingsstatic IndexMappingRecordof(java.util.function.Function<IndexMappingRecord.Builder,ObjectBuilder<IndexMappingRecord>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIndexMappingRecordDeserializer(ObjectDeserializer<IndexMappingRecord.Builder> op)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<IndexMappingRecord> _DESERIALIZER
Json deserializer forIndexMappingRecord
-
-
Method Detail
-
of
public static IndexMappingRecord of(java.util.function.Function<IndexMappingRecord.Builder,ObjectBuilder<IndexMappingRecord>> fn)
-
item
@Nullable public final TypeMapping item()
API name:item
-
mappings
public final TypeMapping mappings()
Required - API name:mappings
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupIndexMappingRecordDeserializer
protected static void setupIndexMappingRecordDeserializer(ObjectDeserializer<IndexMappingRecord.Builder> op)
-
-