Class CreateServiceTokenResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.CreateServiceTokenResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class CreateServiceTokenResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CreateServiceTokenResponse>Json deserializer forCreateServiceTokenResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal booleancreated()Required - API name:createdstatic CreateServiceTokenResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupCreateServiceTokenResponseDeserializer(ObjectDeserializer<CreateServiceTokenResponse.Builder> op) final Tokentoken()Required - API name:tokentoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCreateServiceTokenResponse
-
-
Method Details
-
of
public static CreateServiceTokenResponse of(Function<CreateServiceTokenResponse.Builder, ObjectBuilder<CreateServiceTokenResponse>> fn) -
created
public final boolean created()Required - API name:created -
token
Required - API name:token -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCreateServiceTokenResponseDeserializer
protected static void setupCreateServiceTokenResponseDeserializer(ObjectDeserializer<CreateServiceTokenResponse.Builder> op)
-