Class PutRoleResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.PutRoleResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class PutRoleResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PutRoleResponse.Builder
Builder forPutRoleResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PutRoleResponse>
_DESERIALIZER
Json deserializer forPutRoleResponse
-
Method Summary
Modifier and Type Method Description static PutRoleResponse
of(java.util.function.Function<PutRoleResponse.Builder,ObjectBuilder<PutRoleResponse>> fn)
CreatedStatus
role()
Required - API name:role
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
setupPutRoleResponseDeserializer(ObjectDeserializer<PutRoleResponse.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forPutRoleResponse
-
-
Method Details
-
of
public static PutRoleResponse of(java.util.function.Function<PutRoleResponse.Builder,ObjectBuilder<PutRoleResponse>> fn) -
role
Required - API name:role
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupPutRoleResponseDeserializer
protected static void setupPutRoleResponseDeserializer(ObjectDeserializer<PutRoleResponse.Builder> op)
-