|
tgstation-server 6.19.0
The /tg/station 13 server suite
|


Public Member Functions | |||||
| UserGroupsClient (IApiClient apiClient) | |||||
| Initializes a new instance of the UserGroupsClient class. | |||||
| ValueTask< UserGroupResponse > | Create (UserGroupCreateRequest group, CancellationToken cancellationToken) | ||||
Create a new group .
| |||||
| ValueTask< UserGroupResponse > | GetId (EntityId group, CancellationToken cancellationToken) | ||||
Get a specific group .
| |||||
| ValueTask< List< UserGroupResponse > > | List (PaginationSettings? paginationSettings, CancellationToken cancellationToken) | ||||
List all UserGroupResponses.
| |||||
| ValueTask< UserGroupResponse > | Update (UserGroupUpdateRequest group, CancellationToken cancellationToken) | ||||
Update a group .
| |||||
| ValueTask | Delete (EntityId group, CancellationToken cancellationToken) | ||||
Deletes a group .
| |||||
Public Member Functions inherited from Tgstation.Server.Client.PaginatedClient | |||||
| PaginatedClient (IApiClient apiClient) | |||||
| Initializes a new instance of the PaginatedClient class. | |||||
Private Member Functions | |
| ValueTask< UserGroupResponse > | UserGroupResponse (Routes.UserGroup, group ?? throw new ArgumentNullException(nameof(group)), cancellationToken) |
| ValueTask< UserGroupResponse > | UserGroupResponse (Routes.UserGroup, group ?? throw new ArgumentNullException(nameof(group)), cancellationToken) |
Additional Inherited Members | |
Protected Member Functions inherited from Tgstation.Server.Client.PaginatedClient | |
| async ValueTask< List< TModel > > | ReadPaged< TModel > (PaginationSettings? paginationSettings, string route, long? instanceId, CancellationToken cancellationToken) |
| Reads a given route with paged results. | |
Properties inherited from Tgstation.Server.Client.PaginatedClient | |
| IApiClient | ApiClient [get] |
| The IApiClient for the PaginatedClient. | |
Definition at line 14 of file UserGroupsClient.cs.
| Tgstation.Server.Client.UserGroupsClient.UserGroupsClient | ( | IApiClient | apiClient | ) |
Initializes a new instance of the UserGroupsClient class.
| apiClient | The IApiClient for the PaginatedClient. |
Definition at line 20 of file UserGroupsClient.cs.
| ValueTask< UserGroupResponse > Tgstation.Server.Client.UserGroupsClient.Create | ( | UserGroupCreateRequest | group, |
| CancellationToken | cancellationToken | ||
| ) |
Create a new group .
| group | The UserGroupCreateRequest. |
| cancellationToken | The CancellationToken for the operation. |
Implements Tgstation.Server.Client.IUserGroupsClient.
| ValueTask Tgstation.Server.Client.UserGroupsClient.Delete | ( | EntityId | group, |
| CancellationToken | cancellationToken | ||
| ) |
Deletes a group .
| group | The EntityId of the user group to delete. |
| cancellationToken | The CancellationToken for the operation. |
Implements Tgstation.Server.Client.IUserGroupsClient.
| ValueTask< UserGroupResponse > Tgstation.Server.Client.UserGroupsClient.GetId | ( | EntityId | group, |
| CancellationToken | cancellationToken | ||
| ) |
Get a specific group .
| group | The EntityId of the user group to get. |
| cancellationToken | The CancellationToken for the operation. |
Implements Tgstation.Server.Client.IUserGroupsClient.
| ValueTask< List< UserGroupResponse > > Tgstation.Server.Client.UserGroupsClient.List | ( | PaginationSettings? | paginationSettings, |
| CancellationToken | cancellationToken | ||
| ) |
List all UserGroupResponses.
| paginationSettings | The optional PaginationSettings for the operation. |
| cancellationToken | The CancellationToken for the operation. |
Implements Tgstation.Server.Client.IUserGroupsClient.
| ValueTask< UserGroupResponse > Tgstation.Server.Client.UserGroupsClient.Update | ( | UserGroupUpdateRequest | group, |
| CancellationToken | cancellationToken | ||
| ) |
Update a group .
| group | The UserGroupUpdateRequest. |
| cancellationToken | The CancellationToken for the operation. |
Implements Tgstation.Server.Client.IUserGroupsClient.
|
private |
|
private |