Class Report

    • Constructor Detail

      • Report

        public Report()
      • Report

        public Report​(Object o)
    • Method Detail

      • 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:
        setActualInstance in class AbstractOpenApiSchema
        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:
        getActualInstance in class AbstractOpenApiSchema
        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 IOException
        Validates 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