Class Token
java.lang.Object
co.elastic.clients.elasticsearch.security.create_service_token.Token
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<Token>
Json deserializer forToken
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
name()
Required - API name:name
static Token
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
toString()
final String
value()
Required - API name:value
-
Field Details
-
_DESERIALIZER
Json deserializer forToken
-
-
Method Details
-
of
-
name
Required - API name:name
-
value
Required - API name:value
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTokenDeserializer
-