2using System.Collections.Generic;
4using System.Threading.Tasks;
Common base of entities with IDs.
Request to create a user group.
Request to update a user group.
Routes to a server actions.
static string SetID(string route, long id)
Apply an id postfix to a route .
static string ListRoute(string route)
Get the /List postfix for a route .
const string UserGroup
The user group controller.
ValueTask Delete(string route, CancellationToken cancellationToken)
Run an HTTP DELETE request.A ValueTask representing the running operation.
Client that deals with getting paginated results.
ValueTask< UserGroupResponse > GetId(EntityId group, CancellationToken cancellationToken)
Get a specific group .A ValueTask<TResult> resulting in the requested group .
ValueTask< List< UserGroupResponse > > List(PaginationSettings? paginationSettings, CancellationToken cancellationToken)
List all UserGroupResponses.A ValueTask<TResult> resulting in a List<T> of all UserGroupResponses.
ValueTask< UserGroupResponse > Update(UserGroupUpdateRequest group, CancellationToken cancellationToken)
Update a group .A ValueTask<TResult> resulting in the updated UserGroupResponse.
ValueTask< UserGroupResponse > Create(UserGroupCreateRequest group, CancellationToken cancellationToken)
Create a new group .A ValueTask<TResult> resulting in the new UserGroupResponse.
UserGroupsClient(IApiClient apiClient)
Initializes a new instance of the UserGroupsClient class.
ValueTask Delete(EntityId group, CancellationToken cancellationToken)
Deletes a group .A ValueTask representing the running operation.
Web interface for the API.
For managing UserGroupResponses.