using System;
namespace Octokit.Reactive
{
///
/// A client for GitHub's Check Runs API
///
///
/// See the Check Runs API documentation for more information.
///
public interface IObservableCheckRunsClient
{
///
/// Creates a new check run for a specific commit in a repository
///
///
/// See the Check Runs API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// Details of the Check Run to create
IObservable Create(string owner, string name, NewCheckRun newCheckRun);
///
/// Creates a new check run for a specific commit in a repository
///
///
/// See the Check Runs API documentation for more information.
///
/// The Id of the repository
/// Details of the Check Run to create
IObservable Create(long repositoryId, NewCheckRun newCheckRun);
///
/// Updates a check run for a specific commit in a repository
///
///
/// See the Check Runs API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The Id of the check run
/// The updates to the check run
IObservable Update(string owner, string name, long checkRunId, CheckRunUpdate checkRunUpdate);
///
/// Updates a check run for a specific commit in a repository
///
///
/// See the Check Runs API documentation for more information.
///
/// The Id of the repository
/// The Id of the check run
/// The updates to the check run
IObservable Update(long repositoryId, long checkRunId, CheckRunUpdate checkRunUpdate);
///
/// Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name
///
///
/// See the Check Runs API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The commit reference (can be a SHA, branch name, or a tag name)
IObservable GetAllForReference(string owner, string name, string reference);
///
/// Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name
///
///
/// See the Check Runs API documentation for more information.
///
/// The Id of the repository
/// The commit reference (can be a SHA, branch name, or a tag name)
IObservable GetAllForReference(long repositoryId, string reference);
///
/// Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name
///
///
/// See the Check Runs API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The commit reference (can be a SHA, branch name, or a tag name)
/// Details to filter the request, such as by check name
IObservable GetAllForReference(string owner, string name, string reference, CheckRunRequest checkRunRequest);
///
/// Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name
///
///
/// See the Check Runs API documentation for more information.
///
/// The Id of the repository
/// The commit reference (can be a SHA, branch name, or a tag name)
/// Details to filter the request, such as by check name
IObservable GetAllForReference(long repositoryId, string reference, CheckRunRequest checkRunRequest);
///
/// Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name
///
///
/// See the Check Runs API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The commit reference (can be a SHA, branch name, or a tag name)
/// Details to filter the request, such as by check name
/// Options to change the API response
IObservable GetAllForReference(string owner, string name, string reference, CheckRunRequest checkRunRequest, ApiOptions options);
///
/// Lists check runs for a commit ref. The ref can be a SHA, branch name, or a tag name
///
///
/// See the Check Runs API documentation for more information.
///
/// The Id of the repository
/// The commit reference (can be a SHA, branch name, or a tag name)
/// Details to filter the request, such as by check name
/// Options to change the API response
IObservable GetAllForReference(long repositoryId, string reference, CheckRunRequest checkRunRequest, ApiOptions options);
///
/// Lists check runs for a check suite using its Id
///
///
/// See the Check Runs API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The Id of the check suite
IObservable GetAllForCheckSuite(string owner, string name, long checkSuiteId);
///
/// Lists check runs for a check suite using its Id
///
///
/// See the Check Runs API documentation for more information.
///
/// The Id of the repository
/// The Id of the check suite
IObservable GetAllForCheckSuite(long repositoryId, long checkSuiteId);
///
/// Lists check runs for a check suite using its Id
///
///
/// See the Check Runs API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The Id of the check suite
/// Details to filter the request, such as by check name
IObservable GetAllForCheckSuite(string owner, string name, long checkSuiteId, CheckRunRequest checkRunRequest);
///
/// Lists check runs for a check suite using its Id
///
///
/// See the Check Runs API documentation for more information.
///
/// The Id of the repository
/// The Id of the check suite
/// Details to filter the request, such as by check name
IObservable GetAllForCheckSuite(long repositoryId, long checkSuiteId, CheckRunRequest checkRunRequest);
///
/// Lists check runs for a check suite using its Id
///
///
/// See the Check Runs API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The Id of the check suite
/// Details to filter the request, such as by check name
/// Options to change the API response
IObservable GetAllForCheckSuite(string owner, string name, long checkSuiteId, CheckRunRequest checkRunRequest, ApiOptions options);
///
/// Lists check runs for a check suite using its Id
///
///
/// See the Check Runs API documentation for more information.
///
/// The Id of the repository
/// The Id of the check suite
/// Details to filter the request, such as by check name
/// Options to change the API response
IObservable GetAllForCheckSuite(long repositoryId, long checkSuiteId, CheckRunRequest checkRunRequest, ApiOptions options);
///
/// Gets a single check run using its Id
///
///
/// See the Check Runs API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The Id of the check run
IObservable Get(string owner, string name, long checkRunId);
///
/// Gets a single check run using its Id
///
///
/// See the Check Runs API documentation for more information.
///
/// The Id of the repository
/// The Id of the check run
IObservable Get(long repositoryId, long checkRunId);
///
/// Lists annotations for a check run using the check run Id
///
///
/// See the Check Runs API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The Id of the check run
IObservable GetAllAnnotations(string owner, string name, long checkRunId);
///
/// Lists annotations for a check run using the check run Id
///
///
/// See the Check Runs API documentation for more information.
///
/// The Id of the repository
/// The Id of the check run
///
IObservable GetAllAnnotations(long repositoryId, long checkRunId);
///
/// Lists annotations for a check run using the check run Id
///
///
/// See the Check Runs API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The Id of the check run
/// Options to change the API response
IObservable GetAllAnnotations(string owner, string name, long checkRunId, ApiOptions options);
///
/// Lists annotations for a check run using the check run Id
///
///
/// See the Check Runs API documentation for more information.
///
/// The Id of the repository
/// The Id of the check run
/// Options to change the API response
IObservable GetAllAnnotations(long repositoryId, long checkRunId, ApiOptions options);
}
}