Skip to content

Commit 8fc7f03

Browse files
authored
Merge pull request #94 from dwasinge/artifacts
Added Artifacts to Engagement Model
2 parents 726f529 + c3c84d1 commit 8fc7f03

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package com.redhat.labs.lodestar.models;
2+
3+
import lombok.AllArgsConstructor;
4+
import lombok.Builder;
5+
import lombok.Data;
6+
import lombok.NoArgsConstructor;
7+
8+
@Data
9+
@Builder
10+
@NoArgsConstructor
11+
@AllArgsConstructor
12+
public class Artifact {
13+
14+
private String title;
15+
private String type;
16+
private String linkAddress;
17+
18+
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,6 @@ public class Engagement {
5353
@JsonbProperty("engagement_categories")
5454
private List<Category> categories;
5555

56+
private List<Artifact> artifacts;
57+
5658
}

0 commit comments

Comments
 (0)