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
  • Field Details

  • Constructor Details

    • ExternalLink

      public ExternalLink()
  • Method Details

    • id

      public ExternalLink id(String id)
    • getId

      @Nullable public String getId()
      The ID of the `external_Link` resource.
      Returns:
      id
    • setId

      public void setId(String id)
    • createdAt

      public ExternalLink createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Timestamp of when the object was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • url

      public ExternalLink url(String url)
    • getUrl

      @Nullable public String getUrl()
      The URL you can share with merchants to **UPLOAD** or **DOWNLOAD** files depending on the request sent.
      Returns:
      url
    • setUrl

      public void setUrl(String url)
    • type

      public ExternalLink type(String type)
    • getType

      @Nullable public String getType()
      Sets if the link is for uploading or downloading files from Finix.
      Returns:
      type
    • setType

      public void setType(String type)
    • expiresAt

      public ExternalLink expiresAt(String expiresAt)
    • getExpiresAt

      @Nullable public String getExpiresAt()
      The timestamp that the external link expires at.
      Returns:
      expiresAt
    • setExpiresAt

      public void setExpiresAt(String expiresAt)
    • userId

      public ExternalLink userId(String userId)
    • getUserId

      @Nullable public String getUserId()
      The ID of the `user` that requested to create this link.
      Returns:
      userId
    • setUserId

      public void setUserId(String userId)
    • fileId

      public ExternalLink fileId(String fileId)
    • getFileId

      @Nullable public String getFileId()
      The `File` ID the `external_link` is related to.
      Returns:
      fileId
    • setFileId

      public void setFileId(String fileId)
    • tags

      public ExternalLink tags(Map<String,String> tags)
    • putTagsItem

      public ExternalLink putTagsItem(String key, String tagsItem)
    • getTags

      @Nullable public Map<String,String> getTags()
      Key value pair for annotating custom meta data (e.g. order numbers).
      Returns:
      tags
    • setTags

      public void setTags(Map<String,String> tags)
    • expired

      public ExternalLink expired(Boolean expired)
    • getExpired

      @Nullable public Boolean 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

      public void setExpired(Boolean expired)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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

      public static ExternalLink fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of ExternalLink to an JSON string
      Returns:
      JSON string