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 classHasPrivilegesUserProfileResponse.BuilderBuilder forHasPrivilegesUserProfileResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<HasPrivilegesUserProfileResponse>_DESERIALIZERJson 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 HasPrivilegesUserProfileResponseof(java.util.function.Function<HasPrivilegesUserProfileResponse.Builder,ObjectBuilder<HasPrivilegesUserProfileResponse>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupHasPrivilegesUserProfileResponseDeserializer(ObjectDeserializer<HasPrivilegesUserProfileResponse.Builder> op)java.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupHasPrivilegesUserProfileResponseDeserializer
protected static void setupHasPrivilegesUserProfileResponseDeserializer(ObjectDeserializer<HasPrivilegesUserProfileResponse.Builder> op)
-