using System; namespace Octokit.Reactive { /// /// A client for GitHub's Issue Assignees API. /// /// /// See the Issue Assignees API documentation for more information. /// public interface IObservableAssigneesClient { /// /// Gets all the available assignees (owner + collaborators) to which issues may be assigned. /// /// The owner of the repository /// The name of the repository /// IObservable GetAllForRepository(string owner, string name); /// /// Gets all the available assignees (owner + collaborators) to which issues may be assigned. /// /// The ID of the repository /// IObservable GetAllForRepository(int repositoryId); /// /// Gets all the available assignees (owner + collaborators) to which issues may be assigned. /// /// The owner of the repository /// The name of the repository /// The options to change API's behaviour. /// IObservable GetAllForRepository(string owner, string name, ApiOptions options); /// /// Gets all the available assignees (owner + collaborators) to which issues may be assigned. /// /// The ID of the repository /// The options to change API's behaviour. /// IObservable GetAllForRepository(int repositoryId, ApiOptions options); /// /// Checks to see if a user is an assignee for a repository. /// /// The owner of the repository /// The name of the repository /// Username of the prospective assignee /// IObservable CheckAssignee(string owner, string name, string assignee); /// /// Checks to see if a user is an assignee for a repository. /// /// The ID of the repository /// Username of the prospective assignee /// IObservable CheckAssignee(int repositoryId, string assignee); } }