Package com.onfido.model
Class DeviceIntelligenceBreakdownProperties
- java.lang.Object
-
- com.onfido.model.DeviceIntelligenceBreakdownProperties
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class DeviceIntelligenceBreakdownProperties extends Object
DeviceIntelligenceBreakdownProperties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceIntelligenceBreakdownProperties.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DEVICEstatic StringSERIALIZED_NAME_GEOLOCATIONstatic StringSERIALIZED_NAME_IP
-
Constructor Summary
Constructors Constructor Description DeviceIntelligenceBreakdownProperties()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_DEVICE
public static final String SERIALIZED_NAME_DEVICE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IP
public static final String SERIALIZED_NAME_IP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GEOLOCATION
public static final String SERIALIZED_NAME_GEOLOCATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
device
public DeviceIntelligenceBreakdownProperties device(DeviceIntelligenceBreakdownPropertiesDevice device)
-
getDevice
@Nullable public DeviceIntelligenceBreakdownPropertiesDevice getDevice()
Get device- Returns:
- device
-
setDevice
public void setDevice(DeviceIntelligenceBreakdownPropertiesDevice device)
-
ip
public DeviceIntelligenceBreakdownProperties ip(DeviceIntelligenceBreakdownPropertiesIp ip)
-
getIp
@Nullable public DeviceIntelligenceBreakdownPropertiesIp getIp()
Get ip- Returns:
- ip
-
setIp
public void setIp(DeviceIntelligenceBreakdownPropertiesIp ip)
-
geolocation
public DeviceIntelligenceBreakdownProperties geolocation(DeviceIntelligenceBreakdownPropertiesGeolocation geolocation)
-
getGeolocation
@Nullable public DeviceIntelligenceBreakdownPropertiesGeolocation getGeolocation()
Get geolocation- Returns:
- geolocation
-
setGeolocation
public void setGeolocation(DeviceIntelligenceBreakdownPropertiesGeolocation geolocation)
-
putAdditionalProperty
public DeviceIntelligenceBreakdownProperties putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the DeviceIntelligenceBreakdownProperties instance itself
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to DeviceIntelligenceBreakdownProperties
-
fromJson
public static DeviceIntelligenceBreakdownProperties fromJson(String jsonString) throws IOException
Create an instance of DeviceIntelligenceBreakdownProperties given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DeviceIntelligenceBreakdownProperties
- Throws:
IOException- if the JSON string is invalid with respect to DeviceIntelligenceBreakdownProperties
-
toJson
public String toJson()
Convert an instance of DeviceIntelligenceBreakdownProperties to an JSON string- Returns:
- JSON string
-
-