Package com.onfido.model
Class WatchlistEnhancedPropertiesRecordsInnerEventInner
- java.lang.Object
-
- com.onfido.model.WatchlistEnhancedPropertiesRecordsInnerEventInner
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class WatchlistEnhancedPropertiesRecordsInnerEventInner extends Object
WatchlistEnhancedPropertiesRecordsInnerEventInner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWatchlistEnhancedPropertiesRecordsInnerEventInner.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CATEGORYstatic StringSERIALIZED_NAME_EVENT_DATEstatic StringSERIALIZED_NAME_EVENT_DESCRIPTIONstatic StringSERIALIZED_NAME_SOURCEstatic StringSERIALIZED_NAME_SUB_CATEGORY
-
Constructor Summary
Constructors Constructor Description WatchlistEnhancedPropertiesRecordsInnerEventInner()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_CATEGORY
public static final String SERIALIZED_NAME_CATEGORY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EVENT_DATE
public static final String SERIALIZED_NAME_EVENT_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EVENT_DESCRIPTION
public static final String SERIALIZED_NAME_EVENT_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOURCE
public static final String SERIALIZED_NAME_SOURCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUB_CATEGORY
public static final String SERIALIZED_NAME_SUB_CATEGORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
category
public WatchlistEnhancedPropertiesRecordsInnerEventInner category(String category)
-
setCategory
public void setCategory(String category)
-
eventDate
public WatchlistEnhancedPropertiesRecordsInnerEventInner eventDate(LocalDate eventDate)
-
setEventDate
public void setEventDate(LocalDate eventDate)
-
eventDescription
public WatchlistEnhancedPropertiesRecordsInnerEventInner eventDescription(String eventDescription)
-
getEventDescription
@Nullable public String getEventDescription()
Get eventDescription- Returns:
- eventDescription
-
setEventDescription
public void setEventDescription(String eventDescription)
-
source
public WatchlistEnhancedPropertiesRecordsInnerEventInner source(WatchlistEnhancedPropertiesRecordsInnerEventInnerSource source)
-
getSource
@Nullable public WatchlistEnhancedPropertiesRecordsInnerEventInnerSource getSource()
Get source- Returns:
- source
-
setSource
public void setSource(WatchlistEnhancedPropertiesRecordsInnerEventInnerSource source)
-
subCategory
public WatchlistEnhancedPropertiesRecordsInnerEventInner subCategory(String subCategory)
-
setSubCategory
public void setSubCategory(String subCategory)
-
putAdditionalProperty
public WatchlistEnhancedPropertiesRecordsInnerEventInner 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 WatchlistEnhancedPropertiesRecordsInnerEventInner 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 WatchlistEnhancedPropertiesRecordsInnerEventInner
-
fromJson
public static WatchlistEnhancedPropertiesRecordsInnerEventInner fromJson(String jsonString) throws IOException
Create an instance of WatchlistEnhancedPropertiesRecordsInnerEventInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WatchlistEnhancedPropertiesRecordsInnerEventInner
- Throws:
IOException- if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerEventInner
-
toJson
public String toJson()
Convert an instance of WatchlistEnhancedPropertiesRecordsInnerEventInner to an JSON string- Returns:
- JSON string
-
-