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 int
count()
Required - The number of roles returned in the response.static QueryRoleResponse
roles()
Required - The list of roles.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
toString()
final int
total()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryRoleResponseDeserializer
protected static void setupQueryRoleResponseDeserializer(ObjectDeserializer<QueryRoleResponse.Builder> op)
-