Class QueryRoleResponse
java.lang.Object
co.elastic.clients.elasticsearch.security.QueryRoleResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryRoleResponse>Json deserializer forQueryRoleResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal intcount()Required - The number of roles returned in the response.static QueryRoleResponseroles()Required - The list of roles.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final inttotal()Required - The total number of roles found.
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryRoleResponse
-
-
Method Details
-
of
public static QueryRoleResponse of(Function<QueryRoleResponse.Builder, ObjectBuilder<QueryRoleResponse>> fn) -
total
public final int total()Required - The total number of roles found.API name:
total -
count
public final int count()Required - The number of roles returned in the response.API name:
count -
roles
Required - The list of roles.API name:
roles -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryRoleResponseDeserializer
protected static void setupQueryRoleResponseDeserializer(ObjectDeserializer<QueryRoleResponse.Builder> op)
-