Class UnclaimedDraftCreateEmbeddedWithTemplateRequest


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class UnclaimedDraftCreateEmbeddedWithTemplateRequest
    extends java.lang.Object
    UnclaimedDraftCreateEmbeddedWithTemplateRequest
    • Field Detail

      • JSON_PROPERTY_CLIENT_ID

        public static final java.lang.String JSON_PROPERTY_CLIENT_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_REQUESTER_EMAIL_ADDRESS

        public static final java.lang.String JSON_PROPERTY_REQUESTER_EMAIL_ADDRESS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_TEMPLATE_IDS

        public static final java.lang.String JSON_PROPERTY_TEMPLATE_IDS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_ALLOW_DECLINE

        public static final java.lang.String JSON_PROPERTY_ALLOW_DECLINE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_ALLOW_REASSIGN

        public static final java.lang.String JSON_PROPERTY_ALLOW_REASSIGN
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CCS

        public static final java.lang.String JSON_PROPERTY_CCS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_CUSTOM_FIELDS

        public static final java.lang.String JSON_PROPERTY_CUSTOM_FIELDS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_EDITOR_OPTIONS

        public static final java.lang.String JSON_PROPERTY_EDITOR_OPTIONS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_FIELD_OPTIONS

        public static final java.lang.String JSON_PROPERTY_FIELD_OPTIONS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_FILE

        public static final java.lang.String JSON_PROPERTY_FILE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_FILE_URL

        public static final java.lang.String JSON_PROPERTY_FILE_URL
        See Also:
        Constant Field Values
      • JSON_PROPERTY_FORCE_SIGNER_ROLES

        public static final java.lang.String JSON_PROPERTY_FORCE_SIGNER_ROLES
        See Also:
        Constant Field Values
      • JSON_PROPERTY_FORCE_SUBJECT_MESSAGE

        public static final java.lang.String JSON_PROPERTY_FORCE_SUBJECT_MESSAGE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_HOLD_REQUEST

        public static final java.lang.String JSON_PROPERTY_HOLD_REQUEST
        See Also:
        Constant Field Values
      • JSON_PROPERTY_IS_FOR_EMBEDDED_SIGNING

        public static final java.lang.String JSON_PROPERTY_IS_FOR_EMBEDDED_SIGNING
        See Also:
        Constant Field Values
      • JSON_PROPERTY_MESSAGE

        public static final java.lang.String JSON_PROPERTY_MESSAGE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_METADATA

        public static final java.lang.String JSON_PROPERTY_METADATA
        See Also:
        Constant Field Values
      • JSON_PROPERTY_PREVIEW_ONLY

        public static final java.lang.String JSON_PROPERTY_PREVIEW_ONLY
        See Also:
        Constant Field Values
      • JSON_PROPERTY_REQUESTING_REDIRECT_URL

        public static final java.lang.String JSON_PROPERTY_REQUESTING_REDIRECT_URL
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SHOW_PREVIEW

        public static final java.lang.String JSON_PROPERTY_SHOW_PREVIEW
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SHOW_PROGRESS_STEPPER

        public static final java.lang.String JSON_PROPERTY_SHOW_PROGRESS_STEPPER
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SIGNERS

        public static final java.lang.String JSON_PROPERTY_SIGNERS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SIGNING_OPTIONS

        public static final java.lang.String JSON_PROPERTY_SIGNING_OPTIONS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SIGNING_REDIRECT_URL

        public static final java.lang.String JSON_PROPERTY_SIGNING_REDIRECT_URL
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SKIP_ME_NOW

        public static final java.lang.String JSON_PROPERTY_SKIP_ME_NOW
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SUBJECT

        public static final java.lang.String JSON_PROPERTY_SUBJECT
        See Also:
        Constant Field Values
      • JSON_PROPERTY_TEST_MODE

        public static final java.lang.String JSON_PROPERTY_TEST_MODE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_TITLE

        public static final java.lang.String JSON_PROPERTY_TITLE
        See Also:
        Constant Field Values
      • JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS

        public static final java.lang.String JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS
        See Also:
        Constant Field Values
    • Constructor Detail

      • UnclaimedDraftCreateEmbeddedWithTemplateRequest

        public UnclaimedDraftCreateEmbeddedWithTemplateRequest()
    • Method Detail

      • getClientId

        @Nonnull
        public java.lang.String getClientId()
        Client id of the app used to create the draft. Used to apply the branding and callback url defined for the app.
        Returns:
        clientId
      • setClientId

        public void setClientId​(java.lang.String clientId)
      • getRequesterEmailAddress

        @Nonnull
        public java.lang.String getRequesterEmailAddress()
        The email address of the user that should be designated as the requester of this draft.
        Returns:
        requesterEmailAddress
      • setRequesterEmailAddress

        public void setRequesterEmailAddress​(java.lang.String requesterEmailAddress)
      • getTemplateIds

        @Nonnull
        public java.util.List<java.lang.String> getTemplateIds()
        Use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the templates will be used.
        Returns:
        templateIds
      • setTemplateIds

        public void setTemplateIds​(java.util.List<java.lang.String> templateIds)
      • getAllowDecline

        @Nullable
        public java.lang.Boolean getAllowDecline()
        Allows signers to decline to sign a document if `true`. Defaults to `false`.
        Returns:
        allowDecline
      • setAllowDecline

        public void setAllowDecline​(java.lang.Boolean allowDecline)
      • getAllowReassign

        @Nullable
        public java.lang.Boolean getAllowReassign()
        Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`. **Note**: Only available for Premium plan and higher.
        Returns:
        allowReassign
      • setAllowReassign

        public void setAllowReassign​(java.lang.Boolean allowReassign)
      • getCcs

        @Nullable
        public java.util.List<SubCC> getCcs()
        Add CC email recipients. Required when a CC role exists for the Template.
        Returns:
        ccs
      • setCcs

        public void setCcs​(java.util.List<SubCC> ccs)
      • getCustomFields

        @Nullable
        public java.util.List<SubCustomField> getCustomFields()
        An array defining values and options for custom fields. Required when a custom field exists in the Template.
        Returns:
        customFields
      • setCustomFields

        public void setCustomFields​(java.util.List<SubCustomField> customFields)
      • getEditorOptions

        @Nullable
        public SubEditorOptions getEditorOptions()
        Get editorOptions
        Returns:
        editorOptions
      • setEditorOptions

        public void setEditorOptions​(SubEditorOptions editorOptions)
      • getFieldOptions

        @Nullable
        public SubFieldOptions getFieldOptions()
        Get fieldOptions
        Returns:
        fieldOptions
      • setFieldOptions

        public void setFieldOptions​(SubFieldOptions fieldOptions)
      • getFile

        @Nullable
        public java.util.List<java.io.File> getFile()
        Use `file[]` to append additional files to the signature request being created from the template. HelloSign will parse the files for [text tags](https://app.hellosign.com/api/textTagsWalkthrough) and append it to the signature request. Text tags for signers not on the template(s) will be ignored. **file** or **file_url[]** is required, but not both.
        Returns:
        file
      • setFile

        public void setFile​(java.util.List<java.io.File> file)
      • getFileUrl

        @Nullable
        public java.util.List<java.lang.String> getFileUrl()
        Use file_url[] to append additional files to the signature request being created from the template. HelloSign will download the file, then parse it for [text tags](https://app.hellosign.com/api/textTagsWalkthrough), and append to the signature request. Text tags for signers not on the template(s) will be ignored. **file** or **file_url[]** is required, but not both.
        Returns:
        fileUrl
      • setFileUrl

        public void setFileUrl​(java.util.List<java.lang.String> fileUrl)
      • getForceSignerRoles

        @Nullable
        public java.lang.Boolean getForceSignerRoles()
        Provide users the ability to review/edit the template signer roles.
        Returns:
        forceSignerRoles
      • setForceSignerRoles

        public void setForceSignerRoles​(java.lang.Boolean forceSignerRoles)
      • getForceSubjectMessage

        @Nullable
        public java.lang.Boolean getForceSubjectMessage()
        Provide users the ability to review/edit the template subject and message.
        Returns:
        forceSubjectMessage
      • setForceSubjectMessage

        public void setForceSubjectMessage​(java.lang.Boolean forceSubjectMessage)
      • getHoldRequest

        @Nullable
        public java.lang.Boolean getHoldRequest()
        The request from this draft will not automatically send to signers post-claim if set to 1. Requester must [release](/api/reference/operation/signatureRequestReleaseHold/) the request from hold when ready to send. Defaults to `false`.
        Returns:
        holdRequest
      • setHoldRequest

        public void setHoldRequest​(java.lang.Boolean holdRequest)
      • getIsForEmbeddedSigning

        @Nullable
        public java.lang.Boolean getIsForEmbeddedSigning()
        The request created from this draft will also be signable in embedded mode if set to `true`. Defaults to `false`.
        Returns:
        isForEmbeddedSigning
      • setIsForEmbeddedSigning

        public void setIsForEmbeddedSigning​(java.lang.Boolean isForEmbeddedSigning)
      • getMessage

        @Nullable
        public java.lang.String getMessage()
        The custom message in the email that will be sent to the signers.
        Returns:
        message
      • setMessage

        public void setMessage​(java.lang.String message)
      • getMetadata

        @Nullable
        public java.util.Map<java.lang.String,​java.lang.Object> getMetadata()
        Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long.
        Returns:
        metadata
      • setMetadata

        public void setMetadata​(java.util.Map<java.lang.String,​java.lang.Object> metadata)
      • getPreviewOnly

        @Nullable
        public java.lang.Boolean getPreviewOnly()
        This allows the requester to enable the preview experience (i.e. does not allow the requester's end user to add any additional fields via the editor). - `preview_only=true`: Allows requesters to enable the preview only experience. - `preview_only=false`: Allows requesters to disable the preview only experience. **Note**: This parameter overwrites `show_preview=1` (if set).
        Returns:
        previewOnly
      • setPreviewOnly

        public void setPreviewOnly​(java.lang.Boolean previewOnly)
      • getRequestingRedirectUrl

        @Nullable
        public java.lang.String getRequestingRedirectUrl()
        The URL you want signers redirected to after they successfully request a signature.
        Returns:
        requestingRedirectUrl
      • setRequestingRedirectUrl

        public void setRequestingRedirectUrl​(java.lang.String requestingRedirectUrl)
      • getShowPreview

        @Nullable
        public java.lang.Boolean getShowPreview()
        This allows the requester to enable the editor/preview experience. - `show_preview=true`: Allows requesters to enable the editor/preview experience. - `show_preview=false`: Allows requesters to disable the editor/preview experience.
        Returns:
        showPreview
      • setShowPreview

        public void setShowPreview​(java.lang.Boolean showPreview)
      • getShowProgressStepper

        @Nullable
        public java.lang.Boolean getShowProgressStepper()
        When only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden.
        Returns:
        showProgressStepper
      • setShowProgressStepper

        public void setShowProgressStepper​(java.lang.Boolean showProgressStepper)
      • getSigners

        @Nullable
        public java.util.List<SubUnclaimedDraftTemplateSigner> getSigners()
        Add Signers to your Templated-based Signature Request.
        Returns:
        signers
      • getSigningOptions

        @Nullable
        public SubSigningOptions getSigningOptions()
        Get signingOptions
        Returns:
        signingOptions
      • setSigningOptions

        public void setSigningOptions​(SubSigningOptions signingOptions)
      • getSigningRedirectUrl

        @Nullable
        public java.lang.String getSigningRedirectUrl()
        The URL you want signers redirected to after they successfully sign.
        Returns:
        signingRedirectUrl
      • setSigningRedirectUrl

        public void setSigningRedirectUrl​(java.lang.String signingRedirectUrl)
      • getSkipMeNow

        @Nullable
        public java.lang.Boolean getSkipMeNow()
        Disables the \"Me (Now)\" option for the person preparing the document. Does not work with type `send_document`. Defaults to `false`.
        Returns:
        skipMeNow
      • setSkipMeNow

        public void setSkipMeNow​(java.lang.Boolean skipMeNow)
      • getSubject

        @Nullable
        public java.lang.String getSubject()
        The subject in the email that will be sent to the signers.
        Returns:
        subject
      • setSubject

        public void setSubject​(java.lang.String subject)
      • getTestMode

        @Nullable
        public java.lang.Boolean getTestMode()
        Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`.
        Returns:
        testMode
      • setTestMode

        public void setTestMode​(java.lang.Boolean testMode)
      • getTitle

        @Nullable
        public java.lang.String getTitle()
        The title you want to assign to the SignatureRequest.
        Returns:
        title
      • setTitle

        public void setTitle​(java.lang.String title)
      • getPopulateAutoFillFields

        @Nullable
        public java.lang.Boolean getPopulateAutoFillFields()
        Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing. ⚠️ **Note** ⚠️: Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature.
        Returns:
        populateAutoFillFields
      • setPopulateAutoFillFields

        public void setPopulateAutoFillFields​(java.lang.Boolean populateAutoFillFields)
      • equals

        public boolean equals​(java.lang.Object o)
        Return true if this UnclaimedDraftCreateEmbeddedWithTemplateRequest object is equal to o.
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • createFormData

        public java.util.Map<java.lang.String,​java.lang.Object> createFormData()
                                                                              throws ApiException
        Throws:
        ApiException