Autopsy 4.22.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
MetadataUploadRequest.java
Go to the documentation of this file.
1/*
2 * Autopsy Forensic Browser
3 *
4 * Copyright 2023 Basis Technology Corp.
5 * Contact: carrier <at> sleuthkit <dot> org
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19package com.basistech.df.cybertriage.autopsy.ctapi.json;
20
21import com.fasterxml.jackson.annotation.JsonProperty;
22
24
25 @JsonProperty("file_upload_url")
26 private String fileUploadUrl;
27
28 @JsonProperty("sha1")
29 private String sha1;
30
31 @JsonProperty("sha256")
32 private String sha256;
33
34 @JsonProperty("md5")
35 private String md5;
36
37 @JsonProperty("filePath")
38 private String filePath;
39
40 @JsonProperty("fileSize")
41 private Long fileSizeBytes;
42
43 @JsonProperty("createdDate")
44 private Long createdDate;
45
46 public String getFileUploadUrl() {
47 return fileUploadUrl;
48 }
49
51 this.fileUploadUrl = fileUploadUrl;
52 return this;
53 }
54
55 public String getSha1() {
56 return sha1;
57 }
58
60 this.sha1 = sha1;
61 return this;
62 }
63
64 public String getSha256() {
65 return sha256;
66 }
67
69 this.sha256 = sha256;
70 return this;
71 }
72
73 public String getMd5() {
74 return md5;
75 }
76
78 this.md5 = md5;
79 return this;
80 }
81
82 public String getFilePath() {
83 return filePath;
84 }
85
87 this.filePath = filePath;
88 return this;
89 }
90
91 public Long getFileSizeBytes() {
92 return fileSizeBytes;
93 }
94
96 this.fileSizeBytes = fileSizeBytes;
97 return this;
98 }
99
100 public Long getCreatedDate() {
101 return createdDate;
102 }
103
105 this.createdDate = createdDate;
106 return this;
107 }
108
109}

Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.