using System;
namespace Octokit.Reactive
{
///
/// A client for GitHub's Check Suites API.
///
///
/// See the Check Suites API documentation for more information.
///
public interface IObservableCheckSuitesClient
{
///
/// Gets a single Check Suite by Id
///
///
/// See the Check Suites API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The Id of the check suite
IObservable Get(string owner, string name, long checkSuiteId);
///
/// Gets a single Check Suite by Id
///
///
/// See the Check Suites API documentation for more information.
///
/// The Id of the repository
/// The Id of the check suite
IObservable Get(long repositoryId, long checkSuiteId);
///
/// Lists Check Suites for a commit reference (SHA, branch name or tag name)
///
///
/// See the Check Suites API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The reference (SHA, branch name or tag name) to list check suites for
IObservable GetAllForReference(string owner, string name, string reference);
///
/// Lists Check Suites for a commit reference (SHA, branch name or tag name)
///
///
/// See the Check Suites API documentation for more information.
///
/// The Id of the repository
/// The reference (SHA, branch name or tag name) to list check suites for
IObservable GetAllForReference(long repositoryId, string reference);
///
/// Lists Check Suites for a commit reference (SHA, branch name or tag name)
///
///
/// See the Check Suites API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The reference (SHA, branch name or tag name) to list check suites for
/// Details to filter the request, such as by App Id or Check Name
IObservable GetAllForReference(string owner, string name, string reference, CheckSuiteRequest request);
///
/// Lists Check Suites for a commit reference (SHA, branch name or tag name)
///
///
/// See the Check Suites API documentation for more information.
///
/// The Id of the repository
/// The reference (SHA, branch name or tag name) to list check suites for
/// Details to filter the request, such as by App Id or Check Name
IObservable GetAllForReference(long repositoryId, string reference, CheckSuiteRequest request);
///
/// Lists Check Suites for a commit reference (SHA, branch name or tag name)
///
///
/// See the Check Suites API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The reference (SHA, branch name or tag name) to list check suites for
/// Details to filter the request, such as by App Id or Check Name
/// Options to change the API response
IObservable GetAllForReference(string owner, string name, string reference, CheckSuiteRequest request, ApiOptions options);
///
/// Lists Check Suites for a commit reference (SHA, branch name or tag name)
///
///
/// See the Check Suites API documentation for more information.
///
/// The Id of the repository
/// The reference (SHA, branch name or tag name) to list check suites for
/// Details to filter the request, such as by App Id or Check Name
/// Options to change the API response
IObservable GetAllForReference(long repositoryId, string reference, CheckSuiteRequest request, ApiOptions options);
///
/// Updates Check Suites prefrences on a repository, such as disabling automatic creation when code is pushed
///
///
/// See the Check Suites API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// The check suite preferences
IObservable UpdatePreferences(string owner, string name, CheckSuitePreferences preferences);
///
/// Updates Check Suites prefrences on a repository, such as disabling automatic creation when code is pushed
///
///
/// See the Check Suites API documentation for more information.
///
/// The Id of the repository
/// The check suite preferences
IObservable UpdatePreferences(long repositoryId, CheckSuitePreferences preferences);
///
/// Creates a new Check Suite
///
///
/// See the Check Suites API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// Details of the Check Suite to create
IObservable Create(string owner, string name, NewCheckSuite newCheckSuite);
///
/// Creates a new Check Suite
///
///
/// See the Check Suites API documentation for more information.
///
/// The Id of the repository
/// Details of the Check Suite to create
IObservable Create(long repositoryId, NewCheckSuite newCheckSuite);
///
/// Triggers GitHub to create a new check suite, without pushing new code to a repository
///
///
/// See the Check Suites API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// Details of the Check Suite request
IObservable Request(string owner, string name, CheckSuiteTriggerRequest request);
///
/// Triggers GitHub to create a new check suite, without pushing new code to a repository
///
///
/// See the Check Suites API documentation for more information.
///
/// The Id of the repository
/// Details of the Check Suite request
IObservable Request(long repositoryId, CheckSuiteTriggerRequest request);
}
}