001package com.box.sdk;
002
003/**
004 * Box's ready-sign link feature enables you to create a link to a signature request that you've created from a template.
005 * Use this link when you want to post a signature request on a public form — such as an email,
006 * social media post, or web page — without knowing who the signers will be.
007 * Note: The ready-sign link feature is limited to Enterprise Plus customers and not available to Box Verified Enterprises.
008 */
009public class BoxSignTemplateReadySignLink {
010    private final String folderID;
011    private final String instructions;
012    private final boolean isActive;
013    private final boolean isNofiticationDisabled;
014    private final String name;
015    private final String url;
016
017    /**
018     * Constructs a BoxSignTemplateReadySignLink object with the provided information.
019     *
020     * @param folderID               the folder ID.
021     * @param instructions           the instructions.
022     * @param isActive               whether the link is active or not.
023     * @param isNofiticationDisabled whether the notification is disabled or not.
024     * @param name                   the name.
025     * @param url                    the URL.
026     */
027    public BoxSignTemplateReadySignLink(String folderID, String instructions, boolean isActive,
028                                        boolean isNofiticationDisabled, String name, String url) {
029        this.folderID = folderID;
030        this.instructions = instructions;
031        this.isActive = isActive;
032        this.isNofiticationDisabled = isNofiticationDisabled;
033        this.name = name;
034        this.url = url;
035    }
036
037    /**
038     * Gets the folder ID.
039     *
040     * @return the folder ID.
041     */
042    public String getFolderID() {
043        return this.folderID;
044    }
045
046    /**
047     * Gets the instructions.
048     *
049     * @return the instructions.
050     */
051    public String getInstructions() {
052        return this.instructions;
053    }
054
055    /**
056     * Gets whether the link is active or not.
057     *
058     * @return true if the link is active; otherwise false.
059     */
060    public boolean getIsActive() {
061        return this.isActive;
062    }
063
064    /**
065     * Gets whether the notification is disabled or not.
066     *
067     * @return true if the notification is disabled; otherwise false.
068     */
069    public boolean getIsNofiticationDisabled() {
070        return this.isNofiticationDisabled;
071    }
072
073    /**
074     * Gets the name of the ready-sign link.
075     *
076     * @return the name.
077     */
078    public String getName() {
079        return this.name;
080    }
081
082    /**
083     * Gets the URL of the ready-sign link.
084     *
085     * @return the URL.
086     */
087    public String getUrl() {
088        return this.url;
089    }
090}