Package org.opensearch.client.base
Class AdditionalProperties<TKey,TValue>
java.lang.Object
org.opensearch.client.base.AdditionalProperties<TKey,TValue>
- All Implemented Interfaces:
ToJsonp
- Direct Known Subclasses:
FlushSyncedResponse,GetAliasResponse,GetFieldMappingResponse,GetMappingResponse,GetPipelineResponse,GetRepositoryResponse,GetResponse,GetSettingsResponse,GetTemplateResponse,RecoveryResponse,RemoteInfoResponse
public abstract class AdditionalProperties<TKey,TValue> extends java.lang.Object implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAdditionalProperties.AbstractBuilder<TKey,TValue,BuilderT extends AdditionalProperties.AbstractBuilder<TKey,TValue,BuilderT>> -
Constructor Summary
Constructors Modifier Constructor Description protectedAdditionalProperties(AdditionalProperties.AbstractBuilder<TKey,TValue,?> builder) -
Method Summary
Modifier and Type Method Description protected static <TKey, TValue, BuilderT extends AdditionalProperties.AbstractBuilder<TKey, TValue, BuilderT>>
voidsetupAdditionalPropertiesDeserializer(DelegatingDeserializer<BuilderT> op, JsonpDeserializer<TKey> tKeyParser, JsonpDeserializer<TValue> tValueParser)voidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this value to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.util.Map<java.lang.String,TValue>value()Returns the map of additional properties.
-
Constructor Details
-
Method Details
-
value
Returns the map of additional properties. -
toJsonp
Serialize this value to JSON. -
toJsonpInternal
-
setupAdditionalPropertiesDeserializer
protected static <TKey, TValue, BuilderT extends AdditionalProperties.AbstractBuilder<TKey, TValue, BuilderT>> void setupAdditionalPropertiesDeserializer(DelegatingDeserializer<BuilderT> op, JsonpDeserializer<TKey> tKeyParser, JsonpDeserializer<TValue> tValueParser)
-