8
8
import org .gitlab4j .api .models .Duration ;
9
9
import org .gitlab4j .api .utils .JacksonJson ;
10
10
11
+ import com .fasterxml .jackson .annotation .JsonIgnore ;
12
+
11
13
public class EventMergeRequest {
12
14
13
15
private Long assigneeId ;
@@ -29,6 +31,7 @@ public class EventMergeRequest {
29
31
private String stCommits ;
30
32
private String stDiffs ;
31
33
private String state ;
34
+ private Long stateId ;
32
35
private String targetBranch ;
33
36
private Long targetProjectId ;
34
37
private String title ;
@@ -54,17 +57,20 @@ public class EventMergeRequest {
54
57
private String inProgressMergeCommitSha ;
55
58
private Integer lockVersion ;
56
59
57
- private Date last_editedAt ;
60
+ private Date lastEditedAt ;
58
61
private Long lastEditedById ;
59
62
private Long headPipelineId ;
60
63
private Boolean refFetched ;
61
64
private Long mergeIid ;
62
65
private Integer totalTimeSpent ;
63
66
private Duration humanTotalTimeSpent ;
67
+ private Integer timeChange ;
64
68
private Integer timeEstimate ;
65
69
private Duration humanTimeEstimate ;
70
+ private Duration humanTimeChange ;
66
71
private List <Long > assigneeIds ;
67
72
private List <Long > reviewerIds ;
73
+ private String oldrev ;
68
74
69
75
public Long getAssigneeId () {
70
76
return this .assigneeId ;
@@ -218,6 +224,14 @@ public void setState(String state) {
218
224
this .state = state ;
219
225
}
220
226
227
+ public Long getStateId () {
228
+ return stateId ;
229
+ }
230
+
231
+ public void setStateId (Long stateId ) {
232
+ this .stateId = stateId ;
233
+ }
234
+
221
235
public String getTargetBranch () {
222
236
return this .targetBranch ;
223
237
}
@@ -394,12 +408,31 @@ public void setLockVersion(Integer lockVersion) {
394
408
this .lockVersion = lockVersion ;
395
409
}
396
410
411
+ /**
412
+ * @deprecated used {@link #getLastEditedAt()}
413
+ * @return date
414
+ */
415
+ @ Deprecated
416
+ @ JsonIgnore
397
417
public Date getLast_editedAt () {
398
- return last_editedAt ;
418
+ return getLastEditedAt () ;
399
419
}
400
420
421
+ /**
422
+ * @deprecated used {@link #setLastEditedAt(Date)}
423
+ */
424
+ @ Deprecated
425
+ @ JsonIgnore
401
426
public void setLast_editedAt (Date last_editedAt ) {
402
- this .last_editedAt = last_editedAt ;
427
+ setLastEditedAt (last_editedAt );
428
+ }
429
+
430
+ public Date getLastEditedAt () {
431
+ return lastEditedAt ;
432
+ }
433
+
434
+ public void setLastEditedAt (Date lastEditedAt ) {
435
+ this .lastEditedAt = lastEditedAt ;
403
436
}
404
437
405
438
public Long getLastEditedById () {
@@ -450,6 +483,14 @@ public void setHumanTotalTimeSpent(Duration humanTotalTimeSpent) {
450
483
this .humanTotalTimeSpent = humanTotalTimeSpent ;
451
484
}
452
485
486
+ public Integer getTimeChange () {
487
+ return timeChange ;
488
+ }
489
+
490
+ public void setTimeChange (Integer timeChange ) {
491
+ this .timeChange = timeChange ;
492
+ }
493
+
453
494
public Integer getTimeEstimate () {
454
495
return timeEstimate ;
455
496
}
@@ -466,6 +507,14 @@ public void setHumanTimeEstimate(Duration humanTimeEstimate) {
466
507
this .humanTimeEstimate = humanTimeEstimate ;
467
508
}
468
509
510
+ public Duration getHumanTimeChange () {
511
+ return humanTimeChange ;
512
+ }
513
+
514
+ public void setHumanTimeChange (Duration humanTimeChange ) {
515
+ this .humanTimeChange = humanTimeChange ;
516
+ }
517
+
469
518
public List <Long > getAssigneeIds () {
470
519
return assigneeIds ;
471
520
}
@@ -482,6 +531,14 @@ public void setReviewerIds(List<Long> reviewerIds) {
482
531
this .reviewerIds = reviewerIds ;
483
532
}
484
533
534
+ public String getOldrev () {
535
+ return oldrev ;
536
+ }
537
+
538
+ public void setOldrev (String oldrev ) {
539
+ this .oldrev = oldrev ;
540
+ }
541
+
485
542
@ Override
486
543
public String toString () {
487
544
return (JacksonJson .toJsonString (this ));
0 commit comments