Autopsy  4.20.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("host_id")
38  private String hostId;
39 
40  public String getAutopsyVersion() {
41  return autopsyVersion;
42  }
43 
45  this.autopsyVersion = autopsyVersion;
46  return this;
47  }
48 
49  public String getBoostLicenseId() {
50  return boostLicenseId;
51  }
52 
54  this.boostLicenseId = boostLicenseId;
55  return this;
56  }
57 
58  public boolean isRequestFileUpload() {
59  return requestFileUpload;
60  }
61 
63  this.requestFileUpload = requestFileUpload;
64  return this;
65  }
66 
67  public String getHostId() {
68  return hostId;
69  }
70 
72  this.hostId = hostId;
73  return this;
74  }
75 
76 }
AuthTokenRequest setRequestFileUpload(boolean requestFileUpload)

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