Class PutRoleResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.PutRoleResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class PutRoleResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPutRoleResponse.BuilderBuilder forPutRoleResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PutRoleResponse>_DESERIALIZERJson deserializer forPutRoleResponse -
Constructor Summary
Constructors Constructor Description PutRoleResponse(PutRoleResponse.Builder builder)PutRoleResponse(java.util.function.Function<PutRoleResponse.Builder,PutRoleResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description CreatedStatusrole()Required - API name:rolevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupPutRoleResponseDeserializer(DelegatingDeserializer<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
-
-
Constructor Details
-
PutRoleResponse
-
PutRoleResponse
public PutRoleResponse(java.util.function.Function<PutRoleResponse.Builder,PutRoleResponse.Builder> fn)
-
-
Method Details
-
role
Required - API name:role -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupPutRoleResponseDeserializer
protected static void setupPutRoleResponseDeserializer(DelegatingDeserializer<PutRoleResponse.Builder> op)
-