public IEnumerable <Project> this[string name] { get { return(_api.Get().GetAll <Project>(Project.Url + "?search=" + name)); } }
public Project this[int id] { get { return(_api.Get().To <Project>(Project.Url + "/" + id)); } }
public User this[int id] { get { return(_api.Get().To <User>(User.Url + "/" + id)); } }
public Namespace this[int id] { get { return(_api.Get().To <Namespace>(Namespace.Url + "/" + id)); } }
public void GetRawBlob(string sha, Action <Stream> parser) { _api.Get().Stream(_repoPath + "/raw_blobs/" + sha, parser); }
public IEnumerable <Build> GetBuildsForCommit(Sha1 sha) { return(_api.Get().GetAll <Build>(_buildsFromCommitPath + "/" + sha.ToString().ToLowerInvariant() + Build.Url)); }
public Branch this[string name] { get { return(_api.Get().To <Branch>(_repoPath + "/branches/" + name)); } }
public ProjectHook this[int hookId] { get { return(_api.Get().To <ProjectHook>(_path + "/" + hookId)); } }
public IEnumerable <Issue> ForProject(int projectId) { return(_api.Get().GetAll <Issue>(string.Format(ProjectIssuesUrl, projectId))); }
public FileData Get(FileGet file) { return(_api.Get().To <FileData>(_repoPath + string.Format(FilesUrl, file.Path, file.Ref))); }
public IEnumerable <MergeRequest> AllInState(MergeRequestState state) { return(_api.Get().GetAll <MergeRequest>(_projectPath + "/merge_requests?state=" + state)); }
public ProjectHook this[int hookId] => _api.Get().To <ProjectHook>(_path + "/" + hookId);
public IEnumerable <Label> ForProject(int projectId) { return(_api.Get().GetAll <Label>(string.Format(ProjectLabelUrl, projectId))); }