2using System.Collections.Generic;
4using System.Threading.Tasks;
29 this.instance =
instance ??
throw new ArgumentNullException(nameof(
instance));
Common base of entities with IDs.
virtual ? long Id
The ID of the entity.
Metadata about a server instance.
A request to the DreamMaker controller.
A request to the DreamMaker controller.
Represents a long running job on the server. Model is read-only, updates attempt to cancel the job.
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 DreamMaker
The deployment controller.
DreamMakerClient(IApiClient apiClient, Instance instance)
Initializes a new instance of the DreamMakerClient class.
ValueTask< JobResponse > Compile(CancellationToken cancellationToken)
Compile the current repository revision.A ValueTask<TResult> resulting in the JobResponse for the com...
ValueTask< List< CompileJobResponse > > ListCompileJobs(PaginationSettings? paginationSettings, CancellationToken cancellationToken)
Gets the CompileJobResponses for the instance.A ValueTask<TResult> resulting in a List<T> of CompileJ...
ValueTask< CompileJobResponse > GetCompileJob(EntityId compileJob, CancellationToken cancellationToken)
Get a compileJob .A ValueTask<TResult> resulting in the CompileJobResponse.
ValueTask< DreamMakerResponse > Read(CancellationToken cancellationToken)
Get the DreamMakerResponse.A ValueTask<TResult> resulting in the DreamMakerResponse.
readonly Instance instance
The Instance for the DreamMakerClient.
ValueTask< DreamMakerResponse > Update(DreamMakerRequest dreamMaker, CancellationToken cancellationToken)
Updates the Api.Models.Internal.DreamMakerSettings.A ValueTask representing the running operation.
Client that deals with getting paginated results.
For managing the compiler.
Web interface for the API.