Class PutUserResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.PutUserResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PutUserResponse>
Json deserializer forPutUserResponse
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
created()
Required - A successful call returns a JSON structure that shows whether the user has been created or updated.static PutUserResponse
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()
-
Field Details
-
_DESERIALIZER
Json deserializer forPutUserResponse
-
-
Method Details
-
of
public static PutUserResponse of(Function<PutUserResponse.Builder, ObjectBuilder<PutUserResponse>> fn) -
created
public final boolean created()Required - A successful call returns a JSON structure that shows whether the user has been created or updated. When an existing user is updated,created
is set tofalse
.API name:
created
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupPutUserResponseDeserializer
protected static void setupPutUserResponseDeserializer(ObjectDeserializer<PutUserResponse.Builder> op)
-