19 package com.basistech.df.cybertriage.autopsy.ctapi.json;
23 import com.fasterxml.jackson.annotation.JsonCreator;
24 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
25 import com.fasterxml.jackson.annotation.JsonProperty;
26 import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
27 import java.time.Instant;
32 @JsonIgnoreProperties(ignoreUnknown =
true)
47 @JsonProperty(
"token") String token,
48 @JsonProperty(
"api_key") String apiKey,
49 @JsonProperty(
"hashLookupCount") Long hashLookupCount,
50 @JsonProperty(
"hashLookupLimit") Long hashLookupLimit,
51 @JsonProperty(
"fileUploadLimit") Long fileUploadLimit,
52 @JsonProperty(
"fileUploadCount") Long fileUploadCount,
53 @JsonProperty(
"fileUploadUrl") String fileUploadUrl,
55 @JsonProperty(
"expiration") Instant expiration,
57 @JsonProperty(
"resetDate") Instant resetDate
61 this.hashLookupCount = hashLookupCount;
62 this.hashLookupLimit = hashLookupLimit;
63 this.fileUploadLimit = fileUploadLimit;
64 this.fileUploadCount = fileUploadCount;
65 this.fileUploadUrl = fileUploadUrl;
66 this.expiration = expiration;
67 this.resetDate = resetDate;
71 return hashLookupCount;
75 return hashLookupLimit;
79 return fileUploadLimit;
83 return fileUploadCount;
Long getFileUploadLimit()
final Long hashLookupLimit
final Long fileUploadLimit
String getFileUploadUrl()
Long getFileUploadCount()
final Long fileUploadCount
final Long hashLookupCount
Long getHashLookupLimit()
Long getHashLookupCount()
final String fileUploadUrl
AuthTokenResponse(@JsonProperty("token") String token,@JsonProperty("api_key") String apiKey,@JsonProperty("hashLookupCount") Long hashLookupCount,@JsonProperty("hashLookupLimit") Long hashLookupLimit,@JsonProperty("fileUploadLimit") Long fileUploadLimit,@JsonProperty("fileUploadCount") Long fileUploadCount,@JsonProperty("fileUploadUrl") String fileUploadUrl,@JsonDeserialize(using=InstantEpochSecsDeserializer.class)@JsonProperty("expiration") Instant expiration,@JsonDeserialize(using=InstantEpochMillisDeserializer.class)@JsonProperty("resetDate") Instant resetDate)