Autopsy  4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
AuthTokenRequest.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  */
19 package com.basistech.df.cybertriage.autopsy.ctapi.json;
20 
21 import com.fasterxml.jackson.annotation.JsonProperty;
22 
26 public class AuthTokenRequest {
27 
28  @JsonProperty("autopsy_version")
29  private String autopsyVersion;
30 
31  @JsonProperty("boost_license_id")
32  private String boostLicenseId;
33 
34  @JsonProperty("requestFileUpload")
35  private boolean requestFileUpload;
36 
37  @JsonProperty("fileUploadSize")
38  private Long fileUploadSize;
39 
40  @JsonProperty("host_id")
41  private String hostId;
42 
43  public String getAutopsyVersion() {
44  return autopsyVersion;
45  }
46 
48  this.autopsyVersion = autopsyVersion;
49  return this;
50  }
51 
52  public String getBoostLicenseId() {
53  return boostLicenseId;
54  }
55 
57  this.boostLicenseId = boostLicenseId;
58  return this;
59  }
60 
61  public boolean isRequestFileUpload() {
62  return requestFileUpload;
63  }
64 
66  this.requestFileUpload = requestFileUpload;
67  return this;
68  }
69 
70  public Long getFileUploadSize() {
71  return fileUploadSize;
72  }
73 
75  this.fileUploadSize = fileUploadSize;
76  return this;
77  }
78 
79 
80  public String getHostId() {
81  return hostId;
82  }
83 
85  this.hostId = hostId;
86  return this;
87  }
88 
89 }
AuthTokenRequest setRequestFileUpload(boolean requestFileUpload)

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.