Class DictionaryResponse<TKey,TValue>
java.lang.Object
org.opensearch.client.transport.endpoints.DictionaryResponse<TKey,TValue>
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
- Direct Known Subclasses:
GetActionGroupResponse,GetActionGroupsResponse,GetAliasResponse,GetDecommissionAwarenessResponse,GetDistinguishedNameResponse,GetDistinguishedNamesResponse,GetFeatureResponse,GetFeaturesetResponse,GetFieldMappingResponse,GetIndexResponse,GetIndicesSettingsResponse,GetMappingResponse,GetModelResponse,GetPipelineResponse,GetRepositoryResponse,GetRoleMappingResponse,GetRoleMappingsResponse,GetRoleResponse,GetRolesResponse,GetSearchPipelineResponse,GetTemplateResponse,GetTenantResponse,GetTenantsResponse,GetUserLegacyResponse,GetUserResponse,GetUsersLegacyResponse,GetUsersResponse,RecoveryResponse,RemoteInfoResponse,TenantInfoResponse,UndeployModelResponse,UnloadModelResponse
public abstract class DictionaryResponse<TKey,TValue>
extends Object
implements PlainJsonSerializable
Base class for dictionary responses, i.e. a series of key/value pairs.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classDictionaryResponse.AbstractBuilder<TKey,TValue, BuilderT extends DictionaryResponse.AbstractBuilder<TKey, TValue, BuilderT>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()result()Returns the response as a map.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <TKey,TValue, BuilderT extends DictionaryResponse.AbstractBuilder<TKey, TValue, BuilderT>>
voidsetupDictionaryResponseDeserializer(ObjectDeserializer<BuilderT> op, JsonpDeserializer<TKey> tKeyParser, JsonpDeserializer<TValue> tValueParser) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Constructor Details
-
DictionaryResponse
-
-
Method Details
-
result
Returns the response as a map. -
get
-
serialize
Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupDictionaryResponseDeserializer
protected static <TKey,TValue, void setupDictionaryResponseDeserializerBuilderT extends DictionaryResponse.AbstractBuilder<TKey, TValue, BuilderT>> (ObjectDeserializer<BuilderT> op, JsonpDeserializer<TKey> tKeyParser, JsonpDeserializer<TValue> tValueParser) -
hashCode
public int hashCode() -
equals
-