88import org .gitlab4j .api .models .Duration ;
99import org .gitlab4j .api .utils .JacksonJson ;
1010
11+ import com .fasterxml .jackson .annotation .JsonIgnore ;
12+
1113public class EventMergeRequest {
1214
1315 private Long assigneeId ;
@@ -29,6 +31,7 @@ public class EventMergeRequest {
2931 private String stCommits ;
3032 private String stDiffs ;
3133 private String state ;
34+ private Long stateId ;
3235 private String targetBranch ;
3336 private Long targetProjectId ;
3437 private String title ;
@@ -54,17 +57,20 @@ public class EventMergeRequest {
5457 private String inProgressMergeCommitSha ;
5558 private Integer lockVersion ;
5659
57- private Date last_editedAt ;
60+ private Date lastEditedAt ;
5861 private Long lastEditedById ;
5962 private Long headPipelineId ;
6063 private Boolean refFetched ;
6164 private Long mergeIid ;
6265 private Integer totalTimeSpent ;
6366 private Duration humanTotalTimeSpent ;
67+ private Integer timeChange ;
6468 private Integer timeEstimate ;
6569 private Duration humanTimeEstimate ;
70+ private Duration humanTimeChange ;
6671 private List <Long > assigneeIds ;
6772 private List <Long > reviewerIds ;
73+ private String oldrev ;
6874
6975 public Long getAssigneeId () {
7076 return this .assigneeId ;
@@ -218,6 +224,14 @@ public void setState(String state) {
218224 this .state = state ;
219225 }
220226
227+ public Long getStateId () {
228+ return stateId ;
229+ }
230+
231+ public void setStateId (Long stateId ) {
232+ this .stateId = stateId ;
233+ }
234+
221235 public String getTargetBranch () {
222236 return this .targetBranch ;
223237 }
@@ -394,12 +408,31 @@ public void setLockVersion(Integer lockVersion) {
394408 this .lockVersion = lockVersion ;
395409 }
396410
411+ /**
412+ * @deprecated used {@link #getLastEditedAt()}
413+ * @return date
414+ */
415+ @ Deprecated
416+ @ JsonIgnore
397417 public Date getLast_editedAt () {
398- return last_editedAt ;
418+ return getLastEditedAt () ;
399419 }
400420
421+ /**
422+ * @deprecated used {@link #setLastEditedAt(Date)}
423+ */
424+ @ Deprecated
425+ @ JsonIgnore
401426 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 ;
403436 }
404437
405438 public Long getLastEditedById () {
@@ -450,6 +483,14 @@ public void setHumanTotalTimeSpent(Duration humanTotalTimeSpent) {
450483 this .humanTotalTimeSpent = humanTotalTimeSpent ;
451484 }
452485
486+ public Integer getTimeChange () {
487+ return timeChange ;
488+ }
489+
490+ public void setTimeChange (Integer timeChange ) {
491+ this .timeChange = timeChange ;
492+ }
493+
453494 public Integer getTimeEstimate () {
454495 return timeEstimate ;
455496 }
@@ -466,6 +507,14 @@ public void setHumanTimeEstimate(Duration humanTimeEstimate) {
466507 this .humanTimeEstimate = humanTimeEstimate ;
467508 }
468509
510+ public Duration getHumanTimeChange () {
511+ return humanTimeChange ;
512+ }
513+
514+ public void setHumanTimeChange (Duration humanTimeChange ) {
515+ this .humanTimeChange = humanTimeChange ;
516+ }
517+
469518 public List <Long > getAssigneeIds () {
470519 return assigneeIds ;
471520 }
@@ -482,6 +531,14 @@ public void setReviewerIds(List<Long> reviewerIds) {
482531 this .reviewerIds = reviewerIds ;
483532 }
484533
534+ public String getOldrev () {
535+ return oldrev ;
536+ }
537+
538+ public void setOldrev (String oldrev ) {
539+ this .oldrev = oldrev ;
540+ }
541+
485542 @ Override
486543 public String toString () {
487544 return (JacksonJson .toJsonString (this ));
0 commit comments