Skip to content

Commit

Permalink
Fixed missing properties in GitLabClient.cs (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnagl authored and nmklotas committed Sep 11, 2019
1 parent 8f6b4d2 commit b754b5d
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion src/GitLabApiClient/GitLabClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,21 @@ public GitLabClient(string hostUrl, string authenticationToken = "")
var projectMergeRequestsQueryBuilder = new ProjectMergeRequestsQueryBuilder();
var groupsQueryBuilder = new GroupsQueryBuilder();
var projectsGroupsQueryBuilder = new ProjectsGroupQueryBuilder();
var branchQueryBuilder = new BranchQueryBuilder();
var releaseQueryBuilder = new ReleaseQueryBuilder();
var tagQueryBuilder = new TagQueryBuilder();

Issues = new IssuesClient(_httpFacade, issuesQueryBuilder, projectIssuesQueryBuilder, projectIssueNotesQueryBuilder);
Uploads = new UploadsClient(_httpFacade);
MergeRequests = new MergeRequestsClient(_httpFacade, mergeRequestsQueryBuilder, projectMergeRequestsQueryBuilder);
Projects = new ProjectsClient(_httpFacade, projectQueryBuilder, projectMilestonesQueryBuilder);
Users = new UsersClient(_httpFacade);
Groups = new GroupsClient(_httpFacade, groupsQueryBuilder, projectsGroupsQueryBuilder, projectMilestonesQueryBuilder);
}
Branches = new BranchClient(_httpFacade, branchQueryBuilder);
Releases = new ReleaseClient(_httpFacade, releaseQueryBuilder);
Tags = new TagClient(_httpFacade, tagQueryBuilder);
Markdown = new MarkdownClient(_httpFacade);
}

/// <summary>
/// Access GitLab's issues API.
Expand Down Expand Up @@ -81,6 +88,26 @@ public GitLabClient(string hostUrl, string authenticationToken = "")
/// </summary>
public GroupsClient Groups { get; }

/// <summary>
/// Access GitLab's branches API.
/// </summary>
public BranchClient Branches { get; }

/// <summary>
/// Access GitLab's release API.
/// </summary>
public ReleaseClient Releases { get; }

/// <summary>
/// Access GitLab's tags API.
/// </summary>
public TagClient Tags { get; }

/// <summary>
/// Access GitLab's Markdown API.
/// </summary>
public MarkdownClient Markdown { get; }

/// <summary>
/// Host address of GitLab instance. For example https://gitlab.example.com or https://gitlab.example.com/api/v4/.
/// </summary>
Expand Down

0 comments on commit b754b5d

Please sign in to comment.