/// <summary> /// Constructor /// </summary> /// <param name="owner">The owner of this repository</param> /// <param name="slug">The slug of this repository</param> /// <param name="client">A handle to the client</param> public RepositoryController(Client client, UserController owner, string slug) : base(client) { Owner = owner; Slug = slug.Replace(' ', '-').ToLower(); }
/// <summary> /// Constructor /// </summary> /// <param name="client">A handle to the client</param> /// <param name="owner">The owner of the repositories</param> public UserRepositoriesController(Client client, UserController owner) : base(client) { Owner = owner; }
/// <summary> /// Constructor /// </summary> /// <param name="client"></param> /// <param name="user"></param> public GroupsController(Client client, UserController user) : base(client) { User = user; }
/// <summary> /// Constructor /// </summary> /// <param name="client"></param> public SSHKeyController(Client client, UserController user) : base(client) { User = user; }
/// <summary> /// Constructor /// </summary> /// <param name="client">A handle to the client</param> /// <param name="owner">The owner</param> public UserPrivilegesController(Client client, UserController owner) : base(client) { Owner = owner; }