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 classCreateServiceTokenResponse.BuilderBuilder forCreateServiceTokenResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CreateServiceTokenResponse>_DESERIALIZERJson deserializer forCreateServiceTokenResponse -
Method Summary
Modifier and Type Method Description booleancreated()Required - API name:createdstatic CreateServiceTokenResponseof(java.util.function.Function<CreateServiceTokenResponse.Builder,ObjectBuilder<CreateServiceTokenResponse>> fn)voidserialize(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)Tokentoken()Required - API name:tokenjava.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupCreateServiceTokenResponseDeserializer
protected static void setupCreateServiceTokenResponseDeserializer(ObjectDeserializer<CreateServiceTokenResponse.Builder> op)
-