@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class IpAddress extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IpAddress.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CONFIDENCE |
static String |
SERIALIZED_NAME_FIRST_SEEN_MS |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_LAST_SEEN_MS |
static String |
SERIALIZED_NAME_OBSERVATIONS |
| Constructor and Description |
|---|
IpAddress() |
| Modifier and Type | Method and Description |
|---|---|
IpAddress |
confidence(Double confidence) |
boolean |
equals(Object o) |
IpAddress |
firstSeenMs(Long firstSeenMs) |
static IpAddress |
fromJson(String jsonString)
Create an instance of IpAddress given an JSON string
|
Double |
getConfidence()
Get confidence
|
Long |
getFirstSeenMs()
Get firstSeenMs
|
String |
getId()
Get id
|
Long |
getLastSeenMs()
Get lastSeenMs
|
Integer |
getObservations()
Get observations
|
int |
hashCode() |
IpAddress |
id(String id) |
IpAddress |
lastSeenMs(Long lastSeenMs) |
IpAddress |
observations(Integer observations) |
void |
setConfidence(Double confidence) |
void |
setFirstSeenMs(Long firstSeenMs) |
void |
setId(String id) |
void |
setLastSeenMs(Long lastSeenMs) |
void |
setObservations(Integer observations) |
String |
toJson()
Convert an instance of IpAddress 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_ID
public void setFirstSeenMs(Long firstSeenMs)
public void setLastSeenMs(Long lastSeenMs)
public void setObservations(Integer observations)
public void setConfidence(Double confidence)
public void setId(String id)
public static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws IOException
jsonElement - JSON ElementIOException - if the JSON Element is invalid with respect to IpAddresspublic static IpAddress fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to IpAddresspublic String toJson()
Copyright © 2024. All rights reserved.