using System;
using System.Collections.Generic;
using System.Text;
namespace Octokit.Reactive
{
public interface IObservableOrganizationOutsideCollaboratorsClient
{
///
/// List all users who are outside collaborators of an organization. An outside collaborator is a user that
/// is not a member of the organization.
///
///
/// See the API documentation
/// for more information.
///
/// The login for the organization
/// The users
IObservable GetAll(string org);
///
/// List all users who are outside collaborators of an organization. An outside collaborator is a user that
/// is not a member of the organization.
///
///
/// See the API documentation
/// for more information.
///
/// The login for the organization
/// Options for changing the API response
/// The users
IObservable GetAll(string org, ApiOptions options);
///
/// List all users who are outside collaborators of an organization. An outside collaborator is a user that
/// is not a member of the organization.
///
///
/// See the API documentation
/// for more information.
///
/// The login for the organization
/// The filter to use when getting the users,
/// The users
IObservable GetAll(string org, OrganizationMembersFilter filter);
///
/// List all users who are outside collaborators of an organization. An outside collaborator is a user that
/// is not a member of the organization.
///
///
/// See the API documentation
/// for more information.
///
/// The login for the organization
/// The filter to use when getting the users,
/// Options for changing the API response
/// The users
IObservable GetAll(string org, OrganizationMembersFilter filter, ApiOptions options);
///
/// Removes a user as an outside collaborator from the organization, this will remove them from all repositories
/// within the organization.
///
///
/// See the API documentation
/// for more information.
///
/// The login for the organization
/// The login of the user
///
IObservable Delete(string org, string user);
///
/// Converts an organization member to an outside collaborator,
/// when an organization member is converted to an outside collaborator,
/// they'll only have access to the repositories that their current team membership allows.
/// The user will no longer be a member of the organization.
///
///
/// See the API documentation
/// for more information.
///
/// The login for the organization
/// The login for the user
///
IObservable ConvertFromMember(string org, string user);
}
}