Class TemplateUpdateFilesRequest


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

      • JSON_PROPERTY_CLIENT_ID

        public static final java.lang.String JSON_PROPERTY_CLIENT_ID
        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_MESSAGE

        public static final java.lang.String JSON_PROPERTY_MESSAGE
        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
    • Constructor Detail

      • TemplateUpdateFilesRequest

        public TemplateUpdateFilesRequest()
    • Method Detail

      • getClientId

        @Nullable
        public java.lang.String getClientId()
        Client id of the app you're using to update this template.
        Returns:
        clientId
      • setClientId

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

        @Nullable
        public java.util.List<java.io.File> getFile()
        Use `file[]` to indicate the uploaded file(s) to use for the template. This endpoint requires either **file** or **file_url[]**, 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 have HelloSign download the file(s) to use for the template. This endpoint requires either **file** or **file_url[]**, but not both.
        Returns:
        fileUrl
      • setFileUrl

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

        @Nullable
        public java.lang.String getMessage()
        The new default template email message.
        Returns:
        message
      • setMessage

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

        @Nullable
        public java.lang.String getSubject()
        The new default template email subject.
        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)
      • equals

        public boolean equals​(java.lang.Object o)
        Return true if this TemplateUpdateFilesRequest 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