Class AuthenticateResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.AuthenticateResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AuthenticateResponse>Json deserializer forAuthenticateResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal AuthenticateApiKeyapiKey()API name:api_keyfinal RealmInfoRequired - API name:authentication_realmfinal StringRequired - API name:authentication_typefinal Stringemail()API name:emailfinal booleanenabled()Required - API name:enabledfinal StringfullName()API name:full_namefinal RealmInfoRequired - API name:lookup_realmmetadata()Required - API name:metadatastatic AuthenticateResponseroles()Required - API name:rolesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal ServiceTokentoken()API name:tokentoString()final Stringusername()Required - API name:username
-
Field Details
-
_DESERIALIZER
Json deserializer forAuthenticateResponse
-
-
Method Details
-
of
public static AuthenticateResponse of(Function<AuthenticateResponse.Builder, ObjectBuilder<AuthenticateResponse>> fn) -
apiKey
API name:api_key -
authenticationRealm
Required - API name:authentication_realm -
email
API name:email -
fullName
API name:full_name -
lookupRealm
Required - API name:lookup_realm -
metadata
Required - API name:metadata -
roles
Required - API name:roles -
username
Required - API name:username -
enabled
public final boolean enabled()Required - API name:enabled -
authenticationType
Required - API name:authentication_type -
token
API name:token -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAuthenticateResponseDeserializer
protected static void setupAuthenticateResponseDeserializer(ObjectDeserializer<AuthenticateResponse.Builder> op)
-