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