Package com.onfido.model
Class Report
- java.lang.Object
-
- com.onfido.model.AbstractOpenApiSchema
-
- com.onfido.model.Report
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class Report extends AbstractOpenApiSchema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReport.CustomTypeAdapterFactory
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReportfromJson(String jsonString)Create an instance of Report given an JSON stringObjectgetActualInstance()Get the actual instance, which can be the following: DeviceIntelligenceReport, DocumentReport, DocumentVideoReport, DocumentVideoWithAddressInformationReport, DocumentWithAddressInformationReport, DocumentWithDriverVerificationReport, DocumentWithDrivingLicenceInformationReport, FacialSimilarityMotionReport, FacialSimilarityPhotoFullyAutoReport, FacialSimilarityPhotoReport, FacialSimilarityVideoReport, IdentityEnhancedReport, IndiaPanReport, KnownFacesReport, ProofOfAddressReport, UsDrivingLicenceReport, WatchlistAmlReport, WatchlistEnhancedReport, WatchlistPepsOnlyReport, WatchlistSanctionsOnlyReport, WatchlistStandardReportDeviceIntelligenceReportgetDeviceIntelligenceReport()Get the actual instance of `DeviceIntelligenceReport`.DocumentReportgetDocumentReport()Get the actual instance of `DocumentReport`.DocumentVideoReportgetDocumentVideoReport()Get the actual instance of `DocumentVideoReport`.DocumentVideoWithAddressInformationReportgetDocumentVideoWithAddressInformationReport()Get the actual instance of `DocumentVideoWithAddressInformationReport`.DocumentWithAddressInformationReportgetDocumentWithAddressInformationReport()Get the actual instance of `DocumentWithAddressInformationReport`.DocumentWithDriverVerificationReportgetDocumentWithDriverVerificationReport()Get the actual instance of `DocumentWithDriverVerificationReport`.DocumentWithDrivingLicenceInformationReportgetDocumentWithDrivingLicenceInformationReport()Get the actual instance of `DocumentWithDrivingLicenceInformationReport`.FacialSimilarityMotionReportgetFacialSimilarityMotionReport()Get the actual instance of `FacialSimilarityMotionReport`.FacialSimilarityPhotoFullyAutoReportgetFacialSimilarityPhotoFullyAutoReport()Get the actual instance of `FacialSimilarityPhotoFullyAutoReport`.FacialSimilarityPhotoReportgetFacialSimilarityPhotoReport()Get the actual instance of `FacialSimilarityPhotoReport`.FacialSimilarityVideoReportgetFacialSimilarityVideoReport()Get the actual instance of `FacialSimilarityVideoReport`.UUIDgetId()Give access to shared properties.IdentityEnhancedReportgetIdentityEnhancedReport()Get the actual instance of `IdentityEnhancedReport`.IndiaPanReportgetIndiaPanReport()Get the actual instance of `IndiaPanReport`.KnownFacesReportgetKnownFacesReport()Get the actual instance of `KnownFacesReport`.ReportNamegetName()Get nameProofOfAddressReportgetProofOfAddressReport()Get the actual instance of `ProofOfAddressReport`.ReportSharedgetReportShared()Give access to shared properties.Map<String,Class<?>>getSchemas()Get the list of oneOf/anyOf composed schemas allowed to be stored in this objectReportStatusgetStatus()Get statusUsDrivingLicenceReportgetUsDrivingLicenceReport()Get the actual instance of `UsDrivingLicenceReport`.WatchlistAmlReportgetWatchlistAmlReport()Get the actual instance of `WatchlistAmlReport`.WatchlistEnhancedReportgetWatchlistEnhancedReport()Get the actual instance of `WatchlistEnhancedReport`.WatchlistPepsOnlyReportgetWatchlistPepsOnlyReport()Get the actual instance of `WatchlistPepsOnlyReport`.WatchlistSanctionsOnlyReportgetWatchlistSanctionsOnlyReport()Get the actual instance of `WatchlistSanctionsOnlyReport`.WatchlistStandardReportgetWatchlistStandardReport()Get the actual instance of `WatchlistStandardReport`.voidsetActualInstance(Object instance)Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: DeviceIntelligenceReport, DocumentReport, DocumentVideoReport, DocumentVideoWithAddressInformationReport, DocumentWithAddressInformationReport, DocumentWithDriverVerificationReport, DocumentWithDrivingLicenceInformationReport, FacialSimilarityMotionReport, FacialSimilarityPhotoFullyAutoReport, FacialSimilarityPhotoReport, FacialSimilarityVideoReport, IdentityEnhancedReport, IndiaPanReport, KnownFacesReport, ProofOfAddressReport, UsDrivingLicenceReport, WatchlistAmlReport, WatchlistEnhancedReport, WatchlistPepsOnlyReport, WatchlistSanctionsOnlyReport, WatchlistStandardReport It could be an instance of the 'oneOf' schemas.StringtoJson()Convert an instance of Report to an JSON stringstatic voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found-
Methods inherited from class com.onfido.model.AbstractOpenApiSchema
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toString
-
-
-
-
Constructor Detail
-
Report
public Report()
-
Report
public Report(Object o)
-
-
Method Detail
-
getSchemas
public Map<String,Class<?>> getSchemas()
Description copied from class:AbstractOpenApiSchemaGet the list of oneOf/anyOf composed schemas allowed to be stored in this object- Specified by:
getSchemasin classAbstractOpenApiSchema- Returns:
- an instance of the actual schema/object
-
setActualInstance
public void setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: DeviceIntelligenceReport, DocumentReport, DocumentVideoReport, DocumentVideoWithAddressInformationReport, DocumentWithAddressInformationReport, DocumentWithDriverVerificationReport, DocumentWithDrivingLicenceInformationReport, FacialSimilarityMotionReport, FacialSimilarityPhotoFullyAutoReport, FacialSimilarityPhotoReport, FacialSimilarityVideoReport, IdentityEnhancedReport, IndiaPanReport, KnownFacesReport, ProofOfAddressReport, UsDrivingLicenceReport, WatchlistAmlReport, WatchlistEnhancedReport, WatchlistPepsOnlyReport, WatchlistSanctionsOnlyReport, WatchlistStandardReport It could be an instance of the 'oneOf' schemas.- Overrides:
setActualInstancein classAbstractOpenApiSchema- Parameters:
instance- the actual instance of the schema/object
-
getActualInstance
public Object getActualInstance()
Get the actual instance, which can be the following: DeviceIntelligenceReport, DocumentReport, DocumentVideoReport, DocumentVideoWithAddressInformationReport, DocumentWithAddressInformationReport, DocumentWithDriverVerificationReport, DocumentWithDrivingLicenceInformationReport, FacialSimilarityMotionReport, FacialSimilarityPhotoFullyAutoReport, FacialSimilarityPhotoReport, FacialSimilarityVideoReport, IdentityEnhancedReport, IndiaPanReport, KnownFacesReport, ProofOfAddressReport, UsDrivingLicenceReport, WatchlistAmlReport, WatchlistEnhancedReport, WatchlistPepsOnlyReport, WatchlistSanctionsOnlyReport, WatchlistStandardReport- Overrides:
getActualInstancein classAbstractOpenApiSchema- Returns:
- The actual instance (DeviceIntelligenceReport, DocumentReport, DocumentVideoReport, DocumentVideoWithAddressInformationReport, DocumentWithAddressInformationReport, DocumentWithDriverVerificationReport, DocumentWithDrivingLicenceInformationReport, FacialSimilarityMotionReport, FacialSimilarityPhotoFullyAutoReport, FacialSimilarityPhotoReport, FacialSimilarityVideoReport, IdentityEnhancedReport, IndiaPanReport, KnownFacesReport, ProofOfAddressReport, UsDrivingLicenceReport, WatchlistAmlReport, WatchlistEnhancedReport, WatchlistPepsOnlyReport, WatchlistSanctionsOnlyReport, WatchlistStandardReport)
-
getDocumentReport
public DocumentReport getDocumentReport() throws ClassCastException
Get the actual instance of `DocumentReport`. If the actual instance is not `DocumentReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `DocumentReport`
- Throws:
ClassCastException- if the instance is not `DocumentReport`
-
getDocumentVideoReport
public DocumentVideoReport getDocumentVideoReport() throws ClassCastException
Get the actual instance of `DocumentVideoReport`. If the actual instance is not `DocumentVideoReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `DocumentVideoReport`
- Throws:
ClassCastException- if the instance is not `DocumentVideoReport`
-
getDocumentVideoWithAddressInformationReport
public DocumentVideoWithAddressInformationReport getDocumentVideoWithAddressInformationReport() throws ClassCastException
Get the actual instance of `DocumentVideoWithAddressInformationReport`. If the actual instance is not `DocumentVideoWithAddressInformationReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `DocumentVideoWithAddressInformationReport`
- Throws:
ClassCastException- if the instance is not `DocumentVideoWithAddressInformationReport`
-
getDocumentWithAddressInformationReport
public DocumentWithAddressInformationReport getDocumentWithAddressInformationReport() throws ClassCastException
Get the actual instance of `DocumentWithAddressInformationReport`. If the actual instance is not `DocumentWithAddressInformationReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `DocumentWithAddressInformationReport`
- Throws:
ClassCastException- if the instance is not `DocumentWithAddressInformationReport`
-
getDocumentWithDrivingLicenceInformationReport
public DocumentWithDrivingLicenceInformationReport getDocumentWithDrivingLicenceInformationReport() throws ClassCastException
Get the actual instance of `DocumentWithDrivingLicenceInformationReport`. If the actual instance is not `DocumentWithDrivingLicenceInformationReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `DocumentWithDrivingLicenceInformationReport`
- Throws:
ClassCastException- if the instance is not `DocumentWithDrivingLicenceInformationReport`
-
getDocumentWithDriverVerificationReport
public DocumentWithDriverVerificationReport getDocumentWithDriverVerificationReport() throws ClassCastException
Get the actual instance of `DocumentWithDriverVerificationReport`. If the actual instance is not `DocumentWithDriverVerificationReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `DocumentWithDriverVerificationReport`
- Throws:
ClassCastException- if the instance is not `DocumentWithDriverVerificationReport`
-
getFacialSimilarityPhotoReport
public FacialSimilarityPhotoReport getFacialSimilarityPhotoReport() throws ClassCastException
Get the actual instance of `FacialSimilarityPhotoReport`. If the actual instance is not `FacialSimilarityPhotoReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `FacialSimilarityPhotoReport`
- Throws:
ClassCastException- if the instance is not `FacialSimilarityPhotoReport`
-
getFacialSimilarityPhotoFullyAutoReport
public FacialSimilarityPhotoFullyAutoReport getFacialSimilarityPhotoFullyAutoReport() throws ClassCastException
Get the actual instance of `FacialSimilarityPhotoFullyAutoReport`. If the actual instance is not `FacialSimilarityPhotoFullyAutoReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `FacialSimilarityPhotoFullyAutoReport`
- Throws:
ClassCastException- if the instance is not `FacialSimilarityPhotoFullyAutoReport`
-
getFacialSimilarityVideoReport
public FacialSimilarityVideoReport getFacialSimilarityVideoReport() throws ClassCastException
Get the actual instance of `FacialSimilarityVideoReport`. If the actual instance is not `FacialSimilarityVideoReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `FacialSimilarityVideoReport`
- Throws:
ClassCastException- if the instance is not `FacialSimilarityVideoReport`
-
getFacialSimilarityMotionReport
public FacialSimilarityMotionReport getFacialSimilarityMotionReport() throws ClassCastException
Get the actual instance of `FacialSimilarityMotionReport`. If the actual instance is not `FacialSimilarityMotionReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `FacialSimilarityMotionReport`
- Throws:
ClassCastException- if the instance is not `FacialSimilarityMotionReport`
-
getKnownFacesReport
public KnownFacesReport getKnownFacesReport() throws ClassCastException
Get the actual instance of `KnownFacesReport`. If the actual instance is not `KnownFacesReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `KnownFacesReport`
- Throws:
ClassCastException- if the instance is not `KnownFacesReport`
-
getIdentityEnhancedReport
public IdentityEnhancedReport getIdentityEnhancedReport() throws ClassCastException
Get the actual instance of `IdentityEnhancedReport`. If the actual instance is not `IdentityEnhancedReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `IdentityEnhancedReport`
- Throws:
ClassCastException- if the instance is not `IdentityEnhancedReport`
-
getWatchlistAmlReport
public WatchlistAmlReport getWatchlistAmlReport() throws ClassCastException
Get the actual instance of `WatchlistAmlReport`. If the actual instance is not `WatchlistAmlReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `WatchlistAmlReport`
- Throws:
ClassCastException- if the instance is not `WatchlistAmlReport`
-
getWatchlistEnhancedReport
public WatchlistEnhancedReport getWatchlistEnhancedReport() throws ClassCastException
Get the actual instance of `WatchlistEnhancedReport`. If the actual instance is not `WatchlistEnhancedReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `WatchlistEnhancedReport`
- Throws:
ClassCastException- if the instance is not `WatchlistEnhancedReport`
-
getWatchlistStandardReport
public WatchlistStandardReport getWatchlistStandardReport() throws ClassCastException
Get the actual instance of `WatchlistStandardReport`. If the actual instance is not `WatchlistStandardReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `WatchlistStandardReport`
- Throws:
ClassCastException- if the instance is not `WatchlistStandardReport`
-
getWatchlistPepsOnlyReport
public WatchlistPepsOnlyReport getWatchlistPepsOnlyReport() throws ClassCastException
Get the actual instance of `WatchlistPepsOnlyReport`. If the actual instance is not `WatchlistPepsOnlyReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `WatchlistPepsOnlyReport`
- Throws:
ClassCastException- if the instance is not `WatchlistPepsOnlyReport`
-
getWatchlistSanctionsOnlyReport
public WatchlistSanctionsOnlyReport getWatchlistSanctionsOnlyReport() throws ClassCastException
Get the actual instance of `WatchlistSanctionsOnlyReport`. If the actual instance is not `WatchlistSanctionsOnlyReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `WatchlistSanctionsOnlyReport`
- Throws:
ClassCastException- if the instance is not `WatchlistSanctionsOnlyReport`
-
getProofOfAddressReport
public ProofOfAddressReport getProofOfAddressReport() throws ClassCastException
Get the actual instance of `ProofOfAddressReport`. If the actual instance is not `ProofOfAddressReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `ProofOfAddressReport`
- Throws:
ClassCastException- if the instance is not `ProofOfAddressReport`
-
getUsDrivingLicenceReport
public UsDrivingLicenceReport getUsDrivingLicenceReport() throws ClassCastException
Get the actual instance of `UsDrivingLicenceReport`. If the actual instance is not `UsDrivingLicenceReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `UsDrivingLicenceReport`
- Throws:
ClassCastException- if the instance is not `UsDrivingLicenceReport`
-
getDeviceIntelligenceReport
public DeviceIntelligenceReport getDeviceIntelligenceReport() throws ClassCastException
Get the actual instance of `DeviceIntelligenceReport`. If the actual instance is not `DeviceIntelligenceReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `DeviceIntelligenceReport`
- Throws:
ClassCastException- if the instance is not `DeviceIntelligenceReport`
-
getIndiaPanReport
public IndiaPanReport getIndiaPanReport() throws ClassCastException
Get the actual instance of `IndiaPanReport`. If the actual instance is not `IndiaPanReport`, the ClassCastException will be thrown.- Returns:
- The actual instance of `IndiaPanReport`
- Throws:
ClassCastException- if the instance is not `IndiaPanReport`
-
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 Report
-
fromJson
public static Report fromJson(String jsonString) throws IOException
Create an instance of Report given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Report
- Throws:
IOException- if the JSON string is invalid with respect to Report
-
toJson
public String toJson()
Convert an instance of Report to an JSON string- Returns:
- JSON string
-
getReportShared
public ReportShared getReportShared()
Give access to shared properties. Read-only.- Returns:
- ReportShared object with common fields
-
getId
public UUID getId()
Give access to shared properties. Read-only.- Returns:
- id
-
getName
public ReportName getName()
Get name- Returns:
- name
-
getStatus
public ReportStatus getStatus()
Get status- Returns:
- status
-
-