dropbox-sign 1.0.0.pre.beta2301 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +7 -9
  4. data/VERSION +1 -0
  5. data/bin/check-clean-git-status +15 -0
  6. data/bin/release +39 -0
  7. data/bin/ruby +1 -0
  8. data/docs/SignatureRequestApi.md +3 -3
  9. data/docs/SignatureRequestCreateEmbeddedRequest.md +1 -1
  10. data/docs/SignatureRequestSendRequest.md +1 -1
  11. data/docs/SubFormFieldsPerDocumentBase.md +1 -1
  12. data/docs/TemplateCreateEmbeddedDraftRequest.md +1 -1
  13. data/docs/UnclaimedDraftApi.md +2 -2
  14. data/docs/UnclaimedDraftCreateEmbeddedRequest.md +1 -1
  15. data/docs/UnclaimedDraftCreateRequest.md +1 -1
  16. data/examples/EventCallback.rb +1 -4
  17. data/examples/SignatureRequestCreateEmbedded.rb +1 -1
  18. data/examples/SignatureRequestSend.rb +2 -2
  19. data/examples/UnclaimedDraftCreate.rb +2 -2
  20. data/lib/dropbox-sign/models/account_create_request.rb +4 -0
  21. data/lib/dropbox-sign/models/account_create_response.rb +3 -0
  22. data/lib/dropbox-sign/models/account_get_response.rb +2 -0
  23. data/lib/dropbox-sign/models/account_response.rb +10 -0
  24. data/lib/dropbox-sign/models/account_response_quotas.rb +5 -0
  25. data/lib/dropbox-sign/models/account_update_request.rb +3 -0
  26. data/lib/dropbox-sign/models/account_verify_request.rb +1 -0
  27. data/lib/dropbox-sign/models/account_verify_response.rb +2 -0
  28. data/lib/dropbox-sign/models/account_verify_response_account.rb +1 -0
  29. data/lib/dropbox-sign/models/api_app_create_request.rb +7 -0
  30. data/lib/dropbox-sign/models/api_app_get_response.rb +2 -0
  31. data/lib/dropbox-sign/models/api_app_list_response.rb +3 -0
  32. data/lib/dropbox-sign/models/api_app_response.rb +10 -0
  33. data/lib/dropbox-sign/models/api_app_response_o_auth.rb +4 -0
  34. data/lib/dropbox-sign/models/api_app_response_options.rb +1 -0
  35. data/lib/dropbox-sign/models/api_app_response_owner_account.rb +2 -0
  36. data/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb +14 -0
  37. data/lib/dropbox-sign/models/api_app_update_request.rb +7 -0
  38. data/lib/dropbox-sign/models/bulk_send_job_get_response.rb +4 -0
  39. data/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb +24 -0
  40. data/lib/dropbox-sign/models/bulk_send_job_list_response.rb +3 -0
  41. data/lib/dropbox-sign/models/bulk_send_job_response.rb +4 -0
  42. data/lib/dropbox-sign/models/bulk_send_job_send_response.rb +2 -0
  43. data/lib/dropbox-sign/models/embedded_edit_url_request.rb +10 -0
  44. data/lib/dropbox-sign/models/embedded_edit_url_response.rb +2 -0
  45. data/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb +2 -0
  46. data/lib/dropbox-sign/models/embedded_sign_url_response.rb +2 -0
  47. data/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb +2 -0
  48. data/lib/dropbox-sign/models/error_response.rb +1 -0
  49. data/lib/dropbox-sign/models/error_response_error.rb +3 -0
  50. data/lib/dropbox-sign/models/event_callback_request.rb +4 -0
  51. data/lib/dropbox-sign/models/event_callback_request_event.rb +4 -0
  52. data/lib/dropbox-sign/models/event_callback_request_event_metadata.rb +4 -0
  53. data/lib/dropbox-sign/models/file_response.rb +2 -0
  54. data/lib/dropbox-sign/models/file_response_data_uri.rb +1 -0
  55. data/lib/dropbox-sign/models/list_info_response.rb +4 -0
  56. data/lib/dropbox-sign/models/o_auth_token_generate_request.rb +5 -0
  57. data/lib/dropbox-sign/models/o_auth_token_refresh_request.rb +2 -0
  58. data/lib/dropbox-sign/models/o_auth_token_response.rb +5 -0
  59. data/lib/dropbox-sign/models/report_create_request.rb +3 -0
  60. data/lib/dropbox-sign/models/report_create_response.rb +2 -0
  61. data/lib/dropbox-sign/models/report_response.rb +4 -0
  62. data/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb +13 -0
  63. data/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb +13 -0
  64. data/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +25 -1
  65. data/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb +15 -0
  66. data/lib/dropbox-sign/models/signature_request_get_response.rb +2 -0
  67. data/lib/dropbox-sign/models/signature_request_list_response.rb +3 -0
  68. data/lib/dropbox-sign/models/signature_request_remind_request.rb +2 -0
  69. data/lib/dropbox-sign/models/signature_request_response.rb +23 -0
  70. data/lib/dropbox-sign/models/signature_request_response_attachment.rb +6 -0
  71. data/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb +5 -0
  72. data/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb +2 -0
  73. data/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb +2 -0
  74. data/lib/dropbox-sign/models/signature_request_response_data_base.rb +5 -0
  75. data/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb +2 -0
  76. data/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb +2 -0
  77. data/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb +2 -0
  78. data/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb +2 -0
  79. data/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb +2 -0
  80. data/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb +2 -0
  81. data/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb +2 -0
  82. data/lib/dropbox-sign/models/signature_request_response_data_value_text.rb +2 -0
  83. data/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb +2 -0
  84. data/lib/dropbox-sign/models/signature_request_response_signatures.rb +19 -0
  85. data/lib/dropbox-sign/models/signature_request_send_request.rb +26 -1
  86. data/lib/dropbox-sign/models/signature_request_send_with_template_request.rb +16 -0
  87. data/lib/dropbox-sign/models/signature_request_update_request.rb +4 -0
  88. data/lib/dropbox-sign/models/sub_attachment.rb +4 -0
  89. data/lib/dropbox-sign/models/sub_bulk_signer_list.rb +2 -0
  90. data/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb +2 -0
  91. data/lib/dropbox-sign/models/sub_cc.rb +2 -0
  92. data/lib/dropbox-sign/models/sub_custom_field.rb +4 -0
  93. data/lib/dropbox-sign/models/sub_editor_options.rb +2 -0
  94. data/lib/dropbox-sign/models/sub_field_options.rb +1 -0
  95. data/lib/dropbox-sign/models/sub_form_field_group.rb +3 -0
  96. data/lib/dropbox-sign/models/sub_form_field_rule.rb +4 -0
  97. data/lib/dropbox-sign/models/sub_form_field_rule_action.rb +4 -0
  98. data/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb +4 -0
  99. data/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb +12 -1
  100. data/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb +3 -0
  101. data/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb +1 -0
  102. data/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb +1 -0
  103. data/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb +3 -0
  104. data/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb +3 -0
  105. data/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb +1 -0
  106. data/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb +3 -0
  107. data/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb +1 -0
  108. data/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb +8 -0
  109. data/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb +1 -0
  110. data/lib/dropbox-sign/models/sub_merge_field.rb +2 -0
  111. data/lib/dropbox-sign/models/sub_o_auth.rb +2 -0
  112. data/lib/dropbox-sign/models/sub_options.rb +1 -0
  113. data/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb +3 -0
  114. data/lib/dropbox-sign/models/sub_signature_request_signer.rb +6 -0
  115. data/lib/dropbox-sign/models/sub_signature_request_template_signer.rb +6 -0
  116. data/lib/dropbox-sign/models/sub_signing_options.rb +5 -0
  117. data/lib/dropbox-sign/models/sub_team_response.rb +2 -0
  118. data/lib/dropbox-sign/models/sub_template_role.rb +2 -0
  119. data/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb +3 -0
  120. data/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb +3 -0
  121. data/lib/dropbox-sign/models/sub_white_labeling_options.rb +15 -0
  122. data/lib/dropbox-sign/models/team_add_member_request.rb +3 -0
  123. data/lib/dropbox-sign/models/team_create_request.rb +1 -0
  124. data/lib/dropbox-sign/models/team_get_info_response.rb +2 -0
  125. data/lib/dropbox-sign/models/team_get_response.rb +2 -0
  126. data/lib/dropbox-sign/models/team_info_response.rb +5 -0
  127. data/lib/dropbox-sign/models/team_invite_response.rb +6 -0
  128. data/lib/dropbox-sign/models/team_invites_response.rb +2 -0
  129. data/lib/dropbox-sign/models/team_member_response.rb +3 -0
  130. data/lib/dropbox-sign/models/team_members_response.rb +3 -0
  131. data/lib/dropbox-sign/models/team_parent_response.rb +2 -0
  132. data/lib/dropbox-sign/models/team_remove_member_request.rb +5 -0
  133. data/lib/dropbox-sign/models/team_response.rb +3 -0
  134. data/lib/dropbox-sign/models/team_sub_teams_response.rb +3 -0
  135. data/lib/dropbox-sign/models/team_update_request.rb +1 -0
  136. data/lib/dropbox-sign/models/template_add_user_request.rb +3 -0
  137. data/lib/dropbox-sign/models/template_create_embedded_draft_request.rb +26 -1
  138. data/lib/dropbox-sign/models/template_create_embedded_draft_response.rb +2 -0
  139. data/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb +4 -0
  140. data/lib/dropbox-sign/models/template_edit_response.rb +1 -0
  141. data/lib/dropbox-sign/models/template_get_response.rb +2 -0
  142. data/lib/dropbox-sign/models/template_list_response.rb +3 -0
  143. data/lib/dropbox-sign/models/template_remove_user_request.rb +2 -0
  144. data/lib/dropbox-sign/models/template_response.rb +15 -0
  145. data/lib/dropbox-sign/models/template_response_account.rb +6 -0
  146. data/lib/dropbox-sign/models/template_response_account_quota.rb +4 -0
  147. data/lib/dropbox-sign/models/template_response_cc_role.rb +1 -0
  148. data/lib/dropbox-sign/models/template_response_custom_field.rb +13 -0
  149. data/lib/dropbox-sign/models/template_response_document.rb +6 -0
  150. data/lib/dropbox-sign/models/template_response_document_custom_field.rb +16 -0
  151. data/lib/dropbox-sign/models/template_response_document_field_group.rb +2 -0
  152. data/lib/dropbox-sign/models/template_response_document_form_field.rb +14 -0
  153. data/lib/dropbox-sign/models/template_response_document_static_field.rb +10 -0
  154. data/lib/dropbox-sign/models/template_response_field_avg_text_length.rb +2 -0
  155. data/lib/dropbox-sign/models/template_response_named_form_field.rb +14 -0
  156. data/lib/dropbox-sign/models/template_response_signer_role.rb +2 -0
  157. data/lib/dropbox-sign/models/template_update_files_request.rb +6 -0
  158. data/lib/dropbox-sign/models/template_update_files_response.rb +1 -0
  159. data/lib/dropbox-sign/models/template_update_files_response_template.rb +2 -0
  160. data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb +37 -1
  161. data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb +29 -0
  162. data/lib/dropbox-sign/models/unclaimed_draft_create_request.rb +25 -1
  163. data/lib/dropbox-sign/models/unclaimed_draft_create_response.rb +2 -0
  164. data/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb +8 -0
  165. data/lib/dropbox-sign/models/unclaimed_draft_response.rb +6 -0
  166. data/lib/dropbox-sign/models/warning_response.rb +2 -0
  167. data/lib/dropbox-sign/version.rb +1 -1
  168. data/openapi-config.yaml +6 -1
  169. data/openapi-sdk.yaml +7 -10
  170. data/spec/models/sub_form_fields_per_document_base_spec.rb +24 -0
  171. data/templates/README.mustache +3 -5
  172. data/templates/VERSION-root.mustache +1 -0
  173. data/templates/partial_model_generic.mustache +1 -0
  174. metadata +17 -56
  175. data/vendor/autoload.php +0 -7
  176. data/vendor/bin/yaml-lint +0 -117
  177. data/vendor/composer/ClassLoader.php +0 -572
  178. data/vendor/composer/InstalledVersions.php +0 -350
  179. data/vendor/composer/LICENSE +0 -21
  180. data/vendor/composer/autoload_classmap.php +0 -10
  181. data/vendor/composer/autoload_files.php +0 -11
  182. data/vendor/composer/autoload_namespaces.php +0 -9
  183. data/vendor/composer/autoload_psr4.php +0 -11
  184. data/vendor/composer/autoload_real.php +0 -80
  185. data/vendor/composer/autoload_static.php +0 -46
  186. data/vendor/composer/installed.json +0 -239
  187. data/vendor/composer/installed.php +0 -50
  188. data/vendor/composer/platform_check.php +0 -26
  189. data/vendor/symfony/deprecation-contracts/.gitignore +0 -3
  190. data/vendor/symfony/deprecation-contracts/CHANGELOG.md +0 -5
  191. data/vendor/symfony/deprecation-contracts/LICENSE +0 -19
  192. data/vendor/symfony/deprecation-contracts/README.md +0 -26
  193. data/vendor/symfony/deprecation-contracts/composer.json +0 -35
  194. data/vendor/symfony/deprecation-contracts/function.php +0 -27
  195. data/vendor/symfony/polyfill-ctype/Ctype.php +0 -232
  196. data/vendor/symfony/polyfill-ctype/LICENSE +0 -19
  197. data/vendor/symfony/polyfill-ctype/README.md +0 -12
  198. data/vendor/symfony/polyfill-ctype/bootstrap.php +0 -50
  199. data/vendor/symfony/polyfill-ctype/bootstrap80.php +0 -46
  200. data/vendor/symfony/polyfill-ctype/composer.json +0 -41
  201. data/vendor/symfony/yaml/CHANGELOG.md +0 -237
  202. data/vendor/symfony/yaml/Command/LintCommand.php +0 -289
  203. data/vendor/symfony/yaml/Dumper.php +0 -140
  204. data/vendor/symfony/yaml/Escaper.php +0 -95
  205. data/vendor/symfony/yaml/Exception/DumpException.php +0 -21
  206. data/vendor/symfony/yaml/Exception/ExceptionInterface.php +0 -21
  207. data/vendor/symfony/yaml/Exception/ParseException.php +0 -132
  208. data/vendor/symfony/yaml/Exception/RuntimeException.php +0 -21
  209. data/vendor/symfony/yaml/Inline.php +0 -812
  210. data/vendor/symfony/yaml/LICENSE +0 -19
  211. data/vendor/symfony/yaml/Parser.php +0 -1305
  212. data/vendor/symfony/yaml/README.md +0 -13
  213. data/vendor/symfony/yaml/Resources/bin/yaml-lint +0 -45
  214. data/vendor/symfony/yaml/Tag/TaggedValue.php +0 -38
  215. data/vendor/symfony/yaml/Unescaper.php +0 -132
  216. data/vendor/symfony/yaml/Yaml.php +0 -100
  217. data/vendor/symfony/yaml/composer.json +0 -42
@@ -20,60 +20,79 @@ module Dropbox::Sign
20
20
  # An array of signature objects, 1 for each signer.
21
21
  class SignatureRequestResponseSignatures
22
22
  # Signature identifier.
23
+ # @return [String]
23
24
  attr_accessor :signature_id
24
25
 
25
26
  # Signer Group GUID
27
+ # @return [String, nil]
26
28
  attr_accessor :signer_group_guid
27
29
 
28
30
  # The email address of the signer.
31
+ # @return [String]
29
32
  attr_accessor :signer_email_address
30
33
 
31
34
  # The name of the signer.
35
+ # @return [String, nil]
32
36
  attr_accessor :signer_name
33
37
 
34
38
  # The role of the signer.
39
+ # @return [String, nil]
35
40
  attr_accessor :signer_role
36
41
 
37
42
  # If signer order is assigned this is the 0-based index for this signer.
43
+ # @return [Integer, nil]
38
44
  attr_accessor :order
39
45
 
40
46
  # The current status of the signature. eg: awaiting_signature, signed, declined.
47
+ # @return [String]
41
48
  attr_accessor :status_code
42
49
 
43
50
  # The reason provided by the signer for declining the request.
51
+ # @return [String, nil]
44
52
  attr_accessor :decline_reason
45
53
 
46
54
  # Time that the document was signed or null.
55
+ # @return [Integer, nil]
47
56
  attr_accessor :signed_at
48
57
 
49
58
  # The time that the document was last viewed by this signer or null.
59
+ # @return [Integer, nil]
50
60
  attr_accessor :last_viewed_at
51
61
 
52
62
  # The time the last reminder email was sent to the signer or null.
63
+ # @return [Integer, nil]
53
64
  attr_accessor :last_reminded_at
54
65
 
55
66
  # Boolean to indicate whether this signature requires a PIN to access.
67
+ # @return [Boolean]
56
68
  attr_accessor :has_pin
57
69
 
58
70
  # Boolean to indicate whether this signature has SMS authentication enabled.
71
+ # @return [Boolean, nil]
59
72
  attr_accessor :has_sms_auth
60
73
 
61
74
  # Boolean to indicate whether this signature has SMS delivery enabled.
75
+ # @return [Boolean, nil]
62
76
  attr_accessor :has_sms_delivery
63
77
 
64
78
  # The SMS phone number used for authentication or signature request delivery.
79
+ # @return [String, nil]
65
80
  attr_accessor :sms_phone_number
66
81
 
67
82
  # Email address of original signer who reassigned to this signer.
83
+ # @return [String, nil]
68
84
  attr_accessor :reassigned_by
69
85
 
70
86
  # Reason provided by original signer who reassigned to this signer.
87
+ # @return [String, nil]
71
88
  attr_accessor :reassignment_reason
72
89
 
73
90
  # Previous signature identifier.
91
+ # @return [String, nil]
74
92
  attr_accessor :reassigned_from
75
93
 
76
94
  # Error message pertaining to this signer, or null.
95
+ # @return [String, nil]
77
96
  attr_accessor :error
78
97
 
79
98
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -19,76 +19,101 @@ end
19
19
  module Dropbox::Sign
20
20
  class SignatureRequestSendRequest
21
21
  # Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both.
22
+ # @return [Array<File>]
22
23
  attr_accessor :files
23
24
 
24
25
  # Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both.
26
+ # @return [Array<String>]
25
27
  attr_accessor :file_urls
26
28
 
27
29
  # Add Signers to your Signature Request. This endpoint requires either **signers** or **grouped_signers**, but not both.
30
+ # @return [Array<SubSignatureRequestSigner>]
28
31
  attr_accessor :signers
29
32
 
30
33
  # Add Grouped Signers to your Signature Request. This endpoint requires either **signers** or **grouped_signers**, but not both.
34
+ # @return [Array<SubSignatureRequestGroupedSigners>]
31
35
  attr_accessor :grouped_signers
32
36
 
33
37
  # Allows signers to decline to sign a document if `true`. Defaults to `false`.
38
+ # @return [Boolean]
34
39
  attr_accessor :allow_decline
35
40
 
36
41
  # 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.
42
+ # @return [Boolean]
37
43
  attr_accessor :allow_reassign
38
44
 
39
45
  # A list describing the attachments
46
+ # @return [Array<SubAttachment>]
40
47
  attr_accessor :attachments
41
48
 
42
49
  # The email addresses that should be CCed.
50
+ # @return [Array<String>]
43
51
  attr_accessor :cc_email_addresses
44
52
 
45
53
  # The client id of the API App you want to associate with this request. Used to apply the branding and callback url defined for the app.
54
+ # @return [String]
46
55
  attr_accessor :client_id
47
56
 
48
57
  # When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests. Pre-filled data can be used with \"send-once\" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call. For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template.
58
+ # @return [Array<SubCustomField>]
49
59
  attr_accessor :custom_fields
50
60
 
61
+ # @return [SubFieldOptions]
51
62
  attr_accessor :field_options
52
63
 
53
64
  # Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`.
65
+ # @return [Array<SubFormFieldGroup>]
54
66
  attr_accessor :form_field_groups
55
67
 
56
68
  # Conditional Logic rules for fields defined in `form_fields_per_document`.
69
+ # @return [Array<SubFormFieldRule>]
57
70
  attr_accessor :form_field_rules
58
71
 
59
- # The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: <a href=\"/docs/openapi/form-fields-per-document\" target=\"_blank\">Using Form Fields per Document</a>.) **NOTE**: Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge`
72
+ # The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).) **NOTE**: Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge`
73
+ # @return [Array<SubFormFieldsPerDocumentBase>]
60
74
  attr_accessor :form_fields_per_document
61
75
 
62
76
  # Enables automatic Text Tag removal when set to true. **NOTE**: Removing text tags this way can cause unwanted clipping. We recommend leaving this setting on `false` and instead hiding your text tags using white text or a similar approach. See the [Text Tags Walkthrough](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) for more information.
77
+ # @return [Boolean]
63
78
  attr_accessor :hide_text_tags
64
79
 
65
80
  # Send with a value of `true` if you wish to enable [Qualified Electronic Signatures](https://www.hellosign.com/features/qualified-electronic-signatures) (QES), which requires a face-to-face call to verify the signer's identity.<br> **Note**: QES is only available on the Premium API plan as an add-on purchase. Cannot be used in `test_mode`. Only works on requests with one signer.
81
+ # @return [Boolean]
66
82
  attr_accessor :is_qualified_signature
67
83
 
68
84
  # The custom message in the email that will be sent to the signers.
85
+ # @return [String]
69
86
  attr_accessor :message
70
87
 
71
88
  # 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.
89
+ # @return [Hash<String, Object>]
72
90
  attr_accessor :metadata
73
91
 
92
+ # @return [SubSigningOptions]
74
93
  attr_accessor :signing_options
75
94
 
76
95
  # The URL you want signers redirected to after they successfully sign.
96
+ # @return [String]
77
97
  attr_accessor :signing_redirect_url
78
98
 
79
99
  # The subject in the email that will be sent to the signers.
100
+ # @return [String]
80
101
  attr_accessor :subject
81
102
 
82
103
  # Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`.
104
+ # @return [Boolean]
83
105
  attr_accessor :test_mode
84
106
 
85
107
  # The title you want to assign to the SignatureRequest.
108
+ # @return [String]
86
109
  attr_accessor :title
87
110
 
88
111
  # Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`.
112
+ # @return [Boolean]
89
113
  attr_accessor :use_text_tags
90
114
 
91
115
  # When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.
116
+ # @return [Integer, nil]
92
117
  attr_accessor :expires_at
93
118
 
94
119
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -19,50 +19,66 @@ end
19
19
  module Dropbox::Sign
20
20
  class SignatureRequestSendWithTemplateRequest
21
21
  # Use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the template will be used.
22
+ # @return [Array<String>]
22
23
  attr_accessor :template_ids
23
24
 
24
25
  # Add Signers to your Templated-based Signature Request.
26
+ # @return [Array<SubSignatureRequestTemplateSigner>]
25
27
  attr_accessor :signers
26
28
 
27
29
  # Allows signers to decline to sign a document if `true`. Defaults to `false`.
30
+ # @return [Boolean]
28
31
  attr_accessor :allow_decline
29
32
 
30
33
  # Add CC email recipients. Required when a CC role exists for the Template.
34
+ # @return [Array<SubCC>]
31
35
  attr_accessor :ccs
32
36
 
33
37
  # Client id of the app to associate with the signature request. Used to apply the branding and callback url defined for the app.
38
+ # @return [String]
34
39
  attr_accessor :client_id
35
40
 
36
41
  # An array defining values and options for custom fields. Required when a custom field exists in the Template.
42
+ # @return [Array<SubCustomField>]
37
43
  attr_accessor :custom_fields
38
44
 
39
45
  # Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both.
46
+ # @return [Array<File>]
40
47
  attr_accessor :files
41
48
 
42
49
  # Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both.
50
+ # @return [Array<String>]
43
51
  attr_accessor :file_urls
44
52
 
45
53
  # Send with a value of `true` if you wish to enable [Qualified Electronic Signatures](https://www.hellosign.com/features/qualified-electronic-signatures) (QES), which requires a face-to-face call to verify the signer's identity.<br> **Note**: QES is only available on the Premium API plan as an add-on purchase. Cannot be used in `test_mode`. Only works on requests with one signer.
54
+ # @return [Boolean]
46
55
  attr_accessor :is_qualified_signature
47
56
 
48
57
  # The custom message in the email that will be sent to the signers.
58
+ # @return [String]
49
59
  attr_accessor :message
50
60
 
51
61
  # 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.
62
+ # @return [Hash<String, Object>]
52
63
  attr_accessor :metadata
53
64
 
65
+ # @return [SubSigningOptions]
54
66
  attr_accessor :signing_options
55
67
 
56
68
  # The URL you want signers redirected to after they successfully sign.
69
+ # @return [String]
57
70
  attr_accessor :signing_redirect_url
58
71
 
59
72
  # The subject in the email that will be sent to the signers.
73
+ # @return [String]
60
74
  attr_accessor :subject
61
75
 
62
76
  # Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`.
77
+ # @return [Boolean]
63
78
  attr_accessor :test_mode
64
79
 
65
80
  # The title you want to assign to the SignatureRequest.
81
+ # @return [String]
66
82
  attr_accessor :title
67
83
 
68
84
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -19,15 +19,19 @@ end
19
19
  module Dropbox::Sign
20
20
  class SignatureRequestUpdateRequest
21
21
  # The signature ID for the recipient.
22
+ # @return [String]
22
23
  attr_accessor :signature_id
23
24
 
24
25
  # The new email address for the recipient. **NOTE**: Optional if `name` is provided.
26
+ # @return [String]
25
27
  attr_accessor :email_address
26
28
 
27
29
  # The new name for the recipient. **NOTE**: Optional if `email_address` is provided.
30
+ # @return [String]
28
31
  attr_accessor :name
29
32
 
30
33
  # The new time when the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.
34
+ # @return [Integer, nil]
31
35
  attr_accessor :expires_at
32
36
 
33
37
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -19,15 +19,19 @@ end
19
19
  module Dropbox::Sign
20
20
  class SubAttachment
21
21
  # The name of attachment.
22
+ # @return [String]
22
23
  attr_accessor :name
23
24
 
24
25
  # The signer's index in the `signers` parameter (0-based indexing). **NOTE**: Only one signer can be assigned per attachment.
26
+ # @return [Integer]
25
27
  attr_accessor :signer_index
26
28
 
27
29
  # The instructions for uploading the attachment.
30
+ # @return [String]
28
31
  attr_accessor :instructions
29
32
 
30
33
  # Determines if the attachment must be uploaded.
34
+ # @return [Boolean]
31
35
  attr_accessor :required
32
36
 
33
37
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -19,9 +19,11 @@ end
19
19
  module Dropbox::Sign
20
20
  class SubBulkSignerList
21
21
  # An array of custom field values.
22
+ # @return [Array<SubBulkSignerListCustomField>]
22
23
  attr_accessor :custom_fields
23
24
 
24
25
  # Add Signers to your Templated-based Signature Request. Allows the requester to specify editor options when a preparing a document. Currently only templates with a single role are supported. All signers must have the same `role` value.
26
+ # @return [Array<SubSignatureRequestTemplateSigner>]
25
27
  attr_accessor :signers
26
28
 
27
29
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -19,9 +19,11 @@ end
19
19
  module Dropbox::Sign
20
20
  class SubBulkSignerListCustomField
21
21
  # The name of the custom field. Must be the field's `name` or `api_id`.
22
+ # @return [String]
22
23
  attr_accessor :name
23
24
 
24
25
  # The value of the custom field.
26
+ # @return [String]
25
27
  attr_accessor :value
26
28
 
27
29
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -19,9 +19,11 @@ end
19
19
  module Dropbox::Sign
20
20
  class SubCC
21
21
  # Must match an existing CC role in chosen Template(s). Multiple CC recipients cannot share the same CC role.
22
+ # @return [String]
22
23
  attr_accessor :role
23
24
 
24
25
  # The email address of the CC recipient.
26
+ # @return [String]
25
27
  attr_accessor :email_address
26
28
 
27
29
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,15 +20,19 @@ module Dropbox::Sign
20
20
  # When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests. Pre-filled data can be used with \"send-once\" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call. For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template.
21
21
  class SubCustomField
22
22
  # The name of a custom field. When working with pre-filled data, the custom field's name must have a matching merge field name or the field will remain empty on the document during signing.
23
+ # @return [String]
23
24
  attr_accessor :name
24
25
 
25
26
  # Used to create editable merge fields. When the value matches a role passed in with `signers`, that role can edit the data that was pre-filled to that field. This field is optional, but required when this custom field object is set to `required = true`. **Note**: Editable merge fields are only supported for single signer requests (or the first signer in ordered signature requests). If used when there are multiple signers in an unordered signature request, the editor value is ignored and the field won't be editable.
27
+ # @return [String]
26
28
  attr_accessor :editor
27
29
 
28
30
  # Used to set an editable merge field when working with pre-filled data. When `true`, the custom field must specify a signer role in `editor`.
31
+ # @return [Boolean]
29
32
  attr_accessor :required
30
33
 
31
34
  # The string that resolves (aka \"pre-fills\") to the merge field on the final document(s) used for signing.
35
+ # @return [String]
32
36
  attr_accessor :value
33
37
 
34
38
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,9 +20,11 @@ module Dropbox::Sign
20
20
  # This allows the requester to specify editor options when a preparing a document
21
21
  class SubEditorOptions
22
22
  # Allows requesters to edit the list of signers
23
+ # @return [Boolean]
23
24
  attr_accessor :allow_edit_signers
24
25
 
25
26
  # Allows requesters to edit documents, including delete and add
27
+ # @return [Boolean]
26
28
  attr_accessor :allow_edit_documents
27
29
 
28
30
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,6 +20,7 @@ module Dropbox::Sign
20
20
  # This allows the requester to specify field options for a signature request.
21
21
  class SubFieldOptions
22
22
  # Allows requester to specify the date format (see list of allowed [formats](/api/reference/constants/#date-formats)) **Note**: Only available for Premium and higher.
23
+ # @return [String]
23
24
  attr_accessor :date_format
24
25
 
25
26
  class EnumAttributeValidator
@@ -19,12 +19,15 @@ end
19
19
  module Dropbox::Sign
20
20
  class SubFormFieldGroup
21
21
  # ID of group. Use this to reference a specific group from the `group` value in `form_fields_per_document`.
22
+ # @return [String]
22
23
  attr_accessor :group_id
23
24
 
24
25
  # Name of the group
26
+ # @return [String]
25
27
  attr_accessor :group_label
26
28
 
27
29
  # Examples: `require_0-1` `require_1` `require_1-ormore` - Check out the list of [acceptable `requirement` checkbox type values](/api/reference/constants/#checkbox-field-grouping). - Check out the list of [acceptable `requirement` radio type fields](/api/reference/constants/#radio-field-grouping). - Radio groups require **at least** two fields per group.
30
+ # @return [String]
28
31
  attr_accessor :requirement
29
32
 
30
33
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -19,15 +19,19 @@ end
19
19
  module Dropbox::Sign
20
20
  class SubFormFieldRule
21
21
  # Must be unique across all defined rules.
22
+ # @return [String]
22
23
  attr_accessor :id
23
24
 
24
25
  # Currently only `AND` is supported. Support for `OR` is being worked on.
26
+ # @return [String]
25
27
  attr_accessor :trigger_operator
26
28
 
27
29
  # An array of trigger definitions, the \"if this\" part of \"**if this**, then that\". Currently only a single trigger per rule is allowed.
30
+ # @return [Array<SubFormFieldRuleTrigger>]
28
31
  attr_accessor :triggers
29
32
 
30
33
  # An array of action definitions, the \"then that\" part of \"if this, **then that**\". Any number of actions may be attached to a single rule.
34
+ # @return [Array<SubFormFieldRuleAction>]
31
35
  attr_accessor :actions
32
36
 
33
37
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -19,14 +19,18 @@ end
19
19
  module Dropbox::Sign
20
20
  class SubFormFieldRuleAction
21
21
  # `true` to hide the target field when rule is satisfied, otherwise `false`.
22
+ # @return [Boolean]
22
23
  attr_accessor :hidden
23
24
 
25
+ # @return [String]
24
26
  attr_accessor :type
25
27
 
26
28
  # **field_id** or **group_id** is required, but not both. Must reference the `api_id` of an existing field defined within `form_fields_per_document`. Cannot use with `group_id`. Trigger and action fields must belong to the same signer.
29
+ # @return [String]
27
30
  attr_accessor :field_id
28
31
 
29
32
  # **group_id** or **field_id** is required, but not both. Must reference the ID of an existing group defined within `form_field_groups`. Cannot use with `field_id`. Trigger and action fields and groups must belong to the same signer.
33
+ # @return [String]
30
34
  attr_accessor :group_id
31
35
 
32
36
  class EnumAttributeValidator
@@ -19,15 +19,19 @@ end
19
19
  module Dropbox::Sign
20
20
  class SubFormFieldRuleTrigger
21
21
  # Must reference the `api_id` of an existing field defined within `form_fields_per_document`. Trigger and action fields and groups must belong to the same signer.
22
+ # @return [String]
22
23
  attr_accessor :id
23
24
 
24
25
  # Different field types allow different `operator` values: - Field type of **text**: - **is**: exact match - **not**: not exact match - **match**: regular expression, without /. Example: - OK `[a-zA-Z0-9]` - Not OK `/[a-zA-Z0-9]/` - Field type of **dropdown**: - **is**: exact match, single value - **not**: not exact match, single value - **any**: exact match, array of values. - **none**: not exact match, array of values. - Field type of **checkbox**: - **is**: exact match, single value - **not**: not exact match, single value - Field type of **radio**: - **is**: exact match, single value - **not**: not exact match, single value
26
+ # @return [String]
25
27
  attr_accessor :operator
26
28
 
27
29
  # **value** or **values** is required, but not both. The value to match against **operator**. - When **operator** is one of the following, **value** must be `String`: - `is` - `not` - `match` Otherwise, - **checkbox**: When **type** of trigger is **checkbox**, **value** must be `0` or `1` - **radio**: When **type** of trigger is **radio**, **value** must be `1`
30
+ # @return [String]
28
31
  attr_accessor :value
29
32
 
30
33
  # **values** or **value** is required, but not both. The values to match against **operator** when it is one of the following: - `any` - `none`
34
+ # @return [Array<String>]
31
35
  attr_accessor :values
32
36
 
33
37
  class EnumAttributeValidator
@@ -17,38 +17,49 @@ module Dropbox
17
17
  end
18
18
 
19
19
  module Dropbox::Sign
20
- # The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: <a href=\"/docs/openapi/form-fields-per-document\" target=\"_blank\">Using Form Fields per Document</a>.) **NOTE**: Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge`
20
+ # The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).) **NOTE**: Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge`
21
21
  class SubFormFieldsPerDocumentBase
22
22
  # Represents the integer index of the `file` or `file_url` document the field should be attached to.
23
+ # @return [Integer]
23
24
  attr_accessor :document_index
24
25
 
25
26
  # An identifier for the field that is unique across all documents in the request.
27
+ # @return [String]
26
28
  attr_accessor :api_id
27
29
 
28
30
  # Size of the field in pixels.
31
+ # @return [Integer]
29
32
  attr_accessor :height
30
33
 
31
34
  # Whether this field is required.
35
+ # @return [Boolean]
32
36
  attr_accessor :required
33
37
 
34
38
  # Signer index identified by the offset in the signers parameter (0-based indexing), indicating which signer should fill out the field. **NOTE**: If type is `text-merge` or `checkbox-merge`, you must set this to sender in order to use pre-filled data.
39
+ # @return [Integer, String]
35
40
  attr_accessor :signer
36
41
 
42
+ # @return [String]
37
43
  attr_accessor :type
38
44
 
39
45
  # Size of the field in pixels.
46
+ # @return [Integer]
40
47
  attr_accessor :width
41
48
 
42
49
  # Location coordinates of the field in pixels.
50
+ # @return [Integer]
43
51
  attr_accessor :x
44
52
 
45
53
  # Location coordinates of the field in pixels.
54
+ # @return [Integer]
46
55
  attr_accessor :y
47
56
 
48
57
  # Display name for the field.
58
+ # @return [String]
49
59
  attr_accessor :name
50
60
 
51
61
  # Page in the document where the field should be placed (requires documents be PDF files). - When the page number parameter is supplied, the API will use the new coordinate system. - Check out the differences between both [coordinate systems](https://faq.hellosign.com/hc/en-us/articles/217115577) and how to use them.
62
+ # @return [Integer, nil]
52
63
  attr_accessor :page
53
64
 
54
65
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,12 +20,15 @@ module Dropbox::Sign
20
20
  # This class extends `SubFormFieldsPerDocumentBase`.
21
21
  class SubFormFieldsPerDocumentCheckbox < SubFormFieldsPerDocumentBase
22
22
  # A yes/no checkbox. Use the `SubFormFieldsPerDocumentCheckbox` class.
23
+ # @return [String]
23
24
  attr_accessor :type
24
25
 
25
26
  # `true` for checking the checkbox field by default, otherwise `false`.
27
+ # @return [Boolean]
26
28
  attr_accessor :is_checked
27
29
 
28
30
  # String referencing group defined in `form_field_groups` parameter.
31
+ # @return [String]
29
32
  attr_accessor :group
30
33
 
31
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,6 +20,7 @@ module Dropbox::Sign
20
20
  # This class extends `SubFormFieldsPerDocumentBase`.
21
21
  class SubFormFieldsPerDocumentCheckboxMerge < SubFormFieldsPerDocumentBase
22
22
  # A checkbox field that has default value set using pre-filled data. Use the `SubFormFieldsPerDocumentCheckboxMerge` class.
23
+ # @return [String]
23
24
  attr_accessor :type
24
25
 
25
26
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,6 +20,7 @@ module Dropbox::Sign
20
20
  # This class extends `SubFormFieldsPerDocumentBase`.
21
21
  class SubFormFieldsPerDocumentDateSigned < SubFormFieldsPerDocumentBase
22
22
  # A date. Use the `SubFormFieldsPerDocumentDateSigned` class.
23
+ # @return [String]
23
24
  attr_accessor :type
24
25
 
25
26
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,12 +20,15 @@ module Dropbox::Sign
20
20
  # This class extends `SubFormFieldsPerDocumentBase`.
21
21
  class SubFormFieldsPerDocumentDropdown < SubFormFieldsPerDocumentBase
22
22
  # An input field for dropdowns. Use the `SubFormFieldsPerDocumentDropdown` class.
23
+ # @return [String]
23
24
  attr_accessor :type
24
25
 
25
26
  # Array of string values representing dropdown values.
27
+ # @return [Array<String>]
26
28
  attr_accessor :options
27
29
 
28
30
  # Selected value in `options` array. Value must exist in array.
31
+ # @return [String]
29
32
  attr_accessor :content
30
33
 
31
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,12 +20,15 @@ module Dropbox::Sign
20
20
  # This class extends `SubFormFieldsPerDocumentBase`.
21
21
  class SubFormFieldsPerDocumentHyperlink < SubFormFieldsPerDocumentBase
22
22
  # A hyperlink field. Use the `SubFormFieldsPerDocumentHyperlink` class.
23
+ # @return [String]
23
24
  attr_accessor :type
24
25
 
25
26
  # Link Text.
27
+ # @return [String]
26
28
  attr_accessor :content
27
29
 
28
30
  # Link URL.
31
+ # @return [String]
29
32
  attr_accessor :content_url
30
33
 
31
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,6 +20,7 @@ module Dropbox::Sign
20
20
  # This class extends `SubFormFieldsPerDocumentBase`.
21
21
  class SubFormFieldsPerDocumentInitials < SubFormFieldsPerDocumentBase
22
22
  # An input field for initials. Use the `SubFormFieldsPerDocumentInitials` class.
23
+ # @return [String]
23
24
  attr_accessor :type
24
25
 
25
26
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,12 +20,15 @@ module Dropbox::Sign
20
20
  # This class extends `SubFormFieldsPerDocumentBase`.
21
21
  class SubFormFieldsPerDocumentRadio < SubFormFieldsPerDocumentBase
22
22
  # An input field for radios. Use the `SubFormFieldsPerDocumentRadio` class.
23
+ # @return [String]
23
24
  attr_accessor :type
24
25
 
25
26
  # String referencing group defined in `form_field_groups` parameter.
27
+ # @return [String]
26
28
  attr_accessor :group
27
29
 
28
30
  # `true` for checking the radio field by default, otherwise `false`. Only one radio field per group can be `true`.
31
+ # @return [Boolean]
29
32
  attr_accessor :is_checked
30
33
 
31
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,6 +20,7 @@ module Dropbox::Sign
20
20
  # This class extends `SubFormFieldsPerDocumentBase`.
21
21
  class SubFormFieldsPerDocumentSignature < SubFormFieldsPerDocumentBase
22
22
  # A signature input field. Use the `SubFormFieldsPerDocumentSignature` class.
23
+ # @return [String]
23
24
  attr_accessor :type
24
25
 
25
26
  # Attribute mapping from ruby-style variable name to JSON key.