using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Reactive;
namespace Octokit.Reactive
{
public interface IObservableSshKeysClient
{
///
/// Retrieves the for the specified id.
///
/// The ID of the SSH key.
/// A
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")]
IObservable Get(int id);
///
/// Retrieves the for the specified id.
///
/// The login of the user.
/// A of .
IObservable> GetAll(string user);
///
/// Retrieves the for the specified id.
///
/// Thrown if the client is not authenticated.
/// A of .
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate",
Justification = "Makes a network request")]
IObservable> GetAllForCurrent();
///
/// Update the specified .
///
///
/// Thrown if the client is not authenticated.
/// A
IObservable Create(SshKeyUpdate key);
///
/// Update the specified .
///
///
///
/// Thrown if the client is not authenticated.
/// A
IObservable Update(int id, SshKeyUpdate key);
///
/// Update the specified .
///
/// The id of the SSH key
/// Thrown if the client is not authenticated.
/// A
IObservable Delete(int id);
}
}