Class CreateServiceTokenResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.CreateServiceTokenResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class CreateServiceTokenResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
Method Summary
Modifier and Type Method Description boolean
created()
Required - API name:created
static CreateServiceTokenResponse
of(java.util.function.Function<CreateServiceTokenResponse.Builder,ObjectBuilder<CreateServiceTokenResponse>> fn)
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(ObjectDeserializer<CreateServiceTokenResponse.Builder> op)
Token
token()
Required - API name:token
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forCreateServiceTokenResponse
-
-
Method Details
-
of
public static CreateServiceTokenResponse of(java.util.function.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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupCreateServiceTokenResponseDeserializer
protected static void setupCreateServiceTokenResponseDeserializer(ObjectDeserializer<CreateServiceTokenResponse.Builder> op)
-