Package com.onfido.model
Class WatchlistStandardReport
- java.lang.Object
-
- com.onfido.model.WatchlistStandardReport
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class WatchlistStandardReport extends Object
WatchlistStandardReport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWatchlistStandardReport.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BREAKDOWNstatic StringSERIALIZED_NAME_CHECK_IDstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DOCUMENTSstatic StringSERIALIZED_NAME_HREFstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_PROPERTIESstatic StringSERIALIZED_NAME_RESULTstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_SUB_RESULT
-
Constructor Summary
Constructors Constructor Description WatchlistStandardReport()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HREF
public static final String SERIALIZED_NAME_HREF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESULT
public static final String SERIALIZED_NAME_RESULT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUB_RESULT
public static final String SERIALIZED_NAME_SUB_RESULT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHECK_ID
public static final String SERIALIZED_NAME_CHECK_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENTS
public static final String SERIALIZED_NAME_DOCUMENTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BREAKDOWN
public static final String SERIALIZED_NAME_BREAKDOWN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROPERTIES
public static final String SERIALIZED_NAME_PROPERTIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public WatchlistStandardReport id(UUID id)
-
setId
public void setId(UUID id)
-
createdAt
public WatchlistStandardReport createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
The date and time at which the report was first initiated. Read-only.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
href
public WatchlistStandardReport href(String href)
-
getHref
@Nullable public String getHref()
The API endpoint to retrieve the report. Read-only.- Returns:
- href
-
setHref
public void setHref(String href)
-
status
public WatchlistStandardReport status(ReportStatus status)
-
getStatus
@Nullable public ReportStatus getStatus()
Get status- Returns:
- status
-
setStatus
public void setStatus(ReportStatus status)
-
result
public WatchlistStandardReport result(ReportResult result)
-
getResult
@Nullable public ReportResult getResult()
Get result- Returns:
- result
-
setResult
public void setResult(ReportResult result)
-
subResult
public WatchlistStandardReport subResult(ReportSubResult subResult)
-
getSubResult
@Nullable public ReportSubResult getSubResult()
Get subResult- Returns:
- subResult
-
setSubResult
public void setSubResult(ReportSubResult subResult)
-
checkId
public WatchlistStandardReport checkId(UUID checkId)
-
getCheckId
@Nullable public UUID getCheckId()
The ID of the check to which the report belongs. Read-only.- Returns:
- checkId
-
setCheckId
public void setCheckId(UUID checkId)
-
documents
public WatchlistStandardReport documents(List<ReportDocument> documents)
-
addDocumentsItem
public WatchlistStandardReport addDocumentsItem(ReportDocument documentsItem)
-
getDocuments
@Nullable public List<ReportDocument> getDocuments()
Array of objects with document ids that were used in the Onfido engine. [ONLY POPULATED FOR DOCUMENT AND FACIAL SIMILARITY REPORTS]- Returns:
- documents
-
setDocuments
public void setDocuments(List<ReportDocument> documents)
-
name
public WatchlistStandardReport name(ReportName name)
-
getName
@Nonnull public ReportName getName()
Get name- Returns:
- name
-
setName
public void setName(ReportName name)
-
breakdown
public WatchlistStandardReport breakdown(WatchlistStandardBreakdown breakdown)
-
getBreakdown
@Nullable public WatchlistStandardBreakdown getBreakdown()
Get breakdown- Returns:
- breakdown
-
setBreakdown
public void setBreakdown(WatchlistStandardBreakdown breakdown)
-
properties
public WatchlistStandardReport properties(WatchlistStandardProperties properties)
-
getProperties
@Nullable public WatchlistStandardProperties getProperties()
Get properties- Returns:
- properties
-
setProperties
public void setProperties(WatchlistStandardProperties properties)
-
putAdditionalProperty
public WatchlistStandardReport 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 WatchlistStandardReport 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 WatchlistStandardReport
-
fromJson
public static WatchlistStandardReport fromJson(String jsonString) throws IOException
Create an instance of WatchlistStandardReport given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WatchlistStandardReport
- Throws:
IOException- if the JSON string is invalid with respect to WatchlistStandardReport
-
toJson
public String toJson()
Convert an instance of WatchlistStandardReport to an JSON string- Returns:
- JSON string
-
-