Class GrantApiKeyResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.GrantApiKeyResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GrantApiKeyResponse>Json deserializer forGrantApiKeyResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal StringapiKey()Required - API name:api_keyfinal Stringencoded()Required - API name:encodedfinal LongAPI name:expirationfinal Stringid()Required - API name:idfinal Stringname()Required - API name:namestatic GrantApiKeyResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forGrantApiKeyResponse
-
-
Method Details
-
of
public static GrantApiKeyResponse of(Function<GrantApiKeyResponse.Builder, ObjectBuilder<GrantApiKeyResponse>> fn) -
apiKey
Required - API name:api_key -
id
Required - API name:id -
name
Required - API name:name -
expiration
API name:expiration -
encoded
Required - API name:encoded -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGrantApiKeyResponseDeserializer
protected static void setupGrantApiKeyResponseDeserializer(ObjectDeserializer<GrantApiKeyResponse.Builder> op)
-