Skip to content

Commit cc7d6f3

Browse files
authored
Merge pull request #56 from creatubbles/fix/missing_creation_fields
Add missing fields to Creation
2 parents b86ef2d + f1dd285 commit cc7d6f3

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

api/src/main/java/com/creatubbles/api/model/creation/Creation.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ public class Creation {
8787
@JsonProperty("play_iframe_url")
8888
private String playIframeUrl;
8989

90+
@JsonProperty("video_480_url")
91+
private String video480Url;
92+
93+
@JsonProperty("video_720_url")
94+
private String video720Url;
95+
9096
@JsonCreator
9197
public Creation() {
9298
}
@@ -234,6 +240,16 @@ public List<User> getCreators() {
234240
return creators;
235241
}
236242

243+
@Nullable
244+
public String getVideo480Url() {
245+
return video480Url;
246+
}
247+
248+
@Nullable
249+
public String getVideo720Url() {
250+
return video720Url;
251+
}
252+
237253
@Override
238254
public String toString() {
239255
return "Creation{" +
@@ -260,6 +276,8 @@ public String toString() {
260276
", reflectionVideoUrl='" + reflectionVideoUrl + '\'' +
261277
", objFileUrl='" + objFileUrl + '\'' +
262278
", playIframeUrl='" + playIframeUrl + '\'' +
279+
", video480Url='" + video480Url + '\'' +
280+
", video720Url='" + video720Url + '\'' +
263281
'}';
264282
}
265283

api/src/main/java/com/creatubbles/api/model/user/custom_style/CustomStyle.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ public Creation getBodyCreation() {
220220
public String toString() {
221221
return "CustomStyle{" +
222222
"id='" + id + '\'' +
223-
", user=" + user +
224223
", headerCreation=" + headerCreation +
225224
", bodyCreation=" + bodyCreation +
226225
", name='" + name + '\'' +

0 commit comments

Comments
 (0)