|
@@ -113,6 +113,10 @@ public class ByteDanceVideoInfo {
|
|
|
|
|
|
private String source;
|
|
private String source;
|
|
|
|
|
|
|
|
+ private Date materialUploadTime;
|
|
|
|
+
|
|
|
|
+ private String filename;
|
|
|
|
+
|
|
public ByteDanceVideoInfo(JSONObject data, CtopOauthToken token) {
|
|
public ByteDanceVideoInfo(JSONObject data, CtopOauthToken token) {
|
|
this.id = data.getString("id");
|
|
this.id = data.getString("id");
|
|
this.fileId = data.getString("video_id");
|
|
this.fileId = data.getString("video_id");
|
|
@@ -134,6 +138,8 @@ public class ByteDanceVideoInfo {
|
|
Date now = new Date();
|
|
Date now = new Date();
|
|
this.createTime = now;
|
|
this.createTime = now;
|
|
this.updateTime = now;
|
|
this.updateTime = now;
|
|
|
|
+ this.materialUploadTime = data.getDate("create_time");
|
|
|
|
+ this.filename = data.getString("filename");
|
|
}
|
|
}
|
|
|
|
|
|
public ByteDanceVideoInfo() {
|
|
public ByteDanceVideoInfo() {
|