Class CreateServiceTokenResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.CreateServiceTokenResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class CreateServiceTokenResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateServiceTokenResponse.Builder
Builder forCreateServiceTokenResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CreateServiceTokenResponse>
_DESERIALIZER
Json deserializer forCreateServiceTokenResponse
-
Constructor Summary
Constructors Constructor Description CreateServiceTokenResponse(CreateServiceTokenResponse.Builder builder)
CreateServiceTokenResponse(java.util.function.Function<CreateServiceTokenResponse.Builder,CreateServiceTokenResponse.Builder> fn)
-
Method Summary
Modifier and Type Method Description boolean
created()
Required - API name:created
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupCreateServiceTokenResponseDeserializer(DelegatingDeserializer<CreateServiceTokenResponse.Builder> op)
Token
token()
Required - API name:token
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forCreateServiceTokenResponse
-
-
Constructor Details
-
CreateServiceTokenResponse
-
CreateServiceTokenResponse
public CreateServiceTokenResponse(java.util.function.Function<CreateServiceTokenResponse.Builder,CreateServiceTokenResponse.Builder> fn)
-
-
Method Details
-
created
public boolean created()Required - API name:created
-
token
Required - API name:token
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupCreateServiceTokenResponseDeserializer
protected static void setupCreateServiceTokenResponseDeserializer(DelegatingDeserializer<CreateServiceTokenResponse.Builder> op)
-