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.
ValueTask< RepositoryResponse > Reclone(CancellationToken cancellationToken)
Deletes and reclones the repository.A ValueTask<TResult> resulting in the RepositoryResponse.
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 Patch(string route, CancellationToken cancellationToken)
Run an HTTP PATCH request.
ValueTask Delete(string route, CancellationToken cancellationToken)
Run an HTTP DELETE request.