2 using System.Collections.Generic;
3 using System.Threading;
4 using System.Threading.Tasks;
31 this.instance =
instance ??
throw new ArgumentNullException(nameof(
instance));
const string Byond
The Models.Byond controller
Task< Byond > Byond(Routes.Byond, byond ?? throw new ArgumentNullException(nameof(byond)), instance.Id, cancellationToken)
Task< Byond > SetActiveVersion(Byond byond, CancellationToken cancellationToken)
Updates the Byond information
For managing the Byond installation
ByondClient(IApiClient apiClient, Instance instance)
Construct a ByondClient
static string ListRoute(string route)
Get the /List postfix for a route
readonly IApiClient apiClient
The IApiClient for the ByondClient
Routes to a server actions
readonly Instance instance
The Instance for the ByondClient
long Id
The id of the Instance. Not modifiable
Task< IReadOnlyList< Byond > > InstalledVersions(CancellationToken cancellationToken)
Get all installed Byond System.Versions
Metadata about a server instance
Represents a BYOND installation
Web interface for the API
Task< Byond > ActiveVersion(CancellationToken cancellationToken)
Get the Byond active System.Version information