using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reactive;
using System.Text;
using System.Threading.Tasks;
namespace Octokit.Reactive
{
public interface IObservableRepositoryDeployKeysClient
{
///
/// Get a single deploy key by number for a repository.
///
///
/// See the API documentation for more information.
///
/// The owner of the repository.
/// The name of the repository.
/// The id of the deploy key.
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")]
IObservable Get(string owner, string name, int number);
///
/// Get all deploy keys for a repository.
///
///
/// See the API documentation for more information.
///
/// The owner of the repository.
/// The name of the repository.
IObservable GetAll(string owner, string name);
///
/// Creates a new deploy key for a repository.
///
///
/// See the API documentation for more information.
///
/// The owner of the repository.
/// The name of the repository.
/// The deploy key to create for the repository.
///
IObservable Create(string owner, string name, NewDeployKey newDeployKey);
///
/// Deletes a deploy key from a repository.
///
///
/// See the API documentation for more information.
///
/// The owner of the repository.
/// The name of the repository.
/// The id of the deploy key to delete.
///
IObservable Delete(string owner, string name, int number);
}
}