Package model
Class ModelFile
java.lang.Object
model.ModelFile
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class ModelFile
extends Object
ModelFile
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) createdAt(OffsetDateTime createdAt) displayName(String displayName) booleanstatic ModelFileCreate an instance of ModelFile given an JSON stringThe ID of the `Application` that the `File` was created under.Timestamp of when the object was created.The name of the `File` object.The extension of the file.getId()The ID of the `File` resource.ID of the `Identity` that created the `File`.The resource ID the `File` is linked to.Autofills to **Merchant**.The ID of the `Platform` that the `File` was created under.The status of the file's review.getTags()Key value pair for annotating custom meta data (e.g.getType()The type of document.Timestamp of when the object was last updated.inthashCode()identityId(String identityId) linkedType(String linkedType) platformId(String platformId) putTagsItem(String key, String tagsItem) voidsetApplicationId(String applicationId) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDisplayName(String displayName) voidsetExtension(String extension) voidvoidsetIdentityId(String identityId) voidsetLinkedTo(String linkedTo) voidsetLinkedType(String linkedType) voidsetPlatformId(String platformId) voidvoidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of ModelFile to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_LINKED_TYPE
- See Also:
-
SERIALIZED_NAME_LINKED_TO
- See Also:
-
SERIALIZED_NAME_EXTENSION
- See Also:
-
SERIALIZED_NAME_DISPLAY_NAME
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_PLATFORM_ID
- See Also:
-
SERIALIZED_NAME_APPLICATION_ID
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_IDENTITY_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ModelFile
public ModelFile()
-
-
Method Details
-
id
-
getId
The ID of the `File` resource.- Returns:
- id
-
setId
-
status
-
getStatus
The status of the file's review. The statuses available includes:<br><li><strong>REQUIRES_UPLOAD</strong>: A file still needs to be uploaded to the file object.<br><li><strong>PENDING</strong>: Finix's underwriting team is still reviewing the uploaded files.<br><li><strong>INVALID</strong>: The file couldn't be read.<br><li><strong>UPLOADED</strong>: The file has been uploaded to the resource.- Returns:
- status
-
setStatus
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
linkedType
-
getLinkedType
Autofills to **Merchant**.- Returns:
- linkedType
-
setLinkedType
-
linkedTo
-
getLinkedTo
The resource ID the `File` is linked to.- Returns:
- linkedTo
-
setLinkedTo
-
extension
-
getExtension
The extension of the file.- Returns:
- extension
-
setExtension
-
displayName
-
getDisplayName
The name of the `File` object. If you don't provide a name, Finix will name the object with the convention: **FILE_(file_id)**.- Returns:
- displayName
-
setDisplayName
-
type
-
getType
The type of document.- Returns:
- type
-
setType
-
platformId
-
getPlatformId
The ID of the `Platform` that the `File` was created under.- Returns:
- platformId
-
setPlatformId
-
applicationId
-
getApplicationId
The ID of the `Application` that the `File` was created under.- Returns:
- applicationId
-
setApplicationId
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
identityId
-
getIdentityId
ID of the `Identity` that created the `File`.- Returns:
- identityId
-
setIdentityId
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ModelFile
-
fromJson
Create an instance of ModelFile given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ModelFile
- Throws:
IOException- if the JSON string is invalid with respect to ModelFile
-
toJson
Convert an instance of ModelFile to an JSON string- Returns:
- JSON string
-