@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class Email extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Email.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ACTIVITY |
static String |
SERIALIZED_NAME_CONFIDENCE |
static String |
SERIALIZED_NAME_FIRST_SEEN_MS |
static String |
SERIALIZED_NAME_LABEL |
static String |
SERIALIZED_NAME_LAST_SEEN_MS |
static String |
SERIALIZED_NAME_MD5 |
static String |
SERIALIZED_NAME_OBSERVATIONS |
static String |
SERIALIZED_NAME_SHA1 |
static String |
SERIALIZED_NAME_SHA256 |
| Constructor and Description |
|---|
Email() |
| Modifier and Type | Method and Description |
|---|---|
Email |
activity(Double activity) |
Email |
confidence(Double confidence) |
boolean |
equals(Object o) |
Email |
firstSeenMs(Long firstSeenMs) |
static Email |
fromJson(String jsonString)
Create an instance of Email given an JSON string
|
Double |
getActivity()
Get activity
|
Double |
getConfidence()
Get confidence
|
Long |
getFirstSeenMs()
Get firstSeenMs
|
String |
getLabel()
Get label
|
Long |
getLastSeenMs()
Get lastSeenMs
|
String |
getMd5()
Get md5
|
Integer |
getObservations()
Get observations
|
String |
getSha1()
Get sha1
|
String |
getSha256()
Get sha256
|
int |
hashCode() |
Email |
label(String label) |
Email |
lastSeenMs(Long lastSeenMs) |
Email |
md5(String md5) |
Email |
observations(Integer observations) |
void |
setActivity(Double activity) |
void |
setConfidence(Double confidence) |
void |
setFirstSeenMs(Long firstSeenMs) |
void |
setLabel(String label) |
void |
setLastSeenMs(Long lastSeenMs) |
void |
setMd5(String md5) |
void |
setObservations(Integer observations) |
void |
setSha1(String sha1) |
void |
setSha256(String sha256) |
Email |
sha1(String sha1) |
Email |
sha256(String sha256) |
String |
toJson()
Convert an instance of Email to an JSON string
|
String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final String SERIALIZED_NAME_FIRST_SEEN_MS
public static final String SERIALIZED_NAME_LAST_SEEN_MS
public static final String SERIALIZED_NAME_OBSERVATIONS
public static final String SERIALIZED_NAME_CONFIDENCE
public static final String SERIALIZED_NAME_MD5
public static final String SERIALIZED_NAME_SHA1
public static final String SERIALIZED_NAME_SHA256
public static final String SERIALIZED_NAME_LABEL
public static final String SERIALIZED_NAME_ACTIVITY
public void setFirstSeenMs(Long firstSeenMs)
public void setLastSeenMs(Long lastSeenMs)
public void setObservations(Integer observations)
public void setConfidence(Double confidence)
public void setMd5(String md5)
public void setSha1(String sha1)
public void setSha256(String sha256)
public void setLabel(String label)
public void setActivity(Double activity)
public static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws IOException
jsonElement - JSON ElementIOException - if the JSON Element is invalid with respect to Emailpublic static Email fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to Emailpublic String toJson()
Copyright © 2024. All rights reserved.