using System;
namespace Octokit.Reactive
{
///
/// A client for GitHub's Repository Forks API.
///
///
/// See the Forks API documentation for more information.
///
public interface IObservableRepositoryForksClient
{
///
/// Gets the list of forks defined for a repository
///
///
/// See API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
///
IObservable GetAll(string owner, string name);
///
/// Gets the list of forks defined for a repository
///
///
/// See API documentation for more information.
///
/// The ID of the repository
///
IObservable GetAll(int repositoryId);
///
/// Gets the list of forks defined for a repository
///
///
/// See API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// Options for changing the API response
///
IObservable GetAll(string owner, string name, ApiOptions options);
///
/// Gets the list of forks defined for a repository
///
///
/// See API documentation for more information.
///
/// The ID of the repository
/// Options for changing the API response
///
IObservable GetAll(int repositoryId, ApiOptions options);
///
/// Gets the list of forks defined for a repository
///
///
/// See API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// Used to request and filter a list of repository forks
///
IObservable GetAll(string owner, string name, RepositoryForksListRequest request);
///
/// Gets the list of forks defined for a repository
///
///
/// See API documentation for more information.
///
/// The ID of the repository
/// Used to request and filter a list of repository forks
///
IObservable GetAll(int repositoryId, RepositoryForksListRequest request);
///
/// Gets the list of forks defined for a repository
///
///
/// See API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// Used to request and filter a list of repository forks
/// Options for changing the API response
///
IObservable GetAll(string owner, string name, RepositoryForksListRequest request, ApiOptions options);
///
/// Gets the list of forks defined for a repository
///
///
/// See API documentation for more information.
///
/// The ID of the repository
/// Used to request and filter a list of repository forks
/// Options for changing the API response
///
IObservable GetAll(int repositoryId, RepositoryForksListRequest request, ApiOptions options);
///
/// Creates a fork for a repository. Specify organization in the fork parameter to create for an organization.
///
///
/// See API documentation for more information.
///
/// The owner of the repository
/// The name of the repository
/// Used to fork a repository
///
IObservable Create(string owner, string name, NewRepositoryFork fork);
///
/// Creates a fork for a repository. Specify organization in the fork parameter to create for an organization.
///
///
/// See API documentation for more information.
///
/// The ID of the repository
/// Used to fork a repository
///
IObservable Create(int repositoryId, NewRepositoryFork fork);
}
}