Package model
Class ExternalLink
java.lang.Object
model.ExternalLink
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class ExternalLink
extends Object
ExternalLink
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanstatic ExternalLinkCreate an instance of ExternalLink given an JSON stringTimestamp of when the object was created.<ul><li>If <strong>TRUE</strong> the link has expired<br><li>If <strong>FALSE</strong>, the link is active and files can still be uploaded or downloaded from the link.The timestamp that the external link expires at.The `File` ID the `external_link` is related to.getId()The ID of the `external_Link` resource.getTags()Key value pair for annotating custom meta data (e.g.getType()Sets if the link is for uploading or downloading files from Finix.getUrl()The URL you can share with merchants to **UPLOAD** or **DOWNLOAD** files depending on the request sent.The ID of the `user` that requested to create this link.inthashCode()putTagsItem(String key, String tagsItem) voidsetCreatedAt(OffsetDateTime createdAt) voidsetExpired(Boolean expired) voidsetExpiresAt(String expiresAt) voidvoidvoidvoidvoidvoidtoJson()Convert an instance of ExternalLink to an JSON stringtoString()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_CREATED_AT
- See Also:
-
SERIALIZED_NAME_URL
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_EXPIRES_AT
- See Also:
-
SERIALIZED_NAME_USER_ID
- See Also:
-
SERIALIZED_NAME_FILE_ID
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_EXPIRED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ExternalLink
public ExternalLink()
-
-
Method Details
-
id
-
getId
The ID of the `external_Link` resource.- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
url
-
getUrl
The URL you can share with merchants to **UPLOAD** or **DOWNLOAD** files depending on the request sent.- Returns:
- url
-
setUrl
-
type
-
getType
Sets if the link is for uploading or downloading files from Finix.- Returns:
- type
-
setType
-
expiresAt
-
getExpiresAt
The timestamp that the external link expires at.- Returns:
- expiresAt
-
setExpiresAt
-
userId
-
getUserId
The ID of the `user` that requested to create this link.- Returns:
- userId
-
setUserId
-
fileId
-
getFileId
The `File` ID the `external_link` is related to.- Returns:
- fileId
-
setFileId
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
expired
-
getExpired
<ul><li>If <strong>TRUE</strong> the link has expired<br><li>If <strong>FALSE</strong>, the link is active and files can still be uploaded or downloaded from the link.- Returns:
- expired
-
setExpired
-
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 ExternalLink
-
fromJson
Create an instance of ExternalLink given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ExternalLink
- Throws:
IOException- if the JSON string is invalid with respect to ExternalLink
-
toJson
Convert an instance of ExternalLink to an JSON string- Returns:
- JSON string
-