Package com.onfido.model
Class MotionCapture
- java.lang.Object
-
- com.onfido.model.MotionCapture
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class MotionCapture extends Object
MotionCapture
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMotionCapture.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DOWNLOAD_HREFstatic StringSERIALIZED_NAME_FILE_NAMEstatic StringSERIALIZED_NAME_FILE_SIZEstatic StringSERIALIZED_NAME_FILE_TYPEstatic StringSERIALIZED_NAME_HREFstatic StringSERIALIZED_NAME_ID
-
Constructor Summary
Constructors Constructor Description MotionCapture()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MotionCapturecreatedAt(OffsetDateTime createdAt)MotionCapturedownloadHref(String downloadHref)booleanequals(Object o)MotionCapturefileName(String fileName)MotionCapturefileSize(Integer fileSize)MotionCapturefileType(String fileType)static MotionCapturefromJson(String jsonString)Create an instance of MotionCapture given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.OffsetDateTimegetCreatedAt()The date and time at which the motion capture was uploaded.StringgetDownloadHref()The uri that can be used to download the motion capture.StringgetFileName()The name of the uploaded file.IntegergetFileSize()The size of the file in bytes.StringgetFileType()The file type of the uploaded file.StringgetHref()The uri of this resource.UUIDgetId()The unique identifier for the motion capture.inthashCode()MotionCapturehref(String href)MotionCaptureid(UUID id)MotionCaptureputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(OffsetDateTime createdAt)voidsetDownloadHref(String downloadHref)voidsetFileName(String fileName)voidsetFileSize(Integer fileSize)voidsetFileType(String fileType)voidsetHref(String href)voidsetId(UUID id)StringtoJson()Convert an instance of MotionCapture to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
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_DOWNLOAD_HREF
public static final String SERIALIZED_NAME_DOWNLOAD_HREF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILE_NAME
public static final String SERIALIZED_NAME_FILE_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILE_SIZE
public static final String SERIALIZED_NAME_FILE_SIZE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILE_TYPE
public static final String SERIALIZED_NAME_FILE_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public MotionCapture id(UUID id)
-
setId
public void setId(UUID id)
-
createdAt
public MotionCapture createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
The date and time at which the motion capture was uploaded.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
href
public MotionCapture href(String href)
-
setHref
public void setHref(String href)
-
downloadHref
public MotionCapture downloadHref(String downloadHref)
-
getDownloadHref
@Nullable public String getDownloadHref()
The uri that can be used to download the motion capture.- Returns:
- downloadHref
-
setDownloadHref
public void setDownloadHref(String downloadHref)
-
fileName
public MotionCapture fileName(String fileName)
-
setFileName
public void setFileName(String fileName)
-
fileSize
public MotionCapture fileSize(Integer fileSize)
-
setFileSize
public void setFileSize(Integer fileSize)
-
fileType
public MotionCapture fileType(String fileType)
-
getFileType
@Nullable public String getFileType()
The file type of the uploaded file.- Returns:
- fileType
-
setFileType
public void setFileType(String fileType)
-
putAdditionalProperty
public MotionCapture 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 MotionCapture 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 MotionCapture
-
fromJson
public static MotionCapture fromJson(String jsonString) throws IOException
Create an instance of MotionCapture given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MotionCapture
- Throws:
IOException- if the JSON string is invalid with respect to MotionCapture
-
toJson
public String toJson()
Convert an instance of MotionCapture to an JSON string- Returns:
- JSON string
-
-