@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class Evidence extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Evidence.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_COUNTRY_OF_IP |
static String |
SERIALIZED_NAME_IP_COUNTRY |
static String |
SERIALIZED_NAME_IP_TOR |
| Constructor and Description |
|---|
Evidence() |
| Modifier and Type | Method and Description |
|---|---|
Evidence |
countryOfIp(String countryOfIp) |
boolean |
equals(Object o) |
static Evidence |
fromJson(String jsonString)
Create an instance of Evidence given an JSON string
|
String |
getCountryOfIp()
Get countryOfIp
|
IPCountry |
getIpCountry()
Get ipCountry
|
Boolean |
getIpTor()
Get ipTor
|
int |
hashCode() |
Evidence |
ipCountry(IPCountry ipCountry) |
Evidence |
ipTor(Boolean ipTor) |
void |
setCountryOfIp(String countryOfIp) |
void |
setIpCountry(IPCountry ipCountry) |
void |
setIpTor(Boolean ipTor) |
String |
toJson()
Convert an instance of Evidence 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_IP_TOR
public static final String SERIALIZED_NAME_IP_COUNTRY
public static final String SERIALIZED_NAME_COUNTRY_OF_IP
public void setIpTor(Boolean ipTor)
public void setIpCountry(IPCountry ipCountry)
public void setCountryOfIp(String countryOfIp)
public static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws IOException
jsonElement - JSON ElementIOException - if the JSON Element is invalid with respect to Evidencepublic static Evidence fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to Evidencepublic String toJson()
Copyright © 2024. All rights reserved.