Class GetTokenResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.GetTokenResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetTokenResponse>Json deserializer forGetTokenResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - API name:access_tokenfinal AuthenticatedUserRequired - API name:authenticationfinal longRequired - API name:expires_infinal StringAPI name:kerberos_authentication_response_tokenstatic GetTokenResponsefinal StringAPI name:refresh_tokenfinal Stringscope()API name:scopevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final Stringtype()Required - API name:type
-
Field Details
-
_DESERIALIZER
Json deserializer forGetTokenResponse
-
-
Method Details
-
of
public static GetTokenResponse of(Function<GetTokenResponse.Builder, ObjectBuilder<GetTokenResponse>> fn) -
accessToken
Required - API name:access_token -
expiresIn
public final long expiresIn()Required - API name:expires_in -
scope
API name:scope -
type
Required - API name:type -
refreshToken
API name:refresh_token -
kerberosAuthenticationResponseToken
API name:kerberos_authentication_response_token -
authentication
Required - API name:authentication -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetTokenResponseDeserializer
protected static void setupGetTokenResponseDeserializer(ObjectDeserializer<GetTokenResponse.Builder> op)
-