tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IDreamMakerClient.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2using System.Threading;
3using System.Threading.Tasks;
4
8
10{
14 public interface IDreamMakerClient
15 {
21 ValueTask<DreamMakerResponse> Read(CancellationToken cancellationToken);
22
29 ValueTask<DreamMakerResponse> Update(DreamMakerRequest dreamMaker, CancellationToken cancellationToken);
30
36 ValueTask<JobResponse> Compile(CancellationToken cancellationToken);
37
44 ValueTask<List<CompileJobResponse>> ListCompileJobs(PaginationSettings? paginationSettings, CancellationToken cancellationToken);
45
52 ValueTask<CompileJobResponse> GetCompileJob(EntityId compileJob, CancellationToken cancellationToken);
53 }
54}
Common base of entities with IDs.
Definition EntityId.cs:7
A request to the DreamMaker controller.
Settings for a paginated request.
ValueTask< JobResponse > Compile(CancellationToken cancellationToken)
Compile the current repository revision.
ValueTask< DreamMakerResponse > Read(CancellationToken cancellationToken)
Get the DreamMakerResponse.
ValueTask< CompileJobResponse > GetCompileJob(EntityId compileJob, CancellationToken cancellationToken)
Get a compileJob .
ValueTask< List< CompileJobResponse > > ListCompileJobs(PaginationSettings? paginationSettings, CancellationToken cancellationToken)
Gets the CompileJobResponses for the instance.
ValueTask< DreamMakerResponse > Update(DreamMakerRequest dreamMaker, CancellationToken cancellationToken)
Updates the Api.Models.Internal.DreamMakerSettings.