Class PutRoleMappingResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.PutRoleMappingResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class PutRoleMappingResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PutRoleMappingResponse.Builder
Builder forPutRoleMappingResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PutRoleMappingResponse>
_DESERIALIZER
Json deserializer forPutRoleMappingResponse
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
created()
API name:created
static PutRoleMappingResponse
of(java.util.function.Function<PutRoleMappingResponse.Builder,ObjectBuilder<PutRoleMappingResponse>> fn)
CreatedStatus
roleMapping()
Required - API name:role_mapping
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
setupPutRoleMappingResponseDeserializer(ObjectDeserializer<PutRoleMappingResponse.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 forPutRoleMappingResponse
-
-
Method Details
-
of
public static PutRoleMappingResponse of(java.util.function.Function<PutRoleMappingResponse.Builder,ObjectBuilder<PutRoleMappingResponse>> fn) -
created
@Nullable public final java.lang.Boolean created()API name:created
-
roleMapping
Required - API name:role_mapping
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupPutRoleMappingResponseDeserializer
protected static void setupPutRoleMappingResponseDeserializer(ObjectDeserializer<PutRoleMappingResponse.Builder> op)
-