3using System.Threading.Tasks;
virtual ? long Id
The ID of the entity.
Metadata about a server instance.
Represents a request to clone the repository.
Represents a request to change the repository.
Represents a git repository.
Routes to a server actions.
const string Repository
The git repository controller.
readonly IApiClient apiClient
The IApiClient for the RepositoryClient.
readonly Instance instance
The Instance for the RepositoryClient.
ValueTask< RepositoryResponse > Clone(RepositoryCreateRequest repository, CancellationToken cancellationToken)
Clones a repository . A ValueTask<TResult> resulting in the RepositoryResponse/.
ValueTask< RepositoryResponse > Read(CancellationToken cancellationToken)
Get the repository's current status. A ValueTask<TResult> resulting in the RepositoryResponse.
RepositoryClient(IApiClient apiClient, Instance instance)
Initializes a new instance of the RepositoryClient class.
ValueTask< RepositoryResponse > Update(RepositoryUpdateRequest repository, CancellationToken cancellationToken)
Update the repository. A ValueTask<TResult> resulting in the RepositoryResponse.
ValueTask< RepositoryResponse > Delete(CancellationToken cancellationToken)
Deletes the repository. A ValueTask<TResult> resulting in the RepositoryResponse.
For managing the git repository.
Web interface for the API.
ValueTask Delete(string route, CancellationToken cancellationToken)
Run an HTTP DELETE request.