private GitLabClient(string hostUrl, string apiToken) { _api = new API(hostUrl, apiToken); Users = new UserClient(_api); Projects = new ProjectClient(_api); Issues = new IssueClient(_api); }
public RepositoryClient(API api, int projectId) { _api = api; _projectPath = Project.Url + "/" + projectId; _repoPath = _projectPath + "/repository"; }
GitLabClient(string hostUrl, string apiToken) { _api = new API(hostUrl, apiToken); Users = new UserClient(_api); Projects = new ProjectClient(_api); Issues = new IssueClient(_api); Groups = new NamespaceClient(_api); }
private GitLabClient(string hostUrl, string apiToken, string accessToken) { _api = new API(hostUrl, apiToken, accessToken); Users = new UserClient(_api); Projects = new ProjectClient(_api); Issues = new IssueClient(_api); Groups = new NamespaceClient(_api); Labels = new LabelClient(_api); }
public IssueClient(API api) { _api = api; }
public MergeRequestCommentClient(API api, string projectPath, int mergeRequestId) { _api = api; _commentsPath = projectPath + "/merge_request/" + mergeRequestId + "/comments"; }
public TagClient(API api, string repoPath) { _api = api; _repoPath = repoPath; }
public ProjectMembersClient(API api) { _api = api; }
public MergeRequestClient(API api, int projectId) { _api = api; _projectPath = Project.Url + "/" + projectId; }
public UserClient(API api) { _api = api; }
public NamespaceClient(API api) { _api = api; }
public MergeRequestCommitsClient(API api, string projectPath, int mergeRequestId) { _api = api; _commitsPath = projectPath + "/merge_request/" + mergeRequestId + Commit.Url; }
public ProjectClient(API api) { _api = api; }
public BuildClient(API api, string projectPath, string repoPath) { _api = api; _builds = projectPath + Build.Url; _buildsFromCommitPath = repoPath + Commit.Url; }
public MergeRequestChangesClient(API api, string projectPath, int mergeRequestId) { _api = api; _changesPath = projectPath + "/merge_request/" + mergeRequestId + "/changes"; }
public BranchClient(API api, string repoPath) { _api = api; _repoPath = repoPath; }
public ProjectHooksClient(API api, string projectPath) { _api = api; _path = projectPath + "/hooks"; }
public LabelClient(API api) { _api = api; }