Class AuthenticateResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.AuthenticateResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class AuthenticateResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthenticateResponse.BuilderBuilder forAuthenticateResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AuthenticateResponse>_DESERIALIZERJson deserializer forAuthenticateResponse -
Constructor Summary
Constructors Constructor Description AuthenticateResponse(AuthenticateResponse.Builder builder)AuthenticateResponse(java.util.function.Function<AuthenticateResponse.Builder,AuthenticateResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description RealmInfoauthenticationRealm()Required - API name:authentication_realmjava.lang.StringauthenticationType()Required - API name:authentication_typejava.lang.Stringemail()API name:emailbooleanenabled()Required - API name:enabledjava.lang.StringfullName()API name:full_nameRealmInfolookupRealm()Required - API name:lookup_realmjava.util.Map<java.lang.String,JsonData>metadata()Required - API name:metadatajava.util.List<java.lang.String>roles()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 voidsetupAuthenticateResponseDeserializer(DelegatingDeserializer<AuthenticateResponse.Builder> op)Tokentoken()API name:tokenjava.lang.Stringusername()Required - API name:usernameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAuthenticateResponse
-
-
Constructor Details
-
AuthenticateResponse
-
AuthenticateResponse
public AuthenticateResponse(java.util.function.Function<AuthenticateResponse.Builder,AuthenticateResponse.Builder> fn)
-
-
Method Details
-
authenticationRealm
Required - API name:authentication_realm -
email
@Nullable public java.lang.String email()API name:email -
fullName
@Nullable public java.lang.String fullName()API name:full_name -
lookupRealm
Required - API name:lookup_realm -
metadata
Required - API name:metadata -
roles
public java.util.List<java.lang.String> roles()Required - API name:roles -
username
public java.lang.String username()Required - API name:username -
enabled
public boolean enabled()Required - API name:enabled -
authenticationType
public java.lang.String authenticationType()Required - API name:authentication_type -
token
API name:token -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupAuthenticateResponseDeserializer
protected static void setupAuthenticateResponseDeserializer(DelegatingDeserializer<AuthenticateResponse.Builder> op)
-