Skip to content

Commit 2c0bce3

Browse files
authored
Merge pull request #88 from dwasinge/fields
Added New Engagement Fields
2 parents 062198c + 6215084 commit 2c0bce3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/com/redhat/labs/omp/models/Engagement.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
import java.util.List;
44

5+
import javax.json.bind.annotation.JsonbProperty;
6+
57
import com.redhat.labs.omp.models.gitlab.Commit;
68

79
import lombok.AllArgsConstructor;
@@ -43,4 +45,9 @@ public class Engagement {
4345
private List<Commit> commits;
4446
private CreationDetails creationDetails;
4547

48+
@JsonbProperty("engagement_region")
49+
private String region;
50+
@JsonbProperty("engagement_type")
51+
private String type;
52+
4653
}

0 commit comments

Comments
 (0)