Class HasPrivilegesUserProfileResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.HasPrivilegesUserProfileResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class HasPrivilegesUserProfileResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HasPrivilegesUserProfileResponse.Builder
Builder forHasPrivilegesUserProfileResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<HasPrivilegesUserProfileResponse>
_DESERIALIZER
Json deserializer forHasPrivilegesUserProfileResponse
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>
errorUids()
The subset of the requested profile IDs for which an error was encountered.java.util.List<java.lang.String>
hasPrivilegeUids()
Required - The subset of the requested profile IDs of the users that have all the requested privileges.static HasPrivilegesUserProfileResponse
of(java.util.function.Function<HasPrivilegesUserProfileResponse.Builder,ObjectBuilder<HasPrivilegesUserProfileResponse>> fn)
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
setupHasPrivilegesUserProfileResponseDeserializer(ObjectDeserializer<HasPrivilegesUserProfileResponse.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forHasPrivilegesUserProfileResponse
-
-
Method Details
-
of
public static HasPrivilegesUserProfileResponse of(java.util.function.Function<HasPrivilegesUserProfileResponse.Builder,ObjectBuilder<HasPrivilegesUserProfileResponse>> fn) -
hasPrivilegeUids
public final java.util.List<java.lang.String> hasPrivilegeUids()Required - The subset of the requested profile IDs of the users that have all the requested privileges.API name:
has_privilege_uids
-
errorUids
public final java.util.List<java.lang.String> errorUids()The subset of the requested profile IDs for which an error was encountered. It does not include the missing profile IDs or the profile IDs of the users that do not have all the requested privileges. This field is absent if empty.API name:
error_uids
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupHasPrivilegesUserProfileResponseDeserializer
protected static void setupHasPrivilegesUserProfileResponseDeserializer(ObjectDeserializer<HasPrivilegesUserProfileResponse.Builder> op)
-