Package com.onfido.model
Class DeviceIntelligenceBreakdownPropertiesDevice
- java.lang.Object
-
- com.onfido.model.DeviceIntelligenceBreakdownPropertiesDevice
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class DeviceIntelligenceBreakdownPropertiesDevice extends Object
DeviceIntelligenceBreakdownPropertiesDevice
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnumThe token used to authenticate the request.static classDeviceIntelligenceBreakdownPropertiesDevice.BiometricCaptureEnumWhether the biometric media were live captured from the device camera.static classDeviceIntelligenceBreakdownPropertiesDevice.CustomTypeAdapterFactorystatic classDeviceIntelligenceBreakdownPropertiesDevice.DocumentCaptureEnumWhether the document media were live captured from the device camera.static classDeviceIntelligenceBreakdownPropertiesDevice.IpReputationEnumWhether there is highly suspicious traffic related to the IP address.static classDeviceIntelligenceBreakdownPropertiesDevice.SdkSourceEnumThe SDK used to upload the media.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AUTHENTICATION_TYPEstatic StringSERIALIZED_NAME_BIOMETRIC_CAPTUREstatic StringSERIALIZED_NAME_BROWSERstatic StringSERIALIZED_NAME_DEVICE_FINGERPRINT_REUSEstatic StringSERIALIZED_NAME_DOCUMENT_CAPTUREstatic StringSERIALIZED_NAME_EMULATORstatic StringSERIALIZED_NAME_FAKE_NETWORK_REQUESTstatic StringSERIALIZED_NAME_IP_REPUTATIONstatic StringSERIALIZED_NAME_OSstatic StringSERIALIZED_NAME_RANDOMIZED_DEVICEstatic StringSERIALIZED_NAME_RAW_MODELstatic StringSERIALIZED_NAME_SDK_SOURCEstatic StringSERIALIZED_NAME_SDK_VERSIONstatic StringSERIALIZED_NAME_SINGLE_DEVICE_USED
-
Constructor Summary
Constructors Constructor Description DeviceIntelligenceBreakdownPropertiesDevice()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_SDK_VERSION
public static final String SERIALIZED_NAME_SDK_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SDK_SOURCE
public static final String SERIALIZED_NAME_SDK_SOURCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AUTHENTICATION_TYPE
public static final String SERIALIZED_NAME_AUTHENTICATION_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RAW_MODEL
public static final String SERIALIZED_NAME_RAW_MODEL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OS
public static final String SERIALIZED_NAME_OS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BROWSER
public static final String SERIALIZED_NAME_BROWSER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMULATOR
public static final String SERIALIZED_NAME_EMULATOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RANDOMIZED_DEVICE
public static final String SERIALIZED_NAME_RANDOMIZED_DEVICE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FAKE_NETWORK_REQUEST
public static final String SERIALIZED_NAME_FAKE_NETWORK_REQUEST
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IP_REPUTATION
public static final String SERIALIZED_NAME_IP_REPUTATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEVICE_FINGERPRINT_REUSE
public static final String SERIALIZED_NAME_DEVICE_FINGERPRINT_REUSE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SINGLE_DEVICE_USED
public static final String SERIALIZED_NAME_SINGLE_DEVICE_USED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_CAPTURE
public static final String SERIALIZED_NAME_DOCUMENT_CAPTURE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BIOMETRIC_CAPTURE
public static final String SERIALIZED_NAME_BIOMETRIC_CAPTURE
- See Also:
- Constant Field Values
-
-
Method Detail
-
sdkVersion
public DeviceIntelligenceBreakdownPropertiesDevice sdkVersion(String sdkVersion)
-
getSdkVersion
@Nullable public String getSdkVersion()
The SDK version that was used.- Returns:
- sdkVersion
-
setSdkVersion
public void setSdkVersion(String sdkVersion)
-
sdkSource
public DeviceIntelligenceBreakdownPropertiesDevice sdkSource(DeviceIntelligenceBreakdownPropertiesDevice.SdkSourceEnum sdkSource)
-
getSdkSource
@Nullable public DeviceIntelligenceBreakdownPropertiesDevice.SdkSourceEnum getSdkSource()
The SDK used to upload the media.- Returns:
- sdkSource
-
setSdkSource
public void setSdkSource(DeviceIntelligenceBreakdownPropertiesDevice.SdkSourceEnum sdkSource)
-
authenticationType
public DeviceIntelligenceBreakdownPropertiesDevice authenticationType(DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum authenticationType)
-
getAuthenticationType
@Nullable public DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum getAuthenticationType()
The token used to authenticate the request.- Returns:
- authenticationType
-
setAuthenticationType
public void setAuthenticationType(DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum authenticationType)
-
rawModel
public DeviceIntelligenceBreakdownPropertiesDevice rawModel(String rawModel)
-
getRawModel
@Nullable public String getRawModel()
The model as set by the phone manufacturer (for Android and iOS) or the browser manufacturer (for Web). The model can be presented in name or number form depending on each manufacturer implementation.- Returns:
- rawModel
-
setRawModel
public void setRawModel(String rawModel)
-
os
public DeviceIntelligenceBreakdownPropertiesDevice os(String os)
-
getOs
@Nullable public String getOs()
The operating system of the device. The value came from manufacturer implementation (for Android and iOS) or browser's user agent (for Web).- Returns:
- os
-
setOs
public void setOs(String os)
-
browser
public DeviceIntelligenceBreakdownPropertiesDevice browser(String browser)
-
getBrowser
@Nullable public String getBrowser()
The browser name reported by the browser's user agent.- Returns:
- browser
-
setBrowser
public void setBrowser(String browser)
-
emulator
public DeviceIntelligenceBreakdownPropertiesDevice emulator(Boolean emulator)
-
getEmulator
@Nullable public Boolean getEmulator()
Whether the device is an emulator.- Returns:
- emulator
-
setEmulator
public void setEmulator(Boolean emulator)
-
randomizedDevice
public DeviceIntelligenceBreakdownPropertiesDevice randomizedDevice(Boolean randomizedDevice)
-
getRandomizedDevice
@Nullable public Boolean getRandomizedDevice()
Whether the device is providing false randomized device and network information.- Returns:
- randomizedDevice
-
setRandomizedDevice
public void setRandomizedDevice(Boolean randomizedDevice)
-
fakeNetworkRequest
public DeviceIntelligenceBreakdownPropertiesDevice fakeNetworkRequest(Boolean fakeNetworkRequest)
-
getFakeNetworkRequest
@Nullable public Boolean getFakeNetworkRequest()
Whether device is using stolen security tokens to send the network information.- Returns:
- fakeNetworkRequest
-
setFakeNetworkRequest
public void setFakeNetworkRequest(Boolean fakeNetworkRequest)
-
ipReputation
public DeviceIntelligenceBreakdownPropertiesDevice ipReputation(DeviceIntelligenceBreakdownPropertiesDevice.IpReputationEnum ipReputation)
-
getIpReputation
@Nullable public DeviceIntelligenceBreakdownPropertiesDevice.IpReputationEnum getIpReputation()
Whether there is highly suspicious traffic related to the IP address. The risk depends on the overall ratio of clear checks on a given IP.- Returns:
- ipReputation
-
setIpReputation
public void setIpReputation(DeviceIntelligenceBreakdownPropertiesDevice.IpReputationEnum ipReputation)
-
deviceFingerprintReuse
public DeviceIntelligenceBreakdownPropertiesDevice deviceFingerprintReuse(Integer deviceFingerprintReuse)
-
getDeviceFingerprintReuse
@Nullable public Integer getDeviceFingerprintReuse()
The number of times the device was used to create a report for a new applicant. A value greater than 1 indicates potential device reuse.- Returns:
- deviceFingerprintReuse
-
setDeviceFingerprintReuse
public void setDeviceFingerprintReuse(Integer deviceFingerprintReuse)
-
singleDeviceUsed
public DeviceIntelligenceBreakdownPropertiesDevice singleDeviceUsed(Boolean singleDeviceUsed)
-
getSingleDeviceUsed
@Nullable public Boolean getSingleDeviceUsed()
Whether the document or biometric media were uploaded from a single device.- Returns:
- singleDeviceUsed
-
setSingleDeviceUsed
public void setSingleDeviceUsed(Boolean singleDeviceUsed)
-
documentCapture
public DeviceIntelligenceBreakdownPropertiesDevice documentCapture(DeviceIntelligenceBreakdownPropertiesDevice.DocumentCaptureEnum documentCapture)
-
getDocumentCapture
@Nullable public DeviceIntelligenceBreakdownPropertiesDevice.DocumentCaptureEnum getDocumentCapture()
Whether the document media were live captured from the device camera.- Returns:
- documentCapture
-
setDocumentCapture
public void setDocumentCapture(DeviceIntelligenceBreakdownPropertiesDevice.DocumentCaptureEnum documentCapture)
-
biometricCapture
public DeviceIntelligenceBreakdownPropertiesDevice biometricCapture(DeviceIntelligenceBreakdownPropertiesDevice.BiometricCaptureEnum biometricCapture)
-
getBiometricCapture
@Nullable public DeviceIntelligenceBreakdownPropertiesDevice.BiometricCaptureEnum getBiometricCapture()
Whether the biometric media were live captured from the device camera.- Returns:
- biometricCapture
-
setBiometricCapture
public void setBiometricCapture(DeviceIntelligenceBreakdownPropertiesDevice.BiometricCaptureEnum biometricCapture)
-
putAdditionalProperty
public DeviceIntelligenceBreakdownPropertiesDevice 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 DeviceIntelligenceBreakdownPropertiesDevice 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 DeviceIntelligenceBreakdownPropertiesDevice
-
fromJson
public static DeviceIntelligenceBreakdownPropertiesDevice fromJson(String jsonString) throws IOException
Create an instance of DeviceIntelligenceBreakdownPropertiesDevice given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DeviceIntelligenceBreakdownPropertiesDevice
- Throws:
IOException- if the JSON string is invalid with respect to DeviceIntelligenceBreakdownPropertiesDevice
-
toJson
public String toJson()
Convert an instance of DeviceIntelligenceBreakdownPropertiesDevice to an JSON string- Returns:
- JSON string
-
-