tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
UserGroupsClient.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.Threading;
4using System.Threading.Tasks;
5
10
12{
41}
Common base of entities with IDs.
Definition EntityId.cs:7
Routes to a server actions.
Definition Routes.cs:9
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.
Definition Routes.cs:43
ValueTask Delete(string route, CancellationToken cancellationToken)
Run an HTTP DELETE request.A ValueTask representing the running operation.
Client that deals with getting paginated results.
Settings for a paginated request.
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.
Definition IApiClient.cs:17
For managing UserGroupResponses.