using System; namespace Octokit.Reactive { /// /// A client for GitHub's Git Repository Status API. /// /// /// See the Repository Statuses API documentation for more information. /// public interface IObservableCommitStatusClient { /// /// Retrieves commit statuses for the specified reference. A reference can be a commit SHA, a branch name, or /// a tag name. /// /// Only users with pull access can see this. /// The owner of the repository /// The name of the repository /// The reference (SHA, branch name, or tag name) to list commits for /// A of es representing commit statuses for specified repository IObservable GetAll(string owner, string name, string reference); /// /// Retrieves commit statuses for the specified reference. A reference can be a commit SHA, a branch name, or /// a tag name. /// /// Only users with pull access can see this. /// The owner of the repository /// The name of the repository /// The reference (SHA, branch name, or tag name) to list commits for /// Options for changing the API response /// A of es representing commit statuses for specified repository IObservable GetAll(string owner, string name, string reference, ApiOptions options); /// /// Retrieves a combined view of statuses for the specified reference. A reference can be a commit SHA, a branch name, or /// a tag name. /// /// Only users with pull access can see this. /// The owner of the repository /// The name of the repository /// The reference (SHA, branch name, or tag name) to list commits for /// A of representing combined commit status for specified repository IObservable GetCombined(string owner, string name, string reference); /// /// Creates a commit status for the specified ref. /// /// The owner of the repository /// The name of the repository /// The reference (SHA, branch name, or tag name) to list commits for /// The commit status to create /// A of representing created commit status for specified repository IObservable Create(string owner, string name, string reference, NewCommitStatus newCommitStatus); } }