Package model
Class ModelFile
- java.lang.Object
-
- model.ModelFile
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ModelFile extends Object
ModelFile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelFile.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICATION_IDstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DISPLAY_NAMEstatic StringSERIALIZED_NAME_EXTENSIONstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_IDENTITY_IDstatic StringSERIALIZED_NAME_LINKED_TOstatic StringSERIALIZED_NAME_LINKED_TYPEstatic StringSERIALIZED_NAME_PLATFORM_IDstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description ModelFile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelFileapplicationId(String applicationId)ModelFilecreatedAt(OffsetDateTime createdAt)ModelFiledisplayName(String displayName)booleanequals(Object o)ModelFileextension(String extension)static ModelFilefromJson(String jsonString)Create an instance of ModelFile given an JSON stringStringgetApplicationId()The ID of the `Application` that the `File` was created under.OffsetDateTimegetCreatedAt()Timestamp of when the object was created.StringgetDisplayName()The name of the `File` object.StringgetExtension()The extension of the file.StringgetId()The ID of the `File` resource.StringgetIdentityId()ID of the `Identity` that created the `File`.StringgetLinkedTo()The resource ID the `File` is linked to.StringgetLinkedType()Autofills to **Merchant**.StringgetPlatformId()The ID of the `Platform` that the `File` was created under.StringgetStatus()The status of the file's review.Map<String,String>getTags()Key value pair for annotating custom meta data (e.g.StringgetType()The type of document.OffsetDateTimegetUpdatedAt()Timestamp of when the object was last updated.inthashCode()ModelFileid(String id)ModelFileidentityId(String identityId)ModelFilelinkedTo(String linkedTo)ModelFilelinkedType(String linkedType)ModelFileplatformId(String platformId)ModelFileputTagsItem(String key, String tagsItem)voidsetApplicationId(String applicationId)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDisplayName(String displayName)voidsetExtension(String extension)voidsetId(String id)voidsetIdentityId(String identityId)voidsetLinkedTo(String linkedTo)voidsetLinkedType(String linkedType)voidsetPlatformId(String platformId)voidsetStatus(String status)voidsetTags(Map<String,String> tags)voidsetType(String type)voidsetUpdatedAt(OffsetDateTime updatedAt)ModelFilestatus(String status)ModelFiletags(Map<String,String> tags)StringtoJson()Convert an instance of ModelFile to an JSON stringStringtoString()ModelFiletype(String type)ModelFileupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object 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_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICATION_ID
public static final String SERIALIZED_NAME_APPLICATION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DISPLAY_NAME
public static final String SERIALIZED_NAME_DISPLAY_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXTENSION
public static final String SERIALIZED_NAME_EXTENSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IDENTITY_ID
public static final String SERIALIZED_NAME_IDENTITY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKED_TO
public static final String SERIALIZED_NAME_LINKED_TO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKED_TYPE
public static final String SERIALIZED_NAME_LINKED_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PLATFORM_ID
public static final String SERIALIZED_NAME_PLATFORM_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setId
public void setId(String id)
-
createdAt
public ModelFile createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public ModelFile updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
getApplicationId
@Nullable public String getApplicationId()
The ID of the `Application` that the `File` was created under.- Returns:
- applicationId
-
setApplicationId
public void setApplicationId(String applicationId)
-
getDisplayName
@Nullable public String 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
public void setDisplayName(String displayName)
-
setExtension
public void setExtension(String extension)
-
getIdentityId
@Nullable public String getIdentityId()
ID of the `Identity` that created the `File`.- Returns:
- identityId
-
setIdentityId
public void setIdentityId(String identityId)
-
getLinkedTo
@Nullable public String getLinkedTo()
The resource ID the `File` is linked to.- Returns:
- linkedTo
-
setLinkedTo
public void setLinkedTo(String linkedTo)
-
getLinkedType
@Nullable public String getLinkedType()
Autofills to **Merchant**.- Returns:
- linkedType
-
setLinkedType
public void setLinkedType(String linkedType)
-
getPlatformId
@Nullable public String getPlatformId()
The ID of the `Platform` that the `File` was created under.- Returns:
- platformId
-
setPlatformId
public void setPlatformId(String platformId)
-
getStatus
@Nullable public String 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
public void setStatus(String status)
-
getTags
@Nullable public Map<String,String> getTags()
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setType
public void setType(String type)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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
public static ModelFile fromJson(String jsonString) throws IOException
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
public String toJson()
Convert an instance of ModelFile to an JSON string- Returns:
- JSON string
-
-