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 classCreateServiceTokenResponse.BuilderBuilder forCreateServiceTokenResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CreateServiceTokenResponse>_DESERIALIZERJson 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 booleancreated()Required - API name:createdvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupCreateServiceTokenResponseDeserializer(DelegatingDeserializer<CreateServiceTokenResponse.Builder> op)Tokentoken()Required - API name:tokenMethods 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupCreateServiceTokenResponseDeserializer
protected static void setupCreateServiceTokenResponseDeserializer(DelegatingDeserializer<CreateServiceTokenResponse.Builder> op)
-