File tree Expand file tree Collapse file tree 3 files changed +328
-222
lines changed
src/main/java/de/tud/cs/stg/zenodo Expand file tree Collapse file tree 3 files changed +328
-222
lines changed Original file line number Diff line number Diff line change
1
+ package de .tud .cs .stg .zenodo ;
2
+
3
+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
+
5
+ /**
6
+ * Created by agupta on 19.11.2018.
7
+ */
8
+
9
+ @ JsonIgnoreProperties (ignoreUnknown = true )
10
+ public class DepositionFile {
11
+
12
+ public String id ;
13
+ public String filename ;
14
+ public Integer filesize ;
15
+ public String checksum ;
16
+
17
+ public Links links ;
18
+
19
+
20
+ /**
21
+ * Created by agupta on 19.11.18.
22
+ */
23
+ @ JsonIgnoreProperties (ignoreUnknown = true )
24
+ public static class Links {
25
+ public String download ;
26
+ public String self ;
27
+ }
28
+
29
+
30
+ }
31
+
32
+
Original file line number Diff line number Diff line change
1
+ package de .tud .cs .stg .zenodo ;
2
+
3
+ import java .io .File ;
4
+
5
+ public class FileMetadata {
6
+
7
+ public FileMetadata (File f ) {
8
+ this .file =f ;
9
+ }
10
+
11
+ public File file ;
12
+ }
You can’t perform that action at this time.
0 commit comments