Package com.onfido.model
Class MotionCapturesList
- java.lang.Object
-
- com.onfido.model.MotionCapturesList
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class MotionCapturesList extends Object
MotionCapturesList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMotionCapturesList.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_MOTION_CAPTURES
-
Constructor Summary
Constructors Constructor Description MotionCapturesList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MotionCapturesListaddMotionCapturesItem(MotionCapture motionCapturesItem)booleanequals(Object o)static MotionCapturesListfromJson(String jsonString)Create an instance of MotionCapturesList given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.List<MotionCapture>getMotionCaptures()Get motionCapturesinthashCode()MotionCapturesListmotionCaptures(List<MotionCapture> motionCaptures)MotionCapturesListputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.voidsetMotionCaptures(List<MotionCapture> motionCaptures)StringtoJson()Convert an instance of MotionCapturesList to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Method Detail
-
motionCaptures
public MotionCapturesList motionCaptures(List<MotionCapture> motionCaptures)
-
addMotionCapturesItem
public MotionCapturesList addMotionCapturesItem(MotionCapture motionCapturesItem)
-
getMotionCaptures
@Nonnull public List<MotionCapture> getMotionCaptures()
Get motionCaptures- Returns:
- motionCaptures
-
setMotionCaptures
public void setMotionCaptures(List<MotionCapture> motionCaptures)
-
putAdditionalProperty
public MotionCapturesList 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 MotionCapturesList 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 MotionCapturesList
-
fromJson
public static MotionCapturesList fromJson(String jsonString) throws IOException
Create an instance of MotionCapturesList given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MotionCapturesList
- Throws:
IOException- if the JSON string is invalid with respect to MotionCapturesList
-
toJson
public String toJson()
Convert an instance of MotionCapturesList to an JSON string- Returns:
- JSON string
-
-