File tree 2 files changed +15
-3
lines changed
main/java/org/gitlab4j/api/models
test/resources/org/gitlab4j/api
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ public class PackageFile implements Serializable {
15
15
private Long size ;
16
16
private String fileMd5 ;
17
17
private String fileSha1 ;
18
+ private String fileSha256 ;
18
19
19
20
public Long getId () {
20
21
return id ;
@@ -72,6 +73,14 @@ public void setFileSha1(String fileSha1) {
72
73
this .fileSha1 = fileSha1 ;
73
74
}
74
75
76
+ public String getFileSha256 () {
77
+ return fileSha256 ;
78
+ }
79
+
80
+ public void setFileSha256 (String fileSha256 ) {
81
+ this .fileSha256 = fileSha256 ;
82
+ }
83
+
75
84
@ Override
76
85
public String toString () {
77
86
return (JacksonJson .toJsonString (this ));
Original file line number Diff line number Diff line change 6
6
"file_name" : " my-app-1.5-20181107.152550-1.jar" ,
7
7
"size" : 2421 ,
8
8
"file_md5" : " 58e6a45a629910c6ff99145a688971ac" ,
9
- "file_sha1" : " ebd193463d3915d7e22219f52740056dfd26cbfe"
9
+ "file_sha1" : " ebd193463d3915d7e22219f52740056dfd26cbfe" ,
10
+ "file_sha256" : " e677d33156215f1afa15c934a4ebd1162c62d0ae0e70d2510b6bc75e651c27b8"
10
11
},
11
12
{
12
13
"id" : 26 ,
15
16
"file_name" : " my-app-1.5-20181107.152550-1.pom" ,
16
17
"size" : 1122 ,
17
18
"file_md5" : " d90f11d851e17c5513586b4a7e98f1b2" ,
18
- "file_sha1" : " 9608d068fe88aff85781811a42f32d97feb440b5"
19
+ "file_sha1" : " 9608d068fe88aff85781811a42f32d97feb440b5" ,
20
+ "file_sha256" : " 621dc7c0a151ab80895237868421eb5708c5285bf88b5ceeac3d77d5be11512b"
19
21
},
20
22
{
21
23
"id" : 27 ,
24
26
"file_name" : " maven-metadata.xml" ,
25
27
"size" : 767 ,
26
28
"file_md5" : " 6dfd0cce1203145a927fef5e3a1c650c" ,
27
- "file_sha1" : " d25932de56052d320a8ac156f745ece73f6a8cd2"
29
+ "file_sha1" : " d25932de56052d320a8ac156f745ece73f6a8cd2" ,
30
+ "file_sha256" : " c3e051898b0fb347553424d7947127905b4649961463f8627003f5ce7a6f750c"
28
31
}
29
32
]
You can’t perform that action at this time.
0 commit comments