Class AuthenticateResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.AuthenticateResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class AuthenticateResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description ApiKeyapiKey()API name:api_keyRealmInfoauthenticationRealm()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:metadatastatic AuthenticateResponseof(java.util.function.Function<AuthenticateResponse.Builder,ObjectBuilder<AuthenticateResponse>> fn)java.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(ObjectDeserializer<AuthenticateResponse.Builder> op)ServiceTokentoken()API name:tokenjava.lang.StringtoString()java.lang.Stringusername()Required - API name:usernameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAuthenticateResponse
-
-
Method Details
-
of
public static AuthenticateResponse of(java.util.function.Function<AuthenticateResponse.Builder,ObjectBuilder<AuthenticateResponse>> fn) -
apiKey
API name:api_key -
authenticationRealm
Required - API name:authentication_realm -
email
@Nullable public final java.lang.String email()API name:email -
fullName
@Nullable public final java.lang.String fullName()API name:full_name -
lookupRealm
Required - API name:lookup_realm -
metadata
Required - API name:metadata -
roles
public final java.util.List<java.lang.String> roles()Required - API name:roles -
username
public final java.lang.String username()Required - API name:username -
enabled
public final boolean enabled()Required - API name:enabled -
authenticationType
public final java.lang.String authenticationType()Required - API name:authentication_type -
token
API name:token -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupAuthenticateResponseDeserializer
protected static void setupAuthenticateResponseDeserializer(ObjectDeserializer<AuthenticateResponse.Builder> op)
-