You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add method getPullRequests to class GitLabService with parameters: config: Config and pullRequestsCount: Int. This method will return array of PullRequest objects containing attributes:
id: Int
name: String - name of pull request
url: String - web url to pull request
state: Enum - state of pull request inProgress or merged or closed
cratedAt: String - datetime string of pull request creation
lastActivityAt: String - datetime string of pull request last activity (including merging or closing)
In this array will be objects with newest lastActivityAt parameter and length of array is equal to parameter pullRequestsCount.
Add method
getPullRequests
to classGitLabService
with parameters:config: Config
andpullRequestsCount: Int
. This method will return array ofPullRequest
objects containing attributes:id
: Intname
: String - name of pull requesturl
: String - web url to pull requeststate
: Enum - state of pull requestinProgress
ormerged
orclosed
cratedAt
: String - datetime string of pull request creationlastActivityAt
: String - datetime string of pull request last activity (including merging or closing)In this array will be objects with newest
lastActivityAt
parameter and length of array is equal to parameterpullRequestsCount
.During implementation you can use GilLab api documentation
The text was updated successfully, but these errors were encountered: