File tree Expand file tree Collapse file tree 3 files changed +31
-2
lines changed
src/GitLabApiClient/Models Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using System . Text ;
4
+ using Newtonsoft . Json ;
5
+
6
+ namespace GitLabApiClient . Models . Issues . Responses
7
+ {
8
+ public sealed class ClosedBy : ModifiableObject
9
+ {
10
+ [ JsonProperty ( "active" ) ]
11
+ public string State ;
12
+
13
+ [ JsonProperty ( "web_url" ) ]
14
+ public string WebUrl ;
15
+
16
+ [ JsonProperty ( "avatar_url" ) ]
17
+ public string AvatarUrl ;
18
+
19
+ [ JsonProperty ( "username" ) ]
20
+ public string Username ;
21
+
22
+ [ JsonProperty ( "id" ) ]
23
+ public string Id ;
24
+
25
+ [ JsonProperty ( "name" ) ]
26
+ public string Name ;
27
+ }
28
+ }
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public sealed class Issue : ModifiableObject
38
38
public DateTime ? ClosedAt { get ; set ; }
39
39
40
40
[ JsonProperty ( "closed_by" ) ]
41
- public string ClosedBy { get ; set ; }
41
+ public ClosedBy ClosedBy { get ; set ; }
42
42
43
43
[ JsonProperty ( "title" ) ]
44
44
public string Title { get ; set ; }
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Collections . Generic ;
3
+ using GitLabApiClient . Models . Issues . Responses ;
3
4
using GitLabApiClient . Models . Milestones . Responses ;
4
5
using Newtonsoft . Json ;
5
6
@@ -62,7 +63,7 @@ public sealed class MergeRequest : ModifiableObject
62
63
public DateTime ? ClosedAt { get ; set ; }
63
64
64
65
[ JsonProperty ( "closed_by" ) ]
65
- public string ClosedBy { get ; set ; }
66
+ public ClosedBy ClosedBy { get ; set ; }
66
67
67
68
[ JsonProperty ( "target_branch" ) ]
68
69
public string TargetBranch { get ; set ; }
You can’t perform that action at this time.
0 commit comments