Class WorkflowRunLink


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.9.0")
    public class WorkflowRunLink
    extends Object
    WorkflowRunLink
    • Constructor Detail

      • WorkflowRunLink

        public WorkflowRunLink()
    • Method Detail

      • getUrl

        @Nullable
        public String getUrl()
        Link to access the Workflow Run without the need to integrate with Onfido's SDKs.
        Returns:
        url
      • setUrl

        public void setUrl​(String url)
      • getCompletedRedirectUrl

        @Nullable
        public String getCompletedRedirectUrl()
        When the interactive section of the Workflow Run has completed successfully, the user will be redirected to this URL instead of seeing the default Onfido 'thank you' page.
        Returns:
        completedRedirectUrl
      • setCompletedRedirectUrl

        public void setCompletedRedirectUrl​(String completedRedirectUrl)
      • getExpiredRedirectUrl

        @Nullable
        public String getExpiredRedirectUrl()
        When the link has expired, the user will be immediately redirected to this URL instead of seeing the default Onfido error message.
        Returns:
        expiredRedirectUrl
      • setExpiredRedirectUrl

        public void setExpiredRedirectUrl​(String expiredRedirectUrl)
      • getExpiresAt

        @Nullable
        public OffsetDateTime getExpiresAt()
        Date and time when the link will expire.
        Returns:
        expiresAt
      • setExpiresAt

        public void setExpiresAt​(OffsetDateTime expiresAt)
      • putAdditionalProperty

        public WorkflowRunLink 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 property
        value - value of the property
        Returns:
        the WorkflowRunLink 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
      • hashCode

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

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates 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 WorkflowRunLink
      • fromJson

        public static WorkflowRunLink fromJson​(String jsonString)
                                        throws IOException
        Create an instance of WorkflowRunLink given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of WorkflowRunLink
        Throws:
        IOException - if the JSON string is invalid with respect to WorkflowRunLink
      • toJson

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