mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-20 22:25:12 +00:00
42 lines
1.6 KiB
C#
42 lines
1.6 KiB
C#
namespace Octokit.Reactive
|
|
{
|
|
/// <summary>
|
|
/// A client for GitHub's Repository Actions API.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// See the <a href="https://docs.github.com/en/rest/reference/actions">Repository Actions API documentation</a> for more details.
|
|
/// </remarks>
|
|
public class ObservableRepositoryActionsClient : IObservableRepositoryActionsClient
|
|
{
|
|
readonly IRepositoryActionsClient _client;
|
|
readonly IConnection _connection;
|
|
|
|
public ObservableRepositoryActionsClient(IGitHubClient client)
|
|
{
|
|
Ensure.ArgumentNotNull(client, nameof(client));
|
|
|
|
_client = client.Repository.Actions;
|
|
_connection = client.Connection;
|
|
|
|
Secrets = new ObservableRepositorySecretsClient(client);
|
|
Variables = new ObservableRepositoryVariablesClient(client);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Client for GitHub's Repository Actions API
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// See the <a href="https://docs.github.com/en/rest/reference/actions">Deployments API documentation</a> for more details
|
|
/// </remarks>
|
|
public IObservableRepositorySecretsClient Secrets { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Client for GitHub's Repository Actions API
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// See the <a href="https://docs.github.com/en/rest/reference/actions">Deployments API documentation</a> for more details
|
|
/// </remarks>
|
|
public IObservableRepositoryVariablesClient Variables { get; private set; }
|
|
}
|
|
}
|