using Octokit.Models.Response; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Octokit.Reactive { public interface IObservableRepositoryDeployEnvironmentsClient { /// /// Gets all the environments for the specified repository. Any user with pull access /// to a repository can view deployments. /// /// /// https://docs.github.com/en/rest/deployments/environments#list-environments /// /// The owner of the repository /// The name of the repository IObservable GetAll(string owner, string name); /// /// Gets all the environments for the specified repository. Any user with pull access /// to a repository can view deployments. /// /// /// https://docs.github.com/en/rest/deployments/environments#list-environments /// /// The Id of the repository IObservable GetAll(long repositoryId); /// /// Gets all the environments for the specified repository. Any user with pull access /// to a repository can view deployments. /// /// /// https://docs.github.com/en/rest/deployments/environments#list-environments /// /// The owner of the repository /// The name of the repository /// Paging options IObservable GetAll(string owner, string name, ApiOptions options); /// /// Gets all the environments for the specified repository. Any user with pull access /// to a repository can view deployments. /// /// /// https://docs.github.com/en/rest/deployments/environments#list-environments /// /// Repository ID /// Paging options IObservable GetAll(long repositoryId, ApiOptions options); } }