Autopsy  4.20.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
DecryptedLicenseResponse.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 
22 import com.fasterxml.jackson.annotation.JsonCreator;
23 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25 import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
26 import java.time.Instant;
27 
31 @JsonIgnoreProperties(ignoreUnknown = true)
33 
34  private final String boostLicenseId;
35  private final String licenseHostId;
36  private final Instant expirationDate;
37  private final Long hashLookups;
38  private final Long fileUploads;
39  private final Instant activationTime;
40  private final String product;
41  private final String limitType;
42  private final String timezone;
43  private final String customerEmail;
44  private final String customerName;
45 
46  @JsonCreator
48  @JsonProperty("boostLicenseId") String boostLicenseId,
49  @JsonProperty("licenseHostId") String licenseHostId,
50  @JsonDeserialize(using = InstantEpochMillisDeserializer.class)
51  @JsonProperty("expirationDate") Instant expirationDate,
52  @JsonProperty("hashLookups") Long hashLookups,
53  @JsonProperty("fileUploads") Long fileUploads,
54  @JsonDeserialize(using = InstantEpochMillisDeserializer.class)
55  @JsonProperty("activationTime") Instant activationTime,
56  @JsonProperty("product") String product,
57  @JsonProperty("limitType") String limitType,
58  @JsonProperty("timezone") String timezone,
59  @JsonProperty("customerEmail") String customerEmail,
60  @JsonProperty("customerName") String customerName
61  ) {
62  this.boostLicenseId = boostLicenseId;
63  this.licenseHostId = licenseHostId;
64  this.expirationDate = expirationDate;
65  this.hashLookups = hashLookups;
66  this.fileUploads = fileUploads;
67  this.activationTime = activationTime;
68  this.product = product;
69  this.limitType = limitType;
70  this.timezone = timezone;
71  this.customerEmail = customerEmail;
72  this.customerName = customerName;
73  }
74 
75  public String getBoostLicenseId() {
76  return boostLicenseId;
77  }
78 
79  public String getLicenseHostId() {
80  return licenseHostId;
81  }
82 
83  public Long getHashLookups() {
84  return hashLookups;
85  }
86 
87  public Long getFileUploads() {
88  return fileUploads;
89  }
90 
91  public Instant getActivationTime() {
92  return activationTime;
93  }
94 
95  public String getProduct() {
96  return product;
97  }
98 
99  public String getLimitType() {
100  return limitType;
101  }
102 
103  public Instant getExpirationDate() {
104  return expirationDate;
105  }
106 
107  public String getTimezone() {
108  return timezone;
109  }
110 
111  public String getCustomerEmail() {
112  return customerEmail;
113  }
114 
115  public String getCustomerName() {
116  return customerName;
117  }
118 }
DecryptedLicenseResponse(@JsonProperty("boostLicenseId") String boostLicenseId,@JsonProperty("licenseHostId") String licenseHostId,@JsonDeserialize(using=InstantEpochMillisDeserializer.class)@JsonProperty("expirationDate") Instant expirationDate,@JsonProperty("hashLookups") Long hashLookups,@JsonProperty("fileUploads") Long fileUploads,@JsonDeserialize(using=InstantEpochMillisDeserializer.class)@JsonProperty("activationTime") Instant activationTime,@JsonProperty("product") String product,@JsonProperty("limitType") String limitType,@JsonProperty("timezone") String timezone,@JsonProperty("customerEmail") String customerEmail,@JsonProperty("customerName") String customerName)

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.