using System; namespace Octokit.Reactive.Clients { public interface IObservableDeploymentsClient { /// /// Gets all the deployments for the specified repository. Any user with pull access /// to a repository can view deployments. /// /// /// http://developer.github.com/v3/repos/deployments/#list-deployments /// /// The owner of the repository /// The name of the repository /// All the s for the specified repository. IObservable GetAll(string owner, string name); /// /// Creates a new deployment for the specified repository. /// Users with push access can create a deployment for a given ref. /// /// /// http://developer.github.com/v3/repos/deployments/#create-a-deployment /// /// The owner of the repository /// The name of the repository /// A instance describing the new deployment to create /// The created IObservable Create(string owner, string name, NewDeployment newDeployment); } }