diff --git a/openapi-raw.yaml b/openapi-raw.yaml
index 5889894a4..e0d57e123 100644
--- a/openapi-raw.yaml
+++ b/openapi-raw.yaml
@@ -10674,6 +10674,19 @@ components:
x-internal-class: true
TemplateResponse:
description: '_t__TemplateResponse::DESCRIPTION'
+ required:
+ - accounts
+ - attachments
+ - can_edit
+ - cc_roles
+ - documents
+ - is_creator
+ - is_locked
+ - message
+ - metadata
+ - signer_roles
+ - template_id
+ - title
properties:
template_id:
description: '_t__TemplateResponse::TEMPLATE_ID'
@@ -10694,15 +10707,12 @@ components:
is_creator:
description: '_t__TemplateResponse::IS_CREATOR'
type: boolean
- nullable: true
can_edit:
description: '_t__TemplateResponse::CAN_EDIT'
type: boolean
- nullable: true
is_locked:
description: '_t__TemplateResponse::IS_LOCKED'
type: boolean
- nullable: true
metadata:
description: '_t__TemplateResponse::METADATA'
type: object
@@ -10740,10 +10750,20 @@ components:
type: array
items:
$ref: '#/components/schemas/TemplateResponseAccount'
- nullable: true
+ attachments:
+ description: '_t__SignatureRequestResponseAttachment::DESCRIPTION'
+ type: array
+ items:
+ $ref: '#/components/schemas/SignatureRequestResponseAttachment'
type: object
x-internal-class: true
TemplateResponseAccount:
+ required:
+ - account_id
+ - is_locked
+ - is_paid_hf
+ - is_paid_hs
+ - quotas
properties:
account_id:
description: '_t__TemplateResponseAccount::ACCOUNT_ID'
@@ -10766,6 +10786,11 @@ components:
x-internal-class: true
TemplateResponseAccountQuota:
description: '_t__TemplateResponseAccountQuota::DESCRIPTION'
+ required:
+ - templates_left
+ - api_signature_requests_left
+ - documents_left
+ - sms_verifications_left
properties:
templates_left:
description: '_t__TemplateResponseAccountQuota::TEMPLATES_LEFT'
@@ -10782,6 +10807,8 @@ components:
type: object
x-internal-class: true
TemplateResponseCCRole:
+ required:
+ - name
properties:
name:
description: '_t__TemplateResponseCCRole::NAME'
@@ -10790,6 +10817,10 @@ components:
x-internal-class: true
TemplateCreateEmbeddedDraftResponseTemplate:
description: '_t__TemplateCreateEmbeddedDraftResponseTemplate::DESCRIPTION'
+ required:
+ - edit_url
+ - expires_at
+ - template_id
properties:
template_id:
description: '_t__TemplateResponse::TEMPLATE_ID'
@@ -10810,6 +10841,8 @@ components:
x-internal-class: true
TemplateCreateResponseTemplate:
description: '_t__TemplateCreateResponseTemplate::DESCRIPTION'
+ required:
+ - template_id
properties:
template_id:
description: '_t__TemplateResponse::TEMPLATE_ID'
@@ -10817,6 +10850,12 @@ components:
type: object
x-internal-class: true
TemplateResponseDocument:
+ required:
+ - custom_fields
+ - field_groups
+ - form_fields
+ - name
+ - static_fields
properties:
name:
description: '_t__TemplateResponseDocument::NAME'
@@ -10844,13 +10883,19 @@ components:
type: array
items:
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
- nullable: true
type: object
x-internal-class: true
TemplateResponseDocumentCustomFieldBase:
description: '_t__TemplateResponseDocumentCustomField::DESCRIPTION'
required:
+ - api_id
+ - height
+ - name
+ - required
- type
+ - width
+ - x
+ - 'y'
properties:
api_id:
description: '_t__TemplateResponseDocumentCustomField::API_ID'
@@ -10909,6 +10954,10 @@ components:
TemplateResponseDocumentCustomFieldText:
description: '_t__TemplateResponseDocumentCustomField::DESCRIPTION_EXTENDS'
required:
+ - avg_text_length
+ - fontFamily
+ - isMultiline
+ - originalFontSize
- type
allOf:
-
@@ -10932,6 +10981,9 @@ components:
type: string
type: object
TemplateResponseDocumentFieldGroup:
+ required:
+ - name
+ - rule
properties:
name:
description: '_t__TemplateResponseDocumentFieldGroup::NAME'
@@ -10942,6 +10994,9 @@ components:
x-internal-class: true
TemplateResponseDocumentFieldGroupRule:
description: '_t__TemplateResponseDocumentFieldGroup::RULE'
+ required:
+ - groupLabel
+ - requirement
properties:
requirement:
description: '_t__TemplateResponseDocumentFieldGroupRule::REQUIREMENT'
@@ -10954,7 +11009,15 @@ components:
TemplateResponseDocumentFormFieldBase:
description: '_t__TemplateResponseDocumentFormField::DESCRIPTION'
required:
+ - api_id
+ - height
+ - name
+ - required
+ - signer
- type
+ - width
+ - x
+ - 'y'
properties:
api_id:
description: '_t__TemplateResponseDocumentFormField::API_ID'
@@ -10983,10 +11046,6 @@ components:
required:
description: '_t__TemplateResponseDocumentFormField::REQUIRED'
type: boolean
- group:
- description: '_t__TemplateResponseDocumentFormField::GROUP'
- type: string
- nullable: true
type: object
discriminator:
propertyName: type
@@ -11003,17 +11062,21 @@ components:
x-base-class: true
TemplateResponseDocumentFormFieldCheckbox:
description: '_t__TemplateResponseDocumentFormField::DESCRIPTION_EXTENDS'
+ required:
+ - type
allOf:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentFormField::TYPE'
type: string
default: checkbox
+ group:
+ description: '_t__TemplateResponseDocumentFormField::GROUP'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldDateSigned:
description: '_t__TemplateResponseDocumentFormField::DESCRIPTION_EXTENDS'
@@ -11023,13 +11086,15 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentFormField::TYPE'
type: string
default: date_signed
+ group:
+ description: '_t__TemplateResponseDocumentFormField::GROUP'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldDropdown:
description: '_t__TemplateResponseDocumentFormField::DESCRIPTION_EXTENDS'
@@ -11039,24 +11104,28 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentFormField::TYPE'
type: string
default: dropdown
+ group:
+ description: '_t__TemplateResponseDocumentFormField::GROUP'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldHyperlink:
description: '_t__TemplateResponseDocumentFormField::DESCRIPTION_EXTENDS'
required:
+ - avg_text_length
+ - fontFamily
+ - isMultiline
+ - originalFontSize
- type
allOf:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentFormField::TYPE'
@@ -11073,6 +11142,10 @@ components:
fontFamily:
description: '_t__TemplateResponseDocumentFormField::FONT_FAMILY'
type: string
+ group:
+ description: '_t__TemplateResponseDocumentFormField::GROUP'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldInitials:
description: '_t__TemplateResponseDocumentFormField::DESCRIPTION_EXTENDS'
@@ -11082,13 +11155,15 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentFormField::TYPE'
type: string
default: initials
+ group:
+ description: '_t__TemplateResponseDocumentFormField::GROUP'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldRadio:
description: '_t__TemplateResponseDocumentFormField::DESCRIPTION_EXTENDS'
@@ -11099,13 +11174,14 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentFormField::TYPE'
type: string
default: radio
+ group:
+ description: '_t__TemplateResponseDocumentFormField::GROUP'
+ type: string
type: object
TemplateResponseDocumentFormFieldSignature:
description: '_t__TemplateResponseDocumentFormField::DESCRIPTION_EXTENDS'
@@ -11115,24 +11191,28 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentFormField::TYPE'
type: string
default: signature
+ group:
+ description: '_t__TemplateResponseDocumentFormField::GROUP'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldText:
description: '_t__TemplateResponseDocumentFormField::DESCRIPTION_EXTENDS'
required:
+ - avg_text_length
+ - fontFamily
+ - isMultiline
+ - originalFontSize
- type
allOf:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentFormField::TYPE'
@@ -11164,11 +11244,23 @@ components:
- employer_identification_number
- custom_regex
nullable: true
+ group:
+ description: '_t__TemplateResponseDocumentFormField::GROUP'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentStaticFieldBase:
description: '_t__TemplateResponseDocumentStaticField::DESCRIPTION'
required:
+ - api_id
+ - height
+ - name
+ - required
+ - signer
- type
+ - width
+ - x
+ - 'y'
properties:
api_id:
description: '_t__TemplateResponseDocumentStaticField::API_ID'
@@ -11223,8 +11315,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentStaticField::TYPE'
@@ -11239,8 +11329,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentStaticField::TYPE'
@@ -11255,8 +11343,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentStaticField::TYPE'
@@ -11271,8 +11357,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentStaticField::TYPE'
@@ -11287,8 +11371,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentStaticField::TYPE'
@@ -11303,8 +11385,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentStaticField::TYPE'
@@ -11319,8 +11399,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentStaticField::TYPE'
@@ -11335,8 +11413,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: '_t__TemplateResponseDocumentStaticField::TYPE'
@@ -11345,6 +11421,9 @@ components:
type: object
TemplateResponseFieldAvgTextLength:
description: '_t__TemplateResponseFieldAvgTextLength::DESCRIPTION'
+ required:
+ - num_lines
+ - num_chars_per_line
properties:
num_lines:
description: '_t__TemplateResponseFieldAvgTextLength::NUM_LINES'
@@ -11355,6 +11434,8 @@ components:
type: object
x-internal-class: true
TemplateResponseSignerRole:
+ required:
+ - name
properties:
name:
description: '_t__TemplateResponseSignerRole::NAME'
@@ -11366,6 +11447,8 @@ components:
x-internal-class: true
TemplateUpdateFilesResponseTemplate:
description: '_t__TemplateUpdateFilesResponseTemplate::DESCRIPTION'
+ required:
+ - template_id
properties:
template_id:
description: '_t__TemplateResponse::TEMPLATE_ID'
diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml
index 17a5b7f81..f24937c67 100644
--- a/openapi-sdk.yaml
+++ b/openapi-sdk.yaml
@@ -11290,6 +11290,19 @@ components:
x-internal-class: true
TemplateResponse:
description: 'Contains information about the templates you and your team have created.'
+ required:
+ - accounts
+ - attachments
+ - can_edit
+ - cc_roles
+ - documents
+ - is_creator
+ - is_locked
+ - message
+ - metadata
+ - signer_roles
+ - template_id
+ - title
properties:
template_id:
description: 'The id of the Template.'
@@ -11304,24 +11317,21 @@ components:
description: 'Time the template was last updated.'
type: integer
is_embedded:
- description: '`true` if this template was created using an embedded flow, `false` if it was created on our website.'
+ description: '`true` if this template was created using an embedded flow, `false` if it was created on our website. Will be `null` when you are not the creator of the Template.'
type: boolean
nullable: true
is_creator:
description: '`true` if you are the owner of this template, `false` if it''s been shared with you by a team member.'
type: boolean
- nullable: true
can_edit:
description: 'Indicates whether edit rights have been granted to you by the owner (always `true` if that''s you).'
type: boolean
- nullable: true
is_locked:
description: |-
Indicates whether the template is locked.
If `true`, then the template was created outside your quota and can only be used in `test_mode`.
If `false`, then the template is within your quota and can be used to create signature requests.
type: boolean
- nullable: true
metadata:
description: 'The metadata attached to the template.'
type: object
@@ -11359,10 +11369,20 @@ components:
type: array
items:
$ref: '#/components/schemas/TemplateResponseAccount'
- nullable: true
+ attachments:
+ description: 'Signer attachments.'
+ type: array
+ items:
+ $ref: '#/components/schemas/SignatureRequestResponseAttachment'
type: object
x-internal-class: true
TemplateResponseAccount:
+ required:
+ - account_id
+ - is_locked
+ - is_paid_hf
+ - is_paid_hs
+ - quotas
properties:
account_id:
description: 'The id of the Account.'
@@ -11385,6 +11405,11 @@ components:
x-internal-class: true
TemplateResponseAccountQuota:
description: 'An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template.'
+ required:
+ - templates_left
+ - api_signature_requests_left
+ - documents_left
+ - sms_verifications_left
properties:
templates_left:
description: 'API templates remaining.'
@@ -11401,6 +11426,8 @@ components:
type: object
x-internal-class: true
TemplateResponseCCRole:
+ required:
+ - name
properties:
name:
description: 'The name of the Role.'
@@ -11409,6 +11436,10 @@ components:
x-internal-class: true
TemplateCreateEmbeddedDraftResponseTemplate:
description: 'Template object with parameters: `template_id`, `edit_url`, `expires_at`.'
+ required:
+ - edit_url
+ - expires_at
+ - template_id
properties:
template_id:
description: 'The id of the Template.'
@@ -11429,6 +11460,8 @@ components:
x-internal-class: true
TemplateCreateResponseTemplate:
description: 'Template object with parameters: `template_id`.'
+ required:
+ - template_id
properties:
template_id:
description: 'The id of the Template.'
@@ -11436,6 +11469,12 @@ components:
type: object
x-internal-class: true
TemplateResponseDocument:
+ required:
+ - custom_fields
+ - field_groups
+ - form_fields
+ - name
+ - static_fields
properties:
name:
description: 'Name of the associated file.'
@@ -11463,13 +11502,19 @@ components:
type: array
items:
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
- nullable: true
type: object
x-internal-class: true
TemplateResponseDocumentCustomFieldBase:
description: 'An array of Form Field objects containing the name and type of each named field.'
required:
+ - api_id
+ - height
+ - name
+ - required
- type
+ - width
+ - x
+ - 'y'
properties:
api_id:
description: 'The unique ID for this field.'
@@ -11532,6 +11577,10 @@ components:
TemplateResponseDocumentCustomFieldText:
description: 'This class extends `TemplateResponseDocumentCustomFieldBase`'
required:
+ - avg_text_length
+ - fontFamily
+ - isMultiline
+ - originalFontSize
- type
allOf:
-
@@ -11559,6 +11608,9 @@ components:
type: string
type: object
TemplateResponseDocumentFieldGroup:
+ required:
+ - name
+ - rule
properties:
name:
description: 'The name of the form field group.'
@@ -11569,6 +11621,9 @@ components:
x-internal-class: true
TemplateResponseDocumentFieldGroupRule:
description: 'The rule used to validate checkboxes in the form field group. See [checkbox field grouping](/api/reference/constants/#checkbox-field-grouping).'
+ required:
+ - groupLabel
+ - requirement
properties:
requirement:
description: |-
@@ -11586,7 +11641,15 @@ components:
TemplateResponseDocumentFormFieldBase:
description: 'An array of Form Field objects containing the name and type of each named field.'
required:
+ - api_id
+ - height
+ - name
+ - required
+ - signer
- type
+ - width
+ - x
+ - 'y'
properties:
api_id:
description: 'A unique id for the form field.'
@@ -11615,10 +11678,6 @@ components:
required:
description: 'Boolean showing whether or not this field is required.'
type: boolean
- group:
- description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
- type: string
- nullable: true
type: object
discriminator:
propertyName: type
@@ -11635,12 +11694,12 @@ components:
x-base-class: true
TemplateResponseDocumentFormFieldCheckbox:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
+ required:
+ - type
allOf:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11656,6 +11715,10 @@ components:
* Initials Field uses `TemplateResponseDocumentFormFieldInitials`
type: string
default: checkbox
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldDateSigned:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
@@ -11665,8 +11728,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11682,6 +11743,10 @@ components:
* Initials Field uses `TemplateResponseDocumentFormFieldInitials`
type: string
default: date_signed
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldDropdown:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
@@ -11691,8 +11756,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11708,17 +11771,23 @@ components:
* Initials Field uses `TemplateResponseDocumentFormFieldInitials`
type: string
default: dropdown
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldHyperlink:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
required:
+ - avg_text_length
+ - fontFamily
+ - isMultiline
+ - originalFontSize
- type
allOf:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11745,6 +11814,10 @@ components:
fontFamily:
description: 'Font family used in this form field''s text.'
type: string
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldInitials:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
@@ -11754,8 +11827,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11771,6 +11842,10 @@ components:
* Initials Field uses `TemplateResponseDocumentFormFieldInitials`
type: string
default: initials
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldRadio:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
@@ -11781,8 +11856,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11798,6 +11871,9 @@ components:
* Initials Field uses `TemplateResponseDocumentFormFieldInitials`
type: string
default: radio
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
type: object
TemplateResponseDocumentFormFieldSignature:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
@@ -11807,8 +11883,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11824,17 +11898,23 @@ components:
* Initials Field uses `TemplateResponseDocumentFormFieldInitials`
type: string
default: signature
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldText:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
required:
+ - avg_text_length
+ - fontFamily
+ - isMultiline
+ - originalFontSize
- type
allOf:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11876,11 +11956,23 @@ components:
- employer_identification_number
- custom_regex
nullable: true
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentStaticFieldBase:
description: 'An array describing static overlay fields. **NOTE:** Only available for certain subscriptions.'
required:
+ - api_id
+ - height
+ - name
+ - required
+ - signer
- type
+ - width
+ - x
+ - 'y'
properties:
api_id:
description: 'A unique id for the static field.'
@@ -11935,8 +12027,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11961,8 +12051,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11987,8 +12075,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -12013,8 +12099,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -12039,8 +12123,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -12065,8 +12147,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -12091,8 +12171,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -12117,8 +12195,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -12137,6 +12213,9 @@ components:
type: object
TemplateResponseFieldAvgTextLength:
description: 'Average text length in this field.'
+ required:
+ - num_lines
+ - num_chars_per_line
properties:
num_lines:
description: 'Number of lines.'
@@ -12147,6 +12226,8 @@ components:
type: object
x-internal-class: true
TemplateResponseSignerRole:
+ required:
+ - name
properties:
name:
description: 'The name of the Role.'
@@ -12158,6 +12239,8 @@ components:
x-internal-class: true
TemplateUpdateFilesResponseTemplate:
description: 'Contains template id'
+ required:
+ - template_id
properties:
template_id:
description: 'The id of the Template.'
diff --git a/openapi.yaml b/openapi.yaml
index 4b14bfca4..56be94ebe 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -11268,6 +11268,19 @@ components:
x-internal-class: true
TemplateResponse:
description: 'Contains information about the templates you and your team have created.'
+ required:
+ - accounts
+ - attachments
+ - can_edit
+ - cc_roles
+ - documents
+ - is_creator
+ - is_locked
+ - message
+ - metadata
+ - signer_roles
+ - template_id
+ - title
properties:
template_id:
description: 'The id of the Template.'
@@ -11282,24 +11295,21 @@ components:
description: 'Time the template was last updated.'
type: integer
is_embedded:
- description: '`true` if this template was created using an embedded flow, `false` if it was created on our website.'
+ description: '`true` if this template was created using an embedded flow, `false` if it was created on our website. Will be `null` when you are not the creator of the Template.'
type: boolean
nullable: true
is_creator:
description: '`true` if you are the owner of this template, `false` if it''s been shared with you by a team member.'
type: boolean
- nullable: true
can_edit:
description: 'Indicates whether edit rights have been granted to you by the owner (always `true` if that''s you).'
type: boolean
- nullable: true
is_locked:
description: |-
Indicates whether the template is locked.
If `true`, then the template was created outside your quota and can only be used in `test_mode`.
If `false`, then the template is within your quota and can be used to create signature requests.
type: boolean
- nullable: true
metadata:
description: 'The metadata attached to the template.'
type: object
@@ -11337,10 +11347,20 @@ components:
type: array
items:
$ref: '#/components/schemas/TemplateResponseAccount'
- nullable: true
+ attachments:
+ description: 'Signer attachments.'
+ type: array
+ items:
+ $ref: '#/components/schemas/SignatureRequestResponseAttachment'
type: object
x-internal-class: true
TemplateResponseAccount:
+ required:
+ - account_id
+ - is_locked
+ - is_paid_hf
+ - is_paid_hs
+ - quotas
properties:
account_id:
description: 'The id of the Account.'
@@ -11363,6 +11383,11 @@ components:
x-internal-class: true
TemplateResponseAccountQuota:
description: 'An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template.'
+ required:
+ - templates_left
+ - api_signature_requests_left
+ - documents_left
+ - sms_verifications_left
properties:
templates_left:
description: 'API templates remaining.'
@@ -11379,6 +11404,8 @@ components:
type: object
x-internal-class: true
TemplateResponseCCRole:
+ required:
+ - name
properties:
name:
description: 'The name of the Role.'
@@ -11387,6 +11414,10 @@ components:
x-internal-class: true
TemplateCreateEmbeddedDraftResponseTemplate:
description: 'Template object with parameters: `template_id`, `edit_url`, `expires_at`.'
+ required:
+ - edit_url
+ - expires_at
+ - template_id
properties:
template_id:
description: 'The id of the Template.'
@@ -11407,6 +11438,8 @@ components:
x-internal-class: true
TemplateCreateResponseTemplate:
description: 'Template object with parameters: `template_id`.'
+ required:
+ - template_id
properties:
template_id:
description: 'The id of the Template.'
@@ -11414,6 +11447,12 @@ components:
type: object
x-internal-class: true
TemplateResponseDocument:
+ required:
+ - custom_fields
+ - field_groups
+ - form_fields
+ - name
+ - static_fields
properties:
name:
description: 'Name of the associated file.'
@@ -11441,13 +11480,19 @@ components:
type: array
items:
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
- nullable: true
type: object
x-internal-class: true
TemplateResponseDocumentCustomFieldBase:
description: 'An array of Form Field objects containing the name and type of each named field.'
required:
+ - api_id
+ - height
+ - name
+ - required
- type
+ - width
+ - x
+ - 'y'
properties:
api_id:
description: 'The unique ID for this field.'
@@ -11510,6 +11555,10 @@ components:
TemplateResponseDocumentCustomFieldText:
description: 'This class extends `TemplateResponseDocumentCustomFieldBase`'
required:
+ - avg_text_length
+ - fontFamily
+ - isMultiline
+ - originalFontSize
- type
allOf:
-
@@ -11537,6 +11586,9 @@ components:
type: string
type: object
TemplateResponseDocumentFieldGroup:
+ required:
+ - name
+ - rule
properties:
name:
description: 'The name of the form field group.'
@@ -11547,6 +11599,9 @@ components:
x-internal-class: true
TemplateResponseDocumentFieldGroupRule:
description: 'The rule used to validate checkboxes in the form field group. See [checkbox field grouping](/api/reference/constants/#checkbox-field-grouping).'
+ required:
+ - groupLabel
+ - requirement
properties:
requirement:
description: |-
@@ -11564,7 +11619,15 @@ components:
TemplateResponseDocumentFormFieldBase:
description: 'An array of Form Field objects containing the name and type of each named field.'
required:
+ - api_id
+ - height
+ - name
+ - required
+ - signer
- type
+ - width
+ - x
+ - 'y'
properties:
api_id:
description: 'A unique id for the form field.'
@@ -11593,10 +11656,6 @@ components:
required:
description: 'Boolean showing whether or not this field is required.'
type: boolean
- group:
- description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
- type: string
- nullable: true
type: object
discriminator:
propertyName: type
@@ -11613,12 +11672,12 @@ components:
x-base-class: true
TemplateResponseDocumentFormFieldCheckbox:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
+ required:
+ - type
allOf:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11634,6 +11693,10 @@ components:
* Initials Field uses `TemplateResponseDocumentFormFieldInitials`
type: string
default: checkbox
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldDateSigned:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
@@ -11643,8 +11706,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11660,6 +11721,10 @@ components:
* Initials Field uses `TemplateResponseDocumentFormFieldInitials`
type: string
default: date_signed
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldDropdown:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
@@ -11669,8 +11734,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11686,17 +11749,23 @@ components:
* Initials Field uses `TemplateResponseDocumentFormFieldInitials`
type: string
default: dropdown
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldHyperlink:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
required:
+ - avg_text_length
+ - fontFamily
+ - isMultiline
+ - originalFontSize
- type
allOf:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11723,6 +11792,10 @@ components:
fontFamily:
description: 'Font family used in this form field''s text.'
type: string
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldInitials:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
@@ -11732,8 +11805,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11749,6 +11820,10 @@ components:
* Initials Field uses `TemplateResponseDocumentFormFieldInitials`
type: string
default: initials
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldRadio:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
@@ -11759,8 +11834,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11776,6 +11849,9 @@ components:
* Initials Field uses `TemplateResponseDocumentFormFieldInitials`
type: string
default: radio
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
type: object
TemplateResponseDocumentFormFieldSignature:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
@@ -11785,8 +11861,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11802,17 +11876,23 @@ components:
* Initials Field uses `TemplateResponseDocumentFormFieldInitials`
type: string
default: signature
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentFormFieldText:
description: 'This class extends `TemplateResponseDocumentFormFieldBase`'
required:
+ - avg_text_length
+ - fontFamily
+ - isMultiline
+ - originalFontSize
- type
allOf:
-
$ref: '#/components/schemas/TemplateResponseDocumentFormFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11854,11 +11934,23 @@ components:
- employer_identification_number
- custom_regex
nullable: true
+ group:
+ description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
+ type: string
+ nullable: true
type: object
TemplateResponseDocumentStaticFieldBase:
description: 'An array describing static overlay fields. **NOTE:** Only available for certain subscriptions.'
required:
+ - api_id
+ - height
+ - name
+ - required
+ - signer
- type
+ - width
+ - x
+ - 'y'
properties:
api_id:
description: 'A unique id for the static field.'
@@ -11913,8 +12005,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11939,8 +12029,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11965,8 +12053,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -11991,8 +12077,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -12017,8 +12101,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -12043,8 +12125,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -12069,8 +12149,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -12095,8 +12173,6 @@ components:
-
$ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase'
-
- required:
- - type
properties:
type:
description: |-
@@ -12115,6 +12191,9 @@ components:
type: object
TemplateResponseFieldAvgTextLength:
description: 'Average text length in this field.'
+ required:
+ - num_lines
+ - num_chars_per_line
properties:
num_lines:
description: 'Number of lines.'
@@ -12125,6 +12204,8 @@ components:
type: object
x-internal-class: true
TemplateResponseSignerRole:
+ required:
+ - name
properties:
name:
description: 'The name of the Role.'
@@ -12136,6 +12217,8 @@ components:
x-internal-class: true
TemplateUpdateFilesResponseTemplate:
description: 'Contains template id'
+ required:
+ - template_id
properties:
template_id:
description: 'The id of the Template.'
diff --git a/sdks/dotnet/docs/TemplateCreateEmbeddedDraftResponseTemplate.md b/sdks/dotnet/docs/TemplateCreateEmbeddedDraftResponseTemplate.md
index d23893dd3..14e94249e 100644
--- a/sdks/dotnet/docs/TemplateCreateEmbeddedDraftResponseTemplate.md
+++ b/sdks/dotnet/docs/TemplateCreateEmbeddedDraftResponseTemplate.md
@@ -5,7 +5,7 @@ Template object with parameters: `template_id`, `edit_url`, `expires_at`.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**TemplateId** | **string** | The id of the Template. | [optional] **EditUrl** | **string** | Link to edit the template. | [optional] **ExpiresAt** | **int** | When the link expires. | [optional] **Warnings** | [**List<WarningResponse>**](WarningResponse.md) | A list of warnings. | [optional]
+**TemplateId** | **string** | The id of the Template. | **EditUrl** | **string** | Link to edit the template. | **ExpiresAt** | **int** | When the link expires. | **Warnings** | [**List<WarningResponse>**](WarningResponse.md) | A list of warnings. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateCreateResponseTemplate.md b/sdks/dotnet/docs/TemplateCreateResponseTemplate.md
index 85941fc4e..e8b10cc5e 100644
--- a/sdks/dotnet/docs/TemplateCreateResponseTemplate.md
+++ b/sdks/dotnet/docs/TemplateCreateResponseTemplate.md
@@ -5,7 +5,7 @@ Template object with parameters: `template_id`.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**TemplateId** | **string** | The id of the Template. | [optional]
+**TemplateId** | **string** | The id of the Template. |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponse.md b/sdks/dotnet/docs/TemplateResponse.md
index ce17e3777..5e8b837b9 100644
--- a/sdks/dotnet/docs/TemplateResponse.md
+++ b/sdks/dotnet/docs/TemplateResponse.md
@@ -5,7 +5,7 @@ Contains information about the templates you and your team have created.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**TemplateId** | **string** | The id of the Template. | [optional] **Title** | **string** | The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | [optional] **Message** | **string** | The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | [optional] **UpdatedAt** | **int** | Time the template was last updated. | [optional] **IsEmbedded** | **bool?** | `true` if this template was created using an embedded flow, `false` if it was created on our website. | [optional] **IsCreator** | **bool?** | `true` if you are the owner of this template, `false` if it's been shared with you by a team member. | [optional] **CanEdit** | **bool?** | Indicates whether edit rights have been granted to you by the owner (always `true` if that's you). | [optional] **IsLocked** | **bool?** | Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests. | [optional] **Metadata** | **Object** | The metadata attached to the template. | [optional] **SignerRoles** | [**List<TemplateResponseSignerRole>**](TemplateResponseSignerRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | [optional] **CcRoles** | [**List<TemplateResponseCCRole>**](TemplateResponseCCRole.md) | An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. | [optional] **Documents** | [**List<TemplateResponseDocument>**](TemplateResponseDocument.md) | An array describing each document associated with this Template. Includes form field data for each document. | [optional] **CustomFields** | [**List<TemplateResponseDocumentCustomFieldBase>**](TemplateResponseDocumentCustomFieldBase.md) | Deprecated. Use `custom_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead. | [optional] **NamedFormFields** | [**List<TemplateResponseDocumentFormFieldBase>**](TemplateResponseDocumentFormFieldBase.md) | Deprecated. Use `form_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead. | [optional] **Accounts** | [**List<TemplateResponseAccount>**](TemplateResponseAccount.md) | An array of the Accounts that can use this Template. | [optional]
+**TemplateId** | **string** | The id of the Template. | **Title** | **string** | The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | **Message** | **string** | The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | **IsCreator** | **bool** | `true` if you are the owner of this template, `false` if it's been shared with you by a team member. | **CanEdit** | **bool** | Indicates whether edit rights have been granted to you by the owner (always `true` if that's you). | **IsLocked** | **bool** | Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests. | **Metadata** | **Object** | The metadata attached to the template. | **SignerRoles** | [**List<TemplateResponseSignerRole>**](TemplateResponseSignerRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | **CcRoles** | [**List<TemplateResponseCCRole>**](TemplateResponseCCRole.md) | An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. | **Documents** | [**List<TemplateResponseDocument>**](TemplateResponseDocument.md) | An array describing each document associated with this Template. Includes form field data for each document. | **Accounts** | [**List<TemplateResponseAccount>**](TemplateResponseAccount.md) | An array of the Accounts that can use this Template. | **Attachments** | [**List<SignatureRequestResponseAttachment>**](SignatureRequestResponseAttachment.md) | Signer attachments. | **UpdatedAt** | **int** | Time the template was last updated. | [optional] **IsEmbedded** | **bool?** | `true` if this template was created using an embedded flow, `false` if it was created on our website. Will be `null` when you are not the creator of the Template. | [optional] **CustomFields** | [**List<TemplateResponseDocumentCustomFieldBase>**](TemplateResponseDocumentCustomFieldBase.md) | Deprecated. Use `custom_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead. | [optional] **NamedFormFields** | [**List<TemplateResponseDocumentFormFieldBase>**](TemplateResponseDocumentFormFieldBase.md) | Deprecated. Use `form_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseAccount.md b/sdks/dotnet/docs/TemplateResponseAccount.md
index b69b4ebaa..297e5209a 100644
--- a/sdks/dotnet/docs/TemplateResponseAccount.md
+++ b/sdks/dotnet/docs/TemplateResponseAccount.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**AccountId** | **string** | The id of the Account. | [optional] **EmailAddress** | **string** | The email address associated with the Account. | [optional] **IsLocked** | **bool** | Returns `true` if the user has been locked out of their account by a team admin. | [optional] **IsPaidHs** | **bool** | Returns `true` if the user has a paid Dropbox Sign account. | [optional] **IsPaidHf** | **bool** | Returns `true` if the user has a paid HelloFax account. | [optional] **Quotas** | [**TemplateResponseAccountQuota**](TemplateResponseAccountQuota.md) | | [optional]
+**AccountId** | **string** | The id of the Account. | **IsLocked** | **bool** | Returns `true` if the user has been locked out of their account by a team admin. | **IsPaidHs** | **bool** | Returns `true` if the user has a paid Dropbox Sign account. | **IsPaidHf** | **bool** | Returns `true` if the user has a paid HelloFax account. | **Quotas** | [**TemplateResponseAccountQuota**](TemplateResponseAccountQuota.md) | | **EmailAddress** | **string** | The email address associated with the Account. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseAccountQuota.md b/sdks/dotnet/docs/TemplateResponseAccountQuota.md
index 5051dc54f..9b51ccf96 100644
--- a/sdks/dotnet/docs/TemplateResponseAccountQuota.md
+++ b/sdks/dotnet/docs/TemplateResponseAccountQuota.md
@@ -5,7 +5,7 @@ An array of the designated CC roles that must be specified when sending a Signat
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**TemplatesLeft** | **int** | API templates remaining. | [optional] **ApiSignatureRequestsLeft** | **int** | API signature requests remaining. | [optional] **DocumentsLeft** | **int** | Signature requests remaining. | [optional] **SmsVerificationsLeft** | **int** | SMS verifications remaining. | [optional]
+**TemplatesLeft** | **int** | API templates remaining. | **ApiSignatureRequestsLeft** | **int** | API signature requests remaining. | **DocumentsLeft** | **int** | Signature requests remaining. | **SmsVerificationsLeft** | **int** | SMS verifications remaining. |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseCCRole.md b/sdks/dotnet/docs/TemplateResponseCCRole.md
index 1e8067443..fbb67b662 100644
--- a/sdks/dotnet/docs/TemplateResponseCCRole.md
+++ b/sdks/dotnet/docs/TemplateResponseCCRole.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Name** | **string** | The name of the Role. | [optional]
+**Name** | **string** | The name of the Role. |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocument.md b/sdks/dotnet/docs/TemplateResponseDocument.md
index 6847d7b3c..2d475d964 100644
--- a/sdks/dotnet/docs/TemplateResponseDocument.md
+++ b/sdks/dotnet/docs/TemplateResponseDocument.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Name** | **string** | Name of the associated file. | [optional] **Index** | **int** | Document ordering, the lowest index is displayed first and the highest last (0-based indexing). | [optional] **FieldGroups** | [**List<TemplateResponseDocumentFieldGroup>**](TemplateResponseDocumentFieldGroup.md) | An array of Form Field Group objects. | [optional] **FormFields** | [**List<TemplateResponseDocumentFormFieldBase>**](TemplateResponseDocumentFormFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | [optional] **CustomFields** | [**List<TemplateResponseDocumentCustomFieldBase>**](TemplateResponseDocumentCustomFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | [optional] **StaticFields** | [**List<TemplateResponseDocumentStaticFieldBase>**](TemplateResponseDocumentStaticFieldBase.md) | An array describing static overlay fields. **NOTE:** Only available for certain subscriptions. | [optional]
+**Name** | **string** | Name of the associated file. | **FieldGroups** | [**List<TemplateResponseDocumentFieldGroup>**](TemplateResponseDocumentFieldGroup.md) | An array of Form Field Group objects. | **FormFields** | [**List<TemplateResponseDocumentFormFieldBase>**](TemplateResponseDocumentFormFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | **CustomFields** | [**List<TemplateResponseDocumentCustomFieldBase>**](TemplateResponseDocumentCustomFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | **StaticFields** | [**List<TemplateResponseDocumentStaticFieldBase>**](TemplateResponseDocumentStaticFieldBase.md) | An array describing static overlay fields. **NOTE:** Only available for certain subscriptions. | **Index** | **int** | Document ordering, the lowest index is displayed first and the highest last (0-based indexing). | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentCustomFieldBase.md b/sdks/dotnet/docs/TemplateResponseDocumentCustomFieldBase.md
index 9f349a7ab..11b988b67 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentCustomFieldBase.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentCustomFieldBase.md
@@ -5,7 +5,7 @@ An array of Form Field objects containing the name and type of each named field.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Type** | **string** | | **ApiId** | **string** | The unique ID for this field. | [optional] **Name** | **string** | The name of the Custom Field. | [optional] **Signer** | **string** | The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender). | [optional] **X** | **int** | The horizontal offset in pixels for this form field. | [optional] **Y** | **int** | The vertical offset in pixels for this form field. | [optional] **Width** | **int** | The width in pixels of this form field. | [optional] **Height** | **int** | The height in pixels of this form field. | [optional] **Required** | **bool** | Boolean showing whether or not this field is required. | [optional] **Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
+**ApiId** | **string** | The unique ID for this field. | **Name** | **string** | The name of the Custom Field. | **Type** | **string** | | **X** | **int** | The horizontal offset in pixels for this form field. | **Y** | **int** | The vertical offset in pixels for this form field. | **Width** | **int** | The width in pixels of this form field. | **Height** | **int** | The height in pixels of this form field. | **Required** | **bool** | Boolean showing whether or not this field is required. | **Signer** | **string** | The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender). | [optional] **Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentCustomFieldCheckbox.md b/sdks/dotnet/docs/TemplateResponseDocumentCustomFieldCheckbox.md
index 11a948265..83b4c54aa 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentCustomFieldCheckbox.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentCustomFieldCheckbox.md
@@ -5,14 +5,14 @@ This class extends `TemplateResponseDocumentCustomFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | The unique ID for this field. | [optional]
-**Name** | **string** | The name of the Custom Field. | [optional]
+**ApiId** | **string** | The unique ID for this field. |
+**Name** | **string** | The name of the Custom Field. |
+**X** | **int** | The horizontal offset in pixels for this form field. |
+**Y** | **int** | The vertical offset in pixels for this form field. |
+**Width** | **int** | The width in pixels of this form field. |
+**Height** | **int** | The height in pixels of this form field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
**Signer** | **string** | The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender). | [optional]
-**X** | **int** | The horizontal offset in pixels for this form field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this form field. | [optional]
-**Width** | **int** | The width in pixels of this form field. | [optional]
-**Height** | **int** | The height in pixels of this form field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
**Type** | **string** | The type of this Custom Field. Only `text` and `checkbox` are currently supported.
* Text uses `TemplateResponseDocumentCustomFieldText`
* Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox` | [default to "checkbox"]
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentCustomFieldText.md b/sdks/dotnet/docs/TemplateResponseDocumentCustomFieldText.md
index 8db16365b..4e2fb5a19 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentCustomFieldText.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentCustomFieldText.md
@@ -5,16 +5,16 @@ This class extends `TemplateResponseDocumentCustomFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | The unique ID for this field. | [optional]
-**Name** | **string** | The name of the Custom Field. | [optional]
+**ApiId** | **string** | The unique ID for this field. |
+**Name** | **string** | The name of the Custom Field. |
+**X** | **int** | The horizontal offset in pixels for this form field. |
+**Y** | **int** | The vertical offset in pixels for this form field. |
+**Width** | **int** | The width in pixels of this form field. |
+**Height** | **int** | The height in pixels of this form field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
**Signer** | **string** | The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender). | [optional]
-**X** | **int** | The horizontal offset in pixels for this form field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this form field. | [optional]
-**Width** | **int** | The width in pixels of this form field. | [optional]
-**Height** | **int** | The height in pixels of this form field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
-**Type** | **string** | The type of this Custom Field. Only `text` and `checkbox` are currently supported.
* Text uses `TemplateResponseDocumentCustomFieldText`
* Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox` | [default to "text"]**AvgTextLength** | [**TemplateResponseFieldAvgTextLength**](TemplateResponseFieldAvgTextLength.md) | | [optional] **IsMultiline** | **bool** | Whether this form field is multiline text. | [optional] **OriginalFontSize** | **int** | Original font size used in this form field's text. | [optional] **FontFamily** | **string** | Font family used in this form field's text. | [optional]
+**Type** | **string** | The type of this Custom Field. Only `text` and `checkbox` are currently supported.
* Text uses `TemplateResponseDocumentCustomFieldText`
* Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox` | [default to "text"]**AvgTextLength** | [**TemplateResponseFieldAvgTextLength**](TemplateResponseFieldAvgTextLength.md) | | **IsMultiline** | **bool** | Whether this form field is multiline text. | **OriginalFontSize** | **int** | Original font size used in this form field's text. | **FontFamily** | **string** | Font family used in this form field's text. |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentFieldGroup.md b/sdks/dotnet/docs/TemplateResponseDocumentFieldGroup.md
index 0dfac711c..8d3113005 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentFieldGroup.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentFieldGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Name** | **string** | The name of the form field group. | [optional] **Rule** | [**TemplateResponseDocumentFieldGroupRule**](TemplateResponseDocumentFieldGroupRule.md) | | [optional]
+**Name** | **string** | The name of the form field group. | **Rule** | [**TemplateResponseDocumentFieldGroupRule**](TemplateResponseDocumentFieldGroupRule.md) | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentFieldGroupRule.md b/sdks/dotnet/docs/TemplateResponseDocumentFieldGroupRule.md
index 44dd2eb4a..bf5970a2d 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentFieldGroupRule.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentFieldGroupRule.md
@@ -5,7 +5,7 @@ The rule used to validate checkboxes in the form field group. See [checkbox fiel
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Requirement** | **string** | 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. | [optional] **GroupLabel** | **string** | Name of the group | [optional]
+**Requirement** | **string** | 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. | **GroupLabel** | **string** | Name of the group |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldBase.md b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldBase.md
index 0e941c7ec..3d29f4f62 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldBase.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldBase.md
@@ -5,7 +5,7 @@ An array of Form Field objects containing the name and type of each named field.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Type** | **string** | | **ApiId** | **string** | A unique id for the form field. | [optional] **Name** | **string** | The name of the form field. | [optional] **Signer** | **string** | The signer of the Form Field. | [optional] **X** | **int** | The horizontal offset in pixels for this form field. | [optional] **Y** | **int** | The vertical offset in pixels for this form field. | [optional] **Width** | **int** | The width in pixels of this form field. | [optional] **Height** | **int** | The height in pixels of this form field. | [optional] **Required** | **bool** | Boolean showing whether or not this field is required. | [optional] **Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
+**ApiId** | **string** | A unique id for the form field. | **Name** | **string** | The name of the form field. | **Type** | **string** | | **Signer** | **string** | The signer of the Form Field. | **X** | **int** | The horizontal offset in pixels for this form field. | **Y** | **int** | The vertical offset in pixels for this form field. | **Width** | **int** | The width in pixels of this form field. | **Height** | **int** | The height in pixels of this form field. | **Required** | **bool** | Boolean showing whether or not this field is required. |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldCheckbox.md b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldCheckbox.md
index 45636fa5a..add6e9a18 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldCheckbox.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldCheckbox.md
@@ -5,16 +5,15 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the form field. | [optional]
-**Name** | **string** | The name of the form field. | [optional]
-**Signer** | **string** | The signer of the Form Field. | [optional]
-**X** | **int** | The horizontal offset in pixels for this form field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this form field. | [optional]
-**Width** | **int** | The width in pixels of this form field. | [optional]
-**Height** | **int** | The height in pixels of this form field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
-**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
-**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "checkbox"]
+**ApiId** | **string** | A unique id for the form field. |
+**Name** | **string** | The name of the form field. |
+**Signer** | **string** | The signer of the Form Field. |
+**X** | **int** | The horizontal offset in pixels for this form field. |
+**Y** | **int** | The vertical offset in pixels for this form field. |
+**Width** | **int** | The width in pixels of this form field. |
+**Height** | **int** | The height in pixels of this form field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
+**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "checkbox"]**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldDateSigned.md b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldDateSigned.md
index 6bf5b02b3..0c08c5ab2 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldDateSigned.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldDateSigned.md
@@ -5,16 +5,15 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the form field. | [optional]
-**Name** | **string** | The name of the form field. | [optional]
-**Signer** | **string** | The signer of the Form Field. | [optional]
-**X** | **int** | The horizontal offset in pixels for this form field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this form field. | [optional]
-**Width** | **int** | The width in pixels of this form field. | [optional]
-**Height** | **int** | The height in pixels of this form field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
-**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
-**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "date_signed"]
+**ApiId** | **string** | A unique id for the form field. |
+**Name** | **string** | The name of the form field. |
+**Signer** | **string** | The signer of the Form Field. |
+**X** | **int** | The horizontal offset in pixels for this form field. |
+**Y** | **int** | The vertical offset in pixels for this form field. |
+**Width** | **int** | The width in pixels of this form field. |
+**Height** | **int** | The height in pixels of this form field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
+**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "date_signed"]**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldDropdown.md b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldDropdown.md
index fa94587f3..cde089bc9 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldDropdown.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldDropdown.md
@@ -5,16 +5,15 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the form field. | [optional]
-**Name** | **string** | The name of the form field. | [optional]
-**Signer** | **string** | The signer of the Form Field. | [optional]
-**X** | **int** | The horizontal offset in pixels for this form field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this form field. | [optional]
-**Width** | **int** | The width in pixels of this form field. | [optional]
-**Height** | **int** | The height in pixels of this form field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
-**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
-**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "dropdown"]
+**ApiId** | **string** | A unique id for the form field. |
+**Name** | **string** | The name of the form field. |
+**Signer** | **string** | The signer of the Form Field. |
+**X** | **int** | The horizontal offset in pixels for this form field. |
+**Y** | **int** | The vertical offset in pixels for this form field. |
+**Width** | **int** | The width in pixels of this form field. |
+**Height** | **int** | The height in pixels of this form field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
+**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "dropdown"]**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldHyperlink.md b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldHyperlink.md
index c5dc34e1f..481e7f478 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldHyperlink.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldHyperlink.md
@@ -5,16 +5,15 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the form field. | [optional]
-**Name** | **string** | The name of the form field. | [optional]
-**Signer** | **string** | The signer of the Form Field. | [optional]
-**X** | **int** | The horizontal offset in pixels for this form field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this form field. | [optional]
-**Width** | **int** | The width in pixels of this form field. | [optional]
-**Height** | **int** | The height in pixels of this form field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
-**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
-**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "hyperlink"]**AvgTextLength** | [**TemplateResponseFieldAvgTextLength**](TemplateResponseFieldAvgTextLength.md) | | [optional] **IsMultiline** | **bool** | Whether this form field is multiline text. | [optional] **OriginalFontSize** | **int** | Original font size used in this form field's text. | [optional] **FontFamily** | **string** | Font family used in this form field's text. | [optional]
+**ApiId** | **string** | A unique id for the form field. |
+**Name** | **string** | The name of the form field. |
+**Signer** | **string** | The signer of the Form Field. |
+**X** | **int** | The horizontal offset in pixels for this form field. |
+**Y** | **int** | The vertical offset in pixels for this form field. |
+**Width** | **int** | The width in pixels of this form field. |
+**Height** | **int** | The height in pixels of this form field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
+**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "hyperlink"]**AvgTextLength** | [**TemplateResponseFieldAvgTextLength**](TemplateResponseFieldAvgTextLength.md) | | **IsMultiline** | **bool** | Whether this form field is multiline text. | **OriginalFontSize** | **int** | Original font size used in this form field's text. | **FontFamily** | **string** | Font family used in this form field's text. | **Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldInitials.md b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldInitials.md
index ada79ecb1..86905a63f 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldInitials.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldInitials.md
@@ -5,16 +5,15 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the form field. | [optional]
-**Name** | **string** | The name of the form field. | [optional]
-**Signer** | **string** | The signer of the Form Field. | [optional]
-**X** | **int** | The horizontal offset in pixels for this form field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this form field. | [optional]
-**Width** | **int** | The width in pixels of this form field. | [optional]
-**Height** | **int** | The height in pixels of this form field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
-**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
-**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "initials"]
+**ApiId** | **string** | A unique id for the form field. |
+**Name** | **string** | The name of the form field. |
+**Signer** | **string** | The signer of the Form Field. |
+**X** | **int** | The horizontal offset in pixels for this form field. |
+**Y** | **int** | The vertical offset in pixels for this form field. |
+**Width** | **int** | The width in pixels of this form field. |
+**Height** | **int** | The height in pixels of this form field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
+**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "initials"]**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldRadio.md b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldRadio.md
index abc332ce9..217c5357c 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldRadio.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldRadio.md
@@ -5,16 +5,15 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the form field. | [optional]
-**Name** | **string** | The name of the form field. | [optional]
-**Signer** | **string** | The signer of the Form Field. | [optional]
-**X** | **int** | The horizontal offset in pixels for this form field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this form field. | [optional]
-**Width** | **int** | The width in pixels of this form field. | [optional]
-**Height** | **int** | The height in pixels of this form field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
-**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
-**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "radio"]
+**ApiId** | **string** | A unique id for the form field. |
+**Name** | **string** | The name of the form field. |
+**Signer** | **string** | The signer of the Form Field. |
+**X** | **int** | The horizontal offset in pixels for this form field. |
+**Y** | **int** | The vertical offset in pixels for this form field. |
+**Width** | **int** | The width in pixels of this form field. |
+**Height** | **int** | The height in pixels of this form field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
+**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "radio"]**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldSignature.md b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldSignature.md
index 429769c02..08452c6cb 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldSignature.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldSignature.md
@@ -5,16 +5,15 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the form field. | [optional]
-**Name** | **string** | The name of the form field. | [optional]
-**Signer** | **string** | The signer of the Form Field. | [optional]
-**X** | **int** | The horizontal offset in pixels for this form field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this form field. | [optional]
-**Width** | **int** | The width in pixels of this form field. | [optional]
-**Height** | **int** | The height in pixels of this form field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
-**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
-**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "signature"]
+**ApiId** | **string** | A unique id for the form field. |
+**Name** | **string** | The name of the form field. |
+**Signer** | **string** | The signer of the Form Field. |
+**X** | **int** | The horizontal offset in pixels for this form field. |
+**Y** | **int** | The vertical offset in pixels for this form field. |
+**Width** | **int** | The width in pixels of this form field. |
+**Height** | **int** | The height in pixels of this form field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
+**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "signature"]**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldText.md b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldText.md
index 9bcc4780e..030296903 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentFormFieldText.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentFormFieldText.md
@@ -5,16 +5,15 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the form field. | [optional]
-**Name** | **string** | The name of the form field. | [optional]
-**Signer** | **string** | The signer of the Form Field. | [optional]
-**X** | **int** | The horizontal offset in pixels for this form field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this form field. | [optional]
-**Width** | **int** | The width in pixels of this form field. | [optional]
-**Height** | **int** | The height in pixels of this form field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
-**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
-**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "text"]**AvgTextLength** | [**TemplateResponseFieldAvgTextLength**](TemplateResponseFieldAvgTextLength.md) | | [optional] **IsMultiline** | **bool** | Whether this form field is multiline text. | [optional] **OriginalFontSize** | **int** | Original font size used in this form field's text. | [optional] **FontFamily** | **string** | Font family used in this form field's text. | [optional] **ValidationType** | **string** | Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values. | [optional]
+**ApiId** | **string** | A unique id for the form field. |
+**Name** | **string** | The name of the form field. |
+**Signer** | **string** | The signer of the Form Field. |
+**X** | **int** | The horizontal offset in pixels for this form field. |
+**Y** | **int** | The vertical offset in pixels for this form field. |
+**Width** | **int** | The width in pixels of this form field. |
+**Height** | **int** | The height in pixels of this form field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
+**Type** | **string** | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to "text"]**AvgTextLength** | [**TemplateResponseFieldAvgTextLength**](TemplateResponseFieldAvgTextLength.md) | | **IsMultiline** | **bool** | Whether this form field is multiline text. | **OriginalFontSize** | **int** | Original font size used in this form field's text. | **FontFamily** | **string** | Font family used in this form field's text. | **ValidationType** | **string** | Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values. | [optional] **Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldBase.md b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldBase.md
index b147460c8..368bc5d06 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldBase.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldBase.md
@@ -5,7 +5,7 @@ An array describing static overlay fields. **NOTE:** Only available for certain
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Type** | **string** | | **ApiId** | **string** | A unique id for the static field. | [optional] **Name** | **string** | The name of the static field. | [optional] **Signer** | **string** | The signer of the Static Field. | [optional] [default to "me_now"]**X** | **int** | The horizontal offset in pixels for this static field. | [optional] **Y** | **int** | The vertical offset in pixels for this static field. | [optional] **Width** | **int** | The width in pixels of this static field. | [optional] **Height** | **int** | The height in pixels of this static field. | [optional] **Required** | **bool** | Boolean showing whether or not this field is required. | [optional] **Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
+**ApiId** | **string** | A unique id for the static field. | **Name** | **string** | The name of the static field. | **Type** | **string** | | **Signer** | **string** | The signer of the Static Field. | [default to "me_now"]**X** | **int** | The horizontal offset in pixels for this static field. | **Y** | **int** | The vertical offset in pixels for this static field. | **Width** | **int** | The width in pixels of this static field. | **Height** | **int** | The height in pixels of this static field. | **Required** | **bool** | Boolean showing whether or not this field is required. | **Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldCheckbox.md b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldCheckbox.md
index cfa9ccb8c..b70eab4c5 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldCheckbox.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldCheckbox.md
@@ -5,14 +5,14 @@ This class extends `TemplateResponseDocumentStaticFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the static field. | [optional]
-**Name** | **string** | The name of the static field. | [optional]
-**Signer** | **string** | The signer of the Static Field. | [optional] [default to "me_now"]
-**X** | **int** | The horizontal offset in pixels for this static field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this static field. | [optional]
-**Width** | **int** | The width in pixels of this static field. | [optional]
-**Height** | **int** | The height in pixels of this static field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
+**ApiId** | **string** | A unique id for the static field. |
+**Name** | **string** | The name of the static field. |
+**Signer** | **string** | The signer of the Static Field. | [default to "me_now"]
+**X** | **int** | The horizontal offset in pixels for this static field. |
+**Y** | **int** | The vertical offset in pixels for this static field. |
+**Width** | **int** | The width in pixels of this static field. |
+**Height** | **int** | The height in pixels of this static field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
**Type** | **string** | The type of this static field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentStaticFieldText`
* Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
* Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentStaticFieldInitials` | [default to "checkbox"]
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldDateSigned.md b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldDateSigned.md
index bae7b8ab4..935ac5748 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldDateSigned.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldDateSigned.md
@@ -5,14 +5,14 @@ This class extends `TemplateResponseDocumentStaticFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the static field. | [optional]
-**Name** | **string** | The name of the static field. | [optional]
-**Signer** | **string** | The signer of the Static Field. | [optional] [default to "me_now"]
-**X** | **int** | The horizontal offset in pixels for this static field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this static field. | [optional]
-**Width** | **int** | The width in pixels of this static field. | [optional]
-**Height** | **int** | The height in pixels of this static field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
+**ApiId** | **string** | A unique id for the static field. |
+**Name** | **string** | The name of the static field. |
+**Signer** | **string** | The signer of the Static Field. | [default to "me_now"]
+**X** | **int** | The horizontal offset in pixels for this static field. |
+**Y** | **int** | The vertical offset in pixels for this static field. |
+**Width** | **int** | The width in pixels of this static field. |
+**Height** | **int** | The height in pixels of this static field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
**Type** | **string** | The type of this static field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentStaticFieldText`
* Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
* Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentStaticFieldInitials` | [default to "date_signed"]
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldDropdown.md b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldDropdown.md
index 7815923f9..327d1ccb1 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldDropdown.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldDropdown.md
@@ -5,14 +5,14 @@ This class extends `TemplateResponseDocumentStaticFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the static field. | [optional]
-**Name** | **string** | The name of the static field. | [optional]
-**Signer** | **string** | The signer of the Static Field. | [optional] [default to "me_now"]
-**X** | **int** | The horizontal offset in pixels for this static field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this static field. | [optional]
-**Width** | **int** | The width in pixels of this static field. | [optional]
-**Height** | **int** | The height in pixels of this static field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
+**ApiId** | **string** | A unique id for the static field. |
+**Name** | **string** | The name of the static field. |
+**Signer** | **string** | The signer of the Static Field. | [default to "me_now"]
+**X** | **int** | The horizontal offset in pixels for this static field. |
+**Y** | **int** | The vertical offset in pixels for this static field. |
+**Width** | **int** | The width in pixels of this static field. |
+**Height** | **int** | The height in pixels of this static field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
**Type** | **string** | The type of this static field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentStaticFieldText`
* Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
* Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentStaticFieldInitials` | [default to "dropdown"]
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldHyperlink.md b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldHyperlink.md
index 81b419793..f2a3de8a4 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldHyperlink.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldHyperlink.md
@@ -5,14 +5,14 @@ This class extends `TemplateResponseDocumentStaticFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the static field. | [optional]
-**Name** | **string** | The name of the static field. | [optional]
-**Signer** | **string** | The signer of the Static Field. | [optional] [default to "me_now"]
-**X** | **int** | The horizontal offset in pixels for this static field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this static field. | [optional]
-**Width** | **int** | The width in pixels of this static field. | [optional]
-**Height** | **int** | The height in pixels of this static field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
+**ApiId** | **string** | A unique id for the static field. |
+**Name** | **string** | The name of the static field. |
+**Signer** | **string** | The signer of the Static Field. | [default to "me_now"]
+**X** | **int** | The horizontal offset in pixels for this static field. |
+**Y** | **int** | The vertical offset in pixels for this static field. |
+**Width** | **int** | The width in pixels of this static field. |
+**Height** | **int** | The height in pixels of this static field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
**Type** | **string** | The type of this static field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentStaticFieldText`
* Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
* Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentStaticFieldInitials` | [default to "hyperlink"]
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldInitials.md b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldInitials.md
index a9dae476b..0cc875be7 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldInitials.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldInitials.md
@@ -5,14 +5,14 @@ This class extends `TemplateResponseDocumentStaticFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the static field. | [optional]
-**Name** | **string** | The name of the static field. | [optional]
-**Signer** | **string** | The signer of the Static Field. | [optional] [default to "me_now"]
-**X** | **int** | The horizontal offset in pixels for this static field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this static field. | [optional]
-**Width** | **int** | The width in pixels of this static field. | [optional]
-**Height** | **int** | The height in pixels of this static field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
+**ApiId** | **string** | A unique id for the static field. |
+**Name** | **string** | The name of the static field. |
+**Signer** | **string** | The signer of the Static Field. | [default to "me_now"]
+**X** | **int** | The horizontal offset in pixels for this static field. |
+**Y** | **int** | The vertical offset in pixels for this static field. |
+**Width** | **int** | The width in pixels of this static field. |
+**Height** | **int** | The height in pixels of this static field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
**Type** | **string** | The type of this static field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentStaticFieldText`
* Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
* Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentStaticFieldInitials` | [default to "initials"]
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldRadio.md b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldRadio.md
index a13dc60d2..e73fa66a8 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldRadio.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldRadio.md
@@ -5,14 +5,14 @@ This class extends `TemplateResponseDocumentStaticFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the static field. | [optional]
-**Name** | **string** | The name of the static field. | [optional]
-**Signer** | **string** | The signer of the Static Field. | [optional] [default to "me_now"]
-**X** | **int** | The horizontal offset in pixels for this static field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this static field. | [optional]
-**Width** | **int** | The width in pixels of this static field. | [optional]
-**Height** | **int** | The height in pixels of this static field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
+**ApiId** | **string** | A unique id for the static field. |
+**Name** | **string** | The name of the static field. |
+**Signer** | **string** | The signer of the Static Field. | [default to "me_now"]
+**X** | **int** | The horizontal offset in pixels for this static field. |
+**Y** | **int** | The vertical offset in pixels for this static field. |
+**Width** | **int** | The width in pixels of this static field. |
+**Height** | **int** | The height in pixels of this static field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
**Type** | **string** | The type of this static field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentStaticFieldText`
* Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
* Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentStaticFieldInitials` | [default to "radio"]
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldSignature.md b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldSignature.md
index 7d2481d97..6900f646f 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldSignature.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldSignature.md
@@ -5,14 +5,14 @@ This class extends `TemplateResponseDocumentStaticFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the static field. | [optional]
-**Name** | **string** | The name of the static field. | [optional]
-**Signer** | **string** | The signer of the Static Field. | [optional] [default to "me_now"]
-**X** | **int** | The horizontal offset in pixels for this static field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this static field. | [optional]
-**Width** | **int** | The width in pixels of this static field. | [optional]
-**Height** | **int** | The height in pixels of this static field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
+**ApiId** | **string** | A unique id for the static field. |
+**Name** | **string** | The name of the static field. |
+**Signer** | **string** | The signer of the Static Field. | [default to "me_now"]
+**X** | **int** | The horizontal offset in pixels for this static field. |
+**Y** | **int** | The vertical offset in pixels for this static field. |
+**Width** | **int** | The width in pixels of this static field. |
+**Height** | **int** | The height in pixels of this static field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
**Type** | **string** | The type of this static field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentStaticFieldText`
* Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
* Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentStaticFieldInitials` | [default to "signature"]
diff --git a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldText.md b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldText.md
index b44f3f3e4..8ec627f04 100644
--- a/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldText.md
+++ b/sdks/dotnet/docs/TemplateResponseDocumentStaticFieldText.md
@@ -5,14 +5,14 @@ This class extends `TemplateResponseDocumentStaticFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**ApiId** | **string** | A unique id for the static field. | [optional]
-**Name** | **string** | The name of the static field. | [optional]
-**Signer** | **string** | The signer of the Static Field. | [optional] [default to "me_now"]
-**X** | **int** | The horizontal offset in pixels for this static field. | [optional]
-**Y** | **int** | The vertical offset in pixels for this static field. | [optional]
-**Width** | **int** | The width in pixels of this static field. | [optional]
-**Height** | **int** | The height in pixels of this static field. | [optional]
-**Required** | **bool** | Boolean showing whether or not this field is required. | [optional]
+**ApiId** | **string** | A unique id for the static field. |
+**Name** | **string** | The name of the static field. |
+**Signer** | **string** | The signer of the Static Field. | [default to "me_now"]
+**X** | **int** | The horizontal offset in pixels for this static field. |
+**Y** | **int** | The vertical offset in pixels for this static field. |
+**Width** | **int** | The width in pixels of this static field. |
+**Height** | **int** | The height in pixels of this static field. |
+**Required** | **bool** | Boolean showing whether or not this field is required. |
**Group** | **string** | The name of the group this field is in. If this field is not a group, this defaults to `null`. | [optional]
**Type** | **string** | The type of this static field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentStaticFieldText`
* Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentStaticFieldRadio`
* Signature Field uses `TemplateResponseDocumentStaticFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentStaticFieldInitials` | [default to "text"]
diff --git a/sdks/dotnet/docs/TemplateResponseFieldAvgTextLength.md b/sdks/dotnet/docs/TemplateResponseFieldAvgTextLength.md
index a2773f068..58559eab7 100644
--- a/sdks/dotnet/docs/TemplateResponseFieldAvgTextLength.md
+++ b/sdks/dotnet/docs/TemplateResponseFieldAvgTextLength.md
@@ -5,7 +5,7 @@ Average text length in this field.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**NumLines** | **int** | Number of lines. | [optional] **NumCharsPerLine** | **int** | Number of characters per line. | [optional]
+**NumLines** | **int** | Number of lines. | **NumCharsPerLine** | **int** | Number of characters per line. |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateResponseSignerRole.md b/sdks/dotnet/docs/TemplateResponseSignerRole.md
index ddead2a48..8a1fe3d5e 100644
--- a/sdks/dotnet/docs/TemplateResponseSignerRole.md
+++ b/sdks/dotnet/docs/TemplateResponseSignerRole.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Name** | **string** | The name of the Role. | [optional] **Order** | **int** | If signer order is assigned this is the 0-based index for this role. | [optional]
+**Name** | **string** | The name of the Role. | **Order** | **int** | If signer order is assigned this is the 0-based index for this role. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/docs/TemplateUpdateFilesResponseTemplate.md b/sdks/dotnet/docs/TemplateUpdateFilesResponseTemplate.md
index 390961e68..c057d7d3a 100644
--- a/sdks/dotnet/docs/TemplateUpdateFilesResponseTemplate.md
+++ b/sdks/dotnet/docs/TemplateUpdateFilesResponseTemplate.md
@@ -5,7 +5,7 @@ Contains template id
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**TemplateId** | **string** | The id of the Template. | [optional] **Warnings** | [**List<WarningResponse>**](WarningResponse.md) | A list of warnings. | [optional]
+**TemplateId** | **string** | The id of the Template. | **Warnings** | [**List<WarningResponse>**](WarningResponse.md) | A list of warnings. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateEmbeddedDraftResponseTemplate.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateEmbeddedDraftResponseTemplate.cs
index fb8ca4762..db713a0e3 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateEmbeddedDraftResponseTemplate.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateEmbeddedDraftResponseTemplate.cs
@@ -41,14 +41,24 @@ protected TemplateCreateEmbeddedDraftResponseTemplate() { }
///
/// Initializes a new instance of the class.
///
- /// The id of the Template..
- /// Link to edit the template..
- /// When the link expires..
+ /// The id of the Template. (required).
+ /// Link to edit the template. (required).
+ /// When the link expires. (required).
/// A list of warnings..
public TemplateCreateEmbeddedDraftResponseTemplate(string templateId = default(string), string editUrl = default(string), int expiresAt = default(int), List warnings = default(List))
{
+ // to ensure "templateId" is required (not null)
+ if (templateId == null)
+ {
+ throw new ArgumentNullException("templateId is a required property for TemplateCreateEmbeddedDraftResponseTemplate and cannot be null");
+ }
this.TemplateId = templateId;
+ // to ensure "editUrl" is required (not null)
+ if (editUrl == null)
+ {
+ throw new ArgumentNullException("editUrl is a required property for TemplateCreateEmbeddedDraftResponseTemplate and cannot be null");
+ }
this.EditUrl = editUrl;
this.ExpiresAt = expiresAt;
this.Warnings = warnings;
@@ -74,21 +84,21 @@ public static TemplateCreateEmbeddedDraftResponseTemplate Init(string jsonData)
/// The id of the Template.
///
/// The id of the Template.
- [DataMember(Name = "template_id", EmitDefaultValue = true)]
+ [DataMember(Name = "template_id", IsRequired = true, EmitDefaultValue = true)]
public string TemplateId { get; set; }
///
/// Link to edit the template.
///
/// Link to edit the template.
- [DataMember(Name = "edit_url", EmitDefaultValue = true)]
+ [DataMember(Name = "edit_url", IsRequired = true, EmitDefaultValue = true)]
public string EditUrl { get; set; }
///
/// When the link expires.
///
/// When the link expires.
- [DataMember(Name = "expires_at", EmitDefaultValue = true)]
+ [DataMember(Name = "expires_at", IsRequired = true, EmitDefaultValue = true)]
public int ExpiresAt { get; set; }
///
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateResponseTemplate.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateResponseTemplate.cs
index 1c362dd91..1ad97711a 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateResponseTemplate.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateResponseTemplate.cs
@@ -41,10 +41,15 @@ protected TemplateCreateResponseTemplate() { }
///
/// Initializes a new instance of the class.
///
- /// The id of the Template..
+ /// The id of the Template. (required).
public TemplateCreateResponseTemplate(string templateId = default(string))
{
+ // to ensure "templateId" is required (not null)
+ if (templateId == null)
+ {
+ throw new ArgumentNullException("templateId is a required property for TemplateCreateResponseTemplate and cannot be null");
+ }
this.TemplateId = templateId;
}
@@ -68,7 +73,7 @@ public static TemplateCreateResponseTemplate Init(string jsonData)
/// The id of the Template.
///
/// The id of the Template.
- [DataMember(Name = "template_id", EmitDefaultValue = true)]
+ [DataMember(Name = "template_id", IsRequired = true, EmitDefaultValue = true)]
public string TemplateId { get; set; }
///
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponse.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponse.cs
index 6ec3587f8..9a96d947e 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponse.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponse.cs
@@ -41,39 +41,86 @@ protected TemplateResponse() { }
///
/// Initializes a new instance of the class.
///
- /// The id of the Template..
- /// The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest..
- /// The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest..
+ /// The id of the Template. (required).
+ /// The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. (required).
+ /// The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. (required).
/// Time the template was last updated..
- /// `true` if this template was created using an embedded flow, `false` if it was created on our website..
- /// `true` if you are the owner of this template, `false` if it's been shared with you by a team member..
- /// Indicates whether edit rights have been granted to you by the owner (always `true` if that's you)..
- /// Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests..
- /// The metadata attached to the template..
- /// An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template..
- /// An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template..
- /// An array describing each document associated with this Template. Includes form field data for each document..
+ /// `true` if this template was created using an embedded flow, `false` if it was created on our website. Will be `null` when you are not the creator of the Template..
+ /// `true` if you are the owner of this template, `false` if it's been shared with you by a team member. (required).
+ /// Indicates whether edit rights have been granted to you by the owner (always `true` if that's you). (required).
+ /// Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests. (required).
+ /// The metadata attached to the template. (required).
+ /// An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. (required).
+ /// An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. (required).
+ /// An array describing each document associated with this Template. Includes form field data for each document. (required).
/// Deprecated. Use `custom_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead..
/// Deprecated. Use `form_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead..
- /// An array of the Accounts that can use this Template..
- public TemplateResponse(string templateId = default(string), string title = default(string), string message = default(string), int updatedAt = default(int), bool? isEmbedded = default(bool?), bool? isCreator = default(bool?), bool? canEdit = default(bool?), bool? isLocked = default(bool?), Object metadata = default(Object), List signerRoles = default(List), List ccRoles = default(List), List documents = default(List), List customFields = default(List), List namedFormFields = default(List), List accounts = default(List))
+ /// An array of the Accounts that can use this Template. (required).
+ /// Signer attachments. (required).
+ public TemplateResponse(string templateId = default(string), string title = default(string), string message = default(string), int updatedAt = default(int), bool? isEmbedded = default(bool?), bool isCreator = default(bool), bool canEdit = default(bool), bool isLocked = default(bool), Object metadata = default(Object), List signerRoles = default(List), List ccRoles = default(List), List documents = default(List), List customFields = default(List), List namedFormFields = default(List), List accounts = default(List), List attachments = default(List))
{
+ // to ensure "templateId" is required (not null)
+ if (templateId == null)
+ {
+ throw new ArgumentNullException("templateId is a required property for TemplateResponse and cannot be null");
+ }
this.TemplateId = templateId;
+ // to ensure "title" is required (not null)
+ if (title == null)
+ {
+ throw new ArgumentNullException("title is a required property for TemplateResponse and cannot be null");
+ }
this.Title = title;
+ // to ensure "message" is required (not null)
+ if (message == null)
+ {
+ throw new ArgumentNullException("message is a required property for TemplateResponse and cannot be null");
+ }
this.Message = message;
- this.UpdatedAt = updatedAt;
- this.IsEmbedded = isEmbedded;
this.IsCreator = isCreator;
this.CanEdit = canEdit;
this.IsLocked = isLocked;
+ // to ensure "metadata" is required (not null)
+ if (metadata == null)
+ {
+ throw new ArgumentNullException("metadata is a required property for TemplateResponse and cannot be null");
+ }
this.Metadata = metadata;
+ // to ensure "signerRoles" is required (not null)
+ if (signerRoles == null)
+ {
+ throw new ArgumentNullException("signerRoles is a required property for TemplateResponse and cannot be null");
+ }
this.SignerRoles = signerRoles;
+ // to ensure "ccRoles" is required (not null)
+ if (ccRoles == null)
+ {
+ throw new ArgumentNullException("ccRoles is a required property for TemplateResponse and cannot be null");
+ }
this.CcRoles = ccRoles;
+ // to ensure "documents" is required (not null)
+ if (documents == null)
+ {
+ throw new ArgumentNullException("documents is a required property for TemplateResponse and cannot be null");
+ }
this.Documents = documents;
+ // to ensure "accounts" is required (not null)
+ if (accounts == null)
+ {
+ throw new ArgumentNullException("accounts is a required property for TemplateResponse and cannot be null");
+ }
+ this.Accounts = accounts;
+ // to ensure "attachments" is required (not null)
+ if (attachments == null)
+ {
+ throw new ArgumentNullException("attachments is a required property for TemplateResponse and cannot be null");
+ }
+ this.Attachments = attachments;
+ this.UpdatedAt = updatedAt;
+ this.IsEmbedded = isEmbedded;
this.CustomFields = customFields;
this.NamedFormFields = namedFormFields;
- this.Accounts = accounts;
}
///
@@ -96,86 +143,100 @@ public static TemplateResponse Init(string jsonData)
/// The id of the Template.
///
/// The id of the Template.
- [DataMember(Name = "template_id", EmitDefaultValue = true)]
+ [DataMember(Name = "template_id", IsRequired = true, EmitDefaultValue = true)]
public string TemplateId { get; set; }
///
/// The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest.
///
/// The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest.
- [DataMember(Name = "title", EmitDefaultValue = true)]
+ [DataMember(Name = "title", IsRequired = true, EmitDefaultValue = true)]
public string Title { get; set; }
///
/// The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest.
///
/// The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest.
- [DataMember(Name = "message", EmitDefaultValue = true)]
+ [DataMember(Name = "message", IsRequired = true, EmitDefaultValue = true)]
public string Message { get; set; }
- ///
- /// Time the template was last updated.
- ///
- /// Time the template was last updated.
- [DataMember(Name = "updated_at", EmitDefaultValue = true)]
- public int UpdatedAt { get; set; }
-
- ///
- /// `true` if this template was created using an embedded flow, `false` if it was created on our website.
- ///
- /// `true` if this template was created using an embedded flow, `false` if it was created on our website.
- [DataMember(Name = "is_embedded", EmitDefaultValue = true)]
- public bool? IsEmbedded { get; set; }
-
///
/// `true` if you are the owner of this template, `false` if it's been shared with you by a team member.
///
/// `true` if you are the owner of this template, `false` if it's been shared with you by a team member.
- [DataMember(Name = "is_creator", EmitDefaultValue = true)]
- public bool? IsCreator { get; set; }
+ [DataMember(Name = "is_creator", IsRequired = true, EmitDefaultValue = true)]
+ public bool IsCreator { get; set; }
///
/// Indicates whether edit rights have been granted to you by the owner (always `true` if that's you).
///
/// Indicates whether edit rights have been granted to you by the owner (always `true` if that's you).
- [DataMember(Name = "can_edit", EmitDefaultValue = true)]
- public bool? CanEdit { get; set; }
+ [DataMember(Name = "can_edit", IsRequired = true, EmitDefaultValue = true)]
+ public bool CanEdit { get; set; }
///
/// Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests.
///
/// Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests.
- [DataMember(Name = "is_locked", EmitDefaultValue = true)]
- public bool? IsLocked { get; set; }
+ [DataMember(Name = "is_locked", IsRequired = true, EmitDefaultValue = true)]
+ public bool IsLocked { get; set; }
///
/// The metadata attached to the template.
///
/// The metadata attached to the template.
- [DataMember(Name = "metadata", EmitDefaultValue = true)]
+ [DataMember(Name = "metadata", IsRequired = true, EmitDefaultValue = true)]
public Object Metadata { get; set; }
///
/// An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template.
///
/// An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template.
- [DataMember(Name = "signer_roles", EmitDefaultValue = true)]
+ [DataMember(Name = "signer_roles", IsRequired = true, EmitDefaultValue = true)]
public List SignerRoles { get; set; }
///
/// An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template.
///
/// An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template.
- [DataMember(Name = "cc_roles", EmitDefaultValue = true)]
+ [DataMember(Name = "cc_roles", IsRequired = true, EmitDefaultValue = true)]
public List CcRoles { get; set; }
///
/// An array describing each document associated with this Template. Includes form field data for each document.
///
/// An array describing each document associated with this Template. Includes form field data for each document.
- [DataMember(Name = "documents", EmitDefaultValue = true)]
+ [DataMember(Name = "documents", IsRequired = true, EmitDefaultValue = true)]
public List Documents { get; set; }
+ ///
+ /// An array of the Accounts that can use this Template.
+ ///
+ /// An array of the Accounts that can use this Template.
+ [DataMember(Name = "accounts", IsRequired = true, EmitDefaultValue = true)]
+ public List Accounts { get; set; }
+
+ ///
+ /// Signer attachments.
+ ///
+ /// Signer attachments.
+ [DataMember(Name = "attachments", IsRequired = true, EmitDefaultValue = true)]
+ public List Attachments { get; set; }
+
+ ///
+ /// Time the template was last updated.
+ ///
+ /// Time the template was last updated.
+ [DataMember(Name = "updated_at", EmitDefaultValue = true)]
+ public int UpdatedAt { get; set; }
+
+ ///
+ /// `true` if this template was created using an embedded flow, `false` if it was created on our website. Will be `null` when you are not the creator of the Template.
+ ///
+ /// `true` if this template was created using an embedded flow, `false` if it was created on our website. Will be `null` when you are not the creator of the Template.
+ [DataMember(Name = "is_embedded", EmitDefaultValue = true)]
+ public bool? IsEmbedded { get; set; }
+
///
/// Deprecated. Use `custom_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead.
///
@@ -192,13 +253,6 @@ public static TemplateResponse Init(string jsonData)
[Obsolete]
public List NamedFormFields { get; set; }
- ///
- /// An array of the Accounts that can use this Template.
- ///
- /// An array of the Accounts that can use this Template.
- [DataMember(Name = "accounts", EmitDefaultValue = true)]
- public List Accounts { get; set; }
-
///
/// Returns the string presentation of the object
///
@@ -210,8 +264,6 @@ public override string ToString()
sb.Append(" TemplateId: ").Append(TemplateId).Append("\n");
sb.Append(" Title: ").Append(Title).Append("\n");
sb.Append(" Message: ").Append(Message).Append("\n");
- sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
- sb.Append(" IsEmbedded: ").Append(IsEmbedded).Append("\n");
sb.Append(" IsCreator: ").Append(IsCreator).Append("\n");
sb.Append(" CanEdit: ").Append(CanEdit).Append("\n");
sb.Append(" IsLocked: ").Append(IsLocked).Append("\n");
@@ -219,9 +271,12 @@ public override string ToString()
sb.Append(" SignerRoles: ").Append(SignerRoles).Append("\n");
sb.Append(" CcRoles: ").Append(CcRoles).Append("\n");
sb.Append(" Documents: ").Append(Documents).Append("\n");
+ sb.Append(" Accounts: ").Append(Accounts).Append("\n");
+ sb.Append(" Attachments: ").Append(Attachments).Append("\n");
+ sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
+ sb.Append(" IsEmbedded: ").Append(IsEmbedded).Append("\n");
sb.Append(" CustomFields: ").Append(CustomFields).Append("\n");
sb.Append(" NamedFormFields: ").Append(NamedFormFields).Append("\n");
- sb.Append(" Accounts: ").Append(Accounts).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -272,29 +327,17 @@ public bool Equals(TemplateResponse input)
(this.Message != null &&
this.Message.Equals(input.Message))
) &&
- (
- this.UpdatedAt == input.UpdatedAt ||
- this.UpdatedAt.Equals(input.UpdatedAt)
- ) &&
- (
- this.IsEmbedded == input.IsEmbedded ||
- (this.IsEmbedded != null &&
- this.IsEmbedded.Equals(input.IsEmbedded))
- ) &&
(
this.IsCreator == input.IsCreator ||
- (this.IsCreator != null &&
- this.IsCreator.Equals(input.IsCreator))
+ this.IsCreator.Equals(input.IsCreator)
) &&
(
this.CanEdit == input.CanEdit ||
- (this.CanEdit != null &&
- this.CanEdit.Equals(input.CanEdit))
+ this.CanEdit.Equals(input.CanEdit)
) &&
(
this.IsLocked == input.IsLocked ||
- (this.IsLocked != null &&
- this.IsLocked.Equals(input.IsLocked))
+ this.IsLocked.Equals(input.IsLocked)
) &&
(
this.Metadata == input.Metadata ||
@@ -319,6 +362,27 @@ public bool Equals(TemplateResponse input)
input.Documents != null &&
this.Documents.SequenceEqual(input.Documents)
) &&
+ (
+ this.Accounts == input.Accounts ||
+ this.Accounts != null &&
+ input.Accounts != null &&
+ this.Accounts.SequenceEqual(input.Accounts)
+ ) &&
+ (
+ this.Attachments == input.Attachments ||
+ this.Attachments != null &&
+ input.Attachments != null &&
+ this.Attachments.SequenceEqual(input.Attachments)
+ ) &&
+ (
+ this.UpdatedAt == input.UpdatedAt ||
+ this.UpdatedAt.Equals(input.UpdatedAt)
+ ) &&
+ (
+ this.IsEmbedded == input.IsEmbedded ||
+ (this.IsEmbedded != null &&
+ this.IsEmbedded.Equals(input.IsEmbedded))
+ ) &&
(
this.CustomFields == input.CustomFields ||
this.CustomFields != null &&
@@ -330,12 +394,6 @@ public bool Equals(TemplateResponse input)
this.NamedFormFields != null &&
input.NamedFormFields != null &&
this.NamedFormFields.SequenceEqual(input.NamedFormFields)
- ) &&
- (
- this.Accounts == input.Accounts ||
- this.Accounts != null &&
- input.Accounts != null &&
- this.Accounts.SequenceEqual(input.Accounts)
);
}
@@ -360,23 +418,9 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Message.GetHashCode();
}
- hashCode = (hashCode * 59) + this.UpdatedAt.GetHashCode();
- if (this.IsEmbedded != null)
- {
- hashCode = (hashCode * 59) + this.IsEmbedded.GetHashCode();
- }
- if (this.IsCreator != null)
- {
- hashCode = (hashCode * 59) + this.IsCreator.GetHashCode();
- }
- if (this.CanEdit != null)
- {
- hashCode = (hashCode * 59) + this.CanEdit.GetHashCode();
- }
- if (this.IsLocked != null)
- {
- hashCode = (hashCode * 59) + this.IsLocked.GetHashCode();
- }
+ hashCode = (hashCode * 59) + this.IsCreator.GetHashCode();
+ hashCode = (hashCode * 59) + this.CanEdit.GetHashCode();
+ hashCode = (hashCode * 59) + this.IsLocked.GetHashCode();
if (this.Metadata != null)
{
hashCode = (hashCode * 59) + this.Metadata.GetHashCode();
@@ -393,6 +437,19 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Documents.GetHashCode();
}
+ if (this.Accounts != null)
+ {
+ hashCode = (hashCode * 59) + this.Accounts.GetHashCode();
+ }
+ if (this.Attachments != null)
+ {
+ hashCode = (hashCode * 59) + this.Attachments.GetHashCode();
+ }
+ hashCode = (hashCode * 59) + this.UpdatedAt.GetHashCode();
+ if (this.IsEmbedded != null)
+ {
+ hashCode = (hashCode * 59) + this.IsEmbedded.GetHashCode();
+ }
if (this.CustomFields != null)
{
hashCode = (hashCode * 59) + this.CustomFields.GetHashCode();
@@ -401,10 +458,6 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.NamedFormFields.GetHashCode();
}
- if (this.Accounts != null)
- {
- hashCode = (hashCode * 59) + this.Accounts.GetHashCode();
- }
return hashCode;
}
}
@@ -443,38 +496,24 @@ public List GetOpenApiTypes()
Value = Message,
});
types.Add(new OpenApiType()
- {
- Name = "updated_at",
- Property = "UpdatedAt",
- Type = "int",
- Value = UpdatedAt,
- });
- types.Add(new OpenApiType()
- {
- Name = "is_embedded",
- Property = "IsEmbedded",
- Type = "bool?",
- Value = IsEmbedded,
- });
- types.Add(new OpenApiType()
{
Name = "is_creator",
Property = "IsCreator",
- Type = "bool?",
+ Type = "bool",
Value = IsCreator,
});
types.Add(new OpenApiType()
{
Name = "can_edit",
Property = "CanEdit",
- Type = "bool?",
+ Type = "bool",
Value = CanEdit,
});
types.Add(new OpenApiType()
{
Name = "is_locked",
Property = "IsLocked",
- Type = "bool?",
+ Type = "bool",
Value = IsLocked,
});
types.Add(new OpenApiType()
@@ -506,6 +545,34 @@ public List GetOpenApiTypes()
Value = Documents,
});
types.Add(new OpenApiType()
+ {
+ Name = "accounts",
+ Property = "Accounts",
+ Type = "List",
+ Value = Accounts,
+ });
+ types.Add(new OpenApiType()
+ {
+ Name = "attachments",
+ Property = "Attachments",
+ Type = "List",
+ Value = Attachments,
+ });
+ types.Add(new OpenApiType()
+ {
+ Name = "updated_at",
+ Property = "UpdatedAt",
+ Type = "int",
+ Value = UpdatedAt,
+ });
+ types.Add(new OpenApiType()
+ {
+ Name = "is_embedded",
+ Property = "IsEmbedded",
+ Type = "bool?",
+ Value = IsEmbedded,
+ });
+ types.Add(new OpenApiType()
{
Name = "custom_fields",
Property = "CustomFields",
@@ -519,13 +586,6 @@ public List GetOpenApiTypes()
Type = "List",
Value = NamedFormFields,
});
- types.Add(new OpenApiType()
- {
- Name = "accounts",
- Property = "Accounts",
- Type = "List",
- Value = Accounts,
- });
return types;
}
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseAccount.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseAccount.cs
index 0a40c5548..ef4030d8f 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseAccount.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseAccount.cs
@@ -41,21 +41,31 @@ protected TemplateResponseAccount() { }
///
/// Initializes a new instance of the class.
///
- /// The id of the Account..
+ /// The id of the Account. (required).
/// The email address associated with the Account..
- /// Returns `true` if the user has been locked out of their account by a team admin..
- /// Returns `true` if the user has a paid Dropbox Sign account..
- /// Returns `true` if the user has a paid HelloFax account..
- /// quotas.
+ /// Returns `true` if the user has been locked out of their account by a team admin. (required).
+ /// Returns `true` if the user has a paid Dropbox Sign account. (required).
+ /// Returns `true` if the user has a paid HelloFax account. (required).
+ /// quotas (required).
public TemplateResponseAccount(string accountId = default(string), string emailAddress = default(string), bool isLocked = default(bool), bool isPaidHs = default(bool), bool isPaidHf = default(bool), TemplateResponseAccountQuota quotas = default(TemplateResponseAccountQuota))
{
+ // to ensure "accountId" is required (not null)
+ if (accountId == null)
+ {
+ throw new ArgumentNullException("accountId is a required property for TemplateResponseAccount and cannot be null");
+ }
this.AccountId = accountId;
- this.EmailAddress = emailAddress;
this.IsLocked = isLocked;
this.IsPaidHs = isPaidHs;
this.IsPaidHf = isPaidHf;
+ // to ensure "quotas" is required (not null)
+ if (quotas == null)
+ {
+ throw new ArgumentNullException("quotas is a required property for TemplateResponseAccount and cannot be null");
+ }
this.Quotas = quotas;
+ this.EmailAddress = emailAddress;
}
///
@@ -78,43 +88,43 @@ public static TemplateResponseAccount Init(string jsonData)
/// The id of the Account.
///
/// The id of the Account.
- [DataMember(Name = "account_id", EmitDefaultValue = true)]
+ [DataMember(Name = "account_id", IsRequired = true, EmitDefaultValue = true)]
public string AccountId { get; set; }
- ///
- /// The email address associated with the Account.
- ///
- /// The email address associated with the Account.
- [DataMember(Name = "email_address", EmitDefaultValue = true)]
- public string EmailAddress { get; set; }
-
///
/// Returns `true` if the user has been locked out of their account by a team admin.
///
/// Returns `true` if the user has been locked out of their account by a team admin.
- [DataMember(Name = "is_locked", EmitDefaultValue = true)]
+ [DataMember(Name = "is_locked", IsRequired = true, EmitDefaultValue = true)]
public bool IsLocked { get; set; }
///
/// Returns `true` if the user has a paid Dropbox Sign account.
///
/// Returns `true` if the user has a paid Dropbox Sign account.
- [DataMember(Name = "is_paid_hs", EmitDefaultValue = true)]
+ [DataMember(Name = "is_paid_hs", IsRequired = true, EmitDefaultValue = true)]
public bool IsPaidHs { get; set; }
///
/// Returns `true` if the user has a paid HelloFax account.
///
/// Returns `true` if the user has a paid HelloFax account.
- [DataMember(Name = "is_paid_hf", EmitDefaultValue = true)]
+ [DataMember(Name = "is_paid_hf", IsRequired = true, EmitDefaultValue = true)]
public bool IsPaidHf { get; set; }
///
/// Gets or Sets Quotas
///
- [DataMember(Name = "quotas", EmitDefaultValue = true)]
+ [DataMember(Name = "quotas", IsRequired = true, EmitDefaultValue = true)]
public TemplateResponseAccountQuota Quotas { get; set; }
+ ///
+ /// The email address associated with the Account.
+ ///
+ /// The email address associated with the Account.
+ [DataMember(Name = "email_address", EmitDefaultValue = true)]
+ public string EmailAddress { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -124,11 +134,11 @@ public override string ToString()
StringBuilder sb = new StringBuilder();
sb.Append("class TemplateResponseAccount {\n");
sb.Append(" AccountId: ").Append(AccountId).Append("\n");
- sb.Append(" EmailAddress: ").Append(EmailAddress).Append("\n");
sb.Append(" IsLocked: ").Append(IsLocked).Append("\n");
sb.Append(" IsPaidHs: ").Append(IsPaidHs).Append("\n");
sb.Append(" IsPaidHf: ").Append(IsPaidHf).Append("\n");
sb.Append(" Quotas: ").Append(Quotas).Append("\n");
+ sb.Append(" EmailAddress: ").Append(EmailAddress).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -169,11 +179,6 @@ public bool Equals(TemplateResponseAccount input)
(this.AccountId != null &&
this.AccountId.Equals(input.AccountId))
) &&
- (
- this.EmailAddress == input.EmailAddress ||
- (this.EmailAddress != null &&
- this.EmailAddress.Equals(input.EmailAddress))
- ) &&
(
this.IsLocked == input.IsLocked ||
this.IsLocked.Equals(input.IsLocked)
@@ -190,6 +195,11 @@ public bool Equals(TemplateResponseAccount input)
this.Quotas == input.Quotas ||
(this.Quotas != null &&
this.Quotas.Equals(input.Quotas))
+ ) &&
+ (
+ this.EmailAddress == input.EmailAddress ||
+ (this.EmailAddress != null &&
+ this.EmailAddress.Equals(input.EmailAddress))
);
}
@@ -206,10 +216,6 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.AccountId.GetHashCode();
}
- if (this.EmailAddress != null)
- {
- hashCode = (hashCode * 59) + this.EmailAddress.GetHashCode();
- }
hashCode = (hashCode * 59) + this.IsLocked.GetHashCode();
hashCode = (hashCode * 59) + this.IsPaidHs.GetHashCode();
hashCode = (hashCode * 59) + this.IsPaidHf.GetHashCode();
@@ -217,6 +223,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Quotas.GetHashCode();
}
+ if (this.EmailAddress != null)
+ {
+ hashCode = (hashCode * 59) + this.EmailAddress.GetHashCode();
+ }
return hashCode;
}
}
@@ -241,13 +251,6 @@ public List GetOpenApiTypes()
Value = AccountId,
});
types.Add(new OpenApiType()
- {
- Name = "email_address",
- Property = "EmailAddress",
- Type = "string",
- Value = EmailAddress,
- });
- types.Add(new OpenApiType()
{
Name = "is_locked",
Property = "IsLocked",
@@ -275,6 +278,13 @@ public List GetOpenApiTypes()
Type = "TemplateResponseAccountQuota",
Value = Quotas,
});
+ types.Add(new OpenApiType()
+ {
+ Name = "email_address",
+ Property = "EmailAddress",
+ Type = "string",
+ Value = EmailAddress,
+ });
return types;
}
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseAccountQuota.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseAccountQuota.cs
index 5a67d889c..cc5c7177a 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseAccountQuota.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseAccountQuota.cs
@@ -41,10 +41,10 @@ protected TemplateResponseAccountQuota() { }
///
/// Initializes a new instance of the class.
///
- /// API templates remaining..
- /// API signature requests remaining..
- /// Signature requests remaining..
- /// SMS verifications remaining..
+ /// API templates remaining. (required).
+ /// API signature requests remaining. (required).
+ /// Signature requests remaining. (required).
+ /// SMS verifications remaining. (required).
public TemplateResponseAccountQuota(int templatesLeft = default(int), int apiSignatureRequestsLeft = default(int), int documentsLeft = default(int), int smsVerificationsLeft = default(int))
{
@@ -74,28 +74,28 @@ public static TemplateResponseAccountQuota Init(string jsonData)
/// API templates remaining.
///
/// API templates remaining.
- [DataMember(Name = "templates_left", EmitDefaultValue = true)]
+ [DataMember(Name = "templates_left", IsRequired = true, EmitDefaultValue = true)]
public int TemplatesLeft { get; set; }
///
/// API signature requests remaining.
///
/// API signature requests remaining.
- [DataMember(Name = "api_signature_requests_left", EmitDefaultValue = true)]
+ [DataMember(Name = "api_signature_requests_left", IsRequired = true, EmitDefaultValue = true)]
public int ApiSignatureRequestsLeft { get; set; }
///
/// Signature requests remaining.
///
/// Signature requests remaining.
- [DataMember(Name = "documents_left", EmitDefaultValue = true)]
+ [DataMember(Name = "documents_left", IsRequired = true, EmitDefaultValue = true)]
public int DocumentsLeft { get; set; }
///
/// SMS verifications remaining.
///
/// SMS verifications remaining.
- [DataMember(Name = "sms_verifications_left", EmitDefaultValue = true)]
+ [DataMember(Name = "sms_verifications_left", IsRequired = true, EmitDefaultValue = true)]
public int SmsVerificationsLeft { get; set; }
///
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseCCRole.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseCCRole.cs
index e153a6836..444000308 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseCCRole.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseCCRole.cs
@@ -41,10 +41,15 @@ protected TemplateResponseCCRole() { }
///
/// Initializes a new instance of the class.
///
- /// The name of the Role..
+ /// The name of the Role. (required).
public TemplateResponseCCRole(string name = default(string))
{
+ // to ensure "name" is required (not null)
+ if (name == null)
+ {
+ throw new ArgumentNullException("name is a required property for TemplateResponseCCRole and cannot be null");
+ }
this.Name = name;
}
@@ -68,7 +73,7 @@ public static TemplateResponseCCRole Init(string jsonData)
/// The name of the Role.
///
/// The name of the Role.
- [DataMember(Name = "name", EmitDefaultValue = true)]
+ [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
public string Name { get; set; }
///
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocument.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocument.cs
index 461b2f2fa..8a1b856c7 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocument.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocument.cs
@@ -41,21 +41,46 @@ protected TemplateResponseDocument() { }
///
/// Initializes a new instance of the class.
///
- /// Name of the associated file..
+ /// Name of the associated file. (required).
/// Document ordering, the lowest index is displayed first and the highest last (0-based indexing)..
- /// An array of Form Field Group objects..
- /// An array of Form Field objects containing the name and type of each named field..
- /// An array of Form Field objects containing the name and type of each named field..
- /// An array describing static overlay fields. **NOTE:** Only available for certain subscriptions..
+ /// An array of Form Field Group objects. (required).
+ /// An array of Form Field objects containing the name and type of each named field. (required).
+ /// An array of Form Field objects containing the name and type of each named field. (required).
+ /// An array describing static overlay fields. **NOTE:** Only available for certain subscriptions. (required).
public TemplateResponseDocument(string name = default(string), int index = default(int), List fieldGroups = default(List), List formFields = default(List), List customFields = default(List), List staticFields = default(List))
{
+ // to ensure "name" is required (not null)
+ if (name == null)
+ {
+ throw new ArgumentNullException("name is a required property for TemplateResponseDocument and cannot be null");
+ }
this.Name = name;
- this.Index = index;
+ // to ensure "fieldGroups" is required (not null)
+ if (fieldGroups == null)
+ {
+ throw new ArgumentNullException("fieldGroups is a required property for TemplateResponseDocument and cannot be null");
+ }
this.FieldGroups = fieldGroups;
+ // to ensure "formFields" is required (not null)
+ if (formFields == null)
+ {
+ throw new ArgumentNullException("formFields is a required property for TemplateResponseDocument and cannot be null");
+ }
this.FormFields = formFields;
+ // to ensure "customFields" is required (not null)
+ if (customFields == null)
+ {
+ throw new ArgumentNullException("customFields is a required property for TemplateResponseDocument and cannot be null");
+ }
this.CustomFields = customFields;
+ // to ensure "staticFields" is required (not null)
+ if (staticFields == null)
+ {
+ throw new ArgumentNullException("staticFields is a required property for TemplateResponseDocument and cannot be null");
+ }
this.StaticFields = staticFields;
+ this.Index = index;
}
///
@@ -78,44 +103,44 @@ public static TemplateResponseDocument Init(string jsonData)
/// Name of the associated file.
///
/// Name of the associated file.
- [DataMember(Name = "name", EmitDefaultValue = true)]
+ [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
public string Name { get; set; }
- ///
- /// Document ordering, the lowest index is displayed first and the highest last (0-based indexing).
- ///
- /// Document ordering, the lowest index is displayed first and the highest last (0-based indexing).
- [DataMember(Name = "index", EmitDefaultValue = true)]
- public int Index { get; set; }
-
///
/// An array of Form Field Group objects.
///
/// An array of Form Field Group objects.
- [DataMember(Name = "field_groups", EmitDefaultValue = true)]
+ [DataMember(Name = "field_groups", IsRequired = true, EmitDefaultValue = true)]
public List FieldGroups { get; set; }
///
/// An array of Form Field objects containing the name and type of each named field.
///
/// An array of Form Field objects containing the name and type of each named field.
- [DataMember(Name = "form_fields", EmitDefaultValue = true)]
+ [DataMember(Name = "form_fields", IsRequired = true, EmitDefaultValue = true)]
public List FormFields { get; set; }
///
/// An array of Form Field objects containing the name and type of each named field.
///
/// An array of Form Field objects containing the name and type of each named field.
- [DataMember(Name = "custom_fields", EmitDefaultValue = true)]
+ [DataMember(Name = "custom_fields", IsRequired = true, EmitDefaultValue = true)]
public List CustomFields { get; set; }
///
/// An array describing static overlay fields. **NOTE:** Only available for certain subscriptions.
///
/// An array describing static overlay fields. **NOTE:** Only available for certain subscriptions.
- [DataMember(Name = "static_fields", EmitDefaultValue = true)]
+ [DataMember(Name = "static_fields", IsRequired = true, EmitDefaultValue = true)]
public List StaticFields { get; set; }
+ ///
+ /// Document ordering, the lowest index is displayed first and the highest last (0-based indexing).
+ ///
+ /// Document ordering, the lowest index is displayed first and the highest last (0-based indexing).
+ [DataMember(Name = "index", EmitDefaultValue = true)]
+ public int Index { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -125,11 +150,11 @@ public override string ToString()
StringBuilder sb = new StringBuilder();
sb.Append("class TemplateResponseDocument {\n");
sb.Append(" Name: ").Append(Name).Append("\n");
- sb.Append(" Index: ").Append(Index).Append("\n");
sb.Append(" FieldGroups: ").Append(FieldGroups).Append("\n");
sb.Append(" FormFields: ").Append(FormFields).Append("\n");
sb.Append(" CustomFields: ").Append(CustomFields).Append("\n");
sb.Append(" StaticFields: ").Append(StaticFields).Append("\n");
+ sb.Append(" Index: ").Append(Index).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -170,10 +195,6 @@ public bool Equals(TemplateResponseDocument input)
(this.Name != null &&
this.Name.Equals(input.Name))
) &&
- (
- this.Index == input.Index ||
- this.Index.Equals(input.Index)
- ) &&
(
this.FieldGroups == input.FieldGroups ||
this.FieldGroups != null &&
@@ -197,6 +218,10 @@ public bool Equals(TemplateResponseDocument input)
this.StaticFields != null &&
input.StaticFields != null &&
this.StaticFields.SequenceEqual(input.StaticFields)
+ ) &&
+ (
+ this.Index == input.Index ||
+ this.Index.Equals(input.Index)
);
}
@@ -213,7 +238,6 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Name.GetHashCode();
}
- hashCode = (hashCode * 59) + this.Index.GetHashCode();
if (this.FieldGroups != null)
{
hashCode = (hashCode * 59) + this.FieldGroups.GetHashCode();
@@ -230,6 +254,7 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.StaticFields.GetHashCode();
}
+ hashCode = (hashCode * 59) + this.Index.GetHashCode();
return hashCode;
}
}
@@ -254,13 +279,6 @@ public List GetOpenApiTypes()
Value = Name,
});
types.Add(new OpenApiType()
- {
- Name = "index",
- Property = "Index",
- Type = "int",
- Value = Index,
- });
- types.Add(new OpenApiType()
{
Name = "field_groups",
Property = "FieldGroups",
@@ -288,6 +306,13 @@ public List GetOpenApiTypes()
Type = "List",
Value = StaticFields,
});
+ types.Add(new OpenApiType()
+ {
+ Name = "index",
+ Property = "Index",
+ Type = "int",
+ Value = Index,
+ });
return types;
}
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentCustomFieldBase.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentCustomFieldBase.cs
index de66ae6db..2e6953d02 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentCustomFieldBase.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentCustomFieldBase.cs
@@ -45,33 +45,43 @@ protected TemplateResponseDocumentCustomFieldBase() { }
///
/// Initializes a new instance of the class.
///
- /// The unique ID for this field..
- /// The name of the Custom Field..
+ /// The unique ID for this field. (required).
+ /// The name of the Custom Field. (required).
/// type (required).
/// The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender)..
- /// The horizontal offset in pixels for this form field..
- /// The vertical offset in pixels for this form field..
- /// The width in pixels of this form field..
- /// The height in pixels of this form field..
- /// Boolean showing whether or not this field is required..
+ /// The horizontal offset in pixels for this form field. (required).
+ /// The vertical offset in pixels for this form field. (required).
+ /// The width in pixels of this form field. (required).
+ /// The height in pixels of this form field. (required).
+ /// Boolean showing whether or not this field is required. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null`..
public TemplateResponseDocumentCustomFieldBase(string apiId = default(string), string name = default(string), string type = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
{
+ // to ensure "apiId" is required (not null)
+ if (apiId == null)
+ {
+ throw new ArgumentNullException("apiId is a required property for TemplateResponseDocumentCustomFieldBase and cannot be null");
+ }
+ this.ApiId = apiId;
+ // to ensure "name" is required (not null)
+ if (name == null)
+ {
+ throw new ArgumentNullException("name is a required property for TemplateResponseDocumentCustomFieldBase and cannot be null");
+ }
+ this.Name = name;
// to ensure "type" is required (not null)
if (type == null)
{
throw new ArgumentNullException("type is a required property for TemplateResponseDocumentCustomFieldBase and cannot be null");
}
this.Type = type;
- this.ApiId = apiId;
- this.Name = name;
- this.Signer = Convert.ToString(signer);
this.X = x;
this.Y = y;
this.Width = width;
this.Height = height;
this.Required = required;
+ this.Signer = Convert.ToString(signer);
this.Group = group;
}
@@ -91,73 +101,73 @@ public static TemplateResponseDocumentCustomFieldBase Init(string jsonData)
return obj;
}
- ///
- /// Gets or Sets Type
- ///
- [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
- public string Type { get; set; }
-
///
/// The unique ID for this field.
///
/// The unique ID for this field.
- [DataMember(Name = "api_id", EmitDefaultValue = true)]
+ [DataMember(Name = "api_id", IsRequired = true, EmitDefaultValue = true)]
public string ApiId { get; set; }
///
/// The name of the Custom Field.
///
/// The name of the Custom Field.
- [DataMember(Name = "name", EmitDefaultValue = true)]
+ [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
public string Name { get; set; }
///
- /// The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender).
+ /// Gets or Sets Type
///
- /// The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender).
- [DataMember(Name = "signer", EmitDefaultValue = true)]
- public object Signer
- {
- get => this._signer;
- set => this._signer = Convert.ToString(value);
- }
+ [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
+ public string Type { get; set; }
- private string _signer;
///
/// The horizontal offset in pixels for this form field.
///
/// The horizontal offset in pixels for this form field.
- [DataMember(Name = "x", EmitDefaultValue = true)]
+ [DataMember(Name = "x", IsRequired = true, EmitDefaultValue = true)]
public int X { get; set; }
///
/// The vertical offset in pixels for this form field.
///
/// The vertical offset in pixels for this form field.
- [DataMember(Name = "y", EmitDefaultValue = true)]
+ [DataMember(Name = "y", IsRequired = true, EmitDefaultValue = true)]
public int Y { get; set; }
///
/// The width in pixels of this form field.
///
/// The width in pixels of this form field.
- [DataMember(Name = "width", EmitDefaultValue = true)]
+ [DataMember(Name = "width", IsRequired = true, EmitDefaultValue = true)]
public int Width { get; set; }
///
/// The height in pixels of this form field.
///
/// The height in pixels of this form field.
- [DataMember(Name = "height", EmitDefaultValue = true)]
+ [DataMember(Name = "height", IsRequired = true, EmitDefaultValue = true)]
public int Height { get; set; }
///
/// Boolean showing whether or not this field is required.
///
/// Boolean showing whether or not this field is required.
- [DataMember(Name = "required", EmitDefaultValue = true)]
+ [DataMember(Name = "required", IsRequired = true, EmitDefaultValue = true)]
public bool Required { get; set; }
+ ///
+ /// The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender).
+ ///
+ /// The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender).
+ [DataMember(Name = "signer", EmitDefaultValue = true)]
+ public object Signer
+ {
+ get => this._signer;
+ set => this._signer = Convert.ToString(value);
+ }
+
+ private string _signer;
///
/// The name of the group this field is in. If this field is not a group, this defaults to `null`.
///
@@ -173,15 +183,15 @@ public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class TemplateResponseDocumentCustomFieldBase {\n");
- sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append(" ApiId: ").Append(ApiId).Append("\n");
sb.Append(" Name: ").Append(Name).Append("\n");
- sb.Append(" Signer: ").Append(Signer).Append("\n");
+ sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append(" X: ").Append(X).Append("\n");
sb.Append(" Y: ").Append(Y).Append("\n");
sb.Append(" Width: ").Append(Width).Append("\n");
sb.Append(" Height: ").Append(Height).Append("\n");
sb.Append(" Required: ").Append(Required).Append("\n");
+ sb.Append(" Signer: ").Append(Signer).Append("\n");
sb.Append(" Group: ").Append(Group).Append("\n");
sb.Append("}\n");
return sb.ToString();
@@ -218,11 +228,6 @@ public bool Equals(TemplateResponseDocumentCustomFieldBase input)
return false;
}
return
- (
- this.Type == input.Type ||
- (this.Type != null &&
- this.Type.Equals(input.Type))
- ) &&
(
this.ApiId == input.ApiId ||
(this.ApiId != null &&
@@ -234,9 +239,9 @@ public bool Equals(TemplateResponseDocumentCustomFieldBase input)
this.Name.Equals(input.Name))
) &&
(
- this.Signer == input.Signer ||
- (this.Signer != null &&
- this.Signer.Equals(input.Signer))
+ this.Type == input.Type ||
+ (this.Type != null &&
+ this.Type.Equals(input.Type))
) &&
(
this.X == input.X ||
@@ -258,6 +263,11 @@ public bool Equals(TemplateResponseDocumentCustomFieldBase input)
this.Required == input.Required ||
this.Required.Equals(input.Required)
) &&
+ (
+ this.Signer == input.Signer ||
+ (this.Signer != null &&
+ this.Signer.Equals(input.Signer))
+ ) &&
(
this.Group == input.Group ||
(this.Group != null &&
@@ -274,10 +284,6 @@ public override int GetHashCode()
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
- if (this.Type != null)
- {
- hashCode = (hashCode * 59) + this.Type.GetHashCode();
- }
if (this.ApiId != null)
{
hashCode = (hashCode * 59) + this.ApiId.GetHashCode();
@@ -286,15 +292,19 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Name.GetHashCode();
}
- if (this.Signer != null)
+ if (this.Type != null)
{
- hashCode = (hashCode * 59) + this.Signer.GetHashCode();
+ hashCode = (hashCode * 59) + this.Type.GetHashCode();
}
hashCode = (hashCode * 59) + this.X.GetHashCode();
hashCode = (hashCode * 59) + this.Y.GetHashCode();
hashCode = (hashCode * 59) + this.Width.GetHashCode();
hashCode = (hashCode * 59) + this.Height.GetHashCode();
hashCode = (hashCode * 59) + this.Required.GetHashCode();
+ if (this.Signer != null)
+ {
+ hashCode = (hashCode * 59) + this.Signer.GetHashCode();
+ }
if (this.Group != null)
{
hashCode = (hashCode * 59) + this.Group.GetHashCode();
@@ -326,13 +336,6 @@ public List GetOpenApiTypes()
{
var types = new List();
types.Add(new OpenApiType()
- {
- Name = "type",
- Property = "Type",
- Type = "string",
- Value = Type,
- });
- types.Add(new OpenApiType()
{
Name = "api_id",
Property = "ApiId",
@@ -348,10 +351,10 @@ public List GetOpenApiTypes()
});
types.Add(new OpenApiType()
{
- Name = "signer",
- Property = "Signer",
+ Name = "type",
+ Property = "Type",
Type = "string",
- Value = Signer,
+ Value = Type,
});
types.Add(new OpenApiType()
{
@@ -389,6 +392,13 @@ public List GetOpenApiTypes()
Value = Required,
});
types.Add(new OpenApiType()
+ {
+ Name = "signer",
+ Property = "Signer",
+ Type = "string",
+ Value = Signer,
+ });
+ types.Add(new OpenApiType()
{
Name = "group",
Property = "Group",
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentCustomFieldCheckbox.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentCustomFieldCheckbox.cs
index dde2bef21..7f0e4909d 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentCustomFieldCheckbox.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentCustomFieldCheckbox.cs
@@ -42,25 +42,25 @@ protected TemplateResponseDocumentCustomFieldCheckbox() { }
/// Initializes a new instance of the class.
///
/// The type of this Custom Field. Only `text` and `checkbox` are currently supported. * Text uses `TemplateResponseDocumentCustomFieldText` * Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox` (required) (default to "checkbox").
- /// The unique ID for this field..
- /// The name of the Custom Field..
+ /// The unique ID for this field. (required).
+ /// The name of the Custom Field. (required).
/// The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender)..
- /// The horizontal offset in pixels for this form field..
- /// The vertical offset in pixels for this form field..
- /// The width in pixels of this form field..
- /// The height in pixels of this form field..
- /// Boolean showing whether or not this field is required..
+ /// The horizontal offset in pixels for this form field. (required).
+ /// The vertical offset in pixels for this form field. (required).
+ /// The width in pixels of this form field. (required).
+ /// The height in pixels of this form field. (required).
+ /// Boolean showing whether or not this field is required. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null`..
public TemplateResponseDocumentCustomFieldCheckbox(string type = @"checkbox", string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
{
this.ApiId = apiId;
this.Name = name;
- this.Signer = Convert.ToString(signer);
this.X = x;
this.Y = y;
this.Width = width;
this.Height = height;
this.Required = required;
+ this.Signer = Convert.ToString(signer);
this.Group = group;
// to ensure "type" is required (not null)
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentCustomFieldText.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentCustomFieldText.cs
index 1e850816f..d7966950a 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentCustomFieldText.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentCustomFieldText.cs
@@ -42,29 +42,29 @@ protected TemplateResponseDocumentCustomFieldText() { }
/// Initializes a new instance of the class.
///
/// The type of this Custom Field. Only `text` and `checkbox` are currently supported. * Text uses `TemplateResponseDocumentCustomFieldText` * Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox` (required) (default to "text").
- /// avgTextLength.
- /// Whether this form field is multiline text..
- /// Original font size used in this form field's text..
- /// Font family used in this form field's text..
- /// The unique ID for this field..
- /// The name of the Custom Field..
+ /// avgTextLength (required).
+ /// Whether this form field is multiline text. (required).
+ /// Original font size used in this form field's text. (required).
+ /// Font family used in this form field's text. (required).
+ /// The unique ID for this field. (required).
+ /// The name of the Custom Field. (required).
/// The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender)..
- /// The horizontal offset in pixels for this form field..
- /// The vertical offset in pixels for this form field..
- /// The width in pixels of this form field..
- /// The height in pixels of this form field..
- /// Boolean showing whether or not this field is required..
+ /// The horizontal offset in pixels for this form field. (required).
+ /// The vertical offset in pixels for this form field. (required).
+ /// The width in pixels of this form field. (required).
+ /// The height in pixels of this form field. (required).
+ /// Boolean showing whether or not this field is required. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null`..
public TemplateResponseDocumentCustomFieldText(string type = @"text", TemplateResponseFieldAvgTextLength avgTextLength = default(TemplateResponseFieldAvgTextLength), bool isMultiline = default(bool), int originalFontSize = default(int), string fontFamily = default(string), string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
{
this.ApiId = apiId;
this.Name = name;
- this.Signer = Convert.ToString(signer);
this.X = x;
this.Y = y;
this.Width = width;
this.Height = height;
this.Required = required;
+ this.Signer = Convert.ToString(signer);
this.Group = group;
// to ensure "type" is required (not null)
@@ -73,9 +73,19 @@ protected TemplateResponseDocumentCustomFieldText() { }
throw new ArgumentNullException("type is a required property for TemplateResponseDocumentCustomFieldText and cannot be null");
}
this.Type = type;
+ // to ensure "avgTextLength" is required (not null)
+ if (avgTextLength == null)
+ {
+ throw new ArgumentNullException("avgTextLength is a required property for TemplateResponseDocumentCustomFieldText and cannot be null");
+ }
this.AvgTextLength = avgTextLength;
this.IsMultiline = isMultiline;
this.OriginalFontSize = originalFontSize;
+ // to ensure "fontFamily" is required (not null)
+ if (fontFamily == null)
+ {
+ throw new ArgumentNullException("fontFamily is a required property for TemplateResponseDocumentCustomFieldText and cannot be null");
+ }
this.FontFamily = fontFamily;
}
@@ -105,28 +115,28 @@ public static TemplateResponseDocumentCustomFieldText Init(string jsonData)
///
/// Gets or Sets AvgTextLength
///
- [DataMember(Name = "avg_text_length", EmitDefaultValue = true)]
+ [DataMember(Name = "avg_text_length", IsRequired = true, EmitDefaultValue = true)]
public TemplateResponseFieldAvgTextLength AvgTextLength { get; set; }
///
/// Whether this form field is multiline text.
///
/// Whether this form field is multiline text.
- [DataMember(Name = "isMultiline", EmitDefaultValue = true)]
+ [DataMember(Name = "isMultiline", IsRequired = true, EmitDefaultValue = true)]
public bool IsMultiline { get; set; }
///
/// Original font size used in this form field's text.
///
/// Original font size used in this form field's text.
- [DataMember(Name = "originalFontSize", EmitDefaultValue = true)]
+ [DataMember(Name = "originalFontSize", IsRequired = true, EmitDefaultValue = true)]
public int OriginalFontSize { get; set; }
///
/// Font family used in this form field's text.
///
/// Font family used in this form field's text.
- [DataMember(Name = "fontFamily", EmitDefaultValue = true)]
+ [DataMember(Name = "fontFamily", IsRequired = true, EmitDefaultValue = true)]
public string FontFamily { get; set; }
///
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFieldGroup.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFieldGroup.cs
index 019491e26..1e27c0f38 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFieldGroup.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFieldGroup.cs
@@ -41,12 +41,22 @@ protected TemplateResponseDocumentFieldGroup() { }
///
/// Initializes a new instance of the class.
///
- /// The name of the form field group..
- /// rule.
+ /// The name of the form field group. (required).
+ /// rule (required).
public TemplateResponseDocumentFieldGroup(string name = default(string), TemplateResponseDocumentFieldGroupRule rule = default(TemplateResponseDocumentFieldGroupRule))
{
+ // to ensure "name" is required (not null)
+ if (name == null)
+ {
+ throw new ArgumentNullException("name is a required property for TemplateResponseDocumentFieldGroup and cannot be null");
+ }
this.Name = name;
+ // to ensure "rule" is required (not null)
+ if (rule == null)
+ {
+ throw new ArgumentNullException("rule is a required property for TemplateResponseDocumentFieldGroup and cannot be null");
+ }
this.Rule = rule;
}
@@ -70,13 +80,13 @@ public static TemplateResponseDocumentFieldGroup Init(string jsonData)
/// The name of the form field group.
///
/// The name of the form field group.
- [DataMember(Name = "name", EmitDefaultValue = true)]
+ [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
public string Name { get; set; }
///
/// Gets or Sets Rule
///
- [DataMember(Name = "rule", EmitDefaultValue = true)]
+ [DataMember(Name = "rule", IsRequired = true, EmitDefaultValue = true)]
public TemplateResponseDocumentFieldGroupRule Rule { get; set; }
///
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFieldGroupRule.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFieldGroupRule.cs
index ad19e0e20..8f690dccc 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFieldGroupRule.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFieldGroupRule.cs
@@ -41,12 +41,22 @@ protected TemplateResponseDocumentFieldGroupRule() { }
///
/// Initializes a new instance of the class.
///
- /// 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..
- /// Name of the group.
+ /// 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. (required).
+ /// Name of the group (required).
public TemplateResponseDocumentFieldGroupRule(string requirement = default(string), string groupLabel = default(string))
{
+ // to ensure "requirement" is required (not null)
+ if (requirement == null)
+ {
+ throw new ArgumentNullException("requirement is a required property for TemplateResponseDocumentFieldGroupRule and cannot be null");
+ }
this.Requirement = requirement;
+ // to ensure "groupLabel" is required (not null)
+ if (groupLabel == null)
+ {
+ throw new ArgumentNullException("groupLabel is a required property for TemplateResponseDocumentFieldGroupRule and cannot be null");
+ }
this.GroupLabel = groupLabel;
}
@@ -70,14 +80,14 @@ public static TemplateResponseDocumentFieldGroupRule Init(string jsonData)
/// 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.
///
/// 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.
- [DataMember(Name = "requirement", EmitDefaultValue = true)]
+ [DataMember(Name = "requirement", IsRequired = true, EmitDefaultValue = true)]
public string Requirement { get; set; }
///
/// Name of the group
///
/// Name of the group
- [DataMember(Name = "groupLabel", EmitDefaultValue = true)]
+ [DataMember(Name = "groupLabel", IsRequired = true, EmitDefaultValue = true)]
public string GroupLabel { get; set; }
///
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldBase.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldBase.cs
index 45f1eefac..4e55daa18 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldBase.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldBase.cs
@@ -51,34 +51,47 @@ protected TemplateResponseDocumentFormFieldBase() { }
///
/// Initializes a new instance of the class.
///
- /// A unique id for the form field..
- /// The name of the form field..
+ /// A unique id for the form field. (required).
+ /// The name of the form field. (required).
/// type (required).
- /// The signer of the Form Field..
- /// The horizontal offset in pixels for this form field..
- /// The vertical offset in pixels for this form field..
- /// The width in pixels of this form field..
- /// The height in pixels of this form field..
- /// Boolean showing whether or not this field is required..
- /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields..
- public TemplateResponseDocumentFormFieldBase(string apiId = default(string), string name = default(string), string type = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
+ /// The signer of the Form Field. (required).
+ /// The horizontal offset in pixels for this form field. (required).
+ /// The vertical offset in pixels for this form field. (required).
+ /// The width in pixels of this form field. (required).
+ /// The height in pixels of this form field. (required).
+ /// Boolean showing whether or not this field is required. (required).
+ public TemplateResponseDocumentFormFieldBase(string apiId = default(string), string name = default(string), string type = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool))
{
+ // to ensure "apiId" is required (not null)
+ if (apiId == null)
+ {
+ throw new ArgumentNullException("apiId is a required property for TemplateResponseDocumentFormFieldBase and cannot be null");
+ }
+ this.ApiId = apiId;
+ // to ensure "name" is required (not null)
+ if (name == null)
+ {
+ throw new ArgumentNullException("name is a required property for TemplateResponseDocumentFormFieldBase and cannot be null");
+ }
+ this.Name = name;
// to ensure "type" is required (not null)
if (type == null)
{
throw new ArgumentNullException("type is a required property for TemplateResponseDocumentFormFieldBase and cannot be null");
}
this.Type = type;
- this.ApiId = apiId;
- this.Name = name;
+ // to ensure "signer" is required (not null)
+ if (signer == null)
+ {
+ throw new ArgumentNullException("signer is a required property for TemplateResponseDocumentFormFieldBase and cannot be null");
+ }
this.Signer = Convert.ToString(signer);
this.X = x;
this.Y = y;
this.Width = width;
this.Height = height;
this.Required = required;
- this.Group = group;
}
///
@@ -97,31 +110,31 @@ public static TemplateResponseDocumentFormFieldBase Init(string jsonData)
return obj;
}
- ///
- /// Gets or Sets Type
- ///
- [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
- public string Type { get; set; }
-
///
/// A unique id for the form field.
///
/// A unique id for the form field.
- [DataMember(Name = "api_id", EmitDefaultValue = true)]
+ [DataMember(Name = "api_id", IsRequired = true, EmitDefaultValue = true)]
public string ApiId { get; set; }
///
/// The name of the form field.
///
/// The name of the form field.
- [DataMember(Name = "name", EmitDefaultValue = true)]
+ [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
public string Name { get; set; }
+ ///
+ /// Gets or Sets Type
+ ///
+ [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
+ public string Type { get; set; }
+
///
/// The signer of the Form Field.
///
/// The signer of the Form Field.
- [DataMember(Name = "signer", EmitDefaultValue = true)]
+ [DataMember(Name = "signer", IsRequired = true, EmitDefaultValue = true)]
public object Signer
{
get => this._signer;
@@ -133,44 +146,37 @@ public object Signer
/// The horizontal offset in pixels for this form field.
///
/// The horizontal offset in pixels for this form field.
- [DataMember(Name = "x", EmitDefaultValue = true)]
+ [DataMember(Name = "x", IsRequired = true, EmitDefaultValue = true)]
public int X { get; set; }
///
/// The vertical offset in pixels for this form field.
///
/// The vertical offset in pixels for this form field.
- [DataMember(Name = "y", EmitDefaultValue = true)]
+ [DataMember(Name = "y", IsRequired = true, EmitDefaultValue = true)]
public int Y { get; set; }
///
/// The width in pixels of this form field.
///
/// The width in pixels of this form field.
- [DataMember(Name = "width", EmitDefaultValue = true)]
+ [DataMember(Name = "width", IsRequired = true, EmitDefaultValue = true)]
public int Width { get; set; }
///
/// The height in pixels of this form field.
///
/// The height in pixels of this form field.
- [DataMember(Name = "height", EmitDefaultValue = true)]
+ [DataMember(Name = "height", IsRequired = true, EmitDefaultValue = true)]
public int Height { get; set; }
///
/// Boolean showing whether or not this field is required.
///
/// Boolean showing whether or not this field is required.
- [DataMember(Name = "required", EmitDefaultValue = true)]
+ [DataMember(Name = "required", IsRequired = true, EmitDefaultValue = true)]
public bool Required { get; set; }
- ///
- /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
- ///
- /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
- [DataMember(Name = "group", EmitDefaultValue = true)]
- public string Group { get; set; }
-
///
/// Returns the string presentation of the object
///
@@ -179,16 +185,15 @@ public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class TemplateResponseDocumentFormFieldBase {\n");
- sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append(" ApiId: ").Append(ApiId).Append("\n");
sb.Append(" Name: ").Append(Name).Append("\n");
+ sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append(" Signer: ").Append(Signer).Append("\n");
sb.Append(" X: ").Append(X).Append("\n");
sb.Append(" Y: ").Append(Y).Append("\n");
sb.Append(" Width: ").Append(Width).Append("\n");
sb.Append(" Height: ").Append(Height).Append("\n");
sb.Append(" Required: ").Append(Required).Append("\n");
- sb.Append(" Group: ").Append(Group).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -224,11 +229,6 @@ public bool Equals(TemplateResponseDocumentFormFieldBase input)
return false;
}
return
- (
- this.Type == input.Type ||
- (this.Type != null &&
- this.Type.Equals(input.Type))
- ) &&
(
this.ApiId == input.ApiId ||
(this.ApiId != null &&
@@ -239,6 +239,11 @@ public bool Equals(TemplateResponseDocumentFormFieldBase input)
(this.Name != null &&
this.Name.Equals(input.Name))
) &&
+ (
+ this.Type == input.Type ||
+ (this.Type != null &&
+ this.Type.Equals(input.Type))
+ ) &&
(
this.Signer == input.Signer ||
(this.Signer != null &&
@@ -263,11 +268,6 @@ public bool Equals(TemplateResponseDocumentFormFieldBase input)
(
this.Required == input.Required ||
this.Required.Equals(input.Required)
- ) &&
- (
- this.Group == input.Group ||
- (this.Group != null &&
- this.Group.Equals(input.Group))
);
}
@@ -280,10 +280,6 @@ public override int GetHashCode()
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
- if (this.Type != null)
- {
- hashCode = (hashCode * 59) + this.Type.GetHashCode();
- }
if (this.ApiId != null)
{
hashCode = (hashCode * 59) + this.ApiId.GetHashCode();
@@ -292,6 +288,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Name.GetHashCode();
}
+ if (this.Type != null)
+ {
+ hashCode = (hashCode * 59) + this.Type.GetHashCode();
+ }
if (this.Signer != null)
{
hashCode = (hashCode * 59) + this.Signer.GetHashCode();
@@ -301,10 +301,6 @@ public override int GetHashCode()
hashCode = (hashCode * 59) + this.Width.GetHashCode();
hashCode = (hashCode * 59) + this.Height.GetHashCode();
hashCode = (hashCode * 59) + this.Required.GetHashCode();
- if (this.Group != null)
- {
- hashCode = (hashCode * 59) + this.Group.GetHashCode();
- }
return hashCode;
}
}
@@ -332,13 +328,6 @@ public List GetOpenApiTypes()
{
var types = new List();
types.Add(new OpenApiType()
- {
- Name = "type",
- Property = "Type",
- Type = "string",
- Value = Type,
- });
- types.Add(new OpenApiType()
{
Name = "api_id",
Property = "ApiId",
@@ -353,6 +342,13 @@ public List GetOpenApiTypes()
Value = Name,
});
types.Add(new OpenApiType()
+ {
+ Name = "type",
+ Property = "Type",
+ Type = "string",
+ Value = Type,
+ });
+ types.Add(new OpenApiType()
{
Name = "signer",
Property = "Signer",
@@ -394,13 +390,6 @@ public List GetOpenApiTypes()
Type = "bool",
Value = Required,
});
- types.Add(new OpenApiType()
- {
- Name = "group",
- Property = "Group",
- Type = "string",
- Value = Group,
- });
return types;
}
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldCheckbox.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldCheckbox.cs
index 81107edb4..98508a633 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldCheckbox.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldCheckbox.cs
@@ -42,16 +42,16 @@ protected TemplateResponseDocumentFormFieldCheckbox() { }
/// Initializes a new instance of the class.
///
/// The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` (required) (default to "checkbox").
- /// A unique id for the form field..
- /// The name of the form field..
- /// The signer of the Form Field..
- /// The horizontal offset in pixels for this form field..
- /// The vertical offset in pixels for this form field..
- /// The width in pixels of this form field..
- /// The height in pixels of this form field..
- /// Boolean showing whether or not this field is required..
/// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields..
- public TemplateResponseDocumentFormFieldCheckbox(string type = @"checkbox", string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
+ /// A unique id for the form field. (required).
+ /// The name of the form field. (required).
+ /// The signer of the Form Field. (required).
+ /// The horizontal offset in pixels for this form field. (required).
+ /// The vertical offset in pixels for this form field. (required).
+ /// The width in pixels of this form field. (required).
+ /// The height in pixels of this form field. (required).
+ /// Boolean showing whether or not this field is required. (required).
+ public TemplateResponseDocumentFormFieldCheckbox(string type = @"checkbox", string group = default(string), string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool))
{
this.ApiId = apiId;
this.Name = name;
@@ -61,7 +61,6 @@ protected TemplateResponseDocumentFormFieldCheckbox() { }
this.Width = width;
this.Height = height;
this.Required = required;
- this.Group = group;
// to ensure "type" is required (not null)
if (type == null)
@@ -69,6 +68,7 @@ protected TemplateResponseDocumentFormFieldCheckbox() { }
throw new ArgumentNullException("type is a required property for TemplateResponseDocumentFormFieldCheckbox and cannot be null");
}
this.Type = type;
+ this.Group = group;
}
///
@@ -94,6 +94,13 @@ public static TemplateResponseDocumentFormFieldCheckbox Init(string jsonData)
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public string Type { get; set; }
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ [DataMember(Name = "group", EmitDefaultValue = true)]
+ public string Group { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -104,6 +111,7 @@ public override string ToString()
sb.Append("class TemplateResponseDocumentFormFieldCheckbox {\n");
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
+ sb.Append(" Group: ").Append(Group).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -143,6 +151,11 @@ public bool Equals(TemplateResponseDocumentFormFieldCheckbox input)
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
+ ) && base.Equals(input) &&
+ (
+ this.Group == input.Group ||
+ (this.Group != null &&
+ this.Group.Equals(input.Group))
);
}
@@ -159,6 +172,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Type.GetHashCode();
}
+ if (this.Group != null)
+ {
+ hashCode = (hashCode * 59) + this.Group.GetHashCode();
+ }
return hashCode;
}
}
@@ -196,6 +213,13 @@ public List GetOpenApiTypes()
Type = "string",
Value = Type,
});
+ types.Add(new OpenApiType()
+ {
+ Name = "group",
+ Property = "Group",
+ Type = "string",
+ Value = Group,
+ });
return types;
}
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldDateSigned.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldDateSigned.cs
index 617886762..96cba8647 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldDateSigned.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldDateSigned.cs
@@ -42,16 +42,16 @@ protected TemplateResponseDocumentFormFieldDateSigned() { }
/// Initializes a new instance of the class.
///
/// The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` (required) (default to "date_signed").
- /// A unique id for the form field..
- /// The name of the form field..
- /// The signer of the Form Field..
- /// The horizontal offset in pixels for this form field..
- /// The vertical offset in pixels for this form field..
- /// The width in pixels of this form field..
- /// The height in pixels of this form field..
- /// Boolean showing whether or not this field is required..
/// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields..
- public TemplateResponseDocumentFormFieldDateSigned(string type = @"date_signed", string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
+ /// A unique id for the form field. (required).
+ /// The name of the form field. (required).
+ /// The signer of the Form Field. (required).
+ /// The horizontal offset in pixels for this form field. (required).
+ /// The vertical offset in pixels for this form field. (required).
+ /// The width in pixels of this form field. (required).
+ /// The height in pixels of this form field. (required).
+ /// Boolean showing whether or not this field is required. (required).
+ public TemplateResponseDocumentFormFieldDateSigned(string type = @"date_signed", string group = default(string), string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool))
{
this.ApiId = apiId;
this.Name = name;
@@ -61,7 +61,6 @@ protected TemplateResponseDocumentFormFieldDateSigned() { }
this.Width = width;
this.Height = height;
this.Required = required;
- this.Group = group;
// to ensure "type" is required (not null)
if (type == null)
@@ -69,6 +68,7 @@ protected TemplateResponseDocumentFormFieldDateSigned() { }
throw new ArgumentNullException("type is a required property for TemplateResponseDocumentFormFieldDateSigned and cannot be null");
}
this.Type = type;
+ this.Group = group;
}
///
@@ -94,6 +94,13 @@ public static TemplateResponseDocumentFormFieldDateSigned Init(string jsonData)
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public string Type { get; set; }
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ [DataMember(Name = "group", EmitDefaultValue = true)]
+ public string Group { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -104,6 +111,7 @@ public override string ToString()
sb.Append("class TemplateResponseDocumentFormFieldDateSigned {\n");
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
+ sb.Append(" Group: ").Append(Group).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -143,6 +151,11 @@ public bool Equals(TemplateResponseDocumentFormFieldDateSigned input)
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
+ ) && base.Equals(input) &&
+ (
+ this.Group == input.Group ||
+ (this.Group != null &&
+ this.Group.Equals(input.Group))
);
}
@@ -159,6 +172,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Type.GetHashCode();
}
+ if (this.Group != null)
+ {
+ hashCode = (hashCode * 59) + this.Group.GetHashCode();
+ }
return hashCode;
}
}
@@ -196,6 +213,13 @@ public List GetOpenApiTypes()
Type = "string",
Value = Type,
});
+ types.Add(new OpenApiType()
+ {
+ Name = "group",
+ Property = "Group",
+ Type = "string",
+ Value = Group,
+ });
return types;
}
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldDropdown.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldDropdown.cs
index e402f7f74..a100c7984 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldDropdown.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldDropdown.cs
@@ -42,16 +42,16 @@ protected TemplateResponseDocumentFormFieldDropdown() { }
/// Initializes a new instance of the class.
///
/// The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` (required) (default to "dropdown").
- /// A unique id for the form field..
- /// The name of the form field..
- /// The signer of the Form Field..
- /// The horizontal offset in pixels for this form field..
- /// The vertical offset in pixels for this form field..
- /// The width in pixels of this form field..
- /// The height in pixels of this form field..
- /// Boolean showing whether or not this field is required..
/// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields..
- public TemplateResponseDocumentFormFieldDropdown(string type = @"dropdown", string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
+ /// A unique id for the form field. (required).
+ /// The name of the form field. (required).
+ /// The signer of the Form Field. (required).
+ /// The horizontal offset in pixels for this form field. (required).
+ /// The vertical offset in pixels for this form field. (required).
+ /// The width in pixels of this form field. (required).
+ /// The height in pixels of this form field. (required).
+ /// Boolean showing whether or not this field is required. (required).
+ public TemplateResponseDocumentFormFieldDropdown(string type = @"dropdown", string group = default(string), string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool))
{
this.ApiId = apiId;
this.Name = name;
@@ -61,7 +61,6 @@ protected TemplateResponseDocumentFormFieldDropdown() { }
this.Width = width;
this.Height = height;
this.Required = required;
- this.Group = group;
// to ensure "type" is required (not null)
if (type == null)
@@ -69,6 +68,7 @@ protected TemplateResponseDocumentFormFieldDropdown() { }
throw new ArgumentNullException("type is a required property for TemplateResponseDocumentFormFieldDropdown and cannot be null");
}
this.Type = type;
+ this.Group = group;
}
///
@@ -94,6 +94,13 @@ public static TemplateResponseDocumentFormFieldDropdown Init(string jsonData)
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public string Type { get; set; }
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ [DataMember(Name = "group", EmitDefaultValue = true)]
+ public string Group { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -104,6 +111,7 @@ public override string ToString()
sb.Append("class TemplateResponseDocumentFormFieldDropdown {\n");
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
+ sb.Append(" Group: ").Append(Group).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -143,6 +151,11 @@ public bool Equals(TemplateResponseDocumentFormFieldDropdown input)
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
+ ) && base.Equals(input) &&
+ (
+ this.Group == input.Group ||
+ (this.Group != null &&
+ this.Group.Equals(input.Group))
);
}
@@ -159,6 +172,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Type.GetHashCode();
}
+ if (this.Group != null)
+ {
+ hashCode = (hashCode * 59) + this.Group.GetHashCode();
+ }
return hashCode;
}
}
@@ -196,6 +213,13 @@ public List GetOpenApiTypes()
Type = "string",
Value = Type,
});
+ types.Add(new OpenApiType()
+ {
+ Name = "group",
+ Property = "Group",
+ Type = "string",
+ Value = Group,
+ });
return types;
}
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldHyperlink.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldHyperlink.cs
index 5f874e63a..7138491b7 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldHyperlink.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldHyperlink.cs
@@ -42,20 +42,20 @@ protected TemplateResponseDocumentFormFieldHyperlink() { }
/// Initializes a new instance of the class.
///
/// The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` (required) (default to "hyperlink").
- /// avgTextLength.
- /// Whether this form field is multiline text..
- /// Original font size used in this form field's text..
- /// Font family used in this form field's text..
- /// A unique id for the form field..
- /// The name of the form field..
- /// The signer of the Form Field..
- /// The horizontal offset in pixels for this form field..
- /// The vertical offset in pixels for this form field..
- /// The width in pixels of this form field..
- /// The height in pixels of this form field..
- /// Boolean showing whether or not this field is required..
+ /// avgTextLength (required).
+ /// Whether this form field is multiline text. (required).
+ /// Original font size used in this form field's text. (required).
+ /// Font family used in this form field's text. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields..
- public TemplateResponseDocumentFormFieldHyperlink(string type = @"hyperlink", TemplateResponseFieldAvgTextLength avgTextLength = default(TemplateResponseFieldAvgTextLength), bool isMultiline = default(bool), int originalFontSize = default(int), string fontFamily = default(string), string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
+ /// A unique id for the form field. (required).
+ /// The name of the form field. (required).
+ /// The signer of the Form Field. (required).
+ /// The horizontal offset in pixels for this form field. (required).
+ /// The vertical offset in pixels for this form field. (required).
+ /// The width in pixels of this form field. (required).
+ /// The height in pixels of this form field. (required).
+ /// Boolean showing whether or not this field is required. (required).
+ public TemplateResponseDocumentFormFieldHyperlink(string type = @"hyperlink", TemplateResponseFieldAvgTextLength avgTextLength = default(TemplateResponseFieldAvgTextLength), bool isMultiline = default(bool), int originalFontSize = default(int), string fontFamily = default(string), string group = default(string), string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool))
{
this.ApiId = apiId;
this.Name = name;
@@ -65,7 +65,6 @@ protected TemplateResponseDocumentFormFieldHyperlink() { }
this.Width = width;
this.Height = height;
this.Required = required;
- this.Group = group;
// to ensure "type" is required (not null)
if (type == null)
@@ -73,10 +72,21 @@ protected TemplateResponseDocumentFormFieldHyperlink() { }
throw new ArgumentNullException("type is a required property for TemplateResponseDocumentFormFieldHyperlink and cannot be null");
}
this.Type = type;
+ // to ensure "avgTextLength" is required (not null)
+ if (avgTextLength == null)
+ {
+ throw new ArgumentNullException("avgTextLength is a required property for TemplateResponseDocumentFormFieldHyperlink and cannot be null");
+ }
this.AvgTextLength = avgTextLength;
this.IsMultiline = isMultiline;
this.OriginalFontSize = originalFontSize;
+ // to ensure "fontFamily" is required (not null)
+ if (fontFamily == null)
+ {
+ throw new ArgumentNullException("fontFamily is a required property for TemplateResponseDocumentFormFieldHyperlink and cannot be null");
+ }
this.FontFamily = fontFamily;
+ this.Group = group;
}
///
@@ -105,30 +115,37 @@ public static TemplateResponseDocumentFormFieldHyperlink Init(string jsonData)
///
/// Gets or Sets AvgTextLength
///
- [DataMember(Name = "avg_text_length", EmitDefaultValue = true)]
+ [DataMember(Name = "avg_text_length", IsRequired = true, EmitDefaultValue = true)]
public TemplateResponseFieldAvgTextLength AvgTextLength { get; set; }
///
/// Whether this form field is multiline text.
///
/// Whether this form field is multiline text.
- [DataMember(Name = "isMultiline", EmitDefaultValue = true)]
+ [DataMember(Name = "isMultiline", IsRequired = true, EmitDefaultValue = true)]
public bool IsMultiline { get; set; }
///
/// Original font size used in this form field's text.
///
/// Original font size used in this form field's text.
- [DataMember(Name = "originalFontSize", EmitDefaultValue = true)]
+ [DataMember(Name = "originalFontSize", IsRequired = true, EmitDefaultValue = true)]
public int OriginalFontSize { get; set; }
///
/// Font family used in this form field's text.
///
/// Font family used in this form field's text.
- [DataMember(Name = "fontFamily", EmitDefaultValue = true)]
+ [DataMember(Name = "fontFamily", IsRequired = true, EmitDefaultValue = true)]
public string FontFamily { get; set; }
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ [DataMember(Name = "group", EmitDefaultValue = true)]
+ public string Group { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -143,6 +160,7 @@ public override string ToString()
sb.Append(" IsMultiline: ").Append(IsMultiline).Append("\n");
sb.Append(" OriginalFontSize: ").Append(OriginalFontSize).Append("\n");
sb.Append(" FontFamily: ").Append(FontFamily).Append("\n");
+ sb.Append(" Group: ").Append(Group).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -200,6 +218,11 @@ public bool Equals(TemplateResponseDocumentFormFieldHyperlink input)
this.FontFamily == input.FontFamily ||
(this.FontFamily != null &&
this.FontFamily.Equals(input.FontFamily))
+ ) && base.Equals(input) &&
+ (
+ this.Group == input.Group ||
+ (this.Group != null &&
+ this.Group.Equals(input.Group))
);
}
@@ -226,6 +249,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.FontFamily.GetHashCode();
}
+ if (this.Group != null)
+ {
+ hashCode = (hashCode * 59) + this.Group.GetHashCode();
+ }
return hashCode;
}
}
@@ -291,6 +318,13 @@ public List GetOpenApiTypes()
Type = "string",
Value = FontFamily,
});
+ types.Add(new OpenApiType()
+ {
+ Name = "group",
+ Property = "Group",
+ Type = "string",
+ Value = Group,
+ });
return types;
}
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldInitials.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldInitials.cs
index 3eb9296b0..cff4fe342 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldInitials.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldInitials.cs
@@ -42,16 +42,16 @@ protected TemplateResponseDocumentFormFieldInitials() { }
/// Initializes a new instance of the class.
///
/// The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` (required) (default to "initials").
- /// A unique id for the form field..
- /// The name of the form field..
- /// The signer of the Form Field..
- /// The horizontal offset in pixels for this form field..
- /// The vertical offset in pixels for this form field..
- /// The width in pixels of this form field..
- /// The height in pixels of this form field..
- /// Boolean showing whether or not this field is required..
/// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields..
- public TemplateResponseDocumentFormFieldInitials(string type = @"initials", string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
+ /// A unique id for the form field. (required).
+ /// The name of the form field. (required).
+ /// The signer of the Form Field. (required).
+ /// The horizontal offset in pixels for this form field. (required).
+ /// The vertical offset in pixels for this form field. (required).
+ /// The width in pixels of this form field. (required).
+ /// The height in pixels of this form field. (required).
+ /// Boolean showing whether or not this field is required. (required).
+ public TemplateResponseDocumentFormFieldInitials(string type = @"initials", string group = default(string), string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool))
{
this.ApiId = apiId;
this.Name = name;
@@ -61,7 +61,6 @@ protected TemplateResponseDocumentFormFieldInitials() { }
this.Width = width;
this.Height = height;
this.Required = required;
- this.Group = group;
// to ensure "type" is required (not null)
if (type == null)
@@ -69,6 +68,7 @@ protected TemplateResponseDocumentFormFieldInitials() { }
throw new ArgumentNullException("type is a required property for TemplateResponseDocumentFormFieldInitials and cannot be null");
}
this.Type = type;
+ this.Group = group;
}
///
@@ -94,6 +94,13 @@ public static TemplateResponseDocumentFormFieldInitials Init(string jsonData)
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public string Type { get; set; }
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ [DataMember(Name = "group", EmitDefaultValue = true)]
+ public string Group { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -104,6 +111,7 @@ public override string ToString()
sb.Append("class TemplateResponseDocumentFormFieldInitials {\n");
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
+ sb.Append(" Group: ").Append(Group).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -143,6 +151,11 @@ public bool Equals(TemplateResponseDocumentFormFieldInitials input)
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
+ ) && base.Equals(input) &&
+ (
+ this.Group == input.Group ||
+ (this.Group != null &&
+ this.Group.Equals(input.Group))
);
}
@@ -159,6 +172,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Type.GetHashCode();
}
+ if (this.Group != null)
+ {
+ hashCode = (hashCode * 59) + this.Group.GetHashCode();
+ }
return hashCode;
}
}
@@ -196,6 +213,13 @@ public List GetOpenApiTypes()
Type = "string",
Value = Type,
});
+ types.Add(new OpenApiType()
+ {
+ Name = "group",
+ Property = "Group",
+ Type = "string",
+ Value = Group,
+ });
return types;
}
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldRadio.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldRadio.cs
index 2bf695e4d..0d1eec061 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldRadio.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldRadio.cs
@@ -42,16 +42,16 @@ protected TemplateResponseDocumentFormFieldRadio() { }
/// Initializes a new instance of the class.
///
/// The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` (required) (default to "radio").
- /// A unique id for the form field..
- /// The name of the form field..
- /// The signer of the Form Field..
- /// The horizontal offset in pixels for this form field..
- /// The vertical offset in pixels for this form field..
- /// The width in pixels of this form field..
- /// The height in pixels of this form field..
- /// Boolean showing whether or not this field is required..
/// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. (required).
- public TemplateResponseDocumentFormFieldRadio(string type = @"radio", string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
+ /// A unique id for the form field. (required).
+ /// The name of the form field. (required).
+ /// The signer of the Form Field. (required).
+ /// The horizontal offset in pixels for this form field. (required).
+ /// The vertical offset in pixels for this form field. (required).
+ /// The width in pixels of this form field. (required).
+ /// The height in pixels of this form field. (required).
+ /// Boolean showing whether or not this field is required. (required).
+ public TemplateResponseDocumentFormFieldRadio(string type = @"radio", string group = default(string), string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool))
{
this.ApiId = apiId;
this.Name = name;
@@ -61,7 +61,6 @@ protected TemplateResponseDocumentFormFieldRadio() { }
this.Width = width;
this.Height = height;
this.Required = required;
- this.Group = group;
// to ensure "type" is required (not null)
if (type == null)
@@ -69,6 +68,12 @@ protected TemplateResponseDocumentFormFieldRadio() { }
throw new ArgumentNullException("type is a required property for TemplateResponseDocumentFormFieldRadio and cannot be null");
}
this.Type = type;
+ // to ensure "group" is required (not null)
+ if (group == null)
+ {
+ throw new ArgumentNullException("group is a required property for TemplateResponseDocumentFormFieldRadio and cannot be null");
+ }
+ this.Group = group;
}
///
@@ -94,6 +99,13 @@ public static TemplateResponseDocumentFormFieldRadio Init(string jsonData)
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public string Type { get; set; }
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ [DataMember(Name = "group", IsRequired = true, EmitDefaultValue = true)]
+ public string Group { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -104,6 +116,7 @@ public override string ToString()
sb.Append("class TemplateResponseDocumentFormFieldRadio {\n");
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
+ sb.Append(" Group: ").Append(Group).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -143,6 +156,11 @@ public bool Equals(TemplateResponseDocumentFormFieldRadio input)
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
+ ) && base.Equals(input) &&
+ (
+ this.Group == input.Group ||
+ (this.Group != null &&
+ this.Group.Equals(input.Group))
);
}
@@ -159,6 +177,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Type.GetHashCode();
}
+ if (this.Group != null)
+ {
+ hashCode = (hashCode * 59) + this.Group.GetHashCode();
+ }
return hashCode;
}
}
@@ -196,6 +218,13 @@ public List GetOpenApiTypes()
Type = "string",
Value = Type,
});
+ types.Add(new OpenApiType()
+ {
+ Name = "group",
+ Property = "Group",
+ Type = "string",
+ Value = Group,
+ });
return types;
}
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldSignature.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldSignature.cs
index 79119e439..f5301dd13 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldSignature.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldSignature.cs
@@ -42,16 +42,16 @@ protected TemplateResponseDocumentFormFieldSignature() { }
/// Initializes a new instance of the class.
///
/// The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` (required) (default to "signature").
- /// A unique id for the form field..
- /// The name of the form field..
- /// The signer of the Form Field..
- /// The horizontal offset in pixels for this form field..
- /// The vertical offset in pixels for this form field..
- /// The width in pixels of this form field..
- /// The height in pixels of this form field..
- /// Boolean showing whether or not this field is required..
/// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields..
- public TemplateResponseDocumentFormFieldSignature(string type = @"signature", string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
+ /// A unique id for the form field. (required).
+ /// The name of the form field. (required).
+ /// The signer of the Form Field. (required).
+ /// The horizontal offset in pixels for this form field. (required).
+ /// The vertical offset in pixels for this form field. (required).
+ /// The width in pixels of this form field. (required).
+ /// The height in pixels of this form field. (required).
+ /// Boolean showing whether or not this field is required. (required).
+ public TemplateResponseDocumentFormFieldSignature(string type = @"signature", string group = default(string), string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool))
{
this.ApiId = apiId;
this.Name = name;
@@ -61,7 +61,6 @@ protected TemplateResponseDocumentFormFieldSignature() { }
this.Width = width;
this.Height = height;
this.Required = required;
- this.Group = group;
// to ensure "type" is required (not null)
if (type == null)
@@ -69,6 +68,7 @@ protected TemplateResponseDocumentFormFieldSignature() { }
throw new ArgumentNullException("type is a required property for TemplateResponseDocumentFormFieldSignature and cannot be null");
}
this.Type = type;
+ this.Group = group;
}
///
@@ -94,6 +94,13 @@ public static TemplateResponseDocumentFormFieldSignature Init(string jsonData)
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
public string Type { get; set; }
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ [DataMember(Name = "group", EmitDefaultValue = true)]
+ public string Group { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -104,6 +111,7 @@ public override string ToString()
sb.Append("class TemplateResponseDocumentFormFieldSignature {\n");
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
+ sb.Append(" Group: ").Append(Group).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -143,6 +151,11 @@ public bool Equals(TemplateResponseDocumentFormFieldSignature input)
this.Type == input.Type ||
(this.Type != null &&
this.Type.Equals(input.Type))
+ ) && base.Equals(input) &&
+ (
+ this.Group == input.Group ||
+ (this.Group != null &&
+ this.Group.Equals(input.Group))
);
}
@@ -159,6 +172,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Type.GetHashCode();
}
+ if (this.Group != null)
+ {
+ hashCode = (hashCode * 59) + this.Group.GetHashCode();
+ }
return hashCode;
}
}
@@ -196,6 +213,13 @@ public List GetOpenApiTypes()
Type = "string",
Value = Type,
});
+ types.Add(new OpenApiType()
+ {
+ Name = "group",
+ Property = "Group",
+ Type = "string",
+ Value = Group,
+ });
return types;
}
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldText.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldText.cs
index ee0686bcb..0d9bbbe31 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldText.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentFormFieldText.cs
@@ -117,21 +117,21 @@ protected TemplateResponseDocumentFormFieldText() { }
/// Initializes a new instance of the class.
///
/// The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials` (required) (default to "text").
- /// avgTextLength.
- /// Whether this form field is multiline text..
- /// Original font size used in this form field's text..
- /// Font family used in this form field's text..
+ /// avgTextLength (required).
+ /// Whether this form field is multiline text. (required).
+ /// Original font size used in this form field's text. (required).
+ /// Font family used in this form field's text. (required).
/// Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values..
- /// A unique id for the form field..
- /// The name of the form field..
- /// The signer of the Form Field..
- /// The horizontal offset in pixels for this form field..
- /// The vertical offset in pixels for this form field..
- /// The width in pixels of this form field..
- /// The height in pixels of this form field..
- /// Boolean showing whether or not this field is required..
/// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields..
- public TemplateResponseDocumentFormFieldText(string type = @"text", TemplateResponseFieldAvgTextLength avgTextLength = default(TemplateResponseFieldAvgTextLength), bool isMultiline = default(bool), int originalFontSize = default(int), string fontFamily = default(string), ValidationTypeEnum? validationType = default(ValidationTypeEnum?), string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
+ /// A unique id for the form field. (required).
+ /// The name of the form field. (required).
+ /// The signer of the Form Field. (required).
+ /// The horizontal offset in pixels for this form field. (required).
+ /// The vertical offset in pixels for this form field. (required).
+ /// The width in pixels of this form field. (required).
+ /// The height in pixels of this form field. (required).
+ /// Boolean showing whether or not this field is required. (required).
+ public TemplateResponseDocumentFormFieldText(string type = @"text", TemplateResponseFieldAvgTextLength avgTextLength = default(TemplateResponseFieldAvgTextLength), bool isMultiline = default(bool), int originalFontSize = default(int), string fontFamily = default(string), ValidationTypeEnum? validationType = default(ValidationTypeEnum?), string group = default(string), string apiId = default(string), string name = default(string), Object signer = null, int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool))
{
this.ApiId = apiId;
this.Name = name;
@@ -141,7 +141,6 @@ protected TemplateResponseDocumentFormFieldText() { }
this.Width = width;
this.Height = height;
this.Required = required;
- this.Group = group;
// to ensure "type" is required (not null)
if (type == null)
@@ -149,11 +148,22 @@ protected TemplateResponseDocumentFormFieldText() { }
throw new ArgumentNullException("type is a required property for TemplateResponseDocumentFormFieldText and cannot be null");
}
this.Type = type;
+ // to ensure "avgTextLength" is required (not null)
+ if (avgTextLength == null)
+ {
+ throw new ArgumentNullException("avgTextLength is a required property for TemplateResponseDocumentFormFieldText and cannot be null");
+ }
this.AvgTextLength = avgTextLength;
this.IsMultiline = isMultiline;
this.OriginalFontSize = originalFontSize;
+ // to ensure "fontFamily" is required (not null)
+ if (fontFamily == null)
+ {
+ throw new ArgumentNullException("fontFamily is a required property for TemplateResponseDocumentFormFieldText and cannot be null");
+ }
this.FontFamily = fontFamily;
this.ValidationType = validationType;
+ this.Group = group;
}
///
@@ -182,30 +192,37 @@ public static TemplateResponseDocumentFormFieldText Init(string jsonData)
///
/// Gets or Sets AvgTextLength
///
- [DataMember(Name = "avg_text_length", EmitDefaultValue = true)]
+ [DataMember(Name = "avg_text_length", IsRequired = true, EmitDefaultValue = true)]
public TemplateResponseFieldAvgTextLength AvgTextLength { get; set; }
///
/// Whether this form field is multiline text.
///
/// Whether this form field is multiline text.
- [DataMember(Name = "isMultiline", EmitDefaultValue = true)]
+ [DataMember(Name = "isMultiline", IsRequired = true, EmitDefaultValue = true)]
public bool IsMultiline { get; set; }
///
/// Original font size used in this form field's text.
///
/// Original font size used in this form field's text.
- [DataMember(Name = "originalFontSize", EmitDefaultValue = true)]
+ [DataMember(Name = "originalFontSize", IsRequired = true, EmitDefaultValue = true)]
public int OriginalFontSize { get; set; }
///
/// Font family used in this form field's text.
///
/// Font family used in this form field's text.
- [DataMember(Name = "fontFamily", EmitDefaultValue = true)]
+ [DataMember(Name = "fontFamily", IsRequired = true, EmitDefaultValue = true)]
public string FontFamily { get; set; }
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ ///
+ /// The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ [DataMember(Name = "group", EmitDefaultValue = true)]
+ public string Group { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -221,6 +238,7 @@ public override string ToString()
sb.Append(" OriginalFontSize: ").Append(OriginalFontSize).Append("\n");
sb.Append(" FontFamily: ").Append(FontFamily).Append("\n");
sb.Append(" ValidationType: ").Append(ValidationType).Append("\n");
+ sb.Append(" Group: ").Append(Group).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -282,6 +300,11 @@ public bool Equals(TemplateResponseDocumentFormFieldText input)
(
this.ValidationType == input.ValidationType ||
this.ValidationType.Equals(input.ValidationType)
+ ) && base.Equals(input) &&
+ (
+ this.Group == input.Group ||
+ (this.Group != null &&
+ this.Group.Equals(input.Group))
);
}
@@ -309,6 +332,10 @@ public override int GetHashCode()
hashCode = (hashCode * 59) + this.FontFamily.GetHashCode();
}
hashCode = (hashCode * 59) + this.ValidationType.GetHashCode();
+ if (this.Group != null)
+ {
+ hashCode = (hashCode * 59) + this.Group.GetHashCode();
+ }
return hashCode;
}
}
@@ -381,6 +408,13 @@ public List GetOpenApiTypes()
Type = "string",
Value = ValidationType,
});
+ types.Add(new OpenApiType()
+ {
+ Name = "group",
+ Property = "Group",
+ Type = "string",
+ Value = Group,
+ });
return types;
}
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldBase.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldBase.cs
index 69281b328..cac470d89 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldBase.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldBase.cs
@@ -51,29 +51,43 @@ protected TemplateResponseDocumentStaticFieldBase() { }
///
/// Initializes a new instance of the class.
///
- /// A unique id for the static field..
- /// The name of the static field..
+ /// A unique id for the static field. (required).
+ /// The name of the static field. (required).
/// type (required).
- /// The signer of the Static Field. (default to "me_now").
- /// The horizontal offset in pixels for this static field..
- /// The vertical offset in pixels for this static field..
- /// The width in pixels of this static field..
- /// The height in pixels of this static field..
- /// Boolean showing whether or not this field is required..
+ /// The signer of the Static Field. (required) (default to "me_now").
+ /// The horizontal offset in pixels for this static field. (required).
+ /// The vertical offset in pixels for this static field. (required).
+ /// The width in pixels of this static field. (required).
+ /// The height in pixels of this static field. (required).
+ /// Boolean showing whether or not this field is required. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null`..
public TemplateResponseDocumentStaticFieldBase(string apiId = default(string), string name = default(string), string type = default(string), string signer = @"me_now", int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
{
+ // to ensure "apiId" is required (not null)
+ if (apiId == null)
+ {
+ throw new ArgumentNullException("apiId is a required property for TemplateResponseDocumentStaticFieldBase and cannot be null");
+ }
+ this.ApiId = apiId;
+ // to ensure "name" is required (not null)
+ if (name == null)
+ {
+ throw new ArgumentNullException("name is a required property for TemplateResponseDocumentStaticFieldBase and cannot be null");
+ }
+ this.Name = name;
// to ensure "type" is required (not null)
if (type == null)
{
throw new ArgumentNullException("type is a required property for TemplateResponseDocumentStaticFieldBase and cannot be null");
}
this.Type = type;
- this.ApiId = apiId;
- this.Name = name;
- // use default value if no "signer" provided
- this.Signer = signer ?? "me_now";
+ // to ensure "signer" is required (not null)
+ if (signer == null)
+ {
+ throw new ArgumentNullException("signer is a required property for TemplateResponseDocumentStaticFieldBase and cannot be null");
+ }
+ this.Signer = signer;
this.X = x;
this.Y = y;
this.Width = width;
@@ -98,66 +112,66 @@ public static TemplateResponseDocumentStaticFieldBase Init(string jsonData)
return obj;
}
- ///
- /// Gets or Sets Type
- ///
- [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
- public string Type { get; set; }
-
///
/// A unique id for the static field.
///
/// A unique id for the static field.
- [DataMember(Name = "api_id", EmitDefaultValue = true)]
+ [DataMember(Name = "api_id", IsRequired = true, EmitDefaultValue = true)]
public string ApiId { get; set; }
///
/// The name of the static field.
///
/// The name of the static field.
- [DataMember(Name = "name", EmitDefaultValue = true)]
+ [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
public string Name { get; set; }
+ ///
+ /// Gets or Sets Type
+ ///
+ [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
+ public string Type { get; set; }
+
///
/// The signer of the Static Field.
///
/// The signer of the Static Field.
- [DataMember(Name = "signer", EmitDefaultValue = true)]
+ [DataMember(Name = "signer", IsRequired = true, EmitDefaultValue = true)]
public string Signer { get; set; }
///
/// The horizontal offset in pixels for this static field.
///
/// The horizontal offset in pixels for this static field.
- [DataMember(Name = "x", EmitDefaultValue = true)]
+ [DataMember(Name = "x", IsRequired = true, EmitDefaultValue = true)]
public int X { get; set; }
///
/// The vertical offset in pixels for this static field.
///
/// The vertical offset in pixels for this static field.
- [DataMember(Name = "y", EmitDefaultValue = true)]
+ [DataMember(Name = "y", IsRequired = true, EmitDefaultValue = true)]
public int Y { get; set; }
///
/// The width in pixels of this static field.
///
/// The width in pixels of this static field.
- [DataMember(Name = "width", EmitDefaultValue = true)]
+ [DataMember(Name = "width", IsRequired = true, EmitDefaultValue = true)]
public int Width { get; set; }
///
/// The height in pixels of this static field.
///
/// The height in pixels of this static field.
- [DataMember(Name = "height", EmitDefaultValue = true)]
+ [DataMember(Name = "height", IsRequired = true, EmitDefaultValue = true)]
public int Height { get; set; }
///
/// Boolean showing whether or not this field is required.
///
/// Boolean showing whether or not this field is required.
- [DataMember(Name = "required", EmitDefaultValue = true)]
+ [DataMember(Name = "required", IsRequired = true, EmitDefaultValue = true)]
public bool Required { get; set; }
///
@@ -175,9 +189,9 @@ public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class TemplateResponseDocumentStaticFieldBase {\n");
- sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append(" ApiId: ").Append(ApiId).Append("\n");
sb.Append(" Name: ").Append(Name).Append("\n");
+ sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append(" Signer: ").Append(Signer).Append("\n");
sb.Append(" X: ").Append(X).Append("\n");
sb.Append(" Y: ").Append(Y).Append("\n");
@@ -220,11 +234,6 @@ public bool Equals(TemplateResponseDocumentStaticFieldBase input)
return false;
}
return
- (
- this.Type == input.Type ||
- (this.Type != null &&
- this.Type.Equals(input.Type))
- ) &&
(
this.ApiId == input.ApiId ||
(this.ApiId != null &&
@@ -235,6 +244,11 @@ public bool Equals(TemplateResponseDocumentStaticFieldBase input)
(this.Name != null &&
this.Name.Equals(input.Name))
) &&
+ (
+ this.Type == input.Type ||
+ (this.Type != null &&
+ this.Type.Equals(input.Type))
+ ) &&
(
this.Signer == input.Signer ||
(this.Signer != null &&
@@ -276,10 +290,6 @@ public override int GetHashCode()
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
- if (this.Type != null)
- {
- hashCode = (hashCode * 59) + this.Type.GetHashCode();
- }
if (this.ApiId != null)
{
hashCode = (hashCode * 59) + this.ApiId.GetHashCode();
@@ -288,6 +298,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Name.GetHashCode();
}
+ if (this.Type != null)
+ {
+ hashCode = (hashCode * 59) + this.Type.GetHashCode();
+ }
if (this.Signer != null)
{
hashCode = (hashCode * 59) + this.Signer.GetHashCode();
@@ -328,13 +342,6 @@ public List GetOpenApiTypes()
{
var types = new List();
types.Add(new OpenApiType()
- {
- Name = "type",
- Property = "Type",
- Type = "string",
- Value = Type,
- });
- types.Add(new OpenApiType()
{
Name = "api_id",
Property = "ApiId",
@@ -349,6 +356,13 @@ public List GetOpenApiTypes()
Value = Name,
});
types.Add(new OpenApiType()
+ {
+ Name = "type",
+ Property = "Type",
+ Type = "string",
+ Value = Type,
+ });
+ types.Add(new OpenApiType()
{
Name = "signer",
Property = "Signer",
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldCheckbox.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldCheckbox.cs
index 0d5fce147..ecc2a11d8 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldCheckbox.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldCheckbox.cs
@@ -42,14 +42,14 @@ protected TemplateResponseDocumentStaticFieldCheckbox() { }
/// Initializes a new instance of the class.
///
/// The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` (required) (default to "checkbox").
- /// A unique id for the static field..
- /// The name of the static field..
- /// The signer of the Static Field. (default to "me_now").
- /// The horizontal offset in pixels for this static field..
- /// The vertical offset in pixels for this static field..
- /// The width in pixels of this static field..
- /// The height in pixels of this static field..
- /// Boolean showing whether or not this field is required..
+ /// A unique id for the static field. (required).
+ /// The name of the static field. (required).
+ /// The signer of the Static Field. (required) (default to "me_now").
+ /// The horizontal offset in pixels for this static field. (required).
+ /// The vertical offset in pixels for this static field. (required).
+ /// The width in pixels of this static field. (required).
+ /// The height in pixels of this static field. (required).
+ /// Boolean showing whether or not this field is required. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null`..
public TemplateResponseDocumentStaticFieldCheckbox(string type = @"checkbox", string apiId = default(string), string name = default(string), string signer = @"me_now", int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
{
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldDateSigned.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldDateSigned.cs
index 4d30a2038..af09f33ac 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldDateSigned.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldDateSigned.cs
@@ -42,14 +42,14 @@ protected TemplateResponseDocumentStaticFieldDateSigned() { }
/// Initializes a new instance of the class.
///
/// The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` (required) (default to "date_signed").
- /// A unique id for the static field..
- /// The name of the static field..
- /// The signer of the Static Field. (default to "me_now").
- /// The horizontal offset in pixels for this static field..
- /// The vertical offset in pixels for this static field..
- /// The width in pixels of this static field..
- /// The height in pixels of this static field..
- /// Boolean showing whether or not this field is required..
+ /// A unique id for the static field. (required).
+ /// The name of the static field. (required).
+ /// The signer of the Static Field. (required) (default to "me_now").
+ /// The horizontal offset in pixels for this static field. (required).
+ /// The vertical offset in pixels for this static field. (required).
+ /// The width in pixels of this static field. (required).
+ /// The height in pixels of this static field. (required).
+ /// Boolean showing whether or not this field is required. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null`..
public TemplateResponseDocumentStaticFieldDateSigned(string type = @"date_signed", string apiId = default(string), string name = default(string), string signer = @"me_now", int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
{
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldDropdown.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldDropdown.cs
index 423e983f4..381e2eed8 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldDropdown.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldDropdown.cs
@@ -42,14 +42,14 @@ protected TemplateResponseDocumentStaticFieldDropdown() { }
/// Initializes a new instance of the class.
///
/// The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` (required) (default to "dropdown").
- /// A unique id for the static field..
- /// The name of the static field..
- /// The signer of the Static Field. (default to "me_now").
- /// The horizontal offset in pixels for this static field..
- /// The vertical offset in pixels for this static field..
- /// The width in pixels of this static field..
- /// The height in pixels of this static field..
- /// Boolean showing whether or not this field is required..
+ /// A unique id for the static field. (required).
+ /// The name of the static field. (required).
+ /// The signer of the Static Field. (required) (default to "me_now").
+ /// The horizontal offset in pixels for this static field. (required).
+ /// The vertical offset in pixels for this static field. (required).
+ /// The width in pixels of this static field. (required).
+ /// The height in pixels of this static field. (required).
+ /// Boolean showing whether or not this field is required. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null`..
public TemplateResponseDocumentStaticFieldDropdown(string type = @"dropdown", string apiId = default(string), string name = default(string), string signer = @"me_now", int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
{
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldHyperlink.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldHyperlink.cs
index 78b8bd087..4d3426e92 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldHyperlink.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldHyperlink.cs
@@ -42,14 +42,14 @@ protected TemplateResponseDocumentStaticFieldHyperlink() { }
/// Initializes a new instance of the class.
///
/// The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` (required) (default to "hyperlink").
- /// A unique id for the static field..
- /// The name of the static field..
- /// The signer of the Static Field. (default to "me_now").
- /// The horizontal offset in pixels for this static field..
- /// The vertical offset in pixels for this static field..
- /// The width in pixels of this static field..
- /// The height in pixels of this static field..
- /// Boolean showing whether or not this field is required..
+ /// A unique id for the static field. (required).
+ /// The name of the static field. (required).
+ /// The signer of the Static Field. (required) (default to "me_now").
+ /// The horizontal offset in pixels for this static field. (required).
+ /// The vertical offset in pixels for this static field. (required).
+ /// The width in pixels of this static field. (required).
+ /// The height in pixels of this static field. (required).
+ /// Boolean showing whether or not this field is required. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null`..
public TemplateResponseDocumentStaticFieldHyperlink(string type = @"hyperlink", string apiId = default(string), string name = default(string), string signer = @"me_now", int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
{
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldInitials.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldInitials.cs
index cc5526323..0d07e78f2 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldInitials.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldInitials.cs
@@ -42,14 +42,14 @@ protected TemplateResponseDocumentStaticFieldInitials() { }
/// Initializes a new instance of the class.
///
/// The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` (required) (default to "initials").
- /// A unique id for the static field..
- /// The name of the static field..
- /// The signer of the Static Field. (default to "me_now").
- /// The horizontal offset in pixels for this static field..
- /// The vertical offset in pixels for this static field..
- /// The width in pixels of this static field..
- /// The height in pixels of this static field..
- /// Boolean showing whether or not this field is required..
+ /// A unique id for the static field. (required).
+ /// The name of the static field. (required).
+ /// The signer of the Static Field. (required) (default to "me_now").
+ /// The horizontal offset in pixels for this static field. (required).
+ /// The vertical offset in pixels for this static field. (required).
+ /// The width in pixels of this static field. (required).
+ /// The height in pixels of this static field. (required).
+ /// Boolean showing whether or not this field is required. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null`..
public TemplateResponseDocumentStaticFieldInitials(string type = @"initials", string apiId = default(string), string name = default(string), string signer = @"me_now", int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
{
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldRadio.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldRadio.cs
index 24f09b8c1..c25fd9db6 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldRadio.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldRadio.cs
@@ -42,14 +42,14 @@ protected TemplateResponseDocumentStaticFieldRadio() { }
/// Initializes a new instance of the class.
///
/// The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` (required) (default to "radio").
- /// A unique id for the static field..
- /// The name of the static field..
- /// The signer of the Static Field. (default to "me_now").
- /// The horizontal offset in pixels for this static field..
- /// The vertical offset in pixels for this static field..
- /// The width in pixels of this static field..
- /// The height in pixels of this static field..
- /// Boolean showing whether or not this field is required..
+ /// A unique id for the static field. (required).
+ /// The name of the static field. (required).
+ /// The signer of the Static Field. (required) (default to "me_now").
+ /// The horizontal offset in pixels for this static field. (required).
+ /// The vertical offset in pixels for this static field. (required).
+ /// The width in pixels of this static field. (required).
+ /// The height in pixels of this static field. (required).
+ /// Boolean showing whether or not this field is required. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null`..
public TemplateResponseDocumentStaticFieldRadio(string type = @"radio", string apiId = default(string), string name = default(string), string signer = @"me_now", int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
{
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldSignature.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldSignature.cs
index 0d7ea03a6..f4f5b70e2 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldSignature.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldSignature.cs
@@ -42,14 +42,14 @@ protected TemplateResponseDocumentStaticFieldSignature() { }
/// Initializes a new instance of the class.
///
/// The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` (required) (default to "signature").
- /// A unique id for the static field..
- /// The name of the static field..
- /// The signer of the Static Field. (default to "me_now").
- /// The horizontal offset in pixels for this static field..
- /// The vertical offset in pixels for this static field..
- /// The width in pixels of this static field..
- /// The height in pixels of this static field..
- /// Boolean showing whether or not this field is required..
+ /// A unique id for the static field. (required).
+ /// The name of the static field. (required).
+ /// The signer of the Static Field. (required) (default to "me_now").
+ /// The horizontal offset in pixels for this static field. (required).
+ /// The vertical offset in pixels for this static field. (required).
+ /// The width in pixels of this static field. (required).
+ /// The height in pixels of this static field. (required).
+ /// Boolean showing whether or not this field is required. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null`..
public TemplateResponseDocumentStaticFieldSignature(string type = @"signature", string apiId = default(string), string name = default(string), string signer = @"me_now", int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
{
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldText.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldText.cs
index 48c59ea75..ba2930e53 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldText.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseDocumentStaticFieldText.cs
@@ -42,14 +42,14 @@ protected TemplateResponseDocumentStaticFieldText() { }
/// Initializes a new instance of the class.
///
/// The type of this static field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentStaticFieldText` * Dropdown Field uses `TemplateResponseDocumentStaticFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentStaticFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentStaticFieldCheckbox` * Radio Field uses `TemplateResponseDocumentStaticFieldRadio` * Signature Field uses `TemplateResponseDocumentStaticFieldSignature` * Date Signed Field uses `TemplateResponseDocumentStaticFieldDateSigned` * Initials Field uses `TemplateResponseDocumentStaticFieldInitials` (required) (default to "text").
- /// A unique id for the static field..
- /// The name of the static field..
- /// The signer of the Static Field. (default to "me_now").
- /// The horizontal offset in pixels for this static field..
- /// The vertical offset in pixels for this static field..
- /// The width in pixels of this static field..
- /// The height in pixels of this static field..
- /// Boolean showing whether or not this field is required..
+ /// A unique id for the static field. (required).
+ /// The name of the static field. (required).
+ /// The signer of the Static Field. (required) (default to "me_now").
+ /// The horizontal offset in pixels for this static field. (required).
+ /// The vertical offset in pixels for this static field. (required).
+ /// The width in pixels of this static field. (required).
+ /// The height in pixels of this static field. (required).
+ /// Boolean showing whether or not this field is required. (required).
/// The name of the group this field is in. If this field is not a group, this defaults to `null`..
public TemplateResponseDocumentStaticFieldText(string type = @"text", string apiId = default(string), string name = default(string), string signer = @"me_now", int x = default(int), int y = default(int), int width = default(int), int height = default(int), bool required = default(bool), string group = default(string))
{
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseFieldAvgTextLength.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseFieldAvgTextLength.cs
index 3d3ae1df2..6ed7b426c 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseFieldAvgTextLength.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseFieldAvgTextLength.cs
@@ -41,8 +41,8 @@ protected TemplateResponseFieldAvgTextLength() { }
///
/// Initializes a new instance of the class.
///
- /// Number of lines..
- /// Number of characters per line..
+ /// Number of lines. (required).
+ /// Number of characters per line. (required).
public TemplateResponseFieldAvgTextLength(int numLines = default(int), int numCharsPerLine = default(int))
{
@@ -70,14 +70,14 @@ public static TemplateResponseFieldAvgTextLength Init(string jsonData)
/// Number of lines.
///
/// Number of lines.
- [DataMember(Name = "num_lines", EmitDefaultValue = true)]
+ [DataMember(Name = "num_lines", IsRequired = true, EmitDefaultValue = true)]
public int NumLines { get; set; }
///
/// Number of characters per line.
///
/// Number of characters per line.
- [DataMember(Name = "num_chars_per_line", EmitDefaultValue = true)]
+ [DataMember(Name = "num_chars_per_line", IsRequired = true, EmitDefaultValue = true)]
public int NumCharsPerLine { get; set; }
///
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseSignerRole.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseSignerRole.cs
index db464fd46..f11de6735 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseSignerRole.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateResponseSignerRole.cs
@@ -41,11 +41,16 @@ protected TemplateResponseSignerRole() { }
///
/// Initializes a new instance of the class.
///
- /// The name of the Role..
+ /// The name of the Role. (required).
/// If signer order is assigned this is the 0-based index for this role..
public TemplateResponseSignerRole(string name = default(string), int order = default(int))
{
+ // to ensure "name" is required (not null)
+ if (name == null)
+ {
+ throw new ArgumentNullException("name is a required property for TemplateResponseSignerRole and cannot be null");
+ }
this.Name = name;
this.Order = order;
}
@@ -70,7 +75,7 @@ public static TemplateResponseSignerRole Init(string jsonData)
/// The name of the Role.
///
/// The name of the Role.
- [DataMember(Name = "name", EmitDefaultValue = true)]
+ [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)]
public string Name { get; set; }
///
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateUpdateFilesResponseTemplate.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateUpdateFilesResponseTemplate.cs
index 4a8863338..d82c11047 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateUpdateFilesResponseTemplate.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateUpdateFilesResponseTemplate.cs
@@ -41,11 +41,16 @@ protected TemplateUpdateFilesResponseTemplate() { }
///
/// Initializes a new instance of the class.
///
- /// The id of the Template..
+ /// The id of the Template. (required).
/// A list of warnings..
public TemplateUpdateFilesResponseTemplate(string templateId = default(string), List warnings = default(List))
{
+ // to ensure "templateId" is required (not null)
+ if (templateId == null)
+ {
+ throw new ArgumentNullException("templateId is a required property for TemplateUpdateFilesResponseTemplate and cannot be null");
+ }
this.TemplateId = templateId;
this.Warnings = warnings;
}
@@ -70,7 +75,7 @@ public static TemplateUpdateFilesResponseTemplate Init(string jsonData)
/// The id of the Template.
///
/// The id of the Template.
- [DataMember(Name = "template_id", EmitDefaultValue = true)]
+ [DataMember(Name = "template_id", IsRequired = true, EmitDefaultValue = true)]
public string TemplateId { get; set; }
///
diff --git a/sdks/java-v1/docs/TemplateCreateEmbeddedDraftResponseTemplate.md b/sdks/java-v1/docs/TemplateCreateEmbeddedDraftResponseTemplate.md
index 770cce434..224ec6c71 100644
--- a/sdks/java-v1/docs/TemplateCreateEmbeddedDraftResponseTemplate.md
+++ b/sdks/java-v1/docs/TemplateCreateEmbeddedDraftResponseTemplate.md
@@ -8,9 +8,9 @@ Template object with parameters: `template_id`, `edit_url`, `expires_at`.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `templateId` | ```String``` | The id of the Template. | |
-| `editUrl` | ```String``` | Link to edit the template. | |
-| `expiresAt` | ```Integer``` | When the link expires. | |
+| `templateId`*_required_ | ```String``` | The id of the Template. | |
+| `editUrl`*_required_ | ```String``` | Link to edit the template. | |
+| `expiresAt`*_required_ | ```Integer``` | When the link expires. | |
| `warnings` | [```List```](WarningResponse.md) | A list of warnings. | |
diff --git a/sdks/java-v1/docs/TemplateCreateResponseTemplate.md b/sdks/java-v1/docs/TemplateCreateResponseTemplate.md
index 1dcd4bd79..79801d898 100644
--- a/sdks/java-v1/docs/TemplateCreateResponseTemplate.md
+++ b/sdks/java-v1/docs/TemplateCreateResponseTemplate.md
@@ -8,7 +8,7 @@ Template object with parameters: `template_id`.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `templateId` | ```String``` | The id of the Template. | |
+| `templateId`*_required_ | ```String``` | The id of the Template. | |
diff --git a/sdks/java-v1/docs/TemplateResponse.md b/sdks/java-v1/docs/TemplateResponse.md
index 078685ff1..87d844276 100644
--- a/sdks/java-v1/docs/TemplateResponse.md
+++ b/sdks/java-v1/docs/TemplateResponse.md
@@ -8,21 +8,22 @@ Contains information about the templates you and your team have created.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `templateId` | ```String``` | The id of the Template. | |
-| `title` | ```String``` | The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | |
-| `message` | ```String``` | The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | |
+| `templateId`*_required_ | ```String``` | The id of the Template. | |
+| `title`*_required_ | ```String``` | The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | |
+| `message`*_required_ | ```String``` | The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | |
+| `isCreator`*_required_ | ```Boolean``` | `true` if you are the owner of this template, `false` if it's been shared with you by a team member. | |
+| `canEdit`*_required_ | ```Boolean``` | Indicates whether edit rights have been granted to you by the owner (always `true` if that's you). | |
+| `isLocked`*_required_ | ```Boolean``` | Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests. | |
+| `metadata`*_required_ | ```Object``` | The metadata attached to the template. | |
+| `signerRoles`*_required_ | [```List```](TemplateResponseSignerRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | |
+| `ccRoles`*_required_ | [```List```](TemplateResponseCCRole.md) | An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. | |
+| `documents`*_required_ | [```List```](TemplateResponseDocument.md) | An array describing each document associated with this Template. Includes form field data for each document. | |
+| `accounts`*_required_ | [```List```](TemplateResponseAccount.md) | An array of the Accounts that can use this Template. | |
+| `attachments`*_required_ | [```List```](SignatureRequestResponseAttachment.md) | Signer attachments. | |
| `updatedAt` | ```Integer``` | Time the template was last updated. | |
-| `isEmbedded` | ```Boolean``` | `true` if this template was created using an embedded flow, `false` if it was created on our website. | |
-| `isCreator` | ```Boolean``` | `true` if you are the owner of this template, `false` if it's been shared with you by a team member. | |
-| `canEdit` | ```Boolean``` | Indicates whether edit rights have been granted to you by the owner (always `true` if that's you). | |
-| `isLocked` | ```Boolean``` | Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests. | |
-| `metadata` | ```Object``` | The metadata attached to the template. | |
-| `signerRoles` | [```List```](TemplateResponseSignerRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | |
-| `ccRoles` | [```List```](TemplateResponseCCRole.md) | An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. | |
-| `documents` | [```List```](TemplateResponseDocument.md) | An array describing each document associated with this Template. Includes form field data for each document. | |
+| `isEmbedded` | ```Boolean``` | `true` if this template was created using an embedded flow, `false` if it was created on our website. Will be `null` when you are not the creator of the Template. | |
| `customFields` | [```List```](TemplateResponseDocumentCustomFieldBase.md) | Deprecated. Use `custom_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead. | |
| `namedFormFields` | [```List```](TemplateResponseDocumentFormFieldBase.md) | Deprecated. Use `form_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead. | |
-| `accounts` | [```List```](TemplateResponseAccount.md) | An array of the Accounts that can use this Template. | |
diff --git a/sdks/java-v1/docs/TemplateResponseAccount.md b/sdks/java-v1/docs/TemplateResponseAccount.md
index 10c996408..dd8ebce7f 100644
--- a/sdks/java-v1/docs/TemplateResponseAccount.md
+++ b/sdks/java-v1/docs/TemplateResponseAccount.md
@@ -8,12 +8,12 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `accountId` | ```String``` | The id of the Account. | |
+| `accountId`*_required_ | ```String``` | The id of the Account. | |
+| `isLocked`*_required_ | ```Boolean``` | Returns `true` if the user has been locked out of their account by a team admin. | |
+| `isPaidHs`*_required_ | ```Boolean``` | Returns `true` if the user has a paid Dropbox Sign account. | |
+| `isPaidHf`*_required_ | ```Boolean``` | Returns `true` if the user has a paid HelloFax account. | |
+| `quotas`*_required_ | [```TemplateResponseAccountQuota```](TemplateResponseAccountQuota.md) | | |
| `emailAddress` | ```String``` | The email address associated with the Account. | |
-| `isLocked` | ```Boolean``` | Returns `true` if the user has been locked out of their account by a team admin. | |
-| `isPaidHs` | ```Boolean``` | Returns `true` if the user has a paid Dropbox Sign account. | |
-| `isPaidHf` | ```Boolean``` | Returns `true` if the user has a paid HelloFax account. | |
-| `quotas` | [```TemplateResponseAccountQuota```](TemplateResponseAccountQuota.md) | | |
diff --git a/sdks/java-v1/docs/TemplateResponseAccountQuota.md b/sdks/java-v1/docs/TemplateResponseAccountQuota.md
index ad94c2493..72160ca8f 100644
--- a/sdks/java-v1/docs/TemplateResponseAccountQuota.md
+++ b/sdks/java-v1/docs/TemplateResponseAccountQuota.md
@@ -8,10 +8,10 @@ An array of the designated CC roles that must be specified when sending a Signat
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `templatesLeft` | ```Integer``` | API templates remaining. | |
-| `apiSignatureRequestsLeft` | ```Integer``` | API signature requests remaining. | |
-| `documentsLeft` | ```Integer``` | Signature requests remaining. | |
-| `smsVerificationsLeft` | ```Integer``` | SMS verifications remaining. | |
+| `templatesLeft`*_required_ | ```Integer``` | API templates remaining. | |
+| `apiSignatureRequestsLeft`*_required_ | ```Integer``` | API signature requests remaining. | |
+| `documentsLeft`*_required_ | ```Integer``` | Signature requests remaining. | |
+| `smsVerificationsLeft`*_required_ | ```Integer``` | SMS verifications remaining. | |
diff --git a/sdks/java-v1/docs/TemplateResponseCCRole.md b/sdks/java-v1/docs/TemplateResponseCCRole.md
index 64069b826..06e61bff4 100644
--- a/sdks/java-v1/docs/TemplateResponseCCRole.md
+++ b/sdks/java-v1/docs/TemplateResponseCCRole.md
@@ -8,7 +8,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `name` | ```String``` | The name of the Role. | |
+| `name`*_required_ | ```String``` | The name of the Role. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocument.md b/sdks/java-v1/docs/TemplateResponseDocument.md
index 65da85d42..cb69a481f 100644
--- a/sdks/java-v1/docs/TemplateResponseDocument.md
+++ b/sdks/java-v1/docs/TemplateResponseDocument.md
@@ -8,12 +8,12 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `name` | ```String``` | Name of the associated file. | |
+| `name`*_required_ | ```String``` | Name of the associated file. | |
+| `fieldGroups`*_required_ | [```List```](TemplateResponseDocumentFieldGroup.md) | An array of Form Field Group objects. | |
+| `formFields`*_required_ | [```List```](TemplateResponseDocumentFormFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | |
+| `customFields`*_required_ | [```List```](TemplateResponseDocumentCustomFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | |
+| `staticFields`*_required_ | [```List```](TemplateResponseDocumentStaticFieldBase.md) | An array describing static overlay fields. **NOTE:** Only available for certain subscriptions. | |
| `index` | ```Integer``` | Document ordering, the lowest index is displayed first and the highest last (0-based indexing). | |
-| `fieldGroups` | [```List```](TemplateResponseDocumentFieldGroup.md) | An array of Form Field Group objects. | |
-| `formFields` | [```List```](TemplateResponseDocumentFormFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | |
-| `customFields` | [```List```](TemplateResponseDocumentCustomFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | |
-| `staticFields` | [```List```](TemplateResponseDocumentStaticFieldBase.md) | An array describing static overlay fields. **NOTE:** Only available for certain subscriptions. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentCustomFieldBase.md b/sdks/java-v1/docs/TemplateResponseDocumentCustomFieldBase.md
index edd461727..c7c7f8264 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentCustomFieldBase.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentCustomFieldBase.md
@@ -8,15 +8,15 @@ An array of Form Field objects containing the name and type of each named field.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
+| `apiId`*_required_ | ```String``` | The unique ID for this field. | |
+| `name`*_required_ | ```String``` | The name of the Custom Field. | |
| `type`*_required_ | ```String``` | | |
-| `apiId` | ```String``` | The unique ID for this field. | |
-| `name` | ```String``` | The name of the Custom Field. | |
+| `x`*_required_ | ```Integer``` | The horizontal offset in pixels for this form field. | |
+| `y`*_required_ | ```Integer``` | The vertical offset in pixels for this form field. | |
+| `width`*_required_ | ```Integer``` | The width in pixels of this form field. | |
+| `height`*_required_ | ```Integer``` | The height in pixels of this form field. | |
+| `required`*_required_ | ```Boolean``` | Boolean showing whether or not this field is required. | |
| `signer` | ```String``` | The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender). | |
-| `x` | ```Integer``` | The horizontal offset in pixels for this form field. | |
-| `y` | ```Integer``` | The vertical offset in pixels for this form field. | |
-| `width` | ```Integer``` | The width in pixels of this form field. | |
-| `height` | ```Integer``` | The height in pixels of this form field. | |
-| `required` | ```Boolean``` | Boolean showing whether or not this field is required. | |
| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null`. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentCustomFieldText.md b/sdks/java-v1/docs/TemplateResponseDocumentCustomFieldText.md
index ccaf19394..70c991777 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentCustomFieldText.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentCustomFieldText.md
@@ -9,10 +9,10 @@ This class extends `TemplateResponseDocumentCustomFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this Custom Field. Only `text` and `checkbox` are currently supported.
* Text uses `TemplateResponseDocumentCustomFieldText`
* Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox` | |
-| `avgTextLength` | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
-| `isMultiline` | ```Boolean``` | Whether this form field is multiline text. | |
-| `originalFontSize` | ```Integer``` | Original font size used in this form field's text. | |
-| `fontFamily` | ```String``` | Font family used in this form field's text. | |
+| `avgTextLength`*_required_ | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
+| `isMultiline`*_required_ | ```Boolean``` | Whether this form field is multiline text. | |
+| `originalFontSize`*_required_ | ```Integer``` | Original font size used in this form field's text. | |
+| `fontFamily`*_required_ | ```String``` | Font family used in this form field's text. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentFieldGroup.md b/sdks/java-v1/docs/TemplateResponseDocumentFieldGroup.md
index 03b5ffbb8..7dd066f54 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentFieldGroup.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentFieldGroup.md
@@ -8,8 +8,8 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `name` | ```String``` | The name of the form field group. | |
-| `rule` | [```TemplateResponseDocumentFieldGroupRule```](TemplateResponseDocumentFieldGroupRule.md) | | |
+| `name`*_required_ | ```String``` | The name of the form field group. | |
+| `rule`*_required_ | [```TemplateResponseDocumentFieldGroupRule```](TemplateResponseDocumentFieldGroupRule.md) | | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentFieldGroupRule.md b/sdks/java-v1/docs/TemplateResponseDocumentFieldGroupRule.md
index e0f4dcc8a..59d4e5e06 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentFieldGroupRule.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentFieldGroupRule.md
@@ -8,8 +8,8 @@ The rule used to validate checkboxes in the form field group. See [checkbox fiel
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `requirement` | ```String``` | 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. | |
-| `groupLabel` | ```String``` | Name of the group | |
+| `requirement`*_required_ | ```String``` | 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. | |
+| `groupLabel`*_required_ | ```String``` | Name of the group | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldBase.md b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldBase.md
index 656070ad4..8d8766339 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldBase.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldBase.md
@@ -8,16 +8,15 @@ An array of Form Field objects containing the name and type of each named field.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
+| `apiId`*_required_ | ```String``` | A unique id for the form field. | |
+| `name`*_required_ | ```String``` | The name of the form field. | |
| `type`*_required_ | ```String``` | | |
-| `apiId` | ```String``` | A unique id for the form field. | |
-| `name` | ```String``` | The name of the form field. | |
-| `signer` | ```String``` | The signer of the Form Field. | |
-| `x` | ```Integer``` | The horizontal offset in pixels for this form field. | |
-| `y` | ```Integer``` | The vertical offset in pixels for this form field. | |
-| `width` | ```Integer``` | The width in pixels of this form field. | |
-| `height` | ```Integer``` | The height in pixels of this form field. | |
-| `required` | ```Boolean``` | Boolean showing whether or not this field is required. | |
-| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
+| `signer`*_required_ | ```String``` | The signer of the Form Field. | |
+| `x`*_required_ | ```Integer``` | The horizontal offset in pixels for this form field. | |
+| `y`*_required_ | ```Integer``` | The vertical offset in pixels for this form field. | |
+| `width`*_required_ | ```Integer``` | The width in pixels of this form field. | |
+| `height`*_required_ | ```Integer``` | The height in pixels of this form field. | |
+| `required`*_required_ | ```Boolean``` | Boolean showing whether or not this field is required. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldCheckbox.md b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldCheckbox.md
index 83d36e0f1..a7f2cadeb 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldCheckbox.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldCheckbox.md
@@ -9,6 +9,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldDateSigned.md b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldDateSigned.md
index 5ba66eff9..09b45eec7 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldDateSigned.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldDateSigned.md
@@ -9,6 +9,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldDropdown.md b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldDropdown.md
index b4f2030fc..70e5da455 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldDropdown.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldDropdown.md
@@ -9,6 +9,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldHyperlink.md b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldHyperlink.md
index 0cf89df5e..104029730 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldHyperlink.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldHyperlink.md
@@ -9,10 +9,11 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
-| `avgTextLength` | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
-| `isMultiline` | ```Boolean``` | Whether this form field is multiline text. | |
-| `originalFontSize` | ```Integer``` | Original font size used in this form field's text. | |
-| `fontFamily` | ```String``` | Font family used in this form field's text. | |
+| `avgTextLength`*_required_ | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
+| `isMultiline`*_required_ | ```Boolean``` | Whether this form field is multiline text. | |
+| `originalFontSize`*_required_ | ```Integer``` | Original font size used in this form field's text. | |
+| `fontFamily`*_required_ | ```String``` | Font family used in this form field's text. | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldInitials.md b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldInitials.md
index 707d67ee2..f1fe1f5b5 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldInitials.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldInitials.md
@@ -9,6 +9,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldRadio.md b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldRadio.md
index b83d96d53..877b842a2 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldRadio.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldRadio.md
@@ -9,6 +9,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
+| `group`*_required_ | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldSignature.md b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldSignature.md
index 8be298793..366aaa9b4 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldSignature.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldSignature.md
@@ -9,6 +9,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldText.md b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldText.md
index 3581d3855..31520bd6f 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentFormFieldText.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentFormFieldText.md
@@ -9,11 +9,12 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
-| `avgTextLength` | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
-| `isMultiline` | ```Boolean``` | Whether this form field is multiline text. | |
-| `originalFontSize` | ```Integer``` | Original font size used in this form field's text. | |
-| `fontFamily` | ```String``` | Font family used in this form field's text. | |
+| `avgTextLength`*_required_ | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
+| `isMultiline`*_required_ | ```Boolean``` | Whether this form field is multiline text. | |
+| `originalFontSize`*_required_ | ```Integer``` | Original font size used in this form field's text. | |
+| `fontFamily`*_required_ | ```String``` | Font family used in this form field's text. | |
| `validationType` | [```ValidationTypeEnum```](#ValidationTypeEnum) | Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values. | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v1/docs/TemplateResponseDocumentStaticFieldBase.md b/sdks/java-v1/docs/TemplateResponseDocumentStaticFieldBase.md
index 4be3cf070..f52329b04 100644
--- a/sdks/java-v1/docs/TemplateResponseDocumentStaticFieldBase.md
+++ b/sdks/java-v1/docs/TemplateResponseDocumentStaticFieldBase.md
@@ -8,15 +8,15 @@ An array describing static overlay fields. **NOTE:** Only available for certain
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
+| `apiId`*_required_ | ```String``` | A unique id for the static field. | |
+| `name`*_required_ | ```String``` | The name of the static field. | |
| `type`*_required_ | ```String``` | | |
-| `apiId` | ```String``` | A unique id for the static field. | |
-| `name` | ```String``` | The name of the static field. | |
-| `signer` | ```String``` | The signer of the Static Field. | |
-| `x` | ```Integer``` | The horizontal offset in pixels for this static field. | |
-| `y` | ```Integer``` | The vertical offset in pixels for this static field. | |
-| `width` | ```Integer``` | The width in pixels of this static field. | |
-| `height` | ```Integer``` | The height in pixels of this static field. | |
-| `required` | ```Boolean``` | Boolean showing whether or not this field is required. | |
+| `signer`*_required_ | ```String``` | The signer of the Static Field. | |
+| `x`*_required_ | ```Integer``` | The horizontal offset in pixels for this static field. | |
+| `y`*_required_ | ```Integer``` | The vertical offset in pixels for this static field. | |
+| `width`*_required_ | ```Integer``` | The width in pixels of this static field. | |
+| `height`*_required_ | ```Integer``` | The height in pixels of this static field. | |
+| `required`*_required_ | ```Boolean``` | Boolean showing whether or not this field is required. | |
| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null`. | |
diff --git a/sdks/java-v1/docs/TemplateResponseFieldAvgTextLength.md b/sdks/java-v1/docs/TemplateResponseFieldAvgTextLength.md
index bb66f3057..f0d2106b0 100644
--- a/sdks/java-v1/docs/TemplateResponseFieldAvgTextLength.md
+++ b/sdks/java-v1/docs/TemplateResponseFieldAvgTextLength.md
@@ -8,8 +8,8 @@ Average text length in this field.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `numLines` | ```Integer``` | Number of lines. | |
-| `numCharsPerLine` | ```Integer``` | Number of characters per line. | |
+| `numLines`*_required_ | ```Integer``` | Number of lines. | |
+| `numCharsPerLine`*_required_ | ```Integer``` | Number of characters per line. | |
diff --git a/sdks/java-v1/docs/TemplateResponseSignerRole.md b/sdks/java-v1/docs/TemplateResponseSignerRole.md
index 15b48cf17..08458f4e0 100644
--- a/sdks/java-v1/docs/TemplateResponseSignerRole.md
+++ b/sdks/java-v1/docs/TemplateResponseSignerRole.md
@@ -8,7 +8,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `name` | ```String``` | The name of the Role. | |
+| `name`*_required_ | ```String``` | The name of the Role. | |
| `order` | ```Integer``` | If signer order is assigned this is the 0-based index for this role. | |
diff --git a/sdks/java-v1/docs/TemplateUpdateFilesResponseTemplate.md b/sdks/java-v1/docs/TemplateUpdateFilesResponseTemplate.md
index 6289a9953..7acdbb340 100644
--- a/sdks/java-v1/docs/TemplateUpdateFilesResponseTemplate.md
+++ b/sdks/java-v1/docs/TemplateUpdateFilesResponseTemplate.md
@@ -8,7 +8,7 @@ Contains template id
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `templateId` | ```String``` | The id of the Template. | |
+| `templateId`*_required_ | ```String``` | The id of the Template. | |
| `warnings` | [```List```](WarningResponse.md) | A list of warnings. | |
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftResponseTemplate.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftResponseTemplate.java
index 7e2fc0bc4..e82d6aa72 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftResponseTemplate.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftResponseTemplate.java
@@ -82,14 +82,15 @@ public TemplateCreateEmbeddedDraftResponseTemplate templateId(String templateId)
*
* @return templateId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTemplateId() {
return templateId;
}
@JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
@@ -104,14 +105,15 @@ public TemplateCreateEmbeddedDraftResponseTemplate editUrl(String editUrl) {
*
* @return editUrl
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EDIT_URL)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_EDIT_URL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getEditUrl() {
return editUrl;
}
@JsonProperty(JSON_PROPERTY_EDIT_URL)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEditUrl(String editUrl) {
this.editUrl = editUrl;
}
@@ -126,14 +128,15 @@ public TemplateCreateEmbeddedDraftResponseTemplate expiresAt(Integer expiresAt)
*
* @return expiresAt
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EXPIRES_AT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_EXPIRES_AT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getExpiresAt() {
return expiresAt;
}
@JsonProperty(JSON_PROPERTY_EXPIRES_AT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setExpiresAt(Integer expiresAt) {
this.expiresAt = expiresAt;
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateResponseTemplate.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateResponseTemplate.java
index 017ed6e40..cd3964ffb 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateResponseTemplate.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateResponseTemplate.java
@@ -61,14 +61,15 @@ public TemplateCreateResponseTemplate templateId(String templateId) {
*
* @return templateId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTemplateId() {
return templateId;
}
@JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponse.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponse.java
index 3a0e14a2f..59f31e8af 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponse.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponse.java
@@ -30,8 +30,6 @@
TemplateResponse.JSON_PROPERTY_TEMPLATE_ID,
TemplateResponse.JSON_PROPERTY_TITLE,
TemplateResponse.JSON_PROPERTY_MESSAGE,
- TemplateResponse.JSON_PROPERTY_UPDATED_AT,
- TemplateResponse.JSON_PROPERTY_IS_EMBEDDED,
TemplateResponse.JSON_PROPERTY_IS_CREATOR,
TemplateResponse.JSON_PROPERTY_CAN_EDIT,
TemplateResponse.JSON_PROPERTY_IS_LOCKED,
@@ -39,9 +37,12 @@
TemplateResponse.JSON_PROPERTY_SIGNER_ROLES,
TemplateResponse.JSON_PROPERTY_CC_ROLES,
TemplateResponse.JSON_PROPERTY_DOCUMENTS,
+ TemplateResponse.JSON_PROPERTY_ACCOUNTS,
+ TemplateResponse.JSON_PROPERTY_ATTACHMENTS,
+ TemplateResponse.JSON_PROPERTY_UPDATED_AT,
+ TemplateResponse.JSON_PROPERTY_IS_EMBEDDED,
TemplateResponse.JSON_PROPERTY_CUSTOM_FIELDS,
- TemplateResponse.JSON_PROPERTY_NAMED_FORM_FIELDS,
- TemplateResponse.JSON_PROPERTY_ACCOUNTS
+ TemplateResponse.JSON_PROPERTY_NAMED_FORM_FIELDS
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
@@ -57,12 +58,6 @@ public class TemplateResponse {
public static final String JSON_PROPERTY_MESSAGE = "message";
private String message;
- public static final String JSON_PROPERTY_UPDATED_AT = "updated_at";
- private Integer updatedAt;
-
- public static final String JSON_PROPERTY_IS_EMBEDDED = "is_embedded";
- private Boolean isEmbedded;
-
public static final String JSON_PROPERTY_IS_CREATOR = "is_creator";
private Boolean isCreator;
@@ -76,13 +71,25 @@ public class TemplateResponse {
private Object metadata;
public static final String JSON_PROPERTY_SIGNER_ROLES = "signer_roles";
- private List signerRoles = null;
+ private List signerRoles = new ArrayList<>();
public static final String JSON_PROPERTY_CC_ROLES = "cc_roles";
- private List ccRoles = null;
+ private List ccRoles = new ArrayList<>();
public static final String JSON_PROPERTY_DOCUMENTS = "documents";
- private List documents = null;
+ private List documents = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_ACCOUNTS = "accounts";
+ private List accounts = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_ATTACHMENTS = "attachments";
+ private List attachments = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_UPDATED_AT = "updated_at";
+ private Integer updatedAt;
+
+ public static final String JSON_PROPERTY_IS_EMBEDDED = "is_embedded";
+ private Boolean isEmbedded;
public static final String JSON_PROPERTY_CUSTOM_FIELDS = "custom_fields";
@Deprecated private List customFields = null;
@@ -90,9 +97,6 @@ public class TemplateResponse {
public static final String JSON_PROPERTY_NAMED_FORM_FIELDS = "named_form_fields";
@Deprecated private List namedFormFields = null;
- public static final String JSON_PROPERTY_ACCOUNTS = "accounts";
- private List accounts = null;
-
public TemplateResponse() {}
/**
@@ -119,14 +123,15 @@ public TemplateResponse templateId(String templateId) {
*
* @return templateId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTemplateId() {
return templateId;
}
@JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
@@ -143,14 +148,15 @@ public TemplateResponse title(String title) {
*
* @return title
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TITLE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TITLE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTitle() {
return title;
}
@JsonProperty(JSON_PROPERTY_TITLE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTitle(String title) {
this.title = title;
}
@@ -166,63 +172,19 @@ public TemplateResponse message(String message) {
*
* @return message
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_MESSAGE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getMessage() {
return message;
}
@JsonProperty(JSON_PROPERTY_MESSAGE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setMessage(String message) {
this.message = message;
}
- public TemplateResponse updatedAt(Integer updatedAt) {
- this.updatedAt = updatedAt;
- return this;
- }
-
- /**
- * Time the template was last updated.
- *
- * @return updatedAt
- */
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UPDATED_AT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public Integer getUpdatedAt() {
- return updatedAt;
- }
-
- @JsonProperty(JSON_PROPERTY_UPDATED_AT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUpdatedAt(Integer updatedAt) {
- this.updatedAt = updatedAt;
- }
-
- public TemplateResponse isEmbedded(Boolean isEmbedded) {
- this.isEmbedded = isEmbedded;
- return this;
- }
-
- /**
- * `true` if this template was created using an embedded flow, `false` if it
- * was created on our website.
- *
- * @return isEmbedded
- */
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_EMBEDDED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public Boolean getIsEmbedded() {
- return isEmbedded;
- }
-
- @JsonProperty(JSON_PROPERTY_IS_EMBEDDED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setIsEmbedded(Boolean isEmbedded) {
- this.isEmbedded = isEmbedded;
- }
-
public TemplateResponse isCreator(Boolean isCreator) {
this.isCreator = isCreator;
return this;
@@ -234,14 +196,15 @@ public TemplateResponse isCreator(Boolean isCreator) {
*
* @return isCreator
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_CREATOR)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_IS_CREATOR)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsCreator() {
return isCreator;
}
@JsonProperty(JSON_PROPERTY_IS_CREATOR)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsCreator(Boolean isCreator) {
this.isCreator = isCreator;
}
@@ -257,14 +220,15 @@ public TemplateResponse canEdit(Boolean canEdit) {
*
* @return canEdit
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAN_EDIT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_CAN_EDIT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getCanEdit() {
return canEdit;
}
@JsonProperty(JSON_PROPERTY_CAN_EDIT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setCanEdit(Boolean canEdit) {
this.canEdit = canEdit;
}
@@ -281,14 +245,15 @@ public TemplateResponse isLocked(Boolean isLocked) {
*
* @return isLocked
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_LOCKED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_IS_LOCKED)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsLocked() {
return isLocked;
}
@JsonProperty(JSON_PROPERTY_IS_LOCKED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsLocked(Boolean isLocked) {
this.isLocked = isLocked;
}
@@ -303,14 +268,15 @@ public TemplateResponse metadata(Object metadata) {
*
* @return metadata
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_METADATA)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_METADATA)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Object getMetadata() {
return metadata;
}
@JsonProperty(JSON_PROPERTY_METADATA)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setMetadata(Object metadata) {
this.metadata = metadata;
}
@@ -334,14 +300,15 @@ public TemplateResponse addSignerRolesItem(TemplateResponseSignerRole signerRole
*
* @return signerRoles
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIGNER_ROLES)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_SIGNER_ROLES)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getSignerRoles() {
return signerRoles;
}
@JsonProperty(JSON_PROPERTY_SIGNER_ROLES)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setSignerRoles(List signerRoles) {
this.signerRoles = signerRoles;
}
@@ -365,14 +332,15 @@ public TemplateResponse addCcRolesItem(TemplateResponseCCRole ccRolesItem) {
*
* @return ccRoles
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CC_ROLES)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_CC_ROLES)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getCcRoles() {
return ccRoles;
}
@JsonProperty(JSON_PROPERTY_CC_ROLES)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setCcRoles(List ccRoles) {
this.ccRoles = ccRoles;
}
@@ -396,18 +364,127 @@ public TemplateResponse addDocumentsItem(TemplateResponseDocument documentsItem)
*
* @return documents
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOCUMENTS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_DOCUMENTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getDocuments() {
return documents;
}
@JsonProperty(JSON_PROPERTY_DOCUMENTS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDocuments(List documents) {
this.documents = documents;
}
+ public TemplateResponse accounts(List accounts) {
+ this.accounts = accounts;
+ return this;
+ }
+
+ public TemplateResponse addAccountsItem(TemplateResponseAccount accountsItem) {
+ if (this.accounts == null) {
+ this.accounts = new ArrayList<>();
+ }
+ this.accounts.add(accountsItem);
+ return this;
+ }
+
+ /**
+ * An array of the Accounts that can use this Template.
+ *
+ * @return accounts
+ */
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACCOUNTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public List getAccounts() {
+ return accounts;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCOUNTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAccounts(List accounts) {
+ this.accounts = accounts;
+ }
+
+ public TemplateResponse attachments(List attachments) {
+ this.attachments = attachments;
+ return this;
+ }
+
+ public TemplateResponse addAttachmentsItem(SignatureRequestResponseAttachment attachmentsItem) {
+ if (this.attachments == null) {
+ this.attachments = new ArrayList<>();
+ }
+ this.attachments.add(attachmentsItem);
+ return this;
+ }
+
+ /**
+ * Signer attachments.
+ *
+ * @return attachments
+ */
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ATTACHMENTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public List getAttachments() {
+ return attachments;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ATTACHMENTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAttachments(List attachments) {
+ this.attachments = attachments;
+ }
+
+ public TemplateResponse updatedAt(Integer updatedAt) {
+ this.updatedAt = updatedAt;
+ return this;
+ }
+
+ /**
+ * Time the template was last updated.
+ *
+ * @return updatedAt
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UPDATED_AT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Integer getUpdatedAt() {
+ return updatedAt;
+ }
+
+ @JsonProperty(JSON_PROPERTY_UPDATED_AT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setUpdatedAt(Integer updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
+ public TemplateResponse isEmbedded(Boolean isEmbedded) {
+ this.isEmbedded = isEmbedded;
+ return this;
+ }
+
+ /**
+ * `true` if this template was created using an embedded flow, `false` if it
+ * was created on our website. Will be `null` when you are not the creator of the
+ * Template.
+ *
+ * @return isEmbedded
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_EMBEDDED)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getIsEmbedded() {
+ return isEmbedded;
+ }
+
+ @JsonProperty(JSON_PROPERTY_IS_EMBEDDED)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsEmbedded(Boolean isEmbedded) {
+ this.isEmbedded = isEmbedded;
+ }
+
@Deprecated
public TemplateResponse customFields(
List customFields) {
@@ -484,36 +561,6 @@ public void setNamedFormFields(List named
this.namedFormFields = namedFormFields;
}
- public TemplateResponse accounts(List accounts) {
- this.accounts = accounts;
- return this;
- }
-
- public TemplateResponse addAccountsItem(TemplateResponseAccount accountsItem) {
- if (this.accounts == null) {
- this.accounts = new ArrayList<>();
- }
- this.accounts.add(accountsItem);
- return this;
- }
-
- /**
- * An array of the Accounts that can use this Template.
- *
- * @return accounts
- */
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ACCOUNTS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public List getAccounts() {
- return accounts;
- }
-
- @JsonProperty(JSON_PROPERTY_ACCOUNTS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setAccounts(List accounts) {
- this.accounts = accounts;
- }
-
/** Return true if this TemplateResponse object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -527,8 +574,6 @@ public boolean equals(Object o) {
return Objects.equals(this.templateId, templateResponse.templateId)
&& Objects.equals(this.title, templateResponse.title)
&& Objects.equals(this.message, templateResponse.message)
- && Objects.equals(this.updatedAt, templateResponse.updatedAt)
- && Objects.equals(this.isEmbedded, templateResponse.isEmbedded)
&& Objects.equals(this.isCreator, templateResponse.isCreator)
&& Objects.equals(this.canEdit, templateResponse.canEdit)
&& Objects.equals(this.isLocked, templateResponse.isLocked)
@@ -536,9 +581,12 @@ public boolean equals(Object o) {
&& Objects.equals(this.signerRoles, templateResponse.signerRoles)
&& Objects.equals(this.ccRoles, templateResponse.ccRoles)
&& Objects.equals(this.documents, templateResponse.documents)
+ && Objects.equals(this.accounts, templateResponse.accounts)
+ && Objects.equals(this.attachments, templateResponse.attachments)
+ && Objects.equals(this.updatedAt, templateResponse.updatedAt)
+ && Objects.equals(this.isEmbedded, templateResponse.isEmbedded)
&& Objects.equals(this.customFields, templateResponse.customFields)
- && Objects.equals(this.namedFormFields, templateResponse.namedFormFields)
- && Objects.equals(this.accounts, templateResponse.accounts);
+ && Objects.equals(this.namedFormFields, templateResponse.namedFormFields);
}
@Override
@@ -547,8 +595,6 @@ public int hashCode() {
templateId,
title,
message,
- updatedAt,
- isEmbedded,
isCreator,
canEdit,
isLocked,
@@ -556,9 +602,12 @@ public int hashCode() {
signerRoles,
ccRoles,
documents,
+ accounts,
+ attachments,
+ updatedAt,
+ isEmbedded,
customFields,
- namedFormFields,
- accounts);
+ namedFormFields);
}
@Override
@@ -568,8 +617,6 @@ public String toString() {
sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n");
sb.append(" title: ").append(toIndentedString(title)).append("\n");
sb.append(" message: ").append(toIndentedString(message)).append("\n");
- sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
- sb.append(" isEmbedded: ").append(toIndentedString(isEmbedded)).append("\n");
sb.append(" isCreator: ").append(toIndentedString(isCreator)).append("\n");
sb.append(" canEdit: ").append(toIndentedString(canEdit)).append("\n");
sb.append(" isLocked: ").append(toIndentedString(isLocked)).append("\n");
@@ -577,9 +624,12 @@ public String toString() {
sb.append(" signerRoles: ").append(toIndentedString(signerRoles)).append("\n");
sb.append(" ccRoles: ").append(toIndentedString(ccRoles)).append("\n");
sb.append(" documents: ").append(toIndentedString(documents)).append("\n");
+ sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
+ sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n");
+ sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
+ sb.append(" isEmbedded: ").append(toIndentedString(isEmbedded)).append("\n");
sb.append(" customFields: ").append(toIndentedString(customFields)).append("\n");
sb.append(" namedFormFields: ").append(toIndentedString(namedFormFields)).append("\n");
- sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -644,46 +694,6 @@ public Map createFormData() throws ApiException {
map.put("message", JSON.getDefault().getMapper().writeValueAsString(message));
}
}
- if (updatedAt != null) {
- if (isFileTypeOrListOfFiles(updatedAt)) {
- fileTypeFound = true;
- }
-
- if (updatedAt.getClass().equals(java.io.File.class)
- || updatedAt.getClass().equals(Integer.class)
- || updatedAt.getClass().equals(String.class)
- || updatedAt.getClass().isEnum()) {
- map.put("updated_at", updatedAt);
- } else if (isListOfFile(updatedAt)) {
- for (int i = 0; i < getListSize(updatedAt); i++) {
- map.put("updated_at[" + i + "]", getFromList(updatedAt, i));
- }
- } else {
- map.put(
- "updated_at",
- JSON.getDefault().getMapper().writeValueAsString(updatedAt));
- }
- }
- if (isEmbedded != null) {
- if (isFileTypeOrListOfFiles(isEmbedded)) {
- fileTypeFound = true;
- }
-
- if (isEmbedded.getClass().equals(java.io.File.class)
- || isEmbedded.getClass().equals(Integer.class)
- || isEmbedded.getClass().equals(String.class)
- || isEmbedded.getClass().isEnum()) {
- map.put("is_embedded", isEmbedded);
- } else if (isListOfFile(isEmbedded)) {
- for (int i = 0; i < getListSize(isEmbedded); i++) {
- map.put("is_embedded[" + i + "]", getFromList(isEmbedded, i));
- }
- } else {
- map.put(
- "is_embedded",
- JSON.getDefault().getMapper().writeValueAsString(isEmbedded));
- }
- }
if (isCreator != null) {
if (isFileTypeOrListOfFiles(isCreator)) {
fileTypeFound = true;
@@ -818,6 +828,84 @@ public Map createFormData() throws ApiException {
JSON.getDefault().getMapper().writeValueAsString(documents));
}
}
+ if (accounts != null) {
+ if (isFileTypeOrListOfFiles(accounts)) {
+ fileTypeFound = true;
+ }
+
+ if (accounts.getClass().equals(java.io.File.class)
+ || accounts.getClass().equals(Integer.class)
+ || accounts.getClass().equals(String.class)
+ || accounts.getClass().isEnum()) {
+ map.put("accounts", accounts);
+ } else if (isListOfFile(accounts)) {
+ for (int i = 0; i < getListSize(accounts); i++) {
+ map.put("accounts[" + i + "]", getFromList(accounts, i));
+ }
+ } else {
+ map.put("accounts", JSON.getDefault().getMapper().writeValueAsString(accounts));
+ }
+ }
+ if (attachments != null) {
+ if (isFileTypeOrListOfFiles(attachments)) {
+ fileTypeFound = true;
+ }
+
+ if (attachments.getClass().equals(java.io.File.class)
+ || attachments.getClass().equals(Integer.class)
+ || attachments.getClass().equals(String.class)
+ || attachments.getClass().isEnum()) {
+ map.put("attachments", attachments);
+ } else if (isListOfFile(attachments)) {
+ for (int i = 0; i < getListSize(attachments); i++) {
+ map.put("attachments[" + i + "]", getFromList(attachments, i));
+ }
+ } else {
+ map.put(
+ "attachments",
+ JSON.getDefault().getMapper().writeValueAsString(attachments));
+ }
+ }
+ if (updatedAt != null) {
+ if (isFileTypeOrListOfFiles(updatedAt)) {
+ fileTypeFound = true;
+ }
+
+ if (updatedAt.getClass().equals(java.io.File.class)
+ || updatedAt.getClass().equals(Integer.class)
+ || updatedAt.getClass().equals(String.class)
+ || updatedAt.getClass().isEnum()) {
+ map.put("updated_at", updatedAt);
+ } else if (isListOfFile(updatedAt)) {
+ for (int i = 0; i < getListSize(updatedAt); i++) {
+ map.put("updated_at[" + i + "]", getFromList(updatedAt, i));
+ }
+ } else {
+ map.put(
+ "updated_at",
+ JSON.getDefault().getMapper().writeValueAsString(updatedAt));
+ }
+ }
+ if (isEmbedded != null) {
+ if (isFileTypeOrListOfFiles(isEmbedded)) {
+ fileTypeFound = true;
+ }
+
+ if (isEmbedded.getClass().equals(java.io.File.class)
+ || isEmbedded.getClass().equals(Integer.class)
+ || isEmbedded.getClass().equals(String.class)
+ || isEmbedded.getClass().isEnum()) {
+ map.put("is_embedded", isEmbedded);
+ } else if (isListOfFile(isEmbedded)) {
+ for (int i = 0; i < getListSize(isEmbedded); i++) {
+ map.put("is_embedded[" + i + "]", getFromList(isEmbedded, i));
+ }
+ } else {
+ map.put(
+ "is_embedded",
+ JSON.getDefault().getMapper().writeValueAsString(isEmbedded));
+ }
+ }
if (customFields != null) {
if (isFileTypeOrListOfFiles(customFields)) {
fileTypeFound = true;
@@ -858,24 +946,6 @@ public Map createFormData() throws ApiException {
JSON.getDefault().getMapper().writeValueAsString(namedFormFields));
}
}
- if (accounts != null) {
- if (isFileTypeOrListOfFiles(accounts)) {
- fileTypeFound = true;
- }
-
- if (accounts.getClass().equals(java.io.File.class)
- || accounts.getClass().equals(Integer.class)
- || accounts.getClass().equals(String.class)
- || accounts.getClass().isEnum()) {
- map.put("accounts", accounts);
- } else if (isListOfFile(accounts)) {
- for (int i = 0; i < getListSize(accounts); i++) {
- map.put("accounts[" + i + "]", getFromList(accounts, i));
- }
- } else {
- map.put("accounts", JSON.getDefault().getMapper().writeValueAsString(accounts));
- }
- }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseAccount.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseAccount.java
index 901e4be34..8397c2dc6 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseAccount.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseAccount.java
@@ -26,11 +26,11 @@
/** TemplateResponseAccount */
@JsonPropertyOrder({
TemplateResponseAccount.JSON_PROPERTY_ACCOUNT_ID,
- TemplateResponseAccount.JSON_PROPERTY_EMAIL_ADDRESS,
TemplateResponseAccount.JSON_PROPERTY_IS_LOCKED,
TemplateResponseAccount.JSON_PROPERTY_IS_PAID_HS,
TemplateResponseAccount.JSON_PROPERTY_IS_PAID_HF,
- TemplateResponseAccount.JSON_PROPERTY_QUOTAS
+ TemplateResponseAccount.JSON_PROPERTY_QUOTAS,
+ TemplateResponseAccount.JSON_PROPERTY_EMAIL_ADDRESS
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
@@ -40,9 +40,6 @@ public class TemplateResponseAccount {
public static final String JSON_PROPERTY_ACCOUNT_ID = "account_id";
private String accountId;
- public static final String JSON_PROPERTY_EMAIL_ADDRESS = "email_address";
- private String emailAddress;
-
public static final String JSON_PROPERTY_IS_LOCKED = "is_locked";
private Boolean isLocked;
@@ -55,6 +52,9 @@ public class TemplateResponseAccount {
public static final String JSON_PROPERTY_QUOTAS = "quotas";
private TemplateResponseAccountQuota quotas;
+ public static final String JSON_PROPERTY_EMAIL_ADDRESS = "email_address";
+ private String emailAddress;
+
public TemplateResponseAccount() {}
/**
@@ -82,40 +82,19 @@ public TemplateResponseAccount accountId(String accountId) {
*
* @return accountId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getAccountId() {
return accountId;
}
@JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAccountId(String accountId) {
this.accountId = accountId;
}
- public TemplateResponseAccount emailAddress(String emailAddress) {
- this.emailAddress = emailAddress;
- return this;
- }
-
- /**
- * The email address associated with the Account.
- *
- * @return emailAddress
- */
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public String getEmailAddress() {
- return emailAddress;
- }
-
- @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setEmailAddress(String emailAddress) {
- this.emailAddress = emailAddress;
- }
-
public TemplateResponseAccount isLocked(Boolean isLocked) {
this.isLocked = isLocked;
return this;
@@ -126,14 +105,15 @@ public TemplateResponseAccount isLocked(Boolean isLocked) {
*
* @return isLocked
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_LOCKED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_IS_LOCKED)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsLocked() {
return isLocked;
}
@JsonProperty(JSON_PROPERTY_IS_LOCKED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsLocked(Boolean isLocked) {
this.isLocked = isLocked;
}
@@ -148,14 +128,15 @@ public TemplateResponseAccount isPaidHs(Boolean isPaidHs) {
*
* @return isPaidHs
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_PAID_HS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_IS_PAID_HS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsPaidHs() {
return isPaidHs;
}
@JsonProperty(JSON_PROPERTY_IS_PAID_HS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsPaidHs(Boolean isPaidHs) {
this.isPaidHs = isPaidHs;
}
@@ -170,14 +151,15 @@ public TemplateResponseAccount isPaidHf(Boolean isPaidHf) {
*
* @return isPaidHf
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_PAID_HF)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_IS_PAID_HF)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsPaidHf() {
return isPaidHf;
}
@JsonProperty(JSON_PROPERTY_IS_PAID_HF)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsPaidHf(Boolean isPaidHf) {
this.isPaidHf = isPaidHf;
}
@@ -192,18 +174,41 @@ public TemplateResponseAccount quotas(TemplateResponseAccountQuota quotas) {
*
* @return quotas
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUOTAS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_QUOTAS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public TemplateResponseAccountQuota getQuotas() {
return quotas;
}
@JsonProperty(JSON_PROPERTY_QUOTAS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setQuotas(TemplateResponseAccountQuota quotas) {
this.quotas = quotas;
}
+ public TemplateResponseAccount emailAddress(String emailAddress) {
+ this.emailAddress = emailAddress;
+ return this;
+ }
+
+ /**
+ * The email address associated with the Account.
+ *
+ * @return emailAddress
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getEmailAddress() {
+ return emailAddress;
+ }
+
+ @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setEmailAddress(String emailAddress) {
+ this.emailAddress = emailAddress;
+ }
+
/** Return true if this TemplateResponseAccount object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -215,16 +220,16 @@ public boolean equals(Object o) {
}
TemplateResponseAccount templateResponseAccount = (TemplateResponseAccount) o;
return Objects.equals(this.accountId, templateResponseAccount.accountId)
- && Objects.equals(this.emailAddress, templateResponseAccount.emailAddress)
&& Objects.equals(this.isLocked, templateResponseAccount.isLocked)
&& Objects.equals(this.isPaidHs, templateResponseAccount.isPaidHs)
&& Objects.equals(this.isPaidHf, templateResponseAccount.isPaidHf)
- && Objects.equals(this.quotas, templateResponseAccount.quotas);
+ && Objects.equals(this.quotas, templateResponseAccount.quotas)
+ && Objects.equals(this.emailAddress, templateResponseAccount.emailAddress);
}
@Override
public int hashCode() {
- return Objects.hash(accountId, emailAddress, isLocked, isPaidHs, isPaidHf, quotas);
+ return Objects.hash(accountId, isLocked, isPaidHs, isPaidHf, quotas, emailAddress);
}
@Override
@@ -232,11 +237,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TemplateResponseAccount {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
- sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
sb.append(" isLocked: ").append(toIndentedString(isLocked)).append("\n");
sb.append(" isPaidHs: ").append(toIndentedString(isPaidHs)).append("\n");
sb.append(" isPaidHf: ").append(toIndentedString(isPaidHf)).append("\n");
sb.append(" quotas: ").append(toIndentedString(quotas)).append("\n");
+ sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -265,26 +270,6 @@ public Map createFormData() throws ApiException {
JSON.getDefault().getMapper().writeValueAsString(accountId));
}
}
- if (emailAddress != null) {
- if (isFileTypeOrListOfFiles(emailAddress)) {
- fileTypeFound = true;
- }
-
- if (emailAddress.getClass().equals(java.io.File.class)
- || emailAddress.getClass().equals(Integer.class)
- || emailAddress.getClass().equals(String.class)
- || emailAddress.getClass().isEnum()) {
- map.put("email_address", emailAddress);
- } else if (isListOfFile(emailAddress)) {
- for (int i = 0; i < getListSize(emailAddress); i++) {
- map.put("email_address[" + i + "]", getFromList(emailAddress, i));
- }
- } else {
- map.put(
- "email_address",
- JSON.getDefault().getMapper().writeValueAsString(emailAddress));
- }
- }
if (isLocked != null) {
if (isFileTypeOrListOfFiles(isLocked)) {
fileTypeFound = true;
@@ -363,6 +348,26 @@ public Map createFormData() throws ApiException {
map.put("quotas", JSON.getDefault().getMapper().writeValueAsString(quotas));
}
}
+ if (emailAddress != null) {
+ if (isFileTypeOrListOfFiles(emailAddress)) {
+ fileTypeFound = true;
+ }
+
+ if (emailAddress.getClass().equals(java.io.File.class)
+ || emailAddress.getClass().equals(Integer.class)
+ || emailAddress.getClass().equals(String.class)
+ || emailAddress.getClass().isEnum()) {
+ map.put("email_address", emailAddress);
+ } else if (isListOfFile(emailAddress)) {
+ for (int i = 0; i < getListSize(emailAddress); i++) {
+ map.put("email_address[" + i + "]", getFromList(emailAddress, i));
+ }
+ } else {
+ map.put(
+ "email_address",
+ JSON.getDefault().getMapper().writeValueAsString(emailAddress));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseAccountQuota.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseAccountQuota.java
index 0ebdbe2a4..37e680526 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseAccountQuota.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseAccountQuota.java
@@ -79,14 +79,15 @@ public TemplateResponseAccountQuota templatesLeft(Integer templatesLeft) {
*
* @return templatesLeft
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEMPLATES_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TEMPLATES_LEFT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getTemplatesLeft() {
return templatesLeft;
}
@JsonProperty(JSON_PROPERTY_TEMPLATES_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTemplatesLeft(Integer templatesLeft) {
this.templatesLeft = templatesLeft;
}
@@ -101,14 +102,15 @@ public TemplateResponseAccountQuota apiSignatureRequestsLeft(Integer apiSignatur
*
* @return apiSignatureRequestsLeft
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_API_SIGNATURE_REQUESTS_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_API_SIGNATURE_REQUESTS_LEFT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getApiSignatureRequestsLeft() {
return apiSignatureRequestsLeft;
}
@JsonProperty(JSON_PROPERTY_API_SIGNATURE_REQUESTS_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setApiSignatureRequestsLeft(Integer apiSignatureRequestsLeft) {
this.apiSignatureRequestsLeft = apiSignatureRequestsLeft;
}
@@ -123,14 +125,15 @@ public TemplateResponseAccountQuota documentsLeft(Integer documentsLeft) {
*
* @return documentsLeft
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOCUMENTS_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_DOCUMENTS_LEFT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getDocumentsLeft() {
return documentsLeft;
}
@JsonProperty(JSON_PROPERTY_DOCUMENTS_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDocumentsLeft(Integer documentsLeft) {
this.documentsLeft = documentsLeft;
}
@@ -145,14 +148,15 @@ public TemplateResponseAccountQuota smsVerificationsLeft(Integer smsVerification
*
* @return smsVerificationsLeft
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMS_VERIFICATIONS_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_SMS_VERIFICATIONS_LEFT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getSmsVerificationsLeft() {
return smsVerificationsLeft;
}
@JsonProperty(JSON_PROPERTY_SMS_VERIFICATIONS_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setSmsVerificationsLeft(Integer smsVerificationsLeft) {
this.smsVerificationsLeft = smsVerificationsLeft;
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseCCRole.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseCCRole.java
index e4a7d7377..d360b16dc 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseCCRole.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseCCRole.java
@@ -60,14 +60,15 @@ public TemplateResponseCCRole name(String name) {
*
* @return name
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocument.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocument.java
index de32fb5ac..a76ceca5d 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocument.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocument.java
@@ -28,11 +28,11 @@
/** TemplateResponseDocument */
@JsonPropertyOrder({
TemplateResponseDocument.JSON_PROPERTY_NAME,
- TemplateResponseDocument.JSON_PROPERTY_INDEX,
TemplateResponseDocument.JSON_PROPERTY_FIELD_GROUPS,
TemplateResponseDocument.JSON_PROPERTY_FORM_FIELDS,
TemplateResponseDocument.JSON_PROPERTY_CUSTOM_FIELDS,
- TemplateResponseDocument.JSON_PROPERTY_STATIC_FIELDS
+ TemplateResponseDocument.JSON_PROPERTY_STATIC_FIELDS,
+ TemplateResponseDocument.JSON_PROPERTY_INDEX
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
@@ -42,20 +42,20 @@ public class TemplateResponseDocument {
public static final String JSON_PROPERTY_NAME = "name";
private String name;
- public static final String JSON_PROPERTY_INDEX = "index";
- private Integer index;
-
public static final String JSON_PROPERTY_FIELD_GROUPS = "field_groups";
- private List fieldGroups = null;
+ private List fieldGroups = new ArrayList<>();
public static final String JSON_PROPERTY_FORM_FIELDS = "form_fields";
- private List formFields = null;
+ private List formFields = new ArrayList<>();
public static final String JSON_PROPERTY_CUSTOM_FIELDS = "custom_fields";
- private List customFields = null;
+ private List customFields = new ArrayList<>();
public static final String JSON_PROPERTY_STATIC_FIELDS = "static_fields";
- private List staticFields = null;
+ private List staticFields = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_INDEX = "index";
+ private Integer index;
public TemplateResponseDocument() {}
@@ -85,41 +85,19 @@ public TemplateResponseDocument name(String name) {
*
* @return name
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
- public TemplateResponseDocument index(Integer index) {
- this.index = index;
- return this;
- }
-
- /**
- * Document ordering, the lowest index is displayed first and the highest last (0-based
- * indexing).
- *
- * @return index
- */
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDEX)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public Integer getIndex() {
- return index;
- }
-
- @JsonProperty(JSON_PROPERTY_INDEX)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setIndex(Integer index) {
- this.index = index;
- }
-
public TemplateResponseDocument fieldGroups(
List fieldGroups) {
this.fieldGroups = fieldGroups;
@@ -140,14 +118,15 @@ public TemplateResponseDocument addFieldGroupsItem(
*
* @return fieldGroups
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FIELD_GROUPS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_FIELD_GROUPS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getFieldGroups() {
return fieldGroups;
}
@JsonProperty(JSON_PROPERTY_FIELD_GROUPS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFieldGroups(List fieldGroups) {
this.fieldGroups = fieldGroups;
}
@@ -172,14 +151,15 @@ public TemplateResponseDocument addFormFieldsItem(
*
* @return formFields
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FORM_FIELDS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_FORM_FIELDS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getFormFields() {
return formFields;
}
@JsonProperty(JSON_PROPERTY_FORM_FIELDS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFormFields(List formFields) {
this.formFields = formFields;
}
@@ -204,14 +184,15 @@ public TemplateResponseDocument addCustomFieldsItem(
*
* @return customFields
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CUSTOM_FIELDS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_CUSTOM_FIELDS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getCustomFields() {
return customFields;
}
@JsonProperty(JSON_PROPERTY_CUSTOM_FIELDS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setCustomFields(List customFields) {
this.customFields = customFields;
}
@@ -237,18 +218,42 @@ public TemplateResponseDocument addStaticFieldsItem(
*
* @return staticFields
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATIC_FIELDS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_STATIC_FIELDS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getStaticFields() {
return staticFields;
}
@JsonProperty(JSON_PROPERTY_STATIC_FIELDS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setStaticFields(List staticFields) {
this.staticFields = staticFields;
}
+ public TemplateResponseDocument index(Integer index) {
+ this.index = index;
+ return this;
+ }
+
+ /**
+ * Document ordering, the lowest index is displayed first and the highest last (0-based
+ * indexing).
+ *
+ * @return index
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDEX)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Integer getIndex() {
+ return index;
+ }
+
+ @JsonProperty(JSON_PROPERTY_INDEX)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIndex(Integer index) {
+ this.index = index;
+ }
+
/** Return true if this TemplateResponseDocument object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -260,16 +265,16 @@ public boolean equals(Object o) {
}
TemplateResponseDocument templateResponseDocument = (TemplateResponseDocument) o;
return Objects.equals(this.name, templateResponseDocument.name)
- && Objects.equals(this.index, templateResponseDocument.index)
&& Objects.equals(this.fieldGroups, templateResponseDocument.fieldGroups)
&& Objects.equals(this.formFields, templateResponseDocument.formFields)
&& Objects.equals(this.customFields, templateResponseDocument.customFields)
- && Objects.equals(this.staticFields, templateResponseDocument.staticFields);
+ && Objects.equals(this.staticFields, templateResponseDocument.staticFields)
+ && Objects.equals(this.index, templateResponseDocument.index);
}
@Override
public int hashCode() {
- return Objects.hash(name, index, fieldGroups, formFields, customFields, staticFields);
+ return Objects.hash(name, fieldGroups, formFields, customFields, staticFields, index);
}
@Override
@@ -277,11 +282,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TemplateResponseDocument {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" index: ").append(toIndentedString(index)).append("\n");
sb.append(" fieldGroups: ").append(toIndentedString(fieldGroups)).append("\n");
sb.append(" formFields: ").append(toIndentedString(formFields)).append("\n");
sb.append(" customFields: ").append(toIndentedString(customFields)).append("\n");
sb.append(" staticFields: ").append(toIndentedString(staticFields)).append("\n");
+ sb.append(" index: ").append(toIndentedString(index)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -308,24 +313,6 @@ public Map createFormData() throws ApiException {
map.put("name", JSON.getDefault().getMapper().writeValueAsString(name));
}
}
- if (index != null) {
- if (isFileTypeOrListOfFiles(index)) {
- fileTypeFound = true;
- }
-
- if (index.getClass().equals(java.io.File.class)
- || index.getClass().equals(Integer.class)
- || index.getClass().equals(String.class)
- || index.getClass().isEnum()) {
- map.put("index", index);
- } else if (isListOfFile(index)) {
- for (int i = 0; i < getListSize(index); i++) {
- map.put("index[" + i + "]", getFromList(index, i));
- }
- } else {
- map.put("index", JSON.getDefault().getMapper().writeValueAsString(index));
- }
- }
if (fieldGroups != null) {
if (isFileTypeOrListOfFiles(fieldGroups)) {
fileTypeFound = true;
@@ -406,6 +393,24 @@ public Map createFormData() throws ApiException {
JSON.getDefault().getMapper().writeValueAsString(staticFields));
}
}
+ if (index != null) {
+ if (isFileTypeOrListOfFiles(index)) {
+ fileTypeFound = true;
+ }
+
+ if (index.getClass().equals(java.io.File.class)
+ || index.getClass().equals(Integer.class)
+ || index.getClass().equals(String.class)
+ || index.getClass().isEnum()) {
+ map.put("index", index);
+ } else if (isListOfFile(index)) {
+ for (int i = 0; i < getListSize(index); i++) {
+ map.put("index[" + i + "]", getFromList(index, i));
+ }
+ } else {
+ map.put("index", JSON.getDefault().getMapper().writeValueAsString(index));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldBase.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldBase.java
index d6c0d010c..1458076c7 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldBase.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldBase.java
@@ -27,15 +27,15 @@
/** An array of Form Field objects containing the name and type of each named field. */
@JsonPropertyOrder({
- TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_TYPE,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_API_ID,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_NAME,
- TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_SIGNER,
+ TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_TYPE,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_X,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_Y,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_WIDTH,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_HEIGHT,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_REQUIRED,
+ TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_SIGNER,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_GROUP
})
@javax.annotation.Generated(
@@ -56,17 +56,14 @@
@JsonSubTypes.Type(value = TemplateResponseDocumentCustomFieldText.class, name = "text"),
})
public class TemplateResponseDocumentCustomFieldBase {
- public static final String JSON_PROPERTY_TYPE = "type";
- private String type;
-
public static final String JSON_PROPERTY_API_ID = "api_id";
private String apiId;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
- public static final String JSON_PROPERTY_SIGNER = "signer";
- private String signer;
+ public static final String JSON_PROPERTY_TYPE = "type";
+ private String type;
public static final String JSON_PROPERTY_X = "x";
private Integer x;
@@ -83,6 +80,9 @@ public class TemplateResponseDocumentCustomFieldBase {
public static final String JSON_PROPERTY_REQUIRED = "required";
private Boolean required;
+ public static final String JSON_PROPERTY_SIGNER = "signer";
+ private String signer;
+
public static final String JSON_PROPERTY_GROUP = "group";
private String group;
@@ -105,29 +105,6 @@ public static TemplateResponseDocumentCustomFieldBase init(HashMap data) throws
TemplateResponseDocumentCustomFieldBase.class);
}
- public TemplateResponseDocumentCustomFieldBase type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * Get type
- *
- * @return type
- */
- @javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public String getType() {
- return type;
- }
-
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setType(String type) {
- this.type = type;
- }
-
public TemplateResponseDocumentCustomFieldBase apiId(String apiId) {
this.apiId = apiId;
return this;
@@ -138,14 +115,15 @@ public TemplateResponseDocumentCustomFieldBase apiId(String apiId) {
*
* @return apiId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_API_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_API_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getApiId() {
return apiId;
}
@JsonProperty(JSON_PROPERTY_API_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setApiId(String apiId) {
this.apiId = apiId;
}
@@ -160,48 +138,40 @@ public TemplateResponseDocumentCustomFieldBase name(String name) {
*
* @return name
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
- public TemplateResponseDocumentCustomFieldBase signer(String signer) {
- this.signer = signer;
- return this;
- }
-
- public TemplateResponseDocumentCustomFieldBase signer(Integer signer) {
- this.signer = String.valueOf(signer);
+ public TemplateResponseDocumentCustomFieldBase type(String type) {
+ this.type = type;
return this;
}
/**
- * The signer of the Custom Field. Can be `null` if field is a merge field (assigned
- * to Sender).
+ * Get type
*
- * @return signer
+ * @return type
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIGNER)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public String getSigner() {
- return signer;
- }
-
- @JsonProperty(JSON_PROPERTY_SIGNER)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setSigner(String signer) {
- this.signer = signer;
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getType() {
+ return type;
}
- public void setSigner(Integer signer) {
- this.signer = String.valueOf(signer);
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(String type) {
+ this.type = type;
}
public TemplateResponseDocumentCustomFieldBase x(Integer x) {
@@ -214,14 +184,15 @@ public TemplateResponseDocumentCustomFieldBase x(Integer x) {
*
* @return x
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_X)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_X)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getX() {
return x;
}
@JsonProperty(JSON_PROPERTY_X)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setX(Integer x) {
this.x = x;
}
@@ -236,14 +207,15 @@ public TemplateResponseDocumentCustomFieldBase y(Integer y) {
*
* @return y
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_Y)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_Y)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getY() {
return y;
}
@JsonProperty(JSON_PROPERTY_Y)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setY(Integer y) {
this.y = y;
}
@@ -258,14 +230,15 @@ public TemplateResponseDocumentCustomFieldBase width(Integer width) {
*
* @return width
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WIDTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_WIDTH)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getWidth() {
return width;
}
@JsonProperty(JSON_PROPERTY_WIDTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setWidth(Integer width) {
this.width = width;
}
@@ -280,14 +253,15 @@ public TemplateResponseDocumentCustomFieldBase height(Integer height) {
*
* @return height
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_HEIGHT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_HEIGHT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getHeight() {
return height;
}
@JsonProperty(JSON_PROPERTY_HEIGHT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setHeight(Integer height) {
this.height = height;
}
@@ -302,18 +276,51 @@ public TemplateResponseDocumentCustomFieldBase required(Boolean required) {
*
* @return required
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_REQUIRED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_REQUIRED)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getRequired() {
return required;
}
@JsonProperty(JSON_PROPERTY_REQUIRED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setRequired(Boolean required) {
this.required = required;
}
+ public TemplateResponseDocumentCustomFieldBase signer(String signer) {
+ this.signer = signer;
+ return this;
+ }
+
+ public TemplateResponseDocumentCustomFieldBase signer(Integer signer) {
+ this.signer = String.valueOf(signer);
+ return this;
+ }
+
+ /**
+ * The signer of the Custom Field. Can be `null` if field is a merge field (assigned
+ * to Sender).
+ *
+ * @return signer
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIGNER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getSigner() {
+ return signer;
+ }
+
+ @JsonProperty(JSON_PROPERTY_SIGNER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSigner(String signer) {
+ this.signer = signer;
+ }
+
+ public void setSigner(Integer signer) {
+ this.signer = String.valueOf(signer);
+ }
+
public TemplateResponseDocumentCustomFieldBase group(String group) {
this.group = group;
return this;
@@ -348,36 +355,36 @@ public boolean equals(Object o) {
}
TemplateResponseDocumentCustomFieldBase templateResponseDocumentCustomFieldBase =
(TemplateResponseDocumentCustomFieldBase) o;
- return Objects.equals(this.type, templateResponseDocumentCustomFieldBase.type)
- && Objects.equals(this.apiId, templateResponseDocumentCustomFieldBase.apiId)
+ return Objects.equals(this.apiId, templateResponseDocumentCustomFieldBase.apiId)
&& Objects.equals(this.name, templateResponseDocumentCustomFieldBase.name)
- && Objects.equals(this.signer, templateResponseDocumentCustomFieldBase.signer)
+ && Objects.equals(this.type, templateResponseDocumentCustomFieldBase.type)
&& Objects.equals(this.x, templateResponseDocumentCustomFieldBase.x)
&& Objects.equals(this.y, templateResponseDocumentCustomFieldBase.y)
&& Objects.equals(this.width, templateResponseDocumentCustomFieldBase.width)
&& Objects.equals(this.height, templateResponseDocumentCustomFieldBase.height)
&& Objects.equals(this.required, templateResponseDocumentCustomFieldBase.required)
+ && Objects.equals(this.signer, templateResponseDocumentCustomFieldBase.signer)
&& Objects.equals(this.group, templateResponseDocumentCustomFieldBase.group);
}
@Override
public int hashCode() {
- return Objects.hash(type, apiId, name, signer, x, y, width, height, required, group);
+ return Objects.hash(apiId, name, type, x, y, width, height, required, signer, group);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TemplateResponseDocumentCustomFieldBase {\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" apiId: ").append(toIndentedString(apiId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" signer: ").append(toIndentedString(signer)).append("\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" x: ").append(toIndentedString(x)).append("\n");
sb.append(" y: ").append(toIndentedString(y)).append("\n");
sb.append(" width: ").append(toIndentedString(width)).append("\n");
sb.append(" height: ").append(toIndentedString(height)).append("\n");
sb.append(" required: ").append(toIndentedString(required)).append("\n");
+ sb.append(" signer: ").append(toIndentedString(signer)).append("\n");
sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
@@ -387,24 +394,6 @@ public Map createFormData() throws ApiException {
Map map = new HashMap<>();
boolean fileTypeFound = false;
try {
- if (type != null) {
- if (isFileTypeOrListOfFiles(type)) {
- fileTypeFound = true;
- }
-
- if (type.getClass().equals(java.io.File.class)
- || type.getClass().equals(Integer.class)
- || type.getClass().equals(String.class)
- || type.getClass().isEnum()) {
- map.put("type", type);
- } else if (isListOfFile(type)) {
- for (int i = 0; i < getListSize(type); i++) {
- map.put("type[" + i + "]", getFromList(type, i));
- }
- } else {
- map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
- }
- }
if (apiId != null) {
if (isFileTypeOrListOfFiles(apiId)) {
fileTypeFound = true;
@@ -441,22 +430,22 @@ public Map createFormData() throws ApiException {
map.put("name", JSON.getDefault().getMapper().writeValueAsString(name));
}
}
- if (signer != null) {
- if (isFileTypeOrListOfFiles(signer)) {
+ if (type != null) {
+ if (isFileTypeOrListOfFiles(type)) {
fileTypeFound = true;
}
- if (signer.getClass().equals(java.io.File.class)
- || signer.getClass().equals(Integer.class)
- || signer.getClass().equals(String.class)
- || signer.getClass().isEnum()) {
- map.put("signer", signer);
- } else if (isListOfFile(signer)) {
- for (int i = 0; i < getListSize(signer); i++) {
- map.put("signer[" + i + "]", getFromList(signer, i));
+ if (type.getClass().equals(java.io.File.class)
+ || type.getClass().equals(Integer.class)
+ || type.getClass().equals(String.class)
+ || type.getClass().isEnum()) {
+ map.put("type", type);
+ } else if (isListOfFile(type)) {
+ for (int i = 0; i < getListSize(type); i++) {
+ map.put("type[" + i + "]", getFromList(type, i));
}
} else {
- map.put("signer", JSON.getDefault().getMapper().writeValueAsString(signer));
+ map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
if (x != null) {
@@ -549,6 +538,24 @@ public Map createFormData() throws ApiException {
map.put("required", JSON.getDefault().getMapper().writeValueAsString(required));
}
}
+ if (signer != null) {
+ if (isFileTypeOrListOfFiles(signer)) {
+ fileTypeFound = true;
+ }
+
+ if (signer.getClass().equals(java.io.File.class)
+ || signer.getClass().equals(Integer.class)
+ || signer.getClass().equals(String.class)
+ || signer.getClass().isEnum()) {
+ map.put("signer", signer);
+ } else if (isListOfFile(signer)) {
+ for (int i = 0; i < getListSize(signer); i++) {
+ map.put("signer[" + i + "]", getFromList(signer, i));
+ }
+ } else {
+ map.put("signer", JSON.getDefault().getMapper().writeValueAsString(signer));
+ }
+ }
if (group != null) {
if (isFileTypeOrListOfFiles(group)) {
fileTypeFound = true;
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldText.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldText.java
index e915dc017..7fdf99be8 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldText.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldText.java
@@ -115,14 +115,15 @@ public TemplateResponseDocumentCustomFieldText avgTextLength(
*
* @return avgTextLength
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public TemplateResponseFieldAvgTextLength getAvgTextLength() {
return avgTextLength;
}
@JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAvgTextLength(TemplateResponseFieldAvgTextLength avgTextLength) {
this.avgTextLength = avgTextLength;
}
@@ -137,14 +138,15 @@ public TemplateResponseDocumentCustomFieldText isMultiline(Boolean isMultiline)
*
* @return isMultiline
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_MULTILINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_IS_MULTILINE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsMultiline() {
return isMultiline;
}
@JsonProperty(JSON_PROPERTY_IS_MULTILINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsMultiline(Boolean isMultiline) {
this.isMultiline = isMultiline;
}
@@ -159,14 +161,15 @@ public TemplateResponseDocumentCustomFieldText originalFontSize(Integer original
*
* @return originalFontSize
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getOriginalFontSize() {
return originalFontSize;
}
@JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setOriginalFontSize(Integer originalFontSize) {
this.originalFontSize = originalFontSize;
}
@@ -181,14 +184,15 @@ public TemplateResponseDocumentCustomFieldText fontFamily(String fontFamily) {
*
* @return fontFamily
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FONT_FAMILY)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_FONT_FAMILY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getFontFamily() {
return fontFamily;
}
@JsonProperty(JSON_PROPERTY_FONT_FAMILY)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFontFamily(String fontFamily) {
this.fontFamily = fontFamily;
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroup.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroup.java
index 27dd50e83..b362998bf 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroup.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroup.java
@@ -67,14 +67,15 @@ public TemplateResponseDocumentFieldGroup name(String name) {
*
* @return name
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
@@ -89,14 +90,15 @@ public TemplateResponseDocumentFieldGroup rule(TemplateResponseDocumentFieldGrou
*
* @return rule
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RULE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_RULE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public TemplateResponseDocumentFieldGroupRule getRule() {
return rule;
}
@JsonProperty(JSON_PROPERTY_RULE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setRule(TemplateResponseDocumentFieldGroupRule rule) {
this.rule = rule;
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroupRule.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroupRule.java
index 0fa796c46..fd8e15836 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroupRule.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroupRule.java
@@ -75,14 +75,15 @@ public TemplateResponseDocumentFieldGroupRule requirement(String requirement) {
*
* @return requirement
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_REQUIREMENT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_REQUIREMENT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getRequirement() {
return requirement;
}
@JsonProperty(JSON_PROPERTY_REQUIREMENT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setRequirement(String requirement) {
this.requirement = requirement;
}
@@ -97,14 +98,15 @@ public TemplateResponseDocumentFieldGroupRule groupLabel(String groupLabel) {
*
* @return groupLabel
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_GROUP_LABEL)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_GROUP_LABEL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getGroupLabel() {
return groupLabel;
}
@JsonProperty(JSON_PROPERTY_GROUP_LABEL)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setGroupLabel(String groupLabel) {
this.groupLabel = groupLabel;
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldBase.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldBase.java
index 86b997464..56639bb69 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldBase.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldBase.java
@@ -27,16 +27,15 @@
/** An array of Form Field objects containing the name and type of each named field. */
@JsonPropertyOrder({
- TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_TYPE,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_API_ID,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_NAME,
+ TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_TYPE,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_SIGNER,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_X,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_Y,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_WIDTH,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_HEIGHT,
- TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_REQUIRED,
- TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_GROUP
+ TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_REQUIRED
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
@@ -66,15 +65,15 @@
@JsonSubTypes.Type(value = TemplateResponseDocumentFormFieldText.class, name = "text"),
})
public class TemplateResponseDocumentFormFieldBase {
- public static final String JSON_PROPERTY_TYPE = "type";
- private String type;
-
public static final String JSON_PROPERTY_API_ID = "api_id";
private String apiId;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
+ public static final String JSON_PROPERTY_TYPE = "type";
+ private String type;
+
public static final String JSON_PROPERTY_SIGNER = "signer";
private String signer;
@@ -93,9 +92,6 @@ public class TemplateResponseDocumentFormFieldBase {
public static final String JSON_PROPERTY_REQUIRED = "required";
private Boolean required;
- public static final String JSON_PROPERTY_GROUP = "group";
- private String group;
-
public TemplateResponseDocumentFormFieldBase() {}
/**
@@ -114,29 +110,6 @@ public static TemplateResponseDocumentFormFieldBase init(HashMap data) throws Ex
TemplateResponseDocumentFormFieldBase.class);
}
- public TemplateResponseDocumentFormFieldBase type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * Get type
- *
- * @return type
- */
- @javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public String getType() {
- return type;
- }
-
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setType(String type) {
- this.type = type;
- }
-
public TemplateResponseDocumentFormFieldBase apiId(String apiId) {
this.apiId = apiId;
return this;
@@ -147,14 +120,15 @@ public TemplateResponseDocumentFormFieldBase apiId(String apiId) {
*
* @return apiId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_API_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_API_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getApiId() {
return apiId;
}
@JsonProperty(JSON_PROPERTY_API_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setApiId(String apiId) {
this.apiId = apiId;
}
@@ -169,18 +143,42 @@ public TemplateResponseDocumentFormFieldBase name(String name) {
*
* @return name
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
+ public TemplateResponseDocumentFormFieldBase type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ *
+ * @return type
+ */
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(String type) {
+ this.type = type;
+ }
+
public TemplateResponseDocumentFormFieldBase signer(String signer) {
this.signer = signer;
return this;
@@ -196,14 +194,15 @@ public TemplateResponseDocumentFormFieldBase signer(Integer signer) {
*
* @return signer
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIGNER)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_SIGNER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getSigner() {
return signer;
}
@JsonProperty(JSON_PROPERTY_SIGNER)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setSigner(String signer) {
this.signer = signer;
}
@@ -222,14 +221,15 @@ public TemplateResponseDocumentFormFieldBase x(Integer x) {
*
* @return x
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_X)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_X)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getX() {
return x;
}
@JsonProperty(JSON_PROPERTY_X)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setX(Integer x) {
this.x = x;
}
@@ -244,14 +244,15 @@ public TemplateResponseDocumentFormFieldBase y(Integer y) {
*
* @return y
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_Y)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_Y)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getY() {
return y;
}
@JsonProperty(JSON_PROPERTY_Y)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setY(Integer y) {
this.y = y;
}
@@ -266,14 +267,15 @@ public TemplateResponseDocumentFormFieldBase width(Integer width) {
*
* @return width
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WIDTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_WIDTH)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getWidth() {
return width;
}
@JsonProperty(JSON_PROPERTY_WIDTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setWidth(Integer width) {
this.width = width;
}
@@ -288,14 +290,15 @@ public TemplateResponseDocumentFormFieldBase height(Integer height) {
*
* @return height
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_HEIGHT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_HEIGHT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getHeight() {
return height;
}
@JsonProperty(JSON_PROPERTY_HEIGHT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setHeight(Integer height) {
this.height = height;
}
@@ -310,41 +313,19 @@ public TemplateResponseDocumentFormFieldBase required(Boolean required) {
*
* @return required
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_REQUIRED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_REQUIRED)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getRequired() {
return required;
}
@JsonProperty(JSON_PROPERTY_REQUIRED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setRequired(Boolean required) {
this.required = required;
}
- public TemplateResponseDocumentFormFieldBase group(String group) {
- this.group = group;
- return this;
- }
-
- /**
- * The name of the group this field is in. If this field is not a group, this defaults to
- * `null` except for Radio fields.
- *
- * @return group
- */
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_GROUP)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public String getGroup() {
- return group;
- }
-
- @JsonProperty(JSON_PROPERTY_GROUP)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setGroup(String group) {
- this.group = group;
- }
-
/** Return true if this TemplateResponseDocumentFormFieldBase object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -356,37 +337,35 @@ public boolean equals(Object o) {
}
TemplateResponseDocumentFormFieldBase templateResponseDocumentFormFieldBase =
(TemplateResponseDocumentFormFieldBase) o;
- return Objects.equals(this.type, templateResponseDocumentFormFieldBase.type)
- && Objects.equals(this.apiId, templateResponseDocumentFormFieldBase.apiId)
+ return Objects.equals(this.apiId, templateResponseDocumentFormFieldBase.apiId)
&& Objects.equals(this.name, templateResponseDocumentFormFieldBase.name)
+ && Objects.equals(this.type, templateResponseDocumentFormFieldBase.type)
&& Objects.equals(this.signer, templateResponseDocumentFormFieldBase.signer)
&& Objects.equals(this.x, templateResponseDocumentFormFieldBase.x)
&& Objects.equals(this.y, templateResponseDocumentFormFieldBase.y)
&& Objects.equals(this.width, templateResponseDocumentFormFieldBase.width)
&& Objects.equals(this.height, templateResponseDocumentFormFieldBase.height)
- && Objects.equals(this.required, templateResponseDocumentFormFieldBase.required)
- && Objects.equals(this.group, templateResponseDocumentFormFieldBase.group);
+ && Objects.equals(this.required, templateResponseDocumentFormFieldBase.required);
}
@Override
public int hashCode() {
- return Objects.hash(type, apiId, name, signer, x, y, width, height, required, group);
+ return Objects.hash(apiId, name, type, signer, x, y, width, height, required);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TemplateResponseDocumentFormFieldBase {\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" apiId: ").append(toIndentedString(apiId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" signer: ").append(toIndentedString(signer)).append("\n");
sb.append(" x: ").append(toIndentedString(x)).append("\n");
sb.append(" y: ").append(toIndentedString(y)).append("\n");
sb.append(" width: ").append(toIndentedString(width)).append("\n");
sb.append(" height: ").append(toIndentedString(height)).append("\n");
sb.append(" required: ").append(toIndentedString(required)).append("\n");
- sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -395,24 +374,6 @@ public Map createFormData() throws ApiException {
Map map = new HashMap<>();
boolean fileTypeFound = false;
try {
- if (type != null) {
- if (isFileTypeOrListOfFiles(type)) {
- fileTypeFound = true;
- }
-
- if (type.getClass().equals(java.io.File.class)
- || type.getClass().equals(Integer.class)
- || type.getClass().equals(String.class)
- || type.getClass().isEnum()) {
- map.put("type", type);
- } else if (isListOfFile(type)) {
- for (int i = 0; i < getListSize(type); i++) {
- map.put("type[" + i + "]", getFromList(type, i));
- }
- } else {
- map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
- }
- }
if (apiId != null) {
if (isFileTypeOrListOfFiles(apiId)) {
fileTypeFound = true;
@@ -449,6 +410,24 @@ public Map createFormData() throws ApiException {
map.put("name", JSON.getDefault().getMapper().writeValueAsString(name));
}
}
+ if (type != null) {
+ if (isFileTypeOrListOfFiles(type)) {
+ fileTypeFound = true;
+ }
+
+ if (type.getClass().equals(java.io.File.class)
+ || type.getClass().equals(Integer.class)
+ || type.getClass().equals(String.class)
+ || type.getClass().isEnum()) {
+ map.put("type", type);
+ } else if (isListOfFile(type)) {
+ for (int i = 0; i < getListSize(type); i++) {
+ map.put("type[" + i + "]", getFromList(type, i));
+ }
+ } else {
+ map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
+ }
+ }
if (signer != null) {
if (isFileTypeOrListOfFiles(signer)) {
fileTypeFound = true;
@@ -557,24 +536,6 @@ public Map createFormData() throws ApiException {
map.put("required", JSON.getDefault().getMapper().writeValueAsString(required));
}
}
- if (group != null) {
- if (isFileTypeOrListOfFiles(group)) {
- fileTypeFound = true;
- }
-
- if (group.getClass().equals(java.io.File.class)
- || group.getClass().equals(Integer.class)
- || group.getClass().equals(String.class)
- || group.getClass().isEnum()) {
- map.put("group", group);
- } else if (isListOfFile(group)) {
- for (int i = 0; i < getListSize(group); i++) {
- map.put("group[" + i + "]", getFromList(group, i));
- }
- } else {
- map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
- }
- }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldCheckbox.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldCheckbox.java
index e7469c5a5..b291ffdd8 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldCheckbox.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldCheckbox.java
@@ -25,7 +25,10 @@
import java.util.Objects;
/** This class extends `TemplateResponseDocumentFormFieldBase` */
-@JsonPropertyOrder({TemplateResponseDocumentFormFieldCheckbox.JSON_PROPERTY_TYPE})
+@JsonPropertyOrder({
+ TemplateResponseDocumentFormFieldCheckbox.JSON_PROPERTY_TYPE,
+ TemplateResponseDocumentFormFieldCheckbox.JSON_PROPERTY_GROUP
+})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.8.0")
@@ -42,6 +45,9 @@ public class TemplateResponseDocumentFormFieldCheckbox
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "checkbox";
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldCheckbox() {}
/**
@@ -92,6 +98,29 @@ public void setType(String type) {
this.type = type;
}
+ public TemplateResponseDocumentFormFieldCheckbox group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to
+ * `null` except for Radio fields.
+ *
+ * @return group
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getGroup() {
+ return group;
+ }
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
/** Return true if this TemplateResponseDocumentFormFieldCheckbox object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -104,12 +133,13 @@ public boolean equals(Object o) {
TemplateResponseDocumentFormFieldCheckbox templateResponseDocumentFormFieldCheckbox =
(TemplateResponseDocumentFormFieldCheckbox) o;
return Objects.equals(this.type, templateResponseDocumentFormFieldCheckbox.type)
+ && Objects.equals(this.group, templateResponseDocumentFormFieldCheckbox.group)
&& super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, super.hashCode());
+ return Objects.hash(type, group, super.hashCode());
}
@Override
@@ -118,6 +148,7 @@ public String toString() {
sb.append("class TemplateResponseDocumentFormFieldCheckbox {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -145,6 +176,24 @@ public Map createFormData() throws ApiException {
map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class)
+ || group.getClass().equals(Integer.class)
+ || group.getClass().equals(String.class)
+ || group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for (int i = 0; i < getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ } else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDateSigned.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDateSigned.java
index 47a664adb..b43906f05 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDateSigned.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDateSigned.java
@@ -25,7 +25,10 @@
import java.util.Objects;
/** This class extends `TemplateResponseDocumentFormFieldBase` */
-@JsonPropertyOrder({TemplateResponseDocumentFormFieldDateSigned.JSON_PROPERTY_TYPE})
+@JsonPropertyOrder({
+ TemplateResponseDocumentFormFieldDateSigned.JSON_PROPERTY_TYPE,
+ TemplateResponseDocumentFormFieldDateSigned.JSON_PROPERTY_GROUP
+})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.8.0")
@@ -42,6 +45,9 @@ public class TemplateResponseDocumentFormFieldDateSigned
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "date_signed";
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldDateSigned() {}
/**
@@ -93,6 +99,29 @@ public void setType(String type) {
this.type = type;
}
+ public TemplateResponseDocumentFormFieldDateSigned group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to
+ * `null` except for Radio fields.
+ *
+ * @return group
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getGroup() {
+ return group;
+ }
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
/** Return true if this TemplateResponseDocumentFormFieldDateSigned object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -105,12 +134,13 @@ public boolean equals(Object o) {
TemplateResponseDocumentFormFieldDateSigned templateResponseDocumentFormFieldDateSigned =
(TemplateResponseDocumentFormFieldDateSigned) o;
return Objects.equals(this.type, templateResponseDocumentFormFieldDateSigned.type)
+ && Objects.equals(this.group, templateResponseDocumentFormFieldDateSigned.group)
&& super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, super.hashCode());
+ return Objects.hash(type, group, super.hashCode());
}
@Override
@@ -119,6 +149,7 @@ public String toString() {
sb.append("class TemplateResponseDocumentFormFieldDateSigned {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -146,6 +177,24 @@ public Map createFormData() throws ApiException {
map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class)
+ || group.getClass().equals(Integer.class)
+ || group.getClass().equals(String.class)
+ || group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for (int i = 0; i < getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ } else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDropdown.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDropdown.java
index 548aebe5a..1c6289c42 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDropdown.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDropdown.java
@@ -25,7 +25,10 @@
import java.util.Objects;
/** This class extends `TemplateResponseDocumentFormFieldBase` */
-@JsonPropertyOrder({TemplateResponseDocumentFormFieldDropdown.JSON_PROPERTY_TYPE})
+@JsonPropertyOrder({
+ TemplateResponseDocumentFormFieldDropdown.JSON_PROPERTY_TYPE,
+ TemplateResponseDocumentFormFieldDropdown.JSON_PROPERTY_GROUP
+})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.8.0")
@@ -42,6 +45,9 @@ public class TemplateResponseDocumentFormFieldDropdown
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "dropdown";
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldDropdown() {}
/**
@@ -92,6 +98,29 @@ public void setType(String type) {
this.type = type;
}
+ public TemplateResponseDocumentFormFieldDropdown group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to
+ * `null` except for Radio fields.
+ *
+ * @return group
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getGroup() {
+ return group;
+ }
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
/** Return true if this TemplateResponseDocumentFormFieldDropdown object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -104,12 +133,13 @@ public boolean equals(Object o) {
TemplateResponseDocumentFormFieldDropdown templateResponseDocumentFormFieldDropdown =
(TemplateResponseDocumentFormFieldDropdown) o;
return Objects.equals(this.type, templateResponseDocumentFormFieldDropdown.type)
+ && Objects.equals(this.group, templateResponseDocumentFormFieldDropdown.group)
&& super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, super.hashCode());
+ return Objects.hash(type, group, super.hashCode());
}
@Override
@@ -118,6 +148,7 @@ public String toString() {
sb.append("class TemplateResponseDocumentFormFieldDropdown {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -145,6 +176,24 @@ public Map createFormData() throws ApiException {
map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class)
+ || group.getClass().equals(Integer.class)
+ || group.getClass().equals(String.class)
+ || group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for (int i = 0; i < getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ } else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldHyperlink.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldHyperlink.java
index 71ed8a6b1..c42b580b3 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldHyperlink.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldHyperlink.java
@@ -30,7 +30,8 @@
TemplateResponseDocumentFormFieldHyperlink.JSON_PROPERTY_AVG_TEXT_LENGTH,
TemplateResponseDocumentFormFieldHyperlink.JSON_PROPERTY_IS_MULTILINE,
TemplateResponseDocumentFormFieldHyperlink.JSON_PROPERTY_ORIGINAL_FONT_SIZE,
- TemplateResponseDocumentFormFieldHyperlink.JSON_PROPERTY_FONT_FAMILY
+ TemplateResponseDocumentFormFieldHyperlink.JSON_PROPERTY_FONT_FAMILY,
+ TemplateResponseDocumentFormFieldHyperlink.JSON_PROPERTY_GROUP
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
@@ -60,6 +61,9 @@ public class TemplateResponseDocumentFormFieldHyperlink
public static final String JSON_PROPERTY_FONT_FAMILY = "fontFamily";
private String fontFamily;
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldHyperlink() {}
/**
@@ -122,14 +126,15 @@ public TemplateResponseDocumentFormFieldHyperlink avgTextLength(
*
* @return avgTextLength
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public TemplateResponseFieldAvgTextLength getAvgTextLength() {
return avgTextLength;
}
@JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAvgTextLength(TemplateResponseFieldAvgTextLength avgTextLength) {
this.avgTextLength = avgTextLength;
}
@@ -144,14 +149,15 @@ public TemplateResponseDocumentFormFieldHyperlink isMultiline(Boolean isMultilin
*
* @return isMultiline
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_MULTILINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_IS_MULTILINE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsMultiline() {
return isMultiline;
}
@JsonProperty(JSON_PROPERTY_IS_MULTILINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsMultiline(Boolean isMultiline) {
this.isMultiline = isMultiline;
}
@@ -166,14 +172,15 @@ public TemplateResponseDocumentFormFieldHyperlink originalFontSize(Integer origi
*
* @return originalFontSize
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getOriginalFontSize() {
return originalFontSize;
}
@JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setOriginalFontSize(Integer originalFontSize) {
this.originalFontSize = originalFontSize;
}
@@ -188,18 +195,42 @@ public TemplateResponseDocumentFormFieldHyperlink fontFamily(String fontFamily)
*
* @return fontFamily
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FONT_FAMILY)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_FONT_FAMILY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getFontFamily() {
return fontFamily;
}
@JsonProperty(JSON_PROPERTY_FONT_FAMILY)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFontFamily(String fontFamily) {
this.fontFamily = fontFamily;
}
+ public TemplateResponseDocumentFormFieldHyperlink group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to
+ * `null` except for Radio fields.
+ *
+ * @return group
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getGroup() {
+ return group;
+ }
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
/** Return true if this TemplateResponseDocumentFormFieldHyperlink object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -222,13 +253,20 @@ public boolean equals(Object o) {
templateResponseDocumentFormFieldHyperlink.originalFontSize)
&& Objects.equals(
this.fontFamily, templateResponseDocumentFormFieldHyperlink.fontFamily)
+ && Objects.equals(this.group, templateResponseDocumentFormFieldHyperlink.group)
&& super.equals(o);
}
@Override
public int hashCode() {
return Objects.hash(
- type, avgTextLength, isMultiline, originalFontSize, fontFamily, super.hashCode());
+ type,
+ avgTextLength,
+ isMultiline,
+ originalFontSize,
+ fontFamily,
+ group,
+ super.hashCode());
}
@Override
@@ -241,6 +279,7 @@ public String toString() {
sb.append(" isMultiline: ").append(toIndentedString(isMultiline)).append("\n");
sb.append(" originalFontSize: ").append(toIndentedString(originalFontSize)).append("\n");
sb.append(" fontFamily: ").append(toIndentedString(fontFamily)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -348,6 +387,24 @@ public Map createFormData() throws ApiException {
JSON.getDefault().getMapper().writeValueAsString(fontFamily));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class)
+ || group.getClass().equals(Integer.class)
+ || group.getClass().equals(String.class)
+ || group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for (int i = 0; i < getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ } else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldInitials.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldInitials.java
index b2a1c740b..17bc3553e 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldInitials.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldInitials.java
@@ -25,7 +25,10 @@
import java.util.Objects;
/** This class extends `TemplateResponseDocumentFormFieldBase` */
-@JsonPropertyOrder({TemplateResponseDocumentFormFieldInitials.JSON_PROPERTY_TYPE})
+@JsonPropertyOrder({
+ TemplateResponseDocumentFormFieldInitials.JSON_PROPERTY_TYPE,
+ TemplateResponseDocumentFormFieldInitials.JSON_PROPERTY_GROUP
+})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.8.0")
@@ -42,6 +45,9 @@ public class TemplateResponseDocumentFormFieldInitials
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "initials";
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldInitials() {}
/**
@@ -92,6 +98,29 @@ public void setType(String type) {
this.type = type;
}
+ public TemplateResponseDocumentFormFieldInitials group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to
+ * `null` except for Radio fields.
+ *
+ * @return group
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getGroup() {
+ return group;
+ }
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
/** Return true if this TemplateResponseDocumentFormFieldInitials object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -104,12 +133,13 @@ public boolean equals(Object o) {
TemplateResponseDocumentFormFieldInitials templateResponseDocumentFormFieldInitials =
(TemplateResponseDocumentFormFieldInitials) o;
return Objects.equals(this.type, templateResponseDocumentFormFieldInitials.type)
+ && Objects.equals(this.group, templateResponseDocumentFormFieldInitials.group)
&& super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, super.hashCode());
+ return Objects.hash(type, group, super.hashCode());
}
@Override
@@ -118,6 +148,7 @@ public String toString() {
sb.append("class TemplateResponseDocumentFormFieldInitials {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -145,6 +176,24 @@ public Map createFormData() throws ApiException {
map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class)
+ || group.getClass().equals(Integer.class)
+ || group.getClass().equals(String.class)
+ || group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for (int i = 0; i < getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ } else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldRadio.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldRadio.java
index a9f10772c..75b7a72ad 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldRadio.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldRadio.java
@@ -25,7 +25,10 @@
import java.util.Objects;
/** This class extends `TemplateResponseDocumentFormFieldBase` */
-@JsonPropertyOrder({TemplateResponseDocumentFormFieldRadio.JSON_PROPERTY_TYPE})
+@JsonPropertyOrder({
+ TemplateResponseDocumentFormFieldRadio.JSON_PROPERTY_TYPE,
+ TemplateResponseDocumentFormFieldRadio.JSON_PROPERTY_GROUP
+})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.8.0")
@@ -41,6 +44,9 @@ public class TemplateResponseDocumentFormFieldRadio extends TemplateResponseDocu
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "radio";
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldRadio() {}
/**
@@ -90,6 +96,30 @@ public void setType(String type) {
this.type = type;
}
+ public TemplateResponseDocumentFormFieldRadio group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to
+ * `null` except for Radio fields.
+ *
+ * @return group
+ */
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getGroup() {
+ return group;
+ }
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
/** Return true if this TemplateResponseDocumentFormFieldRadio object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -102,12 +132,13 @@ public boolean equals(Object o) {
TemplateResponseDocumentFormFieldRadio templateResponseDocumentFormFieldRadio =
(TemplateResponseDocumentFormFieldRadio) o;
return Objects.equals(this.type, templateResponseDocumentFormFieldRadio.type)
+ && Objects.equals(this.group, templateResponseDocumentFormFieldRadio.group)
&& super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, super.hashCode());
+ return Objects.hash(type, group, super.hashCode());
}
@Override
@@ -116,6 +147,7 @@ public String toString() {
sb.append("class TemplateResponseDocumentFormFieldRadio {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -143,6 +175,24 @@ public Map createFormData() throws ApiException {
map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class)
+ || group.getClass().equals(Integer.class)
+ || group.getClass().equals(String.class)
+ || group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for (int i = 0; i < getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ } else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldSignature.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldSignature.java
index 4155ba402..15630a485 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldSignature.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldSignature.java
@@ -25,7 +25,10 @@
import java.util.Objects;
/** This class extends `TemplateResponseDocumentFormFieldBase` */
-@JsonPropertyOrder({TemplateResponseDocumentFormFieldSignature.JSON_PROPERTY_TYPE})
+@JsonPropertyOrder({
+ TemplateResponseDocumentFormFieldSignature.JSON_PROPERTY_TYPE,
+ TemplateResponseDocumentFormFieldSignature.JSON_PROPERTY_GROUP
+})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.8.0")
@@ -42,6 +45,9 @@ public class TemplateResponseDocumentFormFieldSignature
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "signature";
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldSignature() {}
/**
@@ -93,6 +99,29 @@ public void setType(String type) {
this.type = type;
}
+ public TemplateResponseDocumentFormFieldSignature group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to
+ * `null` except for Radio fields.
+ *
+ * @return group
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getGroup() {
+ return group;
+ }
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
/** Return true if this TemplateResponseDocumentFormFieldSignature object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -105,12 +134,13 @@ public boolean equals(Object o) {
TemplateResponseDocumentFormFieldSignature templateResponseDocumentFormFieldSignature =
(TemplateResponseDocumentFormFieldSignature) o;
return Objects.equals(this.type, templateResponseDocumentFormFieldSignature.type)
+ && Objects.equals(this.group, templateResponseDocumentFormFieldSignature.group)
&& super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, super.hashCode());
+ return Objects.hash(type, group, super.hashCode());
}
@Override
@@ -119,6 +149,7 @@ public String toString() {
sb.append("class TemplateResponseDocumentFormFieldSignature {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -146,6 +177,24 @@ public Map createFormData() throws ApiException {
map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class)
+ || group.getClass().equals(Integer.class)
+ || group.getClass().equals(String.class)
+ || group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for (int i = 0; i < getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ } else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldText.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldText.java
index 070454b47..e7176f5ea 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldText.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldText.java
@@ -33,7 +33,8 @@
TemplateResponseDocumentFormFieldText.JSON_PROPERTY_IS_MULTILINE,
TemplateResponseDocumentFormFieldText.JSON_PROPERTY_ORIGINAL_FONT_SIZE,
TemplateResponseDocumentFormFieldText.JSON_PROPERTY_FONT_FAMILY,
- TemplateResponseDocumentFormFieldText.JSON_PROPERTY_VALIDATION_TYPE
+ TemplateResponseDocumentFormFieldText.JSON_PROPERTY_VALIDATION_TYPE,
+ TemplateResponseDocumentFormFieldText.JSON_PROPERTY_GROUP
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
@@ -118,6 +119,9 @@ public static ValidationTypeEnum fromValue(String value) {
public static final String JSON_PROPERTY_VALIDATION_TYPE = "validation_type";
private ValidationTypeEnum validationType;
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldText() {}
/**
@@ -178,14 +182,15 @@ public TemplateResponseDocumentFormFieldText avgTextLength(
*
* @return avgTextLength
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public TemplateResponseFieldAvgTextLength getAvgTextLength() {
return avgTextLength;
}
@JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAvgTextLength(TemplateResponseFieldAvgTextLength avgTextLength) {
this.avgTextLength = avgTextLength;
}
@@ -200,14 +205,15 @@ public TemplateResponseDocumentFormFieldText isMultiline(Boolean isMultiline) {
*
* @return isMultiline
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_MULTILINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_IS_MULTILINE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsMultiline() {
return isMultiline;
}
@JsonProperty(JSON_PROPERTY_IS_MULTILINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsMultiline(Boolean isMultiline) {
this.isMultiline = isMultiline;
}
@@ -222,14 +228,15 @@ public TemplateResponseDocumentFormFieldText originalFontSize(Integer originalFo
*
* @return originalFontSize
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getOriginalFontSize() {
return originalFontSize;
}
@JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setOriginalFontSize(Integer originalFontSize) {
this.originalFontSize = originalFontSize;
}
@@ -244,14 +251,15 @@ public TemplateResponseDocumentFormFieldText fontFamily(String fontFamily) {
*
* @return fontFamily
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FONT_FAMILY)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_FONT_FAMILY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getFontFamily() {
return fontFamily;
}
@JsonProperty(JSON_PROPERTY_FONT_FAMILY)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFontFamily(String fontFamily) {
this.fontFamily = fontFamily;
}
@@ -280,6 +288,29 @@ public void setValidationType(ValidationTypeEnum validationType) {
this.validationType = validationType;
}
+ public TemplateResponseDocumentFormFieldText group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to
+ * `null` except for Radio fields.
+ *
+ * @return group
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public String getGroup() {
+ return group;
+ }
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
/** Return true if this TemplateResponseDocumentFormFieldText object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -302,6 +333,7 @@ public boolean equals(Object o) {
&& Objects.equals(this.fontFamily, templateResponseDocumentFormFieldText.fontFamily)
&& Objects.equals(
this.validationType, templateResponseDocumentFormFieldText.validationType)
+ && Objects.equals(this.group, templateResponseDocumentFormFieldText.group)
&& super.equals(o);
}
@@ -314,6 +346,7 @@ public int hashCode() {
originalFontSize,
fontFamily,
validationType,
+ group,
super.hashCode());
}
@@ -328,6 +361,7 @@ public String toString() {
sb.append(" originalFontSize: ").append(toIndentedString(originalFontSize)).append("\n");
sb.append(" fontFamily: ").append(toIndentedString(fontFamily)).append("\n");
sb.append(" validationType: ").append(toIndentedString(validationType)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -455,6 +489,24 @@ public Map createFormData() throws ApiException {
JSON.getDefault().getMapper().writeValueAsString(validationType));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class)
+ || group.getClass().equals(Integer.class)
+ || group.getClass().equals(String.class)
+ || group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for (int i = 0; i < getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ } else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentStaticFieldBase.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentStaticFieldBase.java
index 164ee218b..6595dccd8 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentStaticFieldBase.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentStaticFieldBase.java
@@ -29,9 +29,9 @@
* An array describing static overlay fields. **NOTE:** Only available for certain subscriptions.
*/
@JsonPropertyOrder({
- TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_TYPE,
TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_API_ID,
TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_NAME,
+ TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_TYPE,
TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_SIGNER,
TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_X,
TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_Y,
@@ -74,15 +74,15 @@
@JsonSubTypes.Type(value = TemplateResponseDocumentStaticFieldText.class, name = "text"),
})
public class TemplateResponseDocumentStaticFieldBase {
- public static final String JSON_PROPERTY_TYPE = "type";
- private String type;
-
public static final String JSON_PROPERTY_API_ID = "api_id";
private String apiId;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
+ public static final String JSON_PROPERTY_TYPE = "type";
+ private String type;
+
public static final String JSON_PROPERTY_SIGNER = "signer";
private String signer = "me_now";
@@ -123,29 +123,6 @@ public static TemplateResponseDocumentStaticFieldBase init(HashMap data) throws
TemplateResponseDocumentStaticFieldBase.class);
}
- public TemplateResponseDocumentStaticFieldBase type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * Get type
- *
- * @return type
- */
- @javax.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public String getType() {
- return type;
- }
-
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setType(String type) {
- this.type = type;
- }
-
public TemplateResponseDocumentStaticFieldBase apiId(String apiId) {
this.apiId = apiId;
return this;
@@ -156,14 +133,15 @@ public TemplateResponseDocumentStaticFieldBase apiId(String apiId) {
*
* @return apiId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_API_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_API_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getApiId() {
return apiId;
}
@JsonProperty(JSON_PROPERTY_API_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setApiId(String apiId) {
this.apiId = apiId;
}
@@ -178,18 +156,42 @@ public TemplateResponseDocumentStaticFieldBase name(String name) {
*
* @return name
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
+ public TemplateResponseDocumentStaticFieldBase type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ *
+ * @return type
+ */
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public String getType() {
+ return type;
+ }
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(String type) {
+ this.type = type;
+ }
+
public TemplateResponseDocumentStaticFieldBase signer(String signer) {
this.signer = signer;
return this;
@@ -200,14 +202,15 @@ public TemplateResponseDocumentStaticFieldBase signer(String signer) {
*
* @return signer
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIGNER)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_SIGNER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getSigner() {
return signer;
}
@JsonProperty(JSON_PROPERTY_SIGNER)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setSigner(String signer) {
this.signer = signer;
}
@@ -222,14 +225,15 @@ public TemplateResponseDocumentStaticFieldBase x(Integer x) {
*
* @return x
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_X)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_X)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getX() {
return x;
}
@JsonProperty(JSON_PROPERTY_X)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setX(Integer x) {
this.x = x;
}
@@ -244,14 +248,15 @@ public TemplateResponseDocumentStaticFieldBase y(Integer y) {
*
* @return y
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_Y)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_Y)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getY() {
return y;
}
@JsonProperty(JSON_PROPERTY_Y)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setY(Integer y) {
this.y = y;
}
@@ -266,14 +271,15 @@ public TemplateResponseDocumentStaticFieldBase width(Integer width) {
*
* @return width
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WIDTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_WIDTH)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getWidth() {
return width;
}
@JsonProperty(JSON_PROPERTY_WIDTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setWidth(Integer width) {
this.width = width;
}
@@ -288,14 +294,15 @@ public TemplateResponseDocumentStaticFieldBase height(Integer height) {
*
* @return height
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_HEIGHT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_HEIGHT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getHeight() {
return height;
}
@JsonProperty(JSON_PROPERTY_HEIGHT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setHeight(Integer height) {
this.height = height;
}
@@ -310,14 +317,15 @@ public TemplateResponseDocumentStaticFieldBase required(Boolean required) {
*
* @return required
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_REQUIRED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_REQUIRED)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getRequired() {
return required;
}
@JsonProperty(JSON_PROPERTY_REQUIRED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setRequired(Boolean required) {
this.required = required;
}
@@ -356,9 +364,9 @@ public boolean equals(Object o) {
}
TemplateResponseDocumentStaticFieldBase templateResponseDocumentStaticFieldBase =
(TemplateResponseDocumentStaticFieldBase) o;
- return Objects.equals(this.type, templateResponseDocumentStaticFieldBase.type)
- && Objects.equals(this.apiId, templateResponseDocumentStaticFieldBase.apiId)
+ return Objects.equals(this.apiId, templateResponseDocumentStaticFieldBase.apiId)
&& Objects.equals(this.name, templateResponseDocumentStaticFieldBase.name)
+ && Objects.equals(this.type, templateResponseDocumentStaticFieldBase.type)
&& Objects.equals(this.signer, templateResponseDocumentStaticFieldBase.signer)
&& Objects.equals(this.x, templateResponseDocumentStaticFieldBase.x)
&& Objects.equals(this.y, templateResponseDocumentStaticFieldBase.y)
@@ -370,16 +378,16 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(type, apiId, name, signer, x, y, width, height, required, group);
+ return Objects.hash(apiId, name, type, signer, x, y, width, height, required, group);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TemplateResponseDocumentStaticFieldBase {\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" apiId: ").append(toIndentedString(apiId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" signer: ").append(toIndentedString(signer)).append("\n");
sb.append(" x: ").append(toIndentedString(x)).append("\n");
sb.append(" y: ").append(toIndentedString(y)).append("\n");
@@ -395,24 +403,6 @@ public Map createFormData() throws ApiException {
Map map = new HashMap<>();
boolean fileTypeFound = false;
try {
- if (type != null) {
- if (isFileTypeOrListOfFiles(type)) {
- fileTypeFound = true;
- }
-
- if (type.getClass().equals(java.io.File.class)
- || type.getClass().equals(Integer.class)
- || type.getClass().equals(String.class)
- || type.getClass().isEnum()) {
- map.put("type", type);
- } else if (isListOfFile(type)) {
- for (int i = 0; i < getListSize(type); i++) {
- map.put("type[" + i + "]", getFromList(type, i));
- }
- } else {
- map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
- }
- }
if (apiId != null) {
if (isFileTypeOrListOfFiles(apiId)) {
fileTypeFound = true;
@@ -449,6 +439,24 @@ public Map createFormData() throws ApiException {
map.put("name", JSON.getDefault().getMapper().writeValueAsString(name));
}
}
+ if (type != null) {
+ if (isFileTypeOrListOfFiles(type)) {
+ fileTypeFound = true;
+ }
+
+ if (type.getClass().equals(java.io.File.class)
+ || type.getClass().equals(Integer.class)
+ || type.getClass().equals(String.class)
+ || type.getClass().isEnum()) {
+ map.put("type", type);
+ } else if (isListOfFile(type)) {
+ for (int i = 0; i < getListSize(type); i++) {
+ map.put("type[" + i + "]", getFromList(type, i));
+ }
+ } else {
+ map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
+ }
+ }
if (signer != null) {
if (isFileTypeOrListOfFiles(signer)) {
fileTypeFound = true;
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseFieldAvgTextLength.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseFieldAvgTextLength.java
index b5a9afb52..375fc0737 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseFieldAvgTextLength.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseFieldAvgTextLength.java
@@ -67,14 +67,15 @@ public TemplateResponseFieldAvgTextLength numLines(Integer numLines) {
*
* @return numLines
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NUM_LINES)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_NUM_LINES)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getNumLines() {
return numLines;
}
@JsonProperty(JSON_PROPERTY_NUM_LINES)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setNumLines(Integer numLines) {
this.numLines = numLines;
}
@@ -89,14 +90,15 @@ public TemplateResponseFieldAvgTextLength numCharsPerLine(Integer numCharsPerLin
*
* @return numCharsPerLine
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NUM_CHARS_PER_LINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_NUM_CHARS_PER_LINE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getNumCharsPerLine() {
return numCharsPerLine;
}
@JsonProperty(JSON_PROPERTY_NUM_CHARS_PER_LINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setNumCharsPerLine(Integer numCharsPerLine) {
this.numCharsPerLine = numCharsPerLine;
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseSignerRole.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseSignerRole.java
index 4724f47e5..d6697fef8 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseSignerRole.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateResponseSignerRole.java
@@ -67,14 +67,15 @@ public TemplateResponseSignerRole name(String name) {
*
* @return name
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateUpdateFilesResponseTemplate.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateUpdateFilesResponseTemplate.java
index 08f0784e7..66a058873 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateUpdateFilesResponseTemplate.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateUpdateFilesResponseTemplate.java
@@ -69,14 +69,15 @@ public TemplateUpdateFilesResponseTemplate templateId(String templateId) {
*
* @return templateId
*/
- @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @javax.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTemplateId() {
return templateId;
}
@JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
diff --git a/sdks/java-v2/docs/TemplateCreateEmbeddedDraftResponseTemplate.md b/sdks/java-v2/docs/TemplateCreateEmbeddedDraftResponseTemplate.md
index 770cce434..224ec6c71 100644
--- a/sdks/java-v2/docs/TemplateCreateEmbeddedDraftResponseTemplate.md
+++ b/sdks/java-v2/docs/TemplateCreateEmbeddedDraftResponseTemplate.md
@@ -8,9 +8,9 @@ Template object with parameters: `template_id`, `edit_url`, `expires_at`.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `templateId` | ```String``` | The id of the Template. | |
-| `editUrl` | ```String``` | Link to edit the template. | |
-| `expiresAt` | ```Integer``` | When the link expires. | |
+| `templateId`*_required_ | ```String``` | The id of the Template. | |
+| `editUrl`*_required_ | ```String``` | Link to edit the template. | |
+| `expiresAt`*_required_ | ```Integer``` | When the link expires. | |
| `warnings` | [```List```](WarningResponse.md) | A list of warnings. | |
diff --git a/sdks/java-v2/docs/TemplateCreateResponseTemplate.md b/sdks/java-v2/docs/TemplateCreateResponseTemplate.md
index 1dcd4bd79..79801d898 100644
--- a/sdks/java-v2/docs/TemplateCreateResponseTemplate.md
+++ b/sdks/java-v2/docs/TemplateCreateResponseTemplate.md
@@ -8,7 +8,7 @@ Template object with parameters: `template_id`.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `templateId` | ```String``` | The id of the Template. | |
+| `templateId`*_required_ | ```String``` | The id of the Template. | |
diff --git a/sdks/java-v2/docs/TemplateResponse.md b/sdks/java-v2/docs/TemplateResponse.md
index 078685ff1..87d844276 100644
--- a/sdks/java-v2/docs/TemplateResponse.md
+++ b/sdks/java-v2/docs/TemplateResponse.md
@@ -8,21 +8,22 @@ Contains information about the templates you and your team have created.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `templateId` | ```String``` | The id of the Template. | |
-| `title` | ```String``` | The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | |
-| `message` | ```String``` | The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | |
+| `templateId`*_required_ | ```String``` | The id of the Template. | |
+| `title`*_required_ | ```String``` | The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | |
+| `message`*_required_ | ```String``` | The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | |
+| `isCreator`*_required_ | ```Boolean``` | `true` if you are the owner of this template, `false` if it's been shared with you by a team member. | |
+| `canEdit`*_required_ | ```Boolean``` | Indicates whether edit rights have been granted to you by the owner (always `true` if that's you). | |
+| `isLocked`*_required_ | ```Boolean``` | Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests. | |
+| `metadata`*_required_ | ```Object``` | The metadata attached to the template. | |
+| `signerRoles`*_required_ | [```List```](TemplateResponseSignerRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | |
+| `ccRoles`*_required_ | [```List```](TemplateResponseCCRole.md) | An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. | |
+| `documents`*_required_ | [```List```](TemplateResponseDocument.md) | An array describing each document associated with this Template. Includes form field data for each document. | |
+| `accounts`*_required_ | [```List```](TemplateResponseAccount.md) | An array of the Accounts that can use this Template. | |
+| `attachments`*_required_ | [```List```](SignatureRequestResponseAttachment.md) | Signer attachments. | |
| `updatedAt` | ```Integer``` | Time the template was last updated. | |
-| `isEmbedded` | ```Boolean``` | `true` if this template was created using an embedded flow, `false` if it was created on our website. | |
-| `isCreator` | ```Boolean``` | `true` if you are the owner of this template, `false` if it's been shared with you by a team member. | |
-| `canEdit` | ```Boolean``` | Indicates whether edit rights have been granted to you by the owner (always `true` if that's you). | |
-| `isLocked` | ```Boolean``` | Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests. | |
-| `metadata` | ```Object``` | The metadata attached to the template. | |
-| `signerRoles` | [```List```](TemplateResponseSignerRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | |
-| `ccRoles` | [```List```](TemplateResponseCCRole.md) | An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. | |
-| `documents` | [```List```](TemplateResponseDocument.md) | An array describing each document associated with this Template. Includes form field data for each document. | |
+| `isEmbedded` | ```Boolean``` | `true` if this template was created using an embedded flow, `false` if it was created on our website. Will be `null` when you are not the creator of the Template. | |
| `customFields` | [```List```](TemplateResponseDocumentCustomFieldBase.md) | Deprecated. Use `custom_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead. | |
| `namedFormFields` | [```List```](TemplateResponseDocumentFormFieldBase.md) | Deprecated. Use `form_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead. | |
-| `accounts` | [```List```](TemplateResponseAccount.md) | An array of the Accounts that can use this Template. | |
diff --git a/sdks/java-v2/docs/TemplateResponseAccount.md b/sdks/java-v2/docs/TemplateResponseAccount.md
index 10c996408..dd8ebce7f 100644
--- a/sdks/java-v2/docs/TemplateResponseAccount.md
+++ b/sdks/java-v2/docs/TemplateResponseAccount.md
@@ -8,12 +8,12 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `accountId` | ```String``` | The id of the Account. | |
+| `accountId`*_required_ | ```String``` | The id of the Account. | |
+| `isLocked`*_required_ | ```Boolean``` | Returns `true` if the user has been locked out of their account by a team admin. | |
+| `isPaidHs`*_required_ | ```Boolean``` | Returns `true` if the user has a paid Dropbox Sign account. | |
+| `isPaidHf`*_required_ | ```Boolean``` | Returns `true` if the user has a paid HelloFax account. | |
+| `quotas`*_required_ | [```TemplateResponseAccountQuota```](TemplateResponseAccountQuota.md) | | |
| `emailAddress` | ```String``` | The email address associated with the Account. | |
-| `isLocked` | ```Boolean``` | Returns `true` if the user has been locked out of their account by a team admin. | |
-| `isPaidHs` | ```Boolean``` | Returns `true` if the user has a paid Dropbox Sign account. | |
-| `isPaidHf` | ```Boolean``` | Returns `true` if the user has a paid HelloFax account. | |
-| `quotas` | [```TemplateResponseAccountQuota```](TemplateResponseAccountQuota.md) | | |
diff --git a/sdks/java-v2/docs/TemplateResponseAccountQuota.md b/sdks/java-v2/docs/TemplateResponseAccountQuota.md
index ad94c2493..72160ca8f 100644
--- a/sdks/java-v2/docs/TemplateResponseAccountQuota.md
+++ b/sdks/java-v2/docs/TemplateResponseAccountQuota.md
@@ -8,10 +8,10 @@ An array of the designated CC roles that must be specified when sending a Signat
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `templatesLeft` | ```Integer``` | API templates remaining. | |
-| `apiSignatureRequestsLeft` | ```Integer``` | API signature requests remaining. | |
-| `documentsLeft` | ```Integer``` | Signature requests remaining. | |
-| `smsVerificationsLeft` | ```Integer``` | SMS verifications remaining. | |
+| `templatesLeft`*_required_ | ```Integer``` | API templates remaining. | |
+| `apiSignatureRequestsLeft`*_required_ | ```Integer``` | API signature requests remaining. | |
+| `documentsLeft`*_required_ | ```Integer``` | Signature requests remaining. | |
+| `smsVerificationsLeft`*_required_ | ```Integer``` | SMS verifications remaining. | |
diff --git a/sdks/java-v2/docs/TemplateResponseCCRole.md b/sdks/java-v2/docs/TemplateResponseCCRole.md
index 64069b826..06e61bff4 100644
--- a/sdks/java-v2/docs/TemplateResponseCCRole.md
+++ b/sdks/java-v2/docs/TemplateResponseCCRole.md
@@ -8,7 +8,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `name` | ```String``` | The name of the Role. | |
+| `name`*_required_ | ```String``` | The name of the Role. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocument.md b/sdks/java-v2/docs/TemplateResponseDocument.md
index 65da85d42..cb69a481f 100644
--- a/sdks/java-v2/docs/TemplateResponseDocument.md
+++ b/sdks/java-v2/docs/TemplateResponseDocument.md
@@ -8,12 +8,12 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `name` | ```String``` | Name of the associated file. | |
+| `name`*_required_ | ```String``` | Name of the associated file. | |
+| `fieldGroups`*_required_ | [```List```](TemplateResponseDocumentFieldGroup.md) | An array of Form Field Group objects. | |
+| `formFields`*_required_ | [```List```](TemplateResponseDocumentFormFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | |
+| `customFields`*_required_ | [```List```](TemplateResponseDocumentCustomFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | |
+| `staticFields`*_required_ | [```List```](TemplateResponseDocumentStaticFieldBase.md) | An array describing static overlay fields. **NOTE:** Only available for certain subscriptions. | |
| `index` | ```Integer``` | Document ordering, the lowest index is displayed first and the highest last (0-based indexing). | |
-| `fieldGroups` | [```List```](TemplateResponseDocumentFieldGroup.md) | An array of Form Field Group objects. | |
-| `formFields` | [```List```](TemplateResponseDocumentFormFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | |
-| `customFields` | [```List```](TemplateResponseDocumentCustomFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | |
-| `staticFields` | [```List```](TemplateResponseDocumentStaticFieldBase.md) | An array describing static overlay fields. **NOTE:** Only available for certain subscriptions. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentCustomFieldBase.md b/sdks/java-v2/docs/TemplateResponseDocumentCustomFieldBase.md
index edd461727..c7c7f8264 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentCustomFieldBase.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentCustomFieldBase.md
@@ -8,15 +8,15 @@ An array of Form Field objects containing the name and type of each named field.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
+| `apiId`*_required_ | ```String``` | The unique ID for this field. | |
+| `name`*_required_ | ```String``` | The name of the Custom Field. | |
| `type`*_required_ | ```String``` | | |
-| `apiId` | ```String``` | The unique ID for this field. | |
-| `name` | ```String``` | The name of the Custom Field. | |
+| `x`*_required_ | ```Integer``` | The horizontal offset in pixels for this form field. | |
+| `y`*_required_ | ```Integer``` | The vertical offset in pixels for this form field. | |
+| `width`*_required_ | ```Integer``` | The width in pixels of this form field. | |
+| `height`*_required_ | ```Integer``` | The height in pixels of this form field. | |
+| `required`*_required_ | ```Boolean``` | Boolean showing whether or not this field is required. | |
| `signer` | ```String``` | The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender). | |
-| `x` | ```Integer``` | The horizontal offset in pixels for this form field. | |
-| `y` | ```Integer``` | The vertical offset in pixels for this form field. | |
-| `width` | ```Integer``` | The width in pixels of this form field. | |
-| `height` | ```Integer``` | The height in pixels of this form field. | |
-| `required` | ```Boolean``` | Boolean showing whether or not this field is required. | |
| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null`. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentCustomFieldText.md b/sdks/java-v2/docs/TemplateResponseDocumentCustomFieldText.md
index ccaf19394..70c991777 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentCustomFieldText.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentCustomFieldText.md
@@ -9,10 +9,10 @@ This class extends `TemplateResponseDocumentCustomFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this Custom Field. Only `text` and `checkbox` are currently supported.
* Text uses `TemplateResponseDocumentCustomFieldText`
* Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox` | |
-| `avgTextLength` | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
-| `isMultiline` | ```Boolean``` | Whether this form field is multiline text. | |
-| `originalFontSize` | ```Integer``` | Original font size used in this form field's text. | |
-| `fontFamily` | ```String``` | Font family used in this form field's text. | |
+| `avgTextLength`*_required_ | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
+| `isMultiline`*_required_ | ```Boolean``` | Whether this form field is multiline text. | |
+| `originalFontSize`*_required_ | ```Integer``` | Original font size used in this form field's text. | |
+| `fontFamily`*_required_ | ```String``` | Font family used in this form field's text. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentFieldGroup.md b/sdks/java-v2/docs/TemplateResponseDocumentFieldGroup.md
index 03b5ffbb8..7dd066f54 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentFieldGroup.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentFieldGroup.md
@@ -8,8 +8,8 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `name` | ```String``` | The name of the form field group. | |
-| `rule` | [```TemplateResponseDocumentFieldGroupRule```](TemplateResponseDocumentFieldGroupRule.md) | | |
+| `name`*_required_ | ```String``` | The name of the form field group. | |
+| `rule`*_required_ | [```TemplateResponseDocumentFieldGroupRule```](TemplateResponseDocumentFieldGroupRule.md) | | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentFieldGroupRule.md b/sdks/java-v2/docs/TemplateResponseDocumentFieldGroupRule.md
index e0f4dcc8a..59d4e5e06 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentFieldGroupRule.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentFieldGroupRule.md
@@ -8,8 +8,8 @@ The rule used to validate checkboxes in the form field group. See [checkbox fiel
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `requirement` | ```String``` | 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. | |
-| `groupLabel` | ```String``` | Name of the group | |
+| `requirement`*_required_ | ```String``` | 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. | |
+| `groupLabel`*_required_ | ```String``` | Name of the group | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldBase.md b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldBase.md
index 656070ad4..8d8766339 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldBase.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldBase.md
@@ -8,16 +8,15 @@ An array of Form Field objects containing the name and type of each named field.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
+| `apiId`*_required_ | ```String``` | A unique id for the form field. | |
+| `name`*_required_ | ```String``` | The name of the form field. | |
| `type`*_required_ | ```String``` | | |
-| `apiId` | ```String``` | A unique id for the form field. | |
-| `name` | ```String``` | The name of the form field. | |
-| `signer` | ```String``` | The signer of the Form Field. | |
-| `x` | ```Integer``` | The horizontal offset in pixels for this form field. | |
-| `y` | ```Integer``` | The vertical offset in pixels for this form field. | |
-| `width` | ```Integer``` | The width in pixels of this form field. | |
-| `height` | ```Integer``` | The height in pixels of this form field. | |
-| `required` | ```Boolean``` | Boolean showing whether or not this field is required. | |
-| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
+| `signer`*_required_ | ```String``` | The signer of the Form Field. | |
+| `x`*_required_ | ```Integer``` | The horizontal offset in pixels for this form field. | |
+| `y`*_required_ | ```Integer``` | The vertical offset in pixels for this form field. | |
+| `width`*_required_ | ```Integer``` | The width in pixels of this form field. | |
+| `height`*_required_ | ```Integer``` | The height in pixels of this form field. | |
+| `required`*_required_ | ```Boolean``` | Boolean showing whether or not this field is required. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldCheckbox.md b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldCheckbox.md
index 83d36e0f1..a7f2cadeb 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldCheckbox.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldCheckbox.md
@@ -9,6 +9,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldDateSigned.md b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldDateSigned.md
index 5ba66eff9..09b45eec7 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldDateSigned.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldDateSigned.md
@@ -9,6 +9,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldDropdown.md b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldDropdown.md
index b4f2030fc..70e5da455 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldDropdown.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldDropdown.md
@@ -9,6 +9,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldHyperlink.md b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldHyperlink.md
index 0cf89df5e..104029730 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldHyperlink.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldHyperlink.md
@@ -9,10 +9,11 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
-| `avgTextLength` | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
-| `isMultiline` | ```Boolean``` | Whether this form field is multiline text. | |
-| `originalFontSize` | ```Integer``` | Original font size used in this form field's text. | |
-| `fontFamily` | ```String``` | Font family used in this form field's text. | |
+| `avgTextLength`*_required_ | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
+| `isMultiline`*_required_ | ```Boolean``` | Whether this form field is multiline text. | |
+| `originalFontSize`*_required_ | ```Integer``` | Original font size used in this form field's text. | |
+| `fontFamily`*_required_ | ```String``` | Font family used in this form field's text. | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldInitials.md b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldInitials.md
index 707d67ee2..f1fe1f5b5 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldInitials.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldInitials.md
@@ -9,6 +9,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldRadio.md b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldRadio.md
index b83d96d53..877b842a2 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldRadio.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldRadio.md
@@ -9,6 +9,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
+| `group`*_required_ | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldSignature.md b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldSignature.md
index 8be298793..366aaa9b4 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldSignature.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldSignature.md
@@ -9,6 +9,7 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldText.md b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldText.md
index 3581d3855..31520bd6f 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentFormFieldText.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentFormFieldText.md
@@ -9,11 +9,12 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| `type`*_required_ | ```String``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | |
-| `avgTextLength` | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
-| `isMultiline` | ```Boolean``` | Whether this form field is multiline text. | |
-| `originalFontSize` | ```Integer``` | Original font size used in this form field's text. | |
-| `fontFamily` | ```String``` | Font family used in this form field's text. | |
+| `avgTextLength`*_required_ | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
+| `isMultiline`*_required_ | ```Boolean``` | Whether this form field is multiline text. | |
+| `originalFontSize`*_required_ | ```Integer``` | Original font size used in this form field's text. | |
+| `fontFamily`*_required_ | ```String``` | Font family used in this form field's text. | |
| `validationType` | [```ValidationTypeEnum```](#ValidationTypeEnum) | Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values. | |
+| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
diff --git a/sdks/java-v2/docs/TemplateResponseDocumentStaticFieldBase.md b/sdks/java-v2/docs/TemplateResponseDocumentStaticFieldBase.md
index 4be3cf070..f52329b04 100644
--- a/sdks/java-v2/docs/TemplateResponseDocumentStaticFieldBase.md
+++ b/sdks/java-v2/docs/TemplateResponseDocumentStaticFieldBase.md
@@ -8,15 +8,15 @@ An array describing static overlay fields. **NOTE:** Only available for certain
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
+| `apiId`*_required_ | ```String``` | A unique id for the static field. | |
+| `name`*_required_ | ```String``` | The name of the static field. | |
| `type`*_required_ | ```String``` | | |
-| `apiId` | ```String``` | A unique id for the static field. | |
-| `name` | ```String``` | The name of the static field. | |
-| `signer` | ```String``` | The signer of the Static Field. | |
-| `x` | ```Integer``` | The horizontal offset in pixels for this static field. | |
-| `y` | ```Integer``` | The vertical offset in pixels for this static field. | |
-| `width` | ```Integer``` | The width in pixels of this static field. | |
-| `height` | ```Integer``` | The height in pixels of this static field. | |
-| `required` | ```Boolean``` | Boolean showing whether or not this field is required. | |
+| `signer`*_required_ | ```String``` | The signer of the Static Field. | |
+| `x`*_required_ | ```Integer``` | The horizontal offset in pixels for this static field. | |
+| `y`*_required_ | ```Integer``` | The vertical offset in pixels for this static field. | |
+| `width`*_required_ | ```Integer``` | The width in pixels of this static field. | |
+| `height`*_required_ | ```Integer``` | The height in pixels of this static field. | |
+| `required`*_required_ | ```Boolean``` | Boolean showing whether or not this field is required. | |
| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null`. | |
diff --git a/sdks/java-v2/docs/TemplateResponseFieldAvgTextLength.md b/sdks/java-v2/docs/TemplateResponseFieldAvgTextLength.md
index bb66f3057..f0d2106b0 100644
--- a/sdks/java-v2/docs/TemplateResponseFieldAvgTextLength.md
+++ b/sdks/java-v2/docs/TemplateResponseFieldAvgTextLength.md
@@ -8,8 +8,8 @@ Average text length in this field.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `numLines` | ```Integer``` | Number of lines. | |
-| `numCharsPerLine` | ```Integer``` | Number of characters per line. | |
+| `numLines`*_required_ | ```Integer``` | Number of lines. | |
+| `numCharsPerLine`*_required_ | ```Integer``` | Number of characters per line. | |
diff --git a/sdks/java-v2/docs/TemplateResponseSignerRole.md b/sdks/java-v2/docs/TemplateResponseSignerRole.md
index 15b48cf17..08458f4e0 100644
--- a/sdks/java-v2/docs/TemplateResponseSignerRole.md
+++ b/sdks/java-v2/docs/TemplateResponseSignerRole.md
@@ -8,7 +8,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `name` | ```String``` | The name of the Role. | |
+| `name`*_required_ | ```String``` | The name of the Role. | |
| `order` | ```Integer``` | If signer order is assigned this is the 0-based index for this role. | |
diff --git a/sdks/java-v2/docs/TemplateUpdateFilesResponseTemplate.md b/sdks/java-v2/docs/TemplateUpdateFilesResponseTemplate.md
index 6289a9953..7acdbb340 100644
--- a/sdks/java-v2/docs/TemplateUpdateFilesResponseTemplate.md
+++ b/sdks/java-v2/docs/TemplateUpdateFilesResponseTemplate.md
@@ -8,7 +8,7 @@ Contains template id
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-| `templateId` | ```String``` | The id of the Template. | |
+| `templateId`*_required_ | ```String``` | The id of the Template. | |
| `warnings` | [```List```](WarningResponse.md) | A list of warnings. | |
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftResponseTemplate.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftResponseTemplate.java
index f9c0286ac..d0d6ca141 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftResponseTemplate.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftResponseTemplate.java
@@ -84,9 +84,9 @@ public TemplateCreateEmbeddedDraftResponseTemplate templateId(String templateId)
* The id of the Template.
* @return templateId
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTemplateId() {
return templateId;
@@ -94,7 +94,7 @@ public String getTemplateId() {
@JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
@@ -109,9 +109,9 @@ public TemplateCreateEmbeddedDraftResponseTemplate editUrl(String editUrl) {
* Link to edit the template.
* @return editUrl
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_EDIT_URL)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getEditUrl() {
return editUrl;
@@ -119,7 +119,7 @@ public String getEditUrl() {
@JsonProperty(JSON_PROPERTY_EDIT_URL)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEditUrl(String editUrl) {
this.editUrl = editUrl;
}
@@ -134,9 +134,9 @@ public TemplateCreateEmbeddedDraftResponseTemplate expiresAt(Integer expiresAt)
* When the link expires.
* @return expiresAt
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_EXPIRES_AT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getExpiresAt() {
return expiresAt;
@@ -144,7 +144,7 @@ public Integer getExpiresAt() {
@JsonProperty(JSON_PROPERTY_EXPIRES_AT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setExpiresAt(Integer expiresAt) {
this.expiresAt = expiresAt;
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateResponseTemplate.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateResponseTemplate.java
index 6d668fd69..d070cfa45 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateResponseTemplate.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateResponseTemplate.java
@@ -68,9 +68,9 @@ public TemplateCreateResponseTemplate templateId(String templateId) {
* The id of the Template.
* @return templateId
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTemplateId() {
return templateId;
@@ -78,7 +78,7 @@ public String getTemplateId() {
@JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponse.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponse.java
index 577975bea..7f664e0d1 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponse.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponse.java
@@ -16,6 +16,7 @@
import java.util.Objects;
import java.util.Map;
import java.util.HashMap;
+import com.dropbox.sign.model.SignatureRequestResponseAttachment;
import com.dropbox.sign.model.TemplateResponseAccount;
import com.dropbox.sign.model.TemplateResponseCCRole;
import com.dropbox.sign.model.TemplateResponseDocument;
@@ -44,8 +45,6 @@
TemplateResponse.JSON_PROPERTY_TEMPLATE_ID,
TemplateResponse.JSON_PROPERTY_TITLE,
TemplateResponse.JSON_PROPERTY_MESSAGE,
- TemplateResponse.JSON_PROPERTY_UPDATED_AT,
- TemplateResponse.JSON_PROPERTY_IS_EMBEDDED,
TemplateResponse.JSON_PROPERTY_IS_CREATOR,
TemplateResponse.JSON_PROPERTY_CAN_EDIT,
TemplateResponse.JSON_PROPERTY_IS_LOCKED,
@@ -53,9 +52,12 @@
TemplateResponse.JSON_PROPERTY_SIGNER_ROLES,
TemplateResponse.JSON_PROPERTY_CC_ROLES,
TemplateResponse.JSON_PROPERTY_DOCUMENTS,
+ TemplateResponse.JSON_PROPERTY_ACCOUNTS,
+ TemplateResponse.JSON_PROPERTY_ATTACHMENTS,
+ TemplateResponse.JSON_PROPERTY_UPDATED_AT,
+ TemplateResponse.JSON_PROPERTY_IS_EMBEDDED,
TemplateResponse.JSON_PROPERTY_CUSTOM_FIELDS,
- TemplateResponse.JSON_PROPERTY_NAMED_FORM_FIELDS,
- TemplateResponse.JSON_PROPERTY_ACCOUNTS
+ TemplateResponse.JSON_PROPERTY_NAMED_FORM_FIELDS
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@JsonIgnoreProperties(ignoreUnknown=true)
@@ -69,12 +71,6 @@ public class TemplateResponse {
public static final String JSON_PROPERTY_MESSAGE = "message";
private String message;
- public static final String JSON_PROPERTY_UPDATED_AT = "updated_at";
- private Integer updatedAt;
-
- public static final String JSON_PROPERTY_IS_EMBEDDED = "is_embedded";
- private Boolean isEmbedded;
-
public static final String JSON_PROPERTY_IS_CREATOR = "is_creator";
private Boolean isCreator;
@@ -88,13 +84,25 @@ public class TemplateResponse {
private Object metadata;
public static final String JSON_PROPERTY_SIGNER_ROLES = "signer_roles";
- private List signerRoles = null;
+ private List signerRoles = new ArrayList<>();
public static final String JSON_PROPERTY_CC_ROLES = "cc_roles";
- private List ccRoles = null;
+ private List ccRoles = new ArrayList<>();
public static final String JSON_PROPERTY_DOCUMENTS = "documents";
- private List documents = null;
+ private List documents = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_ACCOUNTS = "accounts";
+ private List accounts = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_ATTACHMENTS = "attachments";
+ private List attachments = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_UPDATED_AT = "updated_at";
+ private Integer updatedAt;
+
+ public static final String JSON_PROPERTY_IS_EMBEDDED = "is_embedded";
+ private Boolean isEmbedded;
public static final String JSON_PROPERTY_CUSTOM_FIELDS = "custom_fields";
@Deprecated
@@ -104,9 +112,6 @@ public class TemplateResponse {
@Deprecated
private List namedFormFields = null;
- public static final String JSON_PROPERTY_ACCOUNTS = "accounts";
- private List accounts = null;
-
public TemplateResponse() {
}
@@ -134,9 +139,9 @@ public TemplateResponse templateId(String templateId) {
* The id of the Template.
* @return templateId
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTemplateId() {
return templateId;
@@ -144,7 +149,7 @@ public String getTemplateId() {
@JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
@@ -159,9 +164,9 @@ public TemplateResponse title(String title) {
* The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest.
* @return title
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_TITLE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTitle() {
return title;
@@ -169,7 +174,7 @@ public String getTitle() {
@JsonProperty(JSON_PROPERTY_TITLE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTitle(String title) {
this.title = title;
}
@@ -184,9 +189,9 @@ public TemplateResponse message(String message) {
* The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest.
* @return message
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_MESSAGE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getMessage() {
return message;
@@ -194,62 +199,12 @@ public String getMessage() {
@JsonProperty(JSON_PROPERTY_MESSAGE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setMessage(String message) {
this.message = message;
}
- public TemplateResponse updatedAt(Integer updatedAt) {
- this.updatedAt = updatedAt;
- return this;
- }
-
- /**
- * Time the template was last updated.
- * @return updatedAt
- */
- @jakarta.annotation.Nullable
- @JsonProperty(JSON_PROPERTY_UPDATED_AT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
-
- public Integer getUpdatedAt() {
- return updatedAt;
- }
-
-
- @JsonProperty(JSON_PROPERTY_UPDATED_AT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setUpdatedAt(Integer updatedAt) {
- this.updatedAt = updatedAt;
- }
-
-
- public TemplateResponse isEmbedded(Boolean isEmbedded) {
- this.isEmbedded = isEmbedded;
- return this;
- }
-
- /**
- * `true` if this template was created using an embedded flow, `false` if it was created on our website.
- * @return isEmbedded
- */
- @jakarta.annotation.Nullable
- @JsonProperty(JSON_PROPERTY_IS_EMBEDDED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
-
- public Boolean getIsEmbedded() {
- return isEmbedded;
- }
-
-
- @JsonProperty(JSON_PROPERTY_IS_EMBEDDED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setIsEmbedded(Boolean isEmbedded) {
- this.isEmbedded = isEmbedded;
- }
-
-
public TemplateResponse isCreator(Boolean isCreator) {
this.isCreator = isCreator;
return this;
@@ -259,9 +214,9 @@ public TemplateResponse isCreator(Boolean isCreator) {
* `true` if you are the owner of this template, `false` if it's been shared with you by a team member.
* @return isCreator
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_IS_CREATOR)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsCreator() {
return isCreator;
@@ -269,7 +224,7 @@ public Boolean getIsCreator() {
@JsonProperty(JSON_PROPERTY_IS_CREATOR)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsCreator(Boolean isCreator) {
this.isCreator = isCreator;
}
@@ -284,9 +239,9 @@ public TemplateResponse canEdit(Boolean canEdit) {
* Indicates whether edit rights have been granted to you by the owner (always `true` if that's you).
* @return canEdit
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_CAN_EDIT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getCanEdit() {
return canEdit;
@@ -294,7 +249,7 @@ public Boolean getCanEdit() {
@JsonProperty(JSON_PROPERTY_CAN_EDIT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setCanEdit(Boolean canEdit) {
this.canEdit = canEdit;
}
@@ -309,9 +264,9 @@ public TemplateResponse isLocked(Boolean isLocked) {
* Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests.
* @return isLocked
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_IS_LOCKED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsLocked() {
return isLocked;
@@ -319,7 +274,7 @@ public Boolean getIsLocked() {
@JsonProperty(JSON_PROPERTY_IS_LOCKED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsLocked(Boolean isLocked) {
this.isLocked = isLocked;
}
@@ -334,9 +289,9 @@ public TemplateResponse metadata(Object metadata) {
* The metadata attached to the template.
* @return metadata
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_METADATA)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Object getMetadata() {
return metadata;
@@ -344,7 +299,7 @@ public Object getMetadata() {
@JsonProperty(JSON_PROPERTY_METADATA)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setMetadata(Object metadata) {
this.metadata = metadata;
}
@@ -367,9 +322,9 @@ public TemplateResponse addSignerRolesItem(TemplateResponseSignerRole signerRole
* An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template.
* @return signerRoles
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_SIGNER_ROLES)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getSignerRoles() {
return signerRoles;
@@ -377,7 +332,7 @@ public List getSignerRoles() {
@JsonProperty(JSON_PROPERTY_SIGNER_ROLES)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setSignerRoles(List signerRoles) {
this.signerRoles = signerRoles;
}
@@ -400,9 +355,9 @@ public TemplateResponse addCcRolesItem(TemplateResponseCCRole ccRolesItem) {
* An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template.
* @return ccRoles
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_CC_ROLES)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getCcRoles() {
return ccRoles;
@@ -410,7 +365,7 @@ public List getCcRoles() {
@JsonProperty(JSON_PROPERTY_CC_ROLES)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setCcRoles(List ccRoles) {
this.ccRoles = ccRoles;
}
@@ -433,9 +388,9 @@ public TemplateResponse addDocumentsItem(TemplateResponseDocument documentsItem)
* An array describing each document associated with this Template. Includes form field data for each document.
* @return documents
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_DOCUMENTS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getDocuments() {
return documents;
@@ -443,12 +398,128 @@ public List getDocuments() {
@JsonProperty(JSON_PROPERTY_DOCUMENTS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDocuments(List documents) {
this.documents = documents;
}
+ public TemplateResponse accounts(List accounts) {
+ this.accounts = accounts;
+ return this;
+ }
+
+ public TemplateResponse addAccountsItem(TemplateResponseAccount accountsItem) {
+ if (this.accounts == null) {
+ this.accounts = new ArrayList<>();
+ }
+ this.accounts.add(accountsItem);
+ return this;
+ }
+
+ /**
+ * An array of the Accounts that can use this Template.
+ * @return accounts
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ACCOUNTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public List getAccounts() {
+ return accounts;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_ACCOUNTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAccounts(List accounts) {
+ this.accounts = accounts;
+ }
+
+
+ public TemplateResponse attachments(List attachments) {
+ this.attachments = attachments;
+ return this;
+ }
+
+ public TemplateResponse addAttachmentsItem(SignatureRequestResponseAttachment attachmentsItem) {
+ if (this.attachments == null) {
+ this.attachments = new ArrayList<>();
+ }
+ this.attachments.add(attachmentsItem);
+ return this;
+ }
+
+ /**
+ * Signer attachments.
+ * @return attachments
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_ATTACHMENTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public List getAttachments() {
+ return attachments;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_ATTACHMENTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAttachments(List attachments) {
+ this.attachments = attachments;
+ }
+
+
+ public TemplateResponse updatedAt(Integer updatedAt) {
+ this.updatedAt = updatedAt;
+ return this;
+ }
+
+ /**
+ * Time the template was last updated.
+ * @return updatedAt
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_UPDATED_AT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public Integer getUpdatedAt() {
+ return updatedAt;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_UPDATED_AT)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setUpdatedAt(Integer updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
+
+ public TemplateResponse isEmbedded(Boolean isEmbedded) {
+ this.isEmbedded = isEmbedded;
+ return this;
+ }
+
+ /**
+ * `true` if this template was created using an embedded flow, `false` if it was created on our website. Will be `null` when you are not the creator of the Template.
+ * @return isEmbedded
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_IS_EMBEDDED)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public Boolean getIsEmbedded() {
+ return isEmbedded;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_IS_EMBEDDED)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIsEmbedded(Boolean isEmbedded) {
+ this.isEmbedded = isEmbedded;
+ }
+
+
@Deprecated
public TemplateResponse customFields(List customFields) {
this.customFields = customFields;
@@ -523,39 +594,6 @@ public void setNamedFormFields(List named
}
- public TemplateResponse accounts(List accounts) {
- this.accounts = accounts;
- return this;
- }
-
- public TemplateResponse addAccountsItem(TemplateResponseAccount accountsItem) {
- if (this.accounts == null) {
- this.accounts = new ArrayList<>();
- }
- this.accounts.add(accountsItem);
- return this;
- }
-
- /**
- * An array of the Accounts that can use this Template.
- * @return accounts
- */
- @jakarta.annotation.Nullable
- @JsonProperty(JSON_PROPERTY_ACCOUNTS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
-
- public List getAccounts() {
- return accounts;
- }
-
-
- @JsonProperty(JSON_PROPERTY_ACCOUNTS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setAccounts(List accounts) {
- this.accounts = accounts;
- }
-
-
/**
* Return true if this TemplateResponse object is equal to o.
*/
@@ -571,8 +609,6 @@ public boolean equals(Object o) {
return Objects.equals(this.templateId, templateResponse.templateId) &&
Objects.equals(this.title, templateResponse.title) &&
Objects.equals(this.message, templateResponse.message) &&
- Objects.equals(this.updatedAt, templateResponse.updatedAt) &&
- Objects.equals(this.isEmbedded, templateResponse.isEmbedded) &&
Objects.equals(this.isCreator, templateResponse.isCreator) &&
Objects.equals(this.canEdit, templateResponse.canEdit) &&
Objects.equals(this.isLocked, templateResponse.isLocked) &&
@@ -580,14 +616,17 @@ public boolean equals(Object o) {
Objects.equals(this.signerRoles, templateResponse.signerRoles) &&
Objects.equals(this.ccRoles, templateResponse.ccRoles) &&
Objects.equals(this.documents, templateResponse.documents) &&
+ Objects.equals(this.accounts, templateResponse.accounts) &&
+ Objects.equals(this.attachments, templateResponse.attachments) &&
+ Objects.equals(this.updatedAt, templateResponse.updatedAt) &&
+ Objects.equals(this.isEmbedded, templateResponse.isEmbedded) &&
Objects.equals(this.customFields, templateResponse.customFields) &&
- Objects.equals(this.namedFormFields, templateResponse.namedFormFields) &&
- Objects.equals(this.accounts, templateResponse.accounts);
+ Objects.equals(this.namedFormFields, templateResponse.namedFormFields);
}
@Override
public int hashCode() {
- return Objects.hash(templateId, title, message, updatedAt, isEmbedded, isCreator, canEdit, isLocked, metadata, signerRoles, ccRoles, documents, customFields, namedFormFields, accounts);
+ return Objects.hash(templateId, title, message, isCreator, canEdit, isLocked, metadata, signerRoles, ccRoles, documents, accounts, attachments, updatedAt, isEmbedded, customFields, namedFormFields);
}
@Override
@@ -597,8 +636,6 @@ public String toString() {
sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n");
sb.append(" title: ").append(toIndentedString(title)).append("\n");
sb.append(" message: ").append(toIndentedString(message)).append("\n");
- sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
- sb.append(" isEmbedded: ").append(toIndentedString(isEmbedded)).append("\n");
sb.append(" isCreator: ").append(toIndentedString(isCreator)).append("\n");
sb.append(" canEdit: ").append(toIndentedString(canEdit)).append("\n");
sb.append(" isLocked: ").append(toIndentedString(isLocked)).append("\n");
@@ -606,9 +643,12 @@ public String toString() {
sb.append(" signerRoles: ").append(toIndentedString(signerRoles)).append("\n");
sb.append(" ccRoles: ").append(toIndentedString(ccRoles)).append("\n");
sb.append(" documents: ").append(toIndentedString(documents)).append("\n");
+ sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
+ sb.append(" attachments: ").append(toIndentedString(attachments)).append("\n");
+ sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
+ sb.append(" isEmbedded: ").append(toIndentedString(isEmbedded)).append("\n");
sb.append(" customFields: ").append(toIndentedString(customFields)).append("\n");
sb.append(" namedFormFields: ").append(toIndentedString(namedFormFields)).append("\n");
- sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -674,44 +714,6 @@ public Map createFormData() throws ApiException {
map.put("message", JSON.getDefault().getMapper().writeValueAsString(message));
}
}
- if (updatedAt != null) {
- if (isFileTypeOrListOfFiles(updatedAt)) {
- fileTypeFound = true;
- }
-
- if (updatedAt.getClass().equals(java.io.File.class) ||
- updatedAt.getClass().equals(Integer.class) ||
- updatedAt.getClass().equals(String.class) ||
- updatedAt.getClass().isEnum()) {
- map.put("updated_at", updatedAt);
- } else if (isListOfFile(updatedAt)) {
- for(int i = 0; i< getListSize(updatedAt); i++) {
- map.put("updated_at[" + i + "]", getFromList(updatedAt, i));
- }
- }
- else {
- map.put("updated_at", JSON.getDefault().getMapper().writeValueAsString(updatedAt));
- }
- }
- if (isEmbedded != null) {
- if (isFileTypeOrListOfFiles(isEmbedded)) {
- fileTypeFound = true;
- }
-
- if (isEmbedded.getClass().equals(java.io.File.class) ||
- isEmbedded.getClass().equals(Integer.class) ||
- isEmbedded.getClass().equals(String.class) ||
- isEmbedded.getClass().isEnum()) {
- map.put("is_embedded", isEmbedded);
- } else if (isListOfFile(isEmbedded)) {
- for(int i = 0; i< getListSize(isEmbedded); i++) {
- map.put("is_embedded[" + i + "]", getFromList(isEmbedded, i));
- }
- }
- else {
- map.put("is_embedded", JSON.getDefault().getMapper().writeValueAsString(isEmbedded));
- }
- }
if (isCreator != null) {
if (isFileTypeOrListOfFiles(isCreator)) {
fileTypeFound = true;
@@ -845,6 +847,82 @@ public Map createFormData() throws ApiException {
map.put("documents", JSON.getDefault().getMapper().writeValueAsString(documents));
}
}
+ if (accounts != null) {
+ if (isFileTypeOrListOfFiles(accounts)) {
+ fileTypeFound = true;
+ }
+
+ if (accounts.getClass().equals(java.io.File.class) ||
+ accounts.getClass().equals(Integer.class) ||
+ accounts.getClass().equals(String.class) ||
+ accounts.getClass().isEnum()) {
+ map.put("accounts", accounts);
+ } else if (isListOfFile(accounts)) {
+ for(int i = 0; i< getListSize(accounts); i++) {
+ map.put("accounts[" + i + "]", getFromList(accounts, i));
+ }
+ }
+ else {
+ map.put("accounts", JSON.getDefault().getMapper().writeValueAsString(accounts));
+ }
+ }
+ if (attachments != null) {
+ if (isFileTypeOrListOfFiles(attachments)) {
+ fileTypeFound = true;
+ }
+
+ if (attachments.getClass().equals(java.io.File.class) ||
+ attachments.getClass().equals(Integer.class) ||
+ attachments.getClass().equals(String.class) ||
+ attachments.getClass().isEnum()) {
+ map.put("attachments", attachments);
+ } else if (isListOfFile(attachments)) {
+ for(int i = 0; i< getListSize(attachments); i++) {
+ map.put("attachments[" + i + "]", getFromList(attachments, i));
+ }
+ }
+ else {
+ map.put("attachments", JSON.getDefault().getMapper().writeValueAsString(attachments));
+ }
+ }
+ if (updatedAt != null) {
+ if (isFileTypeOrListOfFiles(updatedAt)) {
+ fileTypeFound = true;
+ }
+
+ if (updatedAt.getClass().equals(java.io.File.class) ||
+ updatedAt.getClass().equals(Integer.class) ||
+ updatedAt.getClass().equals(String.class) ||
+ updatedAt.getClass().isEnum()) {
+ map.put("updated_at", updatedAt);
+ } else if (isListOfFile(updatedAt)) {
+ for(int i = 0; i< getListSize(updatedAt); i++) {
+ map.put("updated_at[" + i + "]", getFromList(updatedAt, i));
+ }
+ }
+ else {
+ map.put("updated_at", JSON.getDefault().getMapper().writeValueAsString(updatedAt));
+ }
+ }
+ if (isEmbedded != null) {
+ if (isFileTypeOrListOfFiles(isEmbedded)) {
+ fileTypeFound = true;
+ }
+
+ if (isEmbedded.getClass().equals(java.io.File.class) ||
+ isEmbedded.getClass().equals(Integer.class) ||
+ isEmbedded.getClass().equals(String.class) ||
+ isEmbedded.getClass().isEnum()) {
+ map.put("is_embedded", isEmbedded);
+ } else if (isListOfFile(isEmbedded)) {
+ for(int i = 0; i< getListSize(isEmbedded); i++) {
+ map.put("is_embedded[" + i + "]", getFromList(isEmbedded, i));
+ }
+ }
+ else {
+ map.put("is_embedded", JSON.getDefault().getMapper().writeValueAsString(isEmbedded));
+ }
+ }
if (customFields != null) {
if (isFileTypeOrListOfFiles(customFields)) {
fileTypeFound = true;
@@ -883,25 +961,6 @@ public Map createFormData() throws ApiException {
map.put("named_form_fields", JSON.getDefault().getMapper().writeValueAsString(namedFormFields));
}
}
- if (accounts != null) {
- if (isFileTypeOrListOfFiles(accounts)) {
- fileTypeFound = true;
- }
-
- if (accounts.getClass().equals(java.io.File.class) ||
- accounts.getClass().equals(Integer.class) ||
- accounts.getClass().equals(String.class) ||
- accounts.getClass().isEnum()) {
- map.put("accounts", accounts);
- } else if (isListOfFile(accounts)) {
- for(int i = 0; i< getListSize(accounts); i++) {
- map.put("accounts[" + i + "]", getFromList(accounts, i));
- }
- }
- else {
- map.put("accounts", JSON.getDefault().getMapper().writeValueAsString(accounts));
- }
- }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseAccount.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseAccount.java
index 53f50dd8a..ae6b9cdc6 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseAccount.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseAccount.java
@@ -35,11 +35,11 @@
*/
@JsonPropertyOrder({
TemplateResponseAccount.JSON_PROPERTY_ACCOUNT_ID,
- TemplateResponseAccount.JSON_PROPERTY_EMAIL_ADDRESS,
TemplateResponseAccount.JSON_PROPERTY_IS_LOCKED,
TemplateResponseAccount.JSON_PROPERTY_IS_PAID_HS,
TemplateResponseAccount.JSON_PROPERTY_IS_PAID_HF,
- TemplateResponseAccount.JSON_PROPERTY_QUOTAS
+ TemplateResponseAccount.JSON_PROPERTY_QUOTAS,
+ TemplateResponseAccount.JSON_PROPERTY_EMAIL_ADDRESS
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@JsonIgnoreProperties(ignoreUnknown=true)
@@ -47,9 +47,6 @@ public class TemplateResponseAccount {
public static final String JSON_PROPERTY_ACCOUNT_ID = "account_id";
private String accountId;
- public static final String JSON_PROPERTY_EMAIL_ADDRESS = "email_address";
- private String emailAddress;
-
public static final String JSON_PROPERTY_IS_LOCKED = "is_locked";
private Boolean isLocked;
@@ -62,6 +59,9 @@ public class TemplateResponseAccount {
public static final String JSON_PROPERTY_QUOTAS = "quotas";
private TemplateResponseAccountQuota quotas;
+ public static final String JSON_PROPERTY_EMAIL_ADDRESS = "email_address";
+ private String emailAddress;
+
public TemplateResponseAccount() {
}
@@ -89,9 +89,9 @@ public TemplateResponseAccount accountId(String accountId) {
* The id of the Account.
* @return accountId
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getAccountId() {
return accountId;
@@ -99,37 +99,12 @@ public String getAccountId() {
@JsonProperty(JSON_PROPERTY_ACCOUNT_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAccountId(String accountId) {
this.accountId = accountId;
}
- public TemplateResponseAccount emailAddress(String emailAddress) {
- this.emailAddress = emailAddress;
- return this;
- }
-
- /**
- * The email address associated with the Account.
- * @return emailAddress
- */
- @jakarta.annotation.Nullable
- @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
-
- public String getEmailAddress() {
- return emailAddress;
- }
-
-
- @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setEmailAddress(String emailAddress) {
- this.emailAddress = emailAddress;
- }
-
-
public TemplateResponseAccount isLocked(Boolean isLocked) {
this.isLocked = isLocked;
return this;
@@ -139,9 +114,9 @@ public TemplateResponseAccount isLocked(Boolean isLocked) {
* Returns `true` if the user has been locked out of their account by a team admin.
* @return isLocked
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_IS_LOCKED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsLocked() {
return isLocked;
@@ -149,7 +124,7 @@ public Boolean getIsLocked() {
@JsonProperty(JSON_PROPERTY_IS_LOCKED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsLocked(Boolean isLocked) {
this.isLocked = isLocked;
}
@@ -164,9 +139,9 @@ public TemplateResponseAccount isPaidHs(Boolean isPaidHs) {
* Returns `true` if the user has a paid Dropbox Sign account.
* @return isPaidHs
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_IS_PAID_HS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsPaidHs() {
return isPaidHs;
@@ -174,7 +149,7 @@ public Boolean getIsPaidHs() {
@JsonProperty(JSON_PROPERTY_IS_PAID_HS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsPaidHs(Boolean isPaidHs) {
this.isPaidHs = isPaidHs;
}
@@ -189,9 +164,9 @@ public TemplateResponseAccount isPaidHf(Boolean isPaidHf) {
* Returns `true` if the user has a paid HelloFax account.
* @return isPaidHf
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_IS_PAID_HF)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsPaidHf() {
return isPaidHf;
@@ -199,7 +174,7 @@ public Boolean getIsPaidHf() {
@JsonProperty(JSON_PROPERTY_IS_PAID_HF)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsPaidHf(Boolean isPaidHf) {
this.isPaidHf = isPaidHf;
}
@@ -214,9 +189,9 @@ public TemplateResponseAccount quotas(TemplateResponseAccountQuota quotas) {
* Get quotas
* @return quotas
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_QUOTAS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public TemplateResponseAccountQuota getQuotas() {
return quotas;
@@ -224,12 +199,37 @@ public TemplateResponseAccountQuota getQuotas() {
@JsonProperty(JSON_PROPERTY_QUOTAS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setQuotas(TemplateResponseAccountQuota quotas) {
this.quotas = quotas;
}
+ public TemplateResponseAccount emailAddress(String emailAddress) {
+ this.emailAddress = emailAddress;
+ return this;
+ }
+
+ /**
+ * The email address associated with the Account.
+ * @return emailAddress
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getEmailAddress() {
+ return emailAddress;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_EMAIL_ADDRESS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setEmailAddress(String emailAddress) {
+ this.emailAddress = emailAddress;
+ }
+
+
/**
* Return true if this TemplateResponseAccount object is equal to o.
*/
@@ -243,16 +243,16 @@ public boolean equals(Object o) {
}
TemplateResponseAccount templateResponseAccount = (TemplateResponseAccount) o;
return Objects.equals(this.accountId, templateResponseAccount.accountId) &&
- Objects.equals(this.emailAddress, templateResponseAccount.emailAddress) &&
Objects.equals(this.isLocked, templateResponseAccount.isLocked) &&
Objects.equals(this.isPaidHs, templateResponseAccount.isPaidHs) &&
Objects.equals(this.isPaidHf, templateResponseAccount.isPaidHf) &&
- Objects.equals(this.quotas, templateResponseAccount.quotas);
+ Objects.equals(this.quotas, templateResponseAccount.quotas) &&
+ Objects.equals(this.emailAddress, templateResponseAccount.emailAddress);
}
@Override
public int hashCode() {
- return Objects.hash(accountId, emailAddress, isLocked, isPaidHs, isPaidHf, quotas);
+ return Objects.hash(accountId, isLocked, isPaidHs, isPaidHf, quotas, emailAddress);
}
@Override
@@ -260,11 +260,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TemplateResponseAccount {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
- sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
sb.append(" isLocked: ").append(toIndentedString(isLocked)).append("\n");
sb.append(" isPaidHs: ").append(toIndentedString(isPaidHs)).append("\n");
sb.append(" isPaidHf: ").append(toIndentedString(isPaidHf)).append("\n");
sb.append(" quotas: ").append(toIndentedString(quotas)).append("\n");
+ sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -292,25 +292,6 @@ public Map createFormData() throws ApiException {
map.put("account_id", JSON.getDefault().getMapper().writeValueAsString(accountId));
}
}
- if (emailAddress != null) {
- if (isFileTypeOrListOfFiles(emailAddress)) {
- fileTypeFound = true;
- }
-
- if (emailAddress.getClass().equals(java.io.File.class) ||
- emailAddress.getClass().equals(Integer.class) ||
- emailAddress.getClass().equals(String.class) ||
- emailAddress.getClass().isEnum()) {
- map.put("email_address", emailAddress);
- } else if (isListOfFile(emailAddress)) {
- for(int i = 0; i< getListSize(emailAddress); i++) {
- map.put("email_address[" + i + "]", getFromList(emailAddress, i));
- }
- }
- else {
- map.put("email_address", JSON.getDefault().getMapper().writeValueAsString(emailAddress));
- }
- }
if (isLocked != null) {
if (isFileTypeOrListOfFiles(isLocked)) {
fileTypeFound = true;
@@ -387,6 +368,25 @@ public Map createFormData() throws ApiException {
map.put("quotas", JSON.getDefault().getMapper().writeValueAsString(quotas));
}
}
+ if (emailAddress != null) {
+ if (isFileTypeOrListOfFiles(emailAddress)) {
+ fileTypeFound = true;
+ }
+
+ if (emailAddress.getClass().equals(java.io.File.class) ||
+ emailAddress.getClass().equals(Integer.class) ||
+ emailAddress.getClass().equals(String.class) ||
+ emailAddress.getClass().isEnum()) {
+ map.put("email_address", emailAddress);
+ } else if (isListOfFile(emailAddress)) {
+ for(int i = 0; i< getListSize(emailAddress); i++) {
+ map.put("email_address[" + i + "]", getFromList(emailAddress, i));
+ }
+ }
+ else {
+ map.put("email_address", JSON.getDefault().getMapper().writeValueAsString(emailAddress));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseAccountQuota.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseAccountQuota.java
index 78b1f583d..0b1e7e66f 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseAccountQuota.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseAccountQuota.java
@@ -80,9 +80,9 @@ public TemplateResponseAccountQuota templatesLeft(Integer templatesLeft) {
* API templates remaining.
* @return templatesLeft
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_TEMPLATES_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getTemplatesLeft() {
return templatesLeft;
@@ -90,7 +90,7 @@ public Integer getTemplatesLeft() {
@JsonProperty(JSON_PROPERTY_TEMPLATES_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTemplatesLeft(Integer templatesLeft) {
this.templatesLeft = templatesLeft;
}
@@ -105,9 +105,9 @@ public TemplateResponseAccountQuota apiSignatureRequestsLeft(Integer apiSignatur
* API signature requests remaining.
* @return apiSignatureRequestsLeft
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_API_SIGNATURE_REQUESTS_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getApiSignatureRequestsLeft() {
return apiSignatureRequestsLeft;
@@ -115,7 +115,7 @@ public Integer getApiSignatureRequestsLeft() {
@JsonProperty(JSON_PROPERTY_API_SIGNATURE_REQUESTS_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setApiSignatureRequestsLeft(Integer apiSignatureRequestsLeft) {
this.apiSignatureRequestsLeft = apiSignatureRequestsLeft;
}
@@ -130,9 +130,9 @@ public TemplateResponseAccountQuota documentsLeft(Integer documentsLeft) {
* Signature requests remaining.
* @return documentsLeft
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_DOCUMENTS_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getDocumentsLeft() {
return documentsLeft;
@@ -140,7 +140,7 @@ public Integer getDocumentsLeft() {
@JsonProperty(JSON_PROPERTY_DOCUMENTS_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDocumentsLeft(Integer documentsLeft) {
this.documentsLeft = documentsLeft;
}
@@ -155,9 +155,9 @@ public TemplateResponseAccountQuota smsVerificationsLeft(Integer smsVerification
* SMS verifications remaining.
* @return smsVerificationsLeft
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_SMS_VERIFICATIONS_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getSmsVerificationsLeft() {
return smsVerificationsLeft;
@@ -165,7 +165,7 @@ public Integer getSmsVerificationsLeft() {
@JsonProperty(JSON_PROPERTY_SMS_VERIFICATIONS_LEFT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setSmsVerificationsLeft(Integer smsVerificationsLeft) {
this.smsVerificationsLeft = smsVerificationsLeft;
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseCCRole.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseCCRole.java
index 4ed3eb946..5a9461f44 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseCCRole.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseCCRole.java
@@ -68,9 +68,9 @@ public TemplateResponseCCRole name(String name) {
* The name of the Role.
* @return name
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
@@ -78,7 +78,7 @@ public String getName() {
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocument.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocument.java
index 040c68ccc..2dbcbfee0 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocument.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocument.java
@@ -40,11 +40,11 @@
*/
@JsonPropertyOrder({
TemplateResponseDocument.JSON_PROPERTY_NAME,
- TemplateResponseDocument.JSON_PROPERTY_INDEX,
TemplateResponseDocument.JSON_PROPERTY_FIELD_GROUPS,
TemplateResponseDocument.JSON_PROPERTY_FORM_FIELDS,
TemplateResponseDocument.JSON_PROPERTY_CUSTOM_FIELDS,
- TemplateResponseDocument.JSON_PROPERTY_STATIC_FIELDS
+ TemplateResponseDocument.JSON_PROPERTY_STATIC_FIELDS,
+ TemplateResponseDocument.JSON_PROPERTY_INDEX
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@JsonIgnoreProperties(ignoreUnknown=true)
@@ -52,20 +52,20 @@ public class TemplateResponseDocument {
public static final String JSON_PROPERTY_NAME = "name";
private String name;
- public static final String JSON_PROPERTY_INDEX = "index";
- private Integer index;
-
public static final String JSON_PROPERTY_FIELD_GROUPS = "field_groups";
- private List fieldGroups = null;
+ private List fieldGroups = new ArrayList<>();
public static final String JSON_PROPERTY_FORM_FIELDS = "form_fields";
- private List formFields = null;
+ private List formFields = new ArrayList<>();
public static final String JSON_PROPERTY_CUSTOM_FIELDS = "custom_fields";
- private List customFields = null;
+ private List customFields = new ArrayList<>();
public static final String JSON_PROPERTY_STATIC_FIELDS = "static_fields";
- private List staticFields = null;
+ private List staticFields = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_INDEX = "index";
+ private Integer index;
public TemplateResponseDocument() {
}
@@ -94,9 +94,9 @@ public TemplateResponseDocument name(String name) {
* Name of the associated file.
* @return name
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
@@ -104,37 +104,12 @@ public String getName() {
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
- public TemplateResponseDocument index(Integer index) {
- this.index = index;
- return this;
- }
-
- /**
- * Document ordering, the lowest index is displayed first and the highest last (0-based indexing).
- * @return index
- */
- @jakarta.annotation.Nullable
- @JsonProperty(JSON_PROPERTY_INDEX)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
-
- public Integer getIndex() {
- return index;
- }
-
-
- @JsonProperty(JSON_PROPERTY_INDEX)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setIndex(Integer index) {
- this.index = index;
- }
-
-
public TemplateResponseDocument fieldGroups(List fieldGroups) {
this.fieldGroups = fieldGroups;
return this;
@@ -152,9 +127,9 @@ public TemplateResponseDocument addFieldGroupsItem(TemplateResponseDocumentField
* An array of Form Field Group objects.
* @return fieldGroups
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_FIELD_GROUPS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getFieldGroups() {
return fieldGroups;
@@ -162,7 +137,7 @@ public List getFieldGroups() {
@JsonProperty(JSON_PROPERTY_FIELD_GROUPS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFieldGroups(List fieldGroups) {
this.fieldGroups = fieldGroups;
}
@@ -185,9 +160,9 @@ public TemplateResponseDocument addFormFieldsItem(TemplateResponseDocumentFormFi
* An array of Form Field objects containing the name and type of each named field.
* @return formFields
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_FORM_FIELDS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getFormFields() {
return formFields;
@@ -195,7 +170,7 @@ public List getFormFields() {
@JsonProperty(JSON_PROPERTY_FORM_FIELDS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFormFields(List formFields) {
this.formFields = formFields;
}
@@ -218,9 +193,9 @@ public TemplateResponseDocument addCustomFieldsItem(TemplateResponseDocumentCust
* An array of Form Field objects containing the name and type of each named field.
* @return customFields
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_CUSTOM_FIELDS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getCustomFields() {
return customFields;
@@ -228,7 +203,7 @@ public List getCustomFields() {
@JsonProperty(JSON_PROPERTY_CUSTOM_FIELDS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setCustomFields(List customFields) {
this.customFields = customFields;
}
@@ -251,9 +226,9 @@ public TemplateResponseDocument addStaticFieldsItem(TemplateResponseDocumentStat
* An array describing static overlay fields. **NOTE:** Only available for certain subscriptions.
* @return staticFields
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_STATIC_FIELDS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getStaticFields() {
return staticFields;
@@ -261,12 +236,37 @@ public List getStaticFields() {
@JsonProperty(JSON_PROPERTY_STATIC_FIELDS)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setStaticFields(List staticFields) {
this.staticFields = staticFields;
}
+ public TemplateResponseDocument index(Integer index) {
+ this.index = index;
+ return this;
+ }
+
+ /**
+ * Document ordering, the lowest index is displayed first and the highest last (0-based indexing).
+ * @return index
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_INDEX)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public Integer getIndex() {
+ return index;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_INDEX)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setIndex(Integer index) {
+ this.index = index;
+ }
+
+
/**
* Return true if this TemplateResponseDocument object is equal to o.
*/
@@ -280,16 +280,16 @@ public boolean equals(Object o) {
}
TemplateResponseDocument templateResponseDocument = (TemplateResponseDocument) o;
return Objects.equals(this.name, templateResponseDocument.name) &&
- Objects.equals(this.index, templateResponseDocument.index) &&
Objects.equals(this.fieldGroups, templateResponseDocument.fieldGroups) &&
Objects.equals(this.formFields, templateResponseDocument.formFields) &&
Objects.equals(this.customFields, templateResponseDocument.customFields) &&
- Objects.equals(this.staticFields, templateResponseDocument.staticFields);
+ Objects.equals(this.staticFields, templateResponseDocument.staticFields) &&
+ Objects.equals(this.index, templateResponseDocument.index);
}
@Override
public int hashCode() {
- return Objects.hash(name, index, fieldGroups, formFields, customFields, staticFields);
+ return Objects.hash(name, fieldGroups, formFields, customFields, staticFields, index);
}
@Override
@@ -297,11 +297,11 @@ public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TemplateResponseDocument {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" index: ").append(toIndentedString(index)).append("\n");
sb.append(" fieldGroups: ").append(toIndentedString(fieldGroups)).append("\n");
sb.append(" formFields: ").append(toIndentedString(formFields)).append("\n");
sb.append(" customFields: ").append(toIndentedString(customFields)).append("\n");
sb.append(" staticFields: ").append(toIndentedString(staticFields)).append("\n");
+ sb.append(" index: ").append(toIndentedString(index)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -329,25 +329,6 @@ public Map createFormData() throws ApiException {
map.put("name", JSON.getDefault().getMapper().writeValueAsString(name));
}
}
- if (index != null) {
- if (isFileTypeOrListOfFiles(index)) {
- fileTypeFound = true;
- }
-
- if (index.getClass().equals(java.io.File.class) ||
- index.getClass().equals(Integer.class) ||
- index.getClass().equals(String.class) ||
- index.getClass().isEnum()) {
- map.put("index", index);
- } else if (isListOfFile(index)) {
- for(int i = 0; i< getListSize(index); i++) {
- map.put("index[" + i + "]", getFromList(index, i));
- }
- }
- else {
- map.put("index", JSON.getDefault().getMapper().writeValueAsString(index));
- }
- }
if (fieldGroups != null) {
if (isFileTypeOrListOfFiles(fieldGroups)) {
fileTypeFound = true;
@@ -424,6 +405,25 @@ public Map createFormData() throws ApiException {
map.put("static_fields", JSON.getDefault().getMapper().writeValueAsString(staticFields));
}
}
+ if (index != null) {
+ if (isFileTypeOrListOfFiles(index)) {
+ fileTypeFound = true;
+ }
+
+ if (index.getClass().equals(java.io.File.class) ||
+ index.getClass().equals(Integer.class) ||
+ index.getClass().equals(String.class) ||
+ index.getClass().isEnum()) {
+ map.put("index", index);
+ } else if (isListOfFile(index)) {
+ for(int i = 0; i< getListSize(index); i++) {
+ map.put("index[" + i + "]", getFromList(index, i));
+ }
+ }
+ else {
+ map.put("index", JSON.getDefault().getMapper().writeValueAsString(index));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldBase.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldBase.java
index 4797afd91..e5cf7fa77 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldBase.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldBase.java
@@ -36,15 +36,15 @@
* An array of Form Field objects containing the name and type of each named field.
*/
@JsonPropertyOrder({
- TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_TYPE,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_API_ID,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_NAME,
- TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_SIGNER,
+ TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_TYPE,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_X,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_Y,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_WIDTH,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_HEIGHT,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_REQUIRED,
+ TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_SIGNER,
TemplateResponseDocumentCustomFieldBase.JSON_PROPERTY_GROUP
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@@ -59,17 +59,14 @@
})
public class TemplateResponseDocumentCustomFieldBase {
- public static final String JSON_PROPERTY_TYPE = "type";
- private String type;
-
public static final String JSON_PROPERTY_API_ID = "api_id";
private String apiId;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
- public static final String JSON_PROPERTY_SIGNER = "signer";
- private String signer;
+ public static final String JSON_PROPERTY_TYPE = "type";
+ private String type;
public static final String JSON_PROPERTY_X = "x";
private Integer x;
@@ -86,6 +83,9 @@ public class TemplateResponseDocumentCustomFieldBase {
public static final String JSON_PROPERTY_REQUIRED = "required";
private Boolean required;
+ public static final String JSON_PROPERTY_SIGNER = "signer";
+ private String signer;
+
public static final String JSON_PROPERTY_GROUP = "group";
private String group;
@@ -107,31 +107,6 @@ static public TemplateResponseDocumentCustomFieldBase init(HashMap data) throws
);
}
- public TemplateResponseDocumentCustomFieldBase type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * Get type
- * @return type
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
-
- public String getType() {
- return type;
- }
-
-
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setType(String type) {
- this.type = type;
- }
-
-
public TemplateResponseDocumentCustomFieldBase apiId(String apiId) {
this.apiId = apiId;
return this;
@@ -141,9 +116,9 @@ public TemplateResponseDocumentCustomFieldBase apiId(String apiId) {
* The unique ID for this field.
* @return apiId
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_API_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getApiId() {
return apiId;
@@ -151,7 +126,7 @@ public String getApiId() {
@JsonProperty(JSON_PROPERTY_API_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setApiId(String apiId) {
this.apiId = apiId;
}
@@ -166,9 +141,9 @@ public TemplateResponseDocumentCustomFieldBase name(String name) {
* The name of the Custom Field.
* @return name
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
@@ -176,42 +151,34 @@ public String getName() {
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
- public TemplateResponseDocumentCustomFieldBase signer(String signer) {
- this.signer = signer;
- return this;
- }
- public TemplateResponseDocumentCustomFieldBase signer(Integer signer) {
- this.signer = String.valueOf(signer);
+ public TemplateResponseDocumentCustomFieldBase type(String type) {
+ this.type = type;
return this;
}
/**
- * The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender).
- * @return signer
+ * Get type
+ * @return type
*/
- @jakarta.annotation.Nullable
- @JsonProperty(JSON_PROPERTY_SIGNER)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public String getSigner() {
- return signer;
+ public String getType() {
+ return type;
}
- @JsonProperty(JSON_PROPERTY_SIGNER)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setSigner(String signer) {
- this.signer = signer;
- }
-
- public void setSigner(Integer signer) {
- this.signer = String.valueOf(signer);
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(String type) {
+ this.type = type;
}
@@ -224,9 +191,9 @@ public TemplateResponseDocumentCustomFieldBase x(Integer x) {
* The horizontal offset in pixels for this form field.
* @return x
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_X)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getX() {
return x;
@@ -234,7 +201,7 @@ public Integer getX() {
@JsonProperty(JSON_PROPERTY_X)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setX(Integer x) {
this.x = x;
}
@@ -249,9 +216,9 @@ public TemplateResponseDocumentCustomFieldBase y(Integer y) {
* The vertical offset in pixels for this form field.
* @return y
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_Y)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getY() {
return y;
@@ -259,7 +226,7 @@ public Integer getY() {
@JsonProperty(JSON_PROPERTY_Y)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setY(Integer y) {
this.y = y;
}
@@ -274,9 +241,9 @@ public TemplateResponseDocumentCustomFieldBase width(Integer width) {
* The width in pixels of this form field.
* @return width
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_WIDTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getWidth() {
return width;
@@ -284,7 +251,7 @@ public Integer getWidth() {
@JsonProperty(JSON_PROPERTY_WIDTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setWidth(Integer width) {
this.width = width;
}
@@ -299,9 +266,9 @@ public TemplateResponseDocumentCustomFieldBase height(Integer height) {
* The height in pixels of this form field.
* @return height
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_HEIGHT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getHeight() {
return height;
@@ -309,7 +276,7 @@ public Integer getHeight() {
@JsonProperty(JSON_PROPERTY_HEIGHT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setHeight(Integer height) {
this.height = height;
}
@@ -324,9 +291,9 @@ public TemplateResponseDocumentCustomFieldBase required(Boolean required) {
* Boolean showing whether or not this field is required.
* @return required
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_REQUIRED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getRequired() {
return required;
@@ -334,12 +301,45 @@ public Boolean getRequired() {
@JsonProperty(JSON_PROPERTY_REQUIRED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setRequired(Boolean required) {
this.required = required;
}
+ public TemplateResponseDocumentCustomFieldBase signer(String signer) {
+ this.signer = signer;
+ return this;
+ }
+ public TemplateResponseDocumentCustomFieldBase signer(Integer signer) {
+ this.signer = String.valueOf(signer);
+ return this;
+ }
+
+ /**
+ * The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender).
+ * @return signer
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_SIGNER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getSigner() {
+ return signer;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_SIGNER)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setSigner(String signer) {
+ this.signer = signer;
+ }
+
+ public void setSigner(Integer signer) {
+ this.signer = String.valueOf(signer);
+ }
+
+
public TemplateResponseDocumentCustomFieldBase group(String group) {
this.group = group;
return this;
@@ -377,36 +377,36 @@ public boolean equals(Object o) {
return false;
}
TemplateResponseDocumentCustomFieldBase templateResponseDocumentCustomFieldBase = (TemplateResponseDocumentCustomFieldBase) o;
- return Objects.equals(this.type, templateResponseDocumentCustomFieldBase.type) &&
- Objects.equals(this.apiId, templateResponseDocumentCustomFieldBase.apiId) &&
+ return Objects.equals(this.apiId, templateResponseDocumentCustomFieldBase.apiId) &&
Objects.equals(this.name, templateResponseDocumentCustomFieldBase.name) &&
- Objects.equals(this.signer, templateResponseDocumentCustomFieldBase.signer) &&
+ Objects.equals(this.type, templateResponseDocumentCustomFieldBase.type) &&
Objects.equals(this.x, templateResponseDocumentCustomFieldBase.x) &&
Objects.equals(this.y, templateResponseDocumentCustomFieldBase.y) &&
Objects.equals(this.width, templateResponseDocumentCustomFieldBase.width) &&
Objects.equals(this.height, templateResponseDocumentCustomFieldBase.height) &&
Objects.equals(this.required, templateResponseDocumentCustomFieldBase.required) &&
+ Objects.equals(this.signer, templateResponseDocumentCustomFieldBase.signer) &&
Objects.equals(this.group, templateResponseDocumentCustomFieldBase.group);
}
@Override
public int hashCode() {
- return Objects.hash(type, apiId, name, signer, x, y, width, height, required, group);
+ return Objects.hash(apiId, name, type, x, y, width, height, required, signer, group);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TemplateResponseDocumentCustomFieldBase {\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" apiId: ").append(toIndentedString(apiId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" signer: ").append(toIndentedString(signer)).append("\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" x: ").append(toIndentedString(x)).append("\n");
sb.append(" y: ").append(toIndentedString(y)).append("\n");
sb.append(" width: ").append(toIndentedString(width)).append("\n");
sb.append(" height: ").append(toIndentedString(height)).append("\n");
sb.append(" required: ").append(toIndentedString(required)).append("\n");
+ sb.append(" signer: ").append(toIndentedString(signer)).append("\n");
sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
@@ -416,25 +416,6 @@ public Map createFormData() throws ApiException {
Map map = new HashMap<>();
boolean fileTypeFound = false;
try {
- if (type != null) {
- if (isFileTypeOrListOfFiles(type)) {
- fileTypeFound = true;
- }
-
- if (type.getClass().equals(java.io.File.class) ||
- type.getClass().equals(Integer.class) ||
- type.getClass().equals(String.class) ||
- type.getClass().isEnum()) {
- map.put("type", type);
- } else if (isListOfFile(type)) {
- for(int i = 0; i< getListSize(type); i++) {
- map.put("type[" + i + "]", getFromList(type, i));
- }
- }
- else {
- map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
- }
- }
if (apiId != null) {
if (isFileTypeOrListOfFiles(apiId)) {
fileTypeFound = true;
@@ -473,23 +454,23 @@ public Map createFormData() throws ApiException {
map.put("name", JSON.getDefault().getMapper().writeValueAsString(name));
}
}
- if (signer != null) {
- if (isFileTypeOrListOfFiles(signer)) {
+ if (type != null) {
+ if (isFileTypeOrListOfFiles(type)) {
fileTypeFound = true;
}
- if (signer.getClass().equals(java.io.File.class) ||
- signer.getClass().equals(Integer.class) ||
- signer.getClass().equals(String.class) ||
- signer.getClass().isEnum()) {
- map.put("signer", signer);
- } else if (isListOfFile(signer)) {
- for(int i = 0; i< getListSize(signer); i++) {
- map.put("signer[" + i + "]", getFromList(signer, i));
+ if (type.getClass().equals(java.io.File.class) ||
+ type.getClass().equals(Integer.class) ||
+ type.getClass().equals(String.class) ||
+ type.getClass().isEnum()) {
+ map.put("type", type);
+ } else if (isListOfFile(type)) {
+ for(int i = 0; i< getListSize(type); i++) {
+ map.put("type[" + i + "]", getFromList(type, i));
}
}
else {
- map.put("signer", JSON.getDefault().getMapper().writeValueAsString(signer));
+ map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
if (x != null) {
@@ -587,6 +568,25 @@ public Map createFormData() throws ApiException {
map.put("required", JSON.getDefault().getMapper().writeValueAsString(required));
}
}
+ if (signer != null) {
+ if (isFileTypeOrListOfFiles(signer)) {
+ fileTypeFound = true;
+ }
+
+ if (signer.getClass().equals(java.io.File.class) ||
+ signer.getClass().equals(Integer.class) ||
+ signer.getClass().equals(String.class) ||
+ signer.getClass().isEnum()) {
+ map.put("signer", signer);
+ } else if (isListOfFile(signer)) {
+ for(int i = 0; i< getListSize(signer); i++) {
+ map.put("signer[" + i + "]", getFromList(signer, i));
+ }
+ }
+ else {
+ map.put("signer", JSON.getDefault().getMapper().writeValueAsString(signer));
+ }
+ }
if (group != null) {
if (isFileTypeOrListOfFiles(group)) {
fileTypeFound = true;
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldText.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldText.java
index e9c2932d6..5aba1a567 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldText.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentCustomFieldText.java
@@ -119,9 +119,9 @@ public TemplateResponseDocumentCustomFieldText avgTextLength(TemplateResponseFie
* Get avgTextLength
* @return avgTextLength
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public TemplateResponseFieldAvgTextLength getAvgTextLength() {
return avgTextLength;
@@ -129,7 +129,7 @@ public TemplateResponseFieldAvgTextLength getAvgTextLength() {
@JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAvgTextLength(TemplateResponseFieldAvgTextLength avgTextLength) {
this.avgTextLength = avgTextLength;
}
@@ -144,9 +144,9 @@ public TemplateResponseDocumentCustomFieldText isMultiline(Boolean isMultiline)
* Whether this form field is multiline text.
* @return isMultiline
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_IS_MULTILINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsMultiline() {
return isMultiline;
@@ -154,7 +154,7 @@ public Boolean getIsMultiline() {
@JsonProperty(JSON_PROPERTY_IS_MULTILINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsMultiline(Boolean isMultiline) {
this.isMultiline = isMultiline;
}
@@ -169,9 +169,9 @@ public TemplateResponseDocumentCustomFieldText originalFontSize(Integer original
* Original font size used in this form field's text.
* @return originalFontSize
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getOriginalFontSize() {
return originalFontSize;
@@ -179,7 +179,7 @@ public Integer getOriginalFontSize() {
@JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setOriginalFontSize(Integer originalFontSize) {
this.originalFontSize = originalFontSize;
}
@@ -194,9 +194,9 @@ public TemplateResponseDocumentCustomFieldText fontFamily(String fontFamily) {
* Font family used in this form field's text.
* @return fontFamily
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_FONT_FAMILY)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getFontFamily() {
return fontFamily;
@@ -204,7 +204,7 @@ public String getFontFamily() {
@JsonProperty(JSON_PROPERTY_FONT_FAMILY)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFontFamily(String fontFamily) {
this.fontFamily = fontFamily;
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroup.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroup.java
index 3e724af45..d02f5f5ec 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroup.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroup.java
@@ -73,9 +73,9 @@ public TemplateResponseDocumentFieldGroup name(String name) {
* The name of the form field group.
* @return name
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
@@ -83,7 +83,7 @@ public String getName() {
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
@@ -98,9 +98,9 @@ public TemplateResponseDocumentFieldGroup rule(TemplateResponseDocumentFieldGrou
* Get rule
* @return rule
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_RULE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public TemplateResponseDocumentFieldGroupRule getRule() {
return rule;
@@ -108,7 +108,7 @@ public TemplateResponseDocumentFieldGroupRule getRule() {
@JsonProperty(JSON_PROPERTY_RULE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setRule(TemplateResponseDocumentFieldGroupRule rule) {
this.rule = rule;
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroupRule.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroupRule.java
index 65aa63b0f..d92998793 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroupRule.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFieldGroupRule.java
@@ -72,9 +72,9 @@ public TemplateResponseDocumentFieldGroupRule requirement(String requirement) {
* 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.
* @return requirement
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_REQUIREMENT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getRequirement() {
return requirement;
@@ -82,7 +82,7 @@ public String getRequirement() {
@JsonProperty(JSON_PROPERTY_REQUIREMENT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setRequirement(String requirement) {
this.requirement = requirement;
}
@@ -97,9 +97,9 @@ public TemplateResponseDocumentFieldGroupRule groupLabel(String groupLabel) {
* Name of the group
* @return groupLabel
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_GROUP_LABEL)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getGroupLabel() {
return groupLabel;
@@ -107,7 +107,7 @@ public String getGroupLabel() {
@JsonProperty(JSON_PROPERTY_GROUP_LABEL)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setGroupLabel(String groupLabel) {
this.groupLabel = groupLabel;
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldBase.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldBase.java
index cbef92e0f..5a62be6c8 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldBase.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldBase.java
@@ -36,16 +36,15 @@
* An array of Form Field objects containing the name and type of each named field.
*/
@JsonPropertyOrder({
- TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_TYPE,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_API_ID,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_NAME,
+ TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_TYPE,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_SIGNER,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_X,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_Y,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_WIDTH,
TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_HEIGHT,
- TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_REQUIRED,
- TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_GROUP
+ TemplateResponseDocumentFormFieldBase.JSON_PROPERTY_REQUIRED
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@JsonIgnoreProperties(
@@ -65,15 +64,15 @@
})
public class TemplateResponseDocumentFormFieldBase {
- public static final String JSON_PROPERTY_TYPE = "type";
- private String type;
-
public static final String JSON_PROPERTY_API_ID = "api_id";
private String apiId;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
+ public static final String JSON_PROPERTY_TYPE = "type";
+ private String type;
+
public static final String JSON_PROPERTY_SIGNER = "signer";
private String signer;
@@ -92,9 +91,6 @@ public class TemplateResponseDocumentFormFieldBase {
public static final String JSON_PROPERTY_REQUIRED = "required";
private Boolean required;
- public static final String JSON_PROPERTY_GROUP = "group";
- private String group;
-
public TemplateResponseDocumentFormFieldBase() {
}
@@ -113,31 +109,6 @@ static public TemplateResponseDocumentFormFieldBase init(HashMap data) throws Ex
);
}
- public TemplateResponseDocumentFormFieldBase type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * Get type
- * @return type
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
-
- public String getType() {
- return type;
- }
-
-
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setType(String type) {
- this.type = type;
- }
-
-
public TemplateResponseDocumentFormFieldBase apiId(String apiId) {
this.apiId = apiId;
return this;
@@ -147,9 +118,9 @@ public TemplateResponseDocumentFormFieldBase apiId(String apiId) {
* A unique id for the form field.
* @return apiId
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_API_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getApiId() {
return apiId;
@@ -157,7 +128,7 @@ public String getApiId() {
@JsonProperty(JSON_PROPERTY_API_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setApiId(String apiId) {
this.apiId = apiId;
}
@@ -172,9 +143,9 @@ public TemplateResponseDocumentFormFieldBase name(String name) {
* The name of the form field.
* @return name
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
@@ -182,12 +153,37 @@ public String getName() {
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
+ public TemplateResponseDocumentFormFieldBase type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getType() {
+ return type;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(String type) {
+ this.type = type;
+ }
+
+
public TemplateResponseDocumentFormFieldBase signer(String signer) {
this.signer = signer;
return this;
@@ -201,9 +197,9 @@ public TemplateResponseDocumentFormFieldBase signer(Integer signer) {
* The signer of the Form Field.
* @return signer
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_SIGNER)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getSigner() {
return signer;
@@ -211,7 +207,7 @@ public String getSigner() {
@JsonProperty(JSON_PROPERTY_SIGNER)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setSigner(String signer) {
this.signer = signer;
}
@@ -230,9 +226,9 @@ public TemplateResponseDocumentFormFieldBase x(Integer x) {
* The horizontal offset in pixels for this form field.
* @return x
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_X)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getX() {
return x;
@@ -240,7 +236,7 @@ public Integer getX() {
@JsonProperty(JSON_PROPERTY_X)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setX(Integer x) {
this.x = x;
}
@@ -255,9 +251,9 @@ public TemplateResponseDocumentFormFieldBase y(Integer y) {
* The vertical offset in pixels for this form field.
* @return y
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_Y)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getY() {
return y;
@@ -265,7 +261,7 @@ public Integer getY() {
@JsonProperty(JSON_PROPERTY_Y)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setY(Integer y) {
this.y = y;
}
@@ -280,9 +276,9 @@ public TemplateResponseDocumentFormFieldBase width(Integer width) {
* The width in pixels of this form field.
* @return width
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_WIDTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getWidth() {
return width;
@@ -290,7 +286,7 @@ public Integer getWidth() {
@JsonProperty(JSON_PROPERTY_WIDTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setWidth(Integer width) {
this.width = width;
}
@@ -305,9 +301,9 @@ public TemplateResponseDocumentFormFieldBase height(Integer height) {
* The height in pixels of this form field.
* @return height
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_HEIGHT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getHeight() {
return height;
@@ -315,7 +311,7 @@ public Integer getHeight() {
@JsonProperty(JSON_PROPERTY_HEIGHT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setHeight(Integer height) {
this.height = height;
}
@@ -330,9 +326,9 @@ public TemplateResponseDocumentFormFieldBase required(Boolean required) {
* Boolean showing whether or not this field is required.
* @return required
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_REQUIRED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getRequired() {
return required;
@@ -340,37 +336,12 @@ public Boolean getRequired() {
@JsonProperty(JSON_PROPERTY_REQUIRED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setRequired(Boolean required) {
this.required = required;
}
- public TemplateResponseDocumentFormFieldBase group(String group) {
- this.group = group;
- return this;
- }
-
- /**
- * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
- * @return group
- */
- @jakarta.annotation.Nullable
- @JsonProperty(JSON_PROPERTY_GROUP)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
-
- public String getGroup() {
- return group;
- }
-
-
- @JsonProperty(JSON_PROPERTY_GROUP)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setGroup(String group) {
- this.group = group;
- }
-
-
/**
* Return true if this TemplateResponseDocumentFormFieldBase object is equal to o.
*/
@@ -383,37 +354,35 @@ public boolean equals(Object o) {
return false;
}
TemplateResponseDocumentFormFieldBase templateResponseDocumentFormFieldBase = (TemplateResponseDocumentFormFieldBase) o;
- return Objects.equals(this.type, templateResponseDocumentFormFieldBase.type) &&
- Objects.equals(this.apiId, templateResponseDocumentFormFieldBase.apiId) &&
+ return Objects.equals(this.apiId, templateResponseDocumentFormFieldBase.apiId) &&
Objects.equals(this.name, templateResponseDocumentFormFieldBase.name) &&
+ Objects.equals(this.type, templateResponseDocumentFormFieldBase.type) &&
Objects.equals(this.signer, templateResponseDocumentFormFieldBase.signer) &&
Objects.equals(this.x, templateResponseDocumentFormFieldBase.x) &&
Objects.equals(this.y, templateResponseDocumentFormFieldBase.y) &&
Objects.equals(this.width, templateResponseDocumentFormFieldBase.width) &&
Objects.equals(this.height, templateResponseDocumentFormFieldBase.height) &&
- Objects.equals(this.required, templateResponseDocumentFormFieldBase.required) &&
- Objects.equals(this.group, templateResponseDocumentFormFieldBase.group);
+ Objects.equals(this.required, templateResponseDocumentFormFieldBase.required);
}
@Override
public int hashCode() {
- return Objects.hash(type, apiId, name, signer, x, y, width, height, required, group);
+ return Objects.hash(apiId, name, type, signer, x, y, width, height, required);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TemplateResponseDocumentFormFieldBase {\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" apiId: ").append(toIndentedString(apiId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" signer: ").append(toIndentedString(signer)).append("\n");
sb.append(" x: ").append(toIndentedString(x)).append("\n");
sb.append(" y: ").append(toIndentedString(y)).append("\n");
sb.append(" width: ").append(toIndentedString(width)).append("\n");
sb.append(" height: ").append(toIndentedString(height)).append("\n");
sb.append(" required: ").append(toIndentedString(required)).append("\n");
- sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -422,25 +391,6 @@ public Map createFormData() throws ApiException {
Map map = new HashMap<>();
boolean fileTypeFound = false;
try {
- if (type != null) {
- if (isFileTypeOrListOfFiles(type)) {
- fileTypeFound = true;
- }
-
- if (type.getClass().equals(java.io.File.class) ||
- type.getClass().equals(Integer.class) ||
- type.getClass().equals(String.class) ||
- type.getClass().isEnum()) {
- map.put("type", type);
- } else if (isListOfFile(type)) {
- for(int i = 0; i< getListSize(type); i++) {
- map.put("type[" + i + "]", getFromList(type, i));
- }
- }
- else {
- map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
- }
- }
if (apiId != null) {
if (isFileTypeOrListOfFiles(apiId)) {
fileTypeFound = true;
@@ -479,6 +429,25 @@ public Map createFormData() throws ApiException {
map.put("name", JSON.getDefault().getMapper().writeValueAsString(name));
}
}
+ if (type != null) {
+ if (isFileTypeOrListOfFiles(type)) {
+ fileTypeFound = true;
+ }
+
+ if (type.getClass().equals(java.io.File.class) ||
+ type.getClass().equals(Integer.class) ||
+ type.getClass().equals(String.class) ||
+ type.getClass().isEnum()) {
+ map.put("type", type);
+ } else if (isListOfFile(type)) {
+ for(int i = 0; i< getListSize(type); i++) {
+ map.put("type[" + i + "]", getFromList(type, i));
+ }
+ }
+ else {
+ map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
+ }
+ }
if (signer != null) {
if (isFileTypeOrListOfFiles(signer)) {
fileTypeFound = true;
@@ -593,25 +562,6 @@ public Map createFormData() throws ApiException {
map.put("required", JSON.getDefault().getMapper().writeValueAsString(required));
}
}
- if (group != null) {
- if (isFileTypeOrListOfFiles(group)) {
- fileTypeFound = true;
- }
-
- if (group.getClass().equals(java.io.File.class) ||
- group.getClass().equals(Integer.class) ||
- group.getClass().equals(String.class) ||
- group.getClass().isEnum()) {
- map.put("group", group);
- } else if (isListOfFile(group)) {
- for(int i = 0; i< getListSize(group); i++) {
- map.put("group[" + i + "]", getFromList(group, i));
- }
- }
- else {
- map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
- }
- }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldCheckbox.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldCheckbox.java
index 8354a7a23..110468a28 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldCheckbox.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldCheckbox.java
@@ -37,7 +37,8 @@
* This class extends `TemplateResponseDocumentFormFieldBase`
*/
@JsonPropertyOrder({
- TemplateResponseDocumentFormFieldCheckbox.JSON_PROPERTY_TYPE
+ TemplateResponseDocumentFormFieldCheckbox.JSON_PROPERTY_TYPE,
+ TemplateResponseDocumentFormFieldCheckbox.JSON_PROPERTY_GROUP
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@JsonIgnoreProperties(
@@ -50,6 +51,9 @@ public class TemplateResponseDocumentFormFieldCheckbox extends TemplateResponseD
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "checkbox";
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldCheckbox() {
}
@@ -93,6 +97,31 @@ public void setType(String type) {
}
+ public TemplateResponseDocumentFormFieldCheckbox group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ * @return group
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getGroup() {
+ return group;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
+
/**
* Return true if this TemplateResponseDocumentFormFieldCheckbox object is equal to o.
*/
@@ -106,12 +135,13 @@ public boolean equals(Object o) {
}
TemplateResponseDocumentFormFieldCheckbox templateResponseDocumentFormFieldCheckbox = (TemplateResponseDocumentFormFieldCheckbox) o;
return Objects.equals(this.type, templateResponseDocumentFormFieldCheckbox.type) &&
+ Objects.equals(this.group, templateResponseDocumentFormFieldCheckbox.group) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, super.hashCode());
+ return Objects.hash(type, group, super.hashCode());
}
@Override
@@ -120,6 +150,7 @@ public String toString() {
sb.append("class TemplateResponseDocumentFormFieldCheckbox {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -148,6 +179,25 @@ public Map createFormData() throws ApiException {
map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class) ||
+ group.getClass().equals(Integer.class) ||
+ group.getClass().equals(String.class) ||
+ group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for(int i = 0; i< getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ }
+ else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDateSigned.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDateSigned.java
index 202991168..67ec89a5c 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDateSigned.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDateSigned.java
@@ -37,7 +37,8 @@
* This class extends `TemplateResponseDocumentFormFieldBase`
*/
@JsonPropertyOrder({
- TemplateResponseDocumentFormFieldDateSigned.JSON_PROPERTY_TYPE
+ TemplateResponseDocumentFormFieldDateSigned.JSON_PROPERTY_TYPE,
+ TemplateResponseDocumentFormFieldDateSigned.JSON_PROPERTY_GROUP
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@JsonIgnoreProperties(
@@ -50,6 +51,9 @@ public class TemplateResponseDocumentFormFieldDateSigned extends TemplateRespons
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "date_signed";
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldDateSigned() {
}
@@ -93,6 +97,31 @@ public void setType(String type) {
}
+ public TemplateResponseDocumentFormFieldDateSigned group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ * @return group
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getGroup() {
+ return group;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
+
/**
* Return true if this TemplateResponseDocumentFormFieldDateSigned object is equal to o.
*/
@@ -106,12 +135,13 @@ public boolean equals(Object o) {
}
TemplateResponseDocumentFormFieldDateSigned templateResponseDocumentFormFieldDateSigned = (TemplateResponseDocumentFormFieldDateSigned) o;
return Objects.equals(this.type, templateResponseDocumentFormFieldDateSigned.type) &&
+ Objects.equals(this.group, templateResponseDocumentFormFieldDateSigned.group) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, super.hashCode());
+ return Objects.hash(type, group, super.hashCode());
}
@Override
@@ -120,6 +150,7 @@ public String toString() {
sb.append("class TemplateResponseDocumentFormFieldDateSigned {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -148,6 +179,25 @@ public Map createFormData() throws ApiException {
map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class) ||
+ group.getClass().equals(Integer.class) ||
+ group.getClass().equals(String.class) ||
+ group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for(int i = 0; i< getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ }
+ else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDropdown.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDropdown.java
index ca033ad09..8003f4c05 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDropdown.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldDropdown.java
@@ -37,7 +37,8 @@
* This class extends `TemplateResponseDocumentFormFieldBase`
*/
@JsonPropertyOrder({
- TemplateResponseDocumentFormFieldDropdown.JSON_PROPERTY_TYPE
+ TemplateResponseDocumentFormFieldDropdown.JSON_PROPERTY_TYPE,
+ TemplateResponseDocumentFormFieldDropdown.JSON_PROPERTY_GROUP
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@JsonIgnoreProperties(
@@ -50,6 +51,9 @@ public class TemplateResponseDocumentFormFieldDropdown extends TemplateResponseD
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "dropdown";
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldDropdown() {
}
@@ -93,6 +97,31 @@ public void setType(String type) {
}
+ public TemplateResponseDocumentFormFieldDropdown group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ * @return group
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getGroup() {
+ return group;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
+
/**
* Return true if this TemplateResponseDocumentFormFieldDropdown object is equal to o.
*/
@@ -106,12 +135,13 @@ public boolean equals(Object o) {
}
TemplateResponseDocumentFormFieldDropdown templateResponseDocumentFormFieldDropdown = (TemplateResponseDocumentFormFieldDropdown) o;
return Objects.equals(this.type, templateResponseDocumentFormFieldDropdown.type) &&
+ Objects.equals(this.group, templateResponseDocumentFormFieldDropdown.group) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, super.hashCode());
+ return Objects.hash(type, group, super.hashCode());
}
@Override
@@ -120,6 +150,7 @@ public String toString() {
sb.append("class TemplateResponseDocumentFormFieldDropdown {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -148,6 +179,25 @@ public Map createFormData() throws ApiException {
map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class) ||
+ group.getClass().equals(Integer.class) ||
+ group.getClass().equals(String.class) ||
+ group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for(int i = 0; i< getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ }
+ else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldHyperlink.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldHyperlink.java
index acaa254b4..3db1348fb 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldHyperlink.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldHyperlink.java
@@ -42,7 +42,8 @@
TemplateResponseDocumentFormFieldHyperlink.JSON_PROPERTY_AVG_TEXT_LENGTH,
TemplateResponseDocumentFormFieldHyperlink.JSON_PROPERTY_IS_MULTILINE,
TemplateResponseDocumentFormFieldHyperlink.JSON_PROPERTY_ORIGINAL_FONT_SIZE,
- TemplateResponseDocumentFormFieldHyperlink.JSON_PROPERTY_FONT_FAMILY
+ TemplateResponseDocumentFormFieldHyperlink.JSON_PROPERTY_FONT_FAMILY,
+ TemplateResponseDocumentFormFieldHyperlink.JSON_PROPERTY_GROUP
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@JsonIgnoreProperties(
@@ -67,6 +68,9 @@ public class TemplateResponseDocumentFormFieldHyperlink extends TemplateResponse
public static final String JSON_PROPERTY_FONT_FAMILY = "fontFamily";
private String fontFamily;
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldHyperlink() {
}
@@ -119,9 +123,9 @@ public TemplateResponseDocumentFormFieldHyperlink avgTextLength(TemplateResponse
* Get avgTextLength
* @return avgTextLength
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public TemplateResponseFieldAvgTextLength getAvgTextLength() {
return avgTextLength;
@@ -129,7 +133,7 @@ public TemplateResponseFieldAvgTextLength getAvgTextLength() {
@JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAvgTextLength(TemplateResponseFieldAvgTextLength avgTextLength) {
this.avgTextLength = avgTextLength;
}
@@ -144,9 +148,9 @@ public TemplateResponseDocumentFormFieldHyperlink isMultiline(Boolean isMultilin
* Whether this form field is multiline text.
* @return isMultiline
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_IS_MULTILINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsMultiline() {
return isMultiline;
@@ -154,7 +158,7 @@ public Boolean getIsMultiline() {
@JsonProperty(JSON_PROPERTY_IS_MULTILINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsMultiline(Boolean isMultiline) {
this.isMultiline = isMultiline;
}
@@ -169,9 +173,9 @@ public TemplateResponseDocumentFormFieldHyperlink originalFontSize(Integer origi
* Original font size used in this form field's text.
* @return originalFontSize
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getOriginalFontSize() {
return originalFontSize;
@@ -179,7 +183,7 @@ public Integer getOriginalFontSize() {
@JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setOriginalFontSize(Integer originalFontSize) {
this.originalFontSize = originalFontSize;
}
@@ -194,9 +198,9 @@ public TemplateResponseDocumentFormFieldHyperlink fontFamily(String fontFamily)
* Font family used in this form field's text.
* @return fontFamily
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_FONT_FAMILY)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getFontFamily() {
return fontFamily;
@@ -204,12 +208,37 @@ public String getFontFamily() {
@JsonProperty(JSON_PROPERTY_FONT_FAMILY)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFontFamily(String fontFamily) {
this.fontFamily = fontFamily;
}
+ public TemplateResponseDocumentFormFieldHyperlink group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ * @return group
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getGroup() {
+ return group;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
+
/**
* Return true if this TemplateResponseDocumentFormFieldHyperlink object is equal to o.
*/
@@ -227,12 +256,13 @@ public boolean equals(Object o) {
Objects.equals(this.isMultiline, templateResponseDocumentFormFieldHyperlink.isMultiline) &&
Objects.equals(this.originalFontSize, templateResponseDocumentFormFieldHyperlink.originalFontSize) &&
Objects.equals(this.fontFamily, templateResponseDocumentFormFieldHyperlink.fontFamily) &&
+ Objects.equals(this.group, templateResponseDocumentFormFieldHyperlink.group) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, avgTextLength, isMultiline, originalFontSize, fontFamily, super.hashCode());
+ return Objects.hash(type, avgTextLength, isMultiline, originalFontSize, fontFamily, group, super.hashCode());
}
@Override
@@ -245,6 +275,7 @@ public String toString() {
sb.append(" isMultiline: ").append(toIndentedString(isMultiline)).append("\n");
sb.append(" originalFontSize: ").append(toIndentedString(originalFontSize)).append("\n");
sb.append(" fontFamily: ").append(toIndentedString(fontFamily)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -349,6 +380,25 @@ public Map createFormData() throws ApiException {
map.put("fontFamily", JSON.getDefault().getMapper().writeValueAsString(fontFamily));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class) ||
+ group.getClass().equals(Integer.class) ||
+ group.getClass().equals(String.class) ||
+ group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for(int i = 0; i< getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ }
+ else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldInitials.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldInitials.java
index 749d70157..7aa96f533 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldInitials.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldInitials.java
@@ -37,7 +37,8 @@
* This class extends `TemplateResponseDocumentFormFieldBase`
*/
@JsonPropertyOrder({
- TemplateResponseDocumentFormFieldInitials.JSON_PROPERTY_TYPE
+ TemplateResponseDocumentFormFieldInitials.JSON_PROPERTY_TYPE,
+ TemplateResponseDocumentFormFieldInitials.JSON_PROPERTY_GROUP
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@JsonIgnoreProperties(
@@ -50,6 +51,9 @@ public class TemplateResponseDocumentFormFieldInitials extends TemplateResponseD
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "initials";
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldInitials() {
}
@@ -93,6 +97,31 @@ public void setType(String type) {
}
+ public TemplateResponseDocumentFormFieldInitials group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ * @return group
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getGroup() {
+ return group;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
+
/**
* Return true if this TemplateResponseDocumentFormFieldInitials object is equal to o.
*/
@@ -106,12 +135,13 @@ public boolean equals(Object o) {
}
TemplateResponseDocumentFormFieldInitials templateResponseDocumentFormFieldInitials = (TemplateResponseDocumentFormFieldInitials) o;
return Objects.equals(this.type, templateResponseDocumentFormFieldInitials.type) &&
+ Objects.equals(this.group, templateResponseDocumentFormFieldInitials.group) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, super.hashCode());
+ return Objects.hash(type, group, super.hashCode());
}
@Override
@@ -120,6 +150,7 @@ public String toString() {
sb.append("class TemplateResponseDocumentFormFieldInitials {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -148,6 +179,25 @@ public Map createFormData() throws ApiException {
map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class) ||
+ group.getClass().equals(Integer.class) ||
+ group.getClass().equals(String.class) ||
+ group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for(int i = 0; i< getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ }
+ else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldRadio.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldRadio.java
index aa71ef521..5e9365793 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldRadio.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldRadio.java
@@ -37,7 +37,8 @@
* This class extends `TemplateResponseDocumentFormFieldBase`
*/
@JsonPropertyOrder({
- TemplateResponseDocumentFormFieldRadio.JSON_PROPERTY_TYPE
+ TemplateResponseDocumentFormFieldRadio.JSON_PROPERTY_TYPE,
+ TemplateResponseDocumentFormFieldRadio.JSON_PROPERTY_GROUP
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@JsonIgnoreProperties(
@@ -50,6 +51,9 @@ public class TemplateResponseDocumentFormFieldRadio extends TemplateResponseDocu
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "radio";
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldRadio() {
}
@@ -93,6 +97,31 @@ public void setType(String type) {
}
+ public TemplateResponseDocumentFormFieldRadio group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ * @return group
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getGroup() {
+ return group;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
+
/**
* Return true if this TemplateResponseDocumentFormFieldRadio object is equal to o.
*/
@@ -106,12 +135,13 @@ public boolean equals(Object o) {
}
TemplateResponseDocumentFormFieldRadio templateResponseDocumentFormFieldRadio = (TemplateResponseDocumentFormFieldRadio) o;
return Objects.equals(this.type, templateResponseDocumentFormFieldRadio.type) &&
+ Objects.equals(this.group, templateResponseDocumentFormFieldRadio.group) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, super.hashCode());
+ return Objects.hash(type, group, super.hashCode());
}
@Override
@@ -120,6 +150,7 @@ public String toString() {
sb.append("class TemplateResponseDocumentFormFieldRadio {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -148,6 +179,25 @@ public Map createFormData() throws ApiException {
map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class) ||
+ group.getClass().equals(Integer.class) ||
+ group.getClass().equals(String.class) ||
+ group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for(int i = 0; i< getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ }
+ else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldSignature.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldSignature.java
index 9ff154afe..ac0a0c321 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldSignature.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldSignature.java
@@ -37,7 +37,8 @@
* This class extends `TemplateResponseDocumentFormFieldBase`
*/
@JsonPropertyOrder({
- TemplateResponseDocumentFormFieldSignature.JSON_PROPERTY_TYPE
+ TemplateResponseDocumentFormFieldSignature.JSON_PROPERTY_TYPE,
+ TemplateResponseDocumentFormFieldSignature.JSON_PROPERTY_GROUP
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@JsonIgnoreProperties(
@@ -50,6 +51,9 @@ public class TemplateResponseDocumentFormFieldSignature extends TemplateResponse
public static final String JSON_PROPERTY_TYPE = "type";
private String type = "signature";
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldSignature() {
}
@@ -93,6 +97,31 @@ public void setType(String type) {
}
+ public TemplateResponseDocumentFormFieldSignature group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ * @return group
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getGroup() {
+ return group;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
+
/**
* Return true if this TemplateResponseDocumentFormFieldSignature object is equal to o.
*/
@@ -106,12 +135,13 @@ public boolean equals(Object o) {
}
TemplateResponseDocumentFormFieldSignature templateResponseDocumentFormFieldSignature = (TemplateResponseDocumentFormFieldSignature) o;
return Objects.equals(this.type, templateResponseDocumentFormFieldSignature.type) &&
+ Objects.equals(this.group, templateResponseDocumentFormFieldSignature.group) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, super.hashCode());
+ return Objects.hash(type, group, super.hashCode());
}
@Override
@@ -120,6 +150,7 @@ public String toString() {
sb.append("class TemplateResponseDocumentFormFieldSignature {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -148,6 +179,25 @@ public Map createFormData() throws ApiException {
map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class) ||
+ group.getClass().equals(Integer.class) ||
+ group.getClass().equals(String.class) ||
+ group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for(int i = 0; i< getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ }
+ else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldText.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldText.java
index db2192813..2474e5298 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldText.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentFormFieldText.java
@@ -43,7 +43,8 @@
TemplateResponseDocumentFormFieldText.JSON_PROPERTY_IS_MULTILINE,
TemplateResponseDocumentFormFieldText.JSON_PROPERTY_ORIGINAL_FONT_SIZE,
TemplateResponseDocumentFormFieldText.JSON_PROPERTY_FONT_FAMILY,
- TemplateResponseDocumentFormFieldText.JSON_PROPERTY_VALIDATION_TYPE
+ TemplateResponseDocumentFormFieldText.JSON_PROPERTY_VALIDATION_TYPE,
+ TemplateResponseDocumentFormFieldText.JSON_PROPERTY_GROUP
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
@JsonIgnoreProperties(
@@ -122,6 +123,9 @@ public static ValidationTypeEnum fromValue(String value) {
public static final String JSON_PROPERTY_VALIDATION_TYPE = "validation_type";
private ValidationTypeEnum validationType;
+ public static final String JSON_PROPERTY_GROUP = "group";
+ private String group;
+
public TemplateResponseDocumentFormFieldText() {
}
@@ -174,9 +178,9 @@ public TemplateResponseDocumentFormFieldText avgTextLength(TemplateResponseField
* Get avgTextLength
* @return avgTextLength
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public TemplateResponseFieldAvgTextLength getAvgTextLength() {
return avgTextLength;
@@ -184,7 +188,7 @@ public TemplateResponseFieldAvgTextLength getAvgTextLength() {
@JsonProperty(JSON_PROPERTY_AVG_TEXT_LENGTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAvgTextLength(TemplateResponseFieldAvgTextLength avgTextLength) {
this.avgTextLength = avgTextLength;
}
@@ -199,9 +203,9 @@ public TemplateResponseDocumentFormFieldText isMultiline(Boolean isMultiline) {
* Whether this form field is multiline text.
* @return isMultiline
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_IS_MULTILINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getIsMultiline() {
return isMultiline;
@@ -209,7 +213,7 @@ public Boolean getIsMultiline() {
@JsonProperty(JSON_PROPERTY_IS_MULTILINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIsMultiline(Boolean isMultiline) {
this.isMultiline = isMultiline;
}
@@ -224,9 +228,9 @@ public TemplateResponseDocumentFormFieldText originalFontSize(Integer originalFo
* Original font size used in this form field's text.
* @return originalFontSize
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getOriginalFontSize() {
return originalFontSize;
@@ -234,7 +238,7 @@ public Integer getOriginalFontSize() {
@JsonProperty(JSON_PROPERTY_ORIGINAL_FONT_SIZE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setOriginalFontSize(Integer originalFontSize) {
this.originalFontSize = originalFontSize;
}
@@ -249,9 +253,9 @@ public TemplateResponseDocumentFormFieldText fontFamily(String fontFamily) {
* Font family used in this form field's text.
* @return fontFamily
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_FONT_FAMILY)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getFontFamily() {
return fontFamily;
@@ -259,7 +263,7 @@ public String getFontFamily() {
@JsonProperty(JSON_PROPERTY_FONT_FAMILY)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFontFamily(String fontFamily) {
this.fontFamily = fontFamily;
}
@@ -290,6 +294,31 @@ public void setValidationType(ValidationTypeEnum validationType) {
}
+ public TemplateResponseDocumentFormFieldText group(String group) {
+ this.group = group;
+ return this;
+ }
+
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ * @return group
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getGroup() {
+ return group;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_GROUP)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
+
/**
* Return true if this TemplateResponseDocumentFormFieldText object is equal to o.
*/
@@ -308,12 +337,13 @@ public boolean equals(Object o) {
Objects.equals(this.originalFontSize, templateResponseDocumentFormFieldText.originalFontSize) &&
Objects.equals(this.fontFamily, templateResponseDocumentFormFieldText.fontFamily) &&
Objects.equals(this.validationType, templateResponseDocumentFormFieldText.validationType) &&
+ Objects.equals(this.group, templateResponseDocumentFormFieldText.group) &&
super.equals(o);
}
@Override
public int hashCode() {
- return Objects.hash(type, avgTextLength, isMultiline, originalFontSize, fontFamily, validationType, super.hashCode());
+ return Objects.hash(type, avgTextLength, isMultiline, originalFontSize, fontFamily, validationType, group, super.hashCode());
}
@Override
@@ -327,6 +357,7 @@ public String toString() {
sb.append(" originalFontSize: ").append(toIndentedString(originalFontSize)).append("\n");
sb.append(" fontFamily: ").append(toIndentedString(fontFamily)).append("\n");
sb.append(" validationType: ").append(toIndentedString(validationType)).append("\n");
+ sb.append(" group: ").append(toIndentedString(group)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -450,6 +481,25 @@ public Map createFormData() throws ApiException {
map.put("validation_type", JSON.getDefault().getMapper().writeValueAsString(validationType));
}
}
+ if (group != null) {
+ if (isFileTypeOrListOfFiles(group)) {
+ fileTypeFound = true;
+ }
+
+ if (group.getClass().equals(java.io.File.class) ||
+ group.getClass().equals(Integer.class) ||
+ group.getClass().equals(String.class) ||
+ group.getClass().isEnum()) {
+ map.put("group", group);
+ } else if (isListOfFile(group)) {
+ for(int i = 0; i< getListSize(group); i++) {
+ map.put("group[" + i + "]", getFromList(group, i));
+ }
+ }
+ else {
+ map.put("group", JSON.getDefault().getMapper().writeValueAsString(group));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentStaticFieldBase.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentStaticFieldBase.java
index 4e1e98229..96a4e8d85 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentStaticFieldBase.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseDocumentStaticFieldBase.java
@@ -36,9 +36,9 @@
* An array describing static overlay fields. **NOTE:** Only available for certain subscriptions.
*/
@JsonPropertyOrder({
- TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_TYPE,
TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_API_ID,
TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_NAME,
+ TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_TYPE,
TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_SIGNER,
TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_X,
TemplateResponseDocumentStaticFieldBase.JSON_PROPERTY_Y,
@@ -65,15 +65,15 @@
})
public class TemplateResponseDocumentStaticFieldBase {
- public static final String JSON_PROPERTY_TYPE = "type";
- private String type;
-
public static final String JSON_PROPERTY_API_ID = "api_id";
private String apiId;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
+ public static final String JSON_PROPERTY_TYPE = "type";
+ private String type;
+
public static final String JSON_PROPERTY_SIGNER = "signer";
private String signer = "me_now";
@@ -113,31 +113,6 @@ static public TemplateResponseDocumentStaticFieldBase init(HashMap data) throws
);
}
- public TemplateResponseDocumentStaticFieldBase type(String type) {
- this.type = type;
- return this;
- }
-
- /**
- * Get type
- * @return type
- */
- @jakarta.annotation.Nonnull
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
-
- public String getType() {
- return type;
- }
-
-
- @JsonProperty(JSON_PROPERTY_TYPE)
- @JsonInclude(value = JsonInclude.Include.ALWAYS)
- public void setType(String type) {
- this.type = type;
- }
-
-
public TemplateResponseDocumentStaticFieldBase apiId(String apiId) {
this.apiId = apiId;
return this;
@@ -147,9 +122,9 @@ public TemplateResponseDocumentStaticFieldBase apiId(String apiId) {
* A unique id for the static field.
* @return apiId
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_API_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getApiId() {
return apiId;
@@ -157,7 +132,7 @@ public String getApiId() {
@JsonProperty(JSON_PROPERTY_API_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setApiId(String apiId) {
this.apiId = apiId;
}
@@ -172,9 +147,9 @@ public TemplateResponseDocumentStaticFieldBase name(String name) {
* The name of the static field.
* @return name
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
@@ -182,12 +157,37 @@ public String getName() {
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
+ public TemplateResponseDocumentStaticFieldBase type(String type) {
+ this.type = type;
+ return this;
+ }
+
+ /**
+ * Get type
+ * @return type
+ */
+ @jakarta.annotation.Nonnull
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getType() {
+ return type;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_TYPE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setType(String type) {
+ this.type = type;
+ }
+
+
public TemplateResponseDocumentStaticFieldBase signer(String signer) {
this.signer = signer;
return this;
@@ -197,9 +197,9 @@ public TemplateResponseDocumentStaticFieldBase signer(String signer) {
* The signer of the Static Field.
* @return signer
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_SIGNER)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getSigner() {
return signer;
@@ -207,7 +207,7 @@ public String getSigner() {
@JsonProperty(JSON_PROPERTY_SIGNER)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setSigner(String signer) {
this.signer = signer;
}
@@ -222,9 +222,9 @@ public TemplateResponseDocumentStaticFieldBase x(Integer x) {
* The horizontal offset in pixels for this static field.
* @return x
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_X)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getX() {
return x;
@@ -232,7 +232,7 @@ public Integer getX() {
@JsonProperty(JSON_PROPERTY_X)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setX(Integer x) {
this.x = x;
}
@@ -247,9 +247,9 @@ public TemplateResponseDocumentStaticFieldBase y(Integer y) {
* The vertical offset in pixels for this static field.
* @return y
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_Y)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getY() {
return y;
@@ -257,7 +257,7 @@ public Integer getY() {
@JsonProperty(JSON_PROPERTY_Y)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setY(Integer y) {
this.y = y;
}
@@ -272,9 +272,9 @@ public TemplateResponseDocumentStaticFieldBase width(Integer width) {
* The width in pixels of this static field.
* @return width
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_WIDTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getWidth() {
return width;
@@ -282,7 +282,7 @@ public Integer getWidth() {
@JsonProperty(JSON_PROPERTY_WIDTH)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setWidth(Integer width) {
this.width = width;
}
@@ -297,9 +297,9 @@ public TemplateResponseDocumentStaticFieldBase height(Integer height) {
* The height in pixels of this static field.
* @return height
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_HEIGHT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getHeight() {
return height;
@@ -307,7 +307,7 @@ public Integer getHeight() {
@JsonProperty(JSON_PROPERTY_HEIGHT)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setHeight(Integer height) {
this.height = height;
}
@@ -322,9 +322,9 @@ public TemplateResponseDocumentStaticFieldBase required(Boolean required) {
* Boolean showing whether or not this field is required.
* @return required
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_REQUIRED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getRequired() {
return required;
@@ -332,7 +332,7 @@ public Boolean getRequired() {
@JsonProperty(JSON_PROPERTY_REQUIRED)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setRequired(Boolean required) {
this.required = required;
}
@@ -375,9 +375,9 @@ public boolean equals(Object o) {
return false;
}
TemplateResponseDocumentStaticFieldBase templateResponseDocumentStaticFieldBase = (TemplateResponseDocumentStaticFieldBase) o;
- return Objects.equals(this.type, templateResponseDocumentStaticFieldBase.type) &&
- Objects.equals(this.apiId, templateResponseDocumentStaticFieldBase.apiId) &&
+ return Objects.equals(this.apiId, templateResponseDocumentStaticFieldBase.apiId) &&
Objects.equals(this.name, templateResponseDocumentStaticFieldBase.name) &&
+ Objects.equals(this.type, templateResponseDocumentStaticFieldBase.type) &&
Objects.equals(this.signer, templateResponseDocumentStaticFieldBase.signer) &&
Objects.equals(this.x, templateResponseDocumentStaticFieldBase.x) &&
Objects.equals(this.y, templateResponseDocumentStaticFieldBase.y) &&
@@ -389,16 +389,16 @@ public boolean equals(Object o) {
@Override
public int hashCode() {
- return Objects.hash(type, apiId, name, signer, x, y, width, height, required, group);
+ return Objects.hash(apiId, name, type, signer, x, y, width, height, required, group);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TemplateResponseDocumentStaticFieldBase {\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" apiId: ").append(toIndentedString(apiId)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
+ sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" signer: ").append(toIndentedString(signer)).append("\n");
sb.append(" x: ").append(toIndentedString(x)).append("\n");
sb.append(" y: ").append(toIndentedString(y)).append("\n");
@@ -414,25 +414,6 @@ public Map createFormData() throws ApiException {
Map map = new HashMap<>();
boolean fileTypeFound = false;
try {
- if (type != null) {
- if (isFileTypeOrListOfFiles(type)) {
- fileTypeFound = true;
- }
-
- if (type.getClass().equals(java.io.File.class) ||
- type.getClass().equals(Integer.class) ||
- type.getClass().equals(String.class) ||
- type.getClass().isEnum()) {
- map.put("type", type);
- } else if (isListOfFile(type)) {
- for(int i = 0; i< getListSize(type); i++) {
- map.put("type[" + i + "]", getFromList(type, i));
- }
- }
- else {
- map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
- }
- }
if (apiId != null) {
if (isFileTypeOrListOfFiles(apiId)) {
fileTypeFound = true;
@@ -471,6 +452,25 @@ public Map createFormData() throws ApiException {
map.put("name", JSON.getDefault().getMapper().writeValueAsString(name));
}
}
+ if (type != null) {
+ if (isFileTypeOrListOfFiles(type)) {
+ fileTypeFound = true;
+ }
+
+ if (type.getClass().equals(java.io.File.class) ||
+ type.getClass().equals(Integer.class) ||
+ type.getClass().equals(String.class) ||
+ type.getClass().isEnum()) {
+ map.put("type", type);
+ } else if (isListOfFile(type)) {
+ for(int i = 0; i< getListSize(type); i++) {
+ map.put("type[" + i + "]", getFromList(type, i));
+ }
+ }
+ else {
+ map.put("type", JSON.getDefault().getMapper().writeValueAsString(type));
+ }
+ }
if (signer != null) {
if (isFileTypeOrListOfFiles(signer)) {
fileTypeFound = true;
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseFieldAvgTextLength.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseFieldAvgTextLength.java
index 38f5acd25..fc46699ac 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseFieldAvgTextLength.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseFieldAvgTextLength.java
@@ -72,9 +72,9 @@ public TemplateResponseFieldAvgTextLength numLines(Integer numLines) {
* Number of lines.
* @return numLines
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NUM_LINES)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getNumLines() {
return numLines;
@@ -82,7 +82,7 @@ public Integer getNumLines() {
@JsonProperty(JSON_PROPERTY_NUM_LINES)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setNumLines(Integer numLines) {
this.numLines = numLines;
}
@@ -97,9 +97,9 @@ public TemplateResponseFieldAvgTextLength numCharsPerLine(Integer numCharsPerLin
* Number of characters per line.
* @return numCharsPerLine
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NUM_CHARS_PER_LINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getNumCharsPerLine() {
return numCharsPerLine;
@@ -107,7 +107,7 @@ public Integer getNumCharsPerLine() {
@JsonProperty(JSON_PROPERTY_NUM_CHARS_PER_LINE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setNumCharsPerLine(Integer numCharsPerLine) {
this.numCharsPerLine = numCharsPerLine;
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseSignerRole.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseSignerRole.java
index 45d786a89..d1463cbd8 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseSignerRole.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateResponseSignerRole.java
@@ -72,9 +72,9 @@ public TemplateResponseSignerRole name(String name) {
* The name of the Role.
* @return name
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
@@ -82,7 +82,7 @@ public String getName() {
@JsonProperty(JSON_PROPERTY_NAME)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateUpdateFilesResponseTemplate.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateUpdateFilesResponseTemplate.java
index 19dea91bd..fb4c17ded 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateUpdateFilesResponseTemplate.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateUpdateFilesResponseTemplate.java
@@ -76,9 +76,9 @@ public TemplateUpdateFilesResponseTemplate templateId(String templateId) {
* The id of the Template.
* @return templateId
*/
- @jakarta.annotation.Nullable
+ @jakarta.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTemplateId() {
return templateId;
@@ -86,7 +86,7 @@ public String getTemplateId() {
@JsonProperty(JSON_PROPERTY_TEMPLATE_ID)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTemplateId(String templateId) {
this.templateId = templateId;
}
diff --git a/sdks/node/dist/api.js b/sdks/node/dist/api.js
index d95c19e31..27094d35b 100644
--- a/sdks/node/dist/api.js
+++ b/sdks/node/dist/api.js
@@ -22503,16 +22503,6 @@ TemplateResponse.attributeTypeMap = [
baseName: "message",
type: "string"
},
- {
- name: "updatedAt",
- baseName: "updated_at",
- type: "number"
- },
- {
- name: "isEmbedded",
- baseName: "is_embedded",
- type: "boolean"
- },
{
name: "isCreator",
baseName: "is_creator",
@@ -22548,6 +22538,26 @@ TemplateResponse.attributeTypeMap = [
baseName: "documents",
type: "Array"
},
+ {
+ name: "accounts",
+ baseName: "accounts",
+ type: "Array"
+ },
+ {
+ name: "attachments",
+ baseName: "attachments",
+ type: "Array"
+ },
+ {
+ name: "updatedAt",
+ baseName: "updated_at",
+ type: "number"
+ },
+ {
+ name: "isEmbedded",
+ baseName: "is_embedded",
+ type: "boolean"
+ },
{
name: "customFields",
baseName: "custom_fields",
@@ -22557,11 +22567,6 @@ TemplateResponse.attributeTypeMap = [
name: "namedFormFields",
baseName: "named_form_fields",
type: "Array"
- },
- {
- name: "accounts",
- baseName: "accounts",
- type: "Array"
}
];
@@ -22582,11 +22587,6 @@ TemplateResponseAccount.attributeTypeMap = [
baseName: "account_id",
type: "string"
},
- {
- name: "emailAddress",
- baseName: "email_address",
- type: "string"
- },
{
name: "isLocked",
baseName: "is_locked",
@@ -22606,6 +22606,11 @@ TemplateResponseAccount.attributeTypeMap = [
name: "quotas",
baseName: "quotas",
type: "TemplateResponseAccountQuota"
+ },
+ {
+ name: "emailAddress",
+ baseName: "email_address",
+ type: "string"
}
];
@@ -22679,11 +22684,6 @@ TemplateResponseDocument.attributeTypeMap = [
baseName: "name",
type: "string"
},
- {
- name: "index",
- baseName: "index",
- type: "number"
- },
{
name: "fieldGroups",
baseName: "field_groups",
@@ -22703,6 +22703,11 @@ TemplateResponseDocument.attributeTypeMap = [
name: "staticFields",
baseName: "static_fields",
type: "Array"
+ },
+ {
+ name: "index",
+ baseName: "index",
+ type: "number"
}
];
@@ -22727,11 +22732,6 @@ var _TemplateResponseDocumentCustomFieldBase = class {
var TemplateResponseDocumentCustomFieldBase = _TemplateResponseDocumentCustomFieldBase;
TemplateResponseDocumentCustomFieldBase.discriminator = "type";
TemplateResponseDocumentCustomFieldBase.attributeTypeMap = [
- {
- name: "type",
- baseName: "type",
- type: "string"
- },
{
name: "apiId",
baseName: "api_id",
@@ -22743,8 +22743,8 @@ TemplateResponseDocumentCustomFieldBase.attributeTypeMap = [
type: "string"
},
{
- name: "signer",
- baseName: "signer",
+ name: "type",
+ baseName: "type",
type: "string"
},
{
@@ -22772,6 +22772,11 @@ TemplateResponseDocumentCustomFieldBase.attributeTypeMap = [
baseName: "required",
type: "boolean"
},
+ {
+ name: "signer",
+ baseName: "signer",
+ type: "string"
+ },
{
name: "group",
baseName: "group",
@@ -22944,11 +22949,6 @@ var _TemplateResponseDocumentFormFieldBase = class {
var TemplateResponseDocumentFormFieldBase = _TemplateResponseDocumentFormFieldBase;
TemplateResponseDocumentFormFieldBase.discriminator = "type";
TemplateResponseDocumentFormFieldBase.attributeTypeMap = [
- {
- name: "type",
- baseName: "type",
- type: "string"
- },
{
name: "apiId",
baseName: "api_id",
@@ -22959,6 +22959,11 @@ TemplateResponseDocumentFormFieldBase.attributeTypeMap = [
baseName: "name",
type: "string"
},
+ {
+ name: "type",
+ baseName: "type",
+ type: "string"
+ },
{
name: "signer",
baseName: "signer",
@@ -22988,11 +22993,6 @@ TemplateResponseDocumentFormFieldBase.attributeTypeMap = [
name: "required",
baseName: "required",
type: "boolean"
- },
- {
- name: "group",
- baseName: "group",
- type: "string"
}
];
@@ -23019,6 +23019,11 @@ TemplateResponseDocumentFormFieldCheckbox.attributeTypeMap = [
name: "type",
baseName: "type",
type: "string"
+ },
+ {
+ name: "group",
+ baseName: "group",
+ type: "string"
}
];
@@ -23045,6 +23050,11 @@ TemplateResponseDocumentFormFieldDateSigned.attributeTypeMap = [
name: "type",
baseName: "type",
type: "string"
+ },
+ {
+ name: "group",
+ baseName: "group",
+ type: "string"
}
];
@@ -23071,6 +23081,11 @@ TemplateResponseDocumentFormFieldDropdown.attributeTypeMap = [
name: "type",
baseName: "type",
type: "string"
+ },
+ {
+ name: "group",
+ baseName: "group",
+ type: "string"
}
];
@@ -23117,6 +23132,11 @@ TemplateResponseDocumentFormFieldHyperlink.attributeTypeMap = [
name: "fontFamily",
baseName: "fontFamily",
type: "string"
+ },
+ {
+ name: "group",
+ baseName: "group",
+ type: "string"
}
];
@@ -23143,6 +23163,11 @@ TemplateResponseDocumentFormFieldInitials.attributeTypeMap = [
name: "type",
baseName: "type",
type: "string"
+ },
+ {
+ name: "group",
+ baseName: "group",
+ type: "string"
}
];
@@ -23169,6 +23194,11 @@ TemplateResponseDocumentFormFieldRadio.attributeTypeMap = [
name: "type",
baseName: "type",
type: "string"
+ },
+ {
+ name: "group",
+ baseName: "group",
+ type: "string"
}
];
@@ -23195,6 +23225,11 @@ TemplateResponseDocumentFormFieldSignature.attributeTypeMap = [
name: "type",
baseName: "type",
type: "string"
+ },
+ {
+ name: "group",
+ baseName: "group",
+ type: "string"
}
];
@@ -23246,6 +23281,11 @@ TemplateResponseDocumentFormFieldText.attributeTypeMap = [
name: "validationType",
baseName: "validation_type",
type: "TemplateResponseDocumentFormFieldText.ValidationTypeEnum"
+ },
+ {
+ name: "group",
+ baseName: "group",
+ type: "string"
}
];
((TemplateResponseDocumentFormFieldText2) => {
@@ -23306,11 +23346,6 @@ var _TemplateResponseDocumentStaticFieldBase = class {
var TemplateResponseDocumentStaticFieldBase = _TemplateResponseDocumentStaticFieldBase;
TemplateResponseDocumentStaticFieldBase.discriminator = "type";
TemplateResponseDocumentStaticFieldBase.attributeTypeMap = [
- {
- name: "type",
- baseName: "type",
- type: "string"
- },
{
name: "apiId",
baseName: "api_id",
@@ -23321,6 +23356,11 @@ TemplateResponseDocumentStaticFieldBase.attributeTypeMap = [
baseName: "name",
type: "string"
},
+ {
+ name: "type",
+ baseName: "type",
+ type: "string"
+ },
{
name: "signer",
baseName: "signer",
diff --git a/sdks/node/docs/model/TemplateCreateEmbeddedDraftResponseTemplate.md b/sdks/node/docs/model/TemplateCreateEmbeddedDraftResponseTemplate.md
index 05c82cd71..0a13c1f8e 100644
--- a/sdks/node/docs/model/TemplateCreateEmbeddedDraftResponseTemplate.md
+++ b/sdks/node/docs/model/TemplateCreateEmbeddedDraftResponseTemplate.md
@@ -6,9 +6,9 @@ Template object with parameters: `template_id`, `edit_url`, `expires_at`.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-| `templateId` | ```string``` | The id of the Template. | |
-| `editUrl` | ```string``` | Link to edit the template. | |
-| `expiresAt` | ```number``` | When the link expires. | |
+| `templateId`*_required_ | ```string``` | The id of the Template. | |
+| `editUrl`*_required_ | ```string``` | Link to edit the template. | |
+| `expiresAt`*_required_ | ```number``` | When the link expires. | |
| `warnings` | [```Array```](WarningResponse.md) | A list of warnings. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateCreateResponseTemplate.md b/sdks/node/docs/model/TemplateCreateResponseTemplate.md
index 3b4e62005..f96ba4cd2 100644
--- a/sdks/node/docs/model/TemplateCreateResponseTemplate.md
+++ b/sdks/node/docs/model/TemplateCreateResponseTemplate.md
@@ -6,6 +6,6 @@ Template object with parameters: `template_id`.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-| `templateId` | ```string``` | The id of the Template. | |
+| `templateId`*_required_ | ```string``` | The id of the Template. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponse.md b/sdks/node/docs/model/TemplateResponse.md
index e82af4305..868e86155 100644
--- a/sdks/node/docs/model/TemplateResponse.md
+++ b/sdks/node/docs/model/TemplateResponse.md
@@ -6,20 +6,21 @@ Contains information about the templates you and your team have created.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-| `templateId` | ```string``` | The id of the Template. | |
-| `title` | ```string``` | The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | |
-| `message` | ```string``` | The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | |
+| `templateId`*_required_ | ```string``` | The id of the Template. | |
+| `title`*_required_ | ```string``` | The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | |
+| `message`*_required_ | ```string``` | The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest. | |
+| `isCreator`*_required_ | ```boolean``` | `true` if you are the owner of this template, `false` if it's been shared with you by a team member. | |
+| `canEdit`*_required_ | ```boolean``` | Indicates whether edit rights have been granted to you by the owner (always `true` if that's you). | |
+| `isLocked`*_required_ | ```boolean``` | Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests. | |
+| `metadata`*_required_ | ```object``` | The metadata attached to the template. | |
+| `signerRoles`*_required_ | [```Array```](TemplateResponseSignerRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | |
+| `ccRoles`*_required_ | [```Array```](TemplateResponseCCRole.md) | An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. | |
+| `documents`*_required_ | [```Array```](TemplateResponseDocument.md) | An array describing each document associated with this Template. Includes form field data for each document. | |
+| `accounts`*_required_ | [```Array```](TemplateResponseAccount.md) | An array of the Accounts that can use this Template. | |
+| `attachments`*_required_ | [```Array```](SignatureRequestResponseAttachment.md) | Signer attachments. | |
| `updatedAt` | ```number``` | Time the template was last updated. | |
-| `isEmbedded` | ```boolean``` | `true` if this template was created using an embedded flow, `false` if it was created on our website. | |
-| `isCreator` | ```boolean``` | `true` if you are the owner of this template, `false` if it's been shared with you by a team member. | |
-| `canEdit` | ```boolean``` | Indicates whether edit rights have been granted to you by the owner (always `true` if that's you). | |
-| `isLocked` | ```boolean``` | Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests. | |
-| `metadata` | ```object``` | The metadata attached to the template. | |
-| `signerRoles` | [```Array```](TemplateResponseSignerRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | |
-| `ccRoles` | [```Array```](TemplateResponseCCRole.md) | An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. | |
-| `documents` | [```Array```](TemplateResponseDocument.md) | An array describing each document associated with this Template. Includes form field data for each document. | |
+| `isEmbedded` | ```boolean``` | `true` if this template was created using an embedded flow, `false` if it was created on our website. Will be `null` when you are not the creator of the Template. | |
| `customFields` | [```Array```](TemplateResponseDocumentCustomFieldBase.md) | Deprecated. Use `custom_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead. | |
| `namedFormFields` | [```Array```](TemplateResponseDocumentFormFieldBase.md) | Deprecated. Use `form_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead. | |
-| `accounts` | [```Array```](TemplateResponseAccount.md) | An array of the Accounts that can use this Template. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseAccount.md b/sdks/node/docs/model/TemplateResponseAccount.md
index 524109d96..eb890053e 100644
--- a/sdks/node/docs/model/TemplateResponseAccount.md
+++ b/sdks/node/docs/model/TemplateResponseAccount.md
@@ -6,11 +6,11 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-| `accountId` | ```string``` | The id of the Account. | |
+| `accountId`*_required_ | ```string``` | The id of the Account. | |
+| `isLocked`*_required_ | ```boolean``` | Returns `true` if the user has been locked out of their account by a team admin. | |
+| `isPaidHs`*_required_ | ```boolean``` | Returns `true` if the user has a paid Dropbox Sign account. | |
+| `isPaidHf`*_required_ | ```boolean``` | Returns `true` if the user has a paid HelloFax account. | |
+| `quotas`*_required_ | [```TemplateResponseAccountQuota```](TemplateResponseAccountQuota.md) | | |
| `emailAddress` | ```string``` | The email address associated with the Account. | |
-| `isLocked` | ```boolean``` | Returns `true` if the user has been locked out of their account by a team admin. | |
-| `isPaidHs` | ```boolean``` | Returns `true` if the user has a paid Dropbox Sign account. | |
-| `isPaidHf` | ```boolean``` | Returns `true` if the user has a paid HelloFax account. | |
-| `quotas` | [```TemplateResponseAccountQuota```](TemplateResponseAccountQuota.md) | | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseAccountQuota.md b/sdks/node/docs/model/TemplateResponseAccountQuota.md
index 587c6dab3..ff782d764 100644
--- a/sdks/node/docs/model/TemplateResponseAccountQuota.md
+++ b/sdks/node/docs/model/TemplateResponseAccountQuota.md
@@ -6,9 +6,9 @@ An array of the designated CC roles that must be specified when sending a Signat
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-| `templatesLeft` | ```number``` | API templates remaining. | |
-| `apiSignatureRequestsLeft` | ```number``` | API signature requests remaining. | |
-| `documentsLeft` | ```number``` | Signature requests remaining. | |
-| `smsVerificationsLeft` | ```number``` | SMS verifications remaining. | |
+| `templatesLeft`*_required_ | ```number``` | API templates remaining. | |
+| `apiSignatureRequestsLeft`*_required_ | ```number``` | API signature requests remaining. | |
+| `documentsLeft`*_required_ | ```number``` | Signature requests remaining. | |
+| `smsVerificationsLeft`*_required_ | ```number``` | SMS verifications remaining. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseCCRole.md b/sdks/node/docs/model/TemplateResponseCCRole.md
index 32ad82ef9..74c81b18d 100644
--- a/sdks/node/docs/model/TemplateResponseCCRole.md
+++ b/sdks/node/docs/model/TemplateResponseCCRole.md
@@ -6,6 +6,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-| `name` | ```string``` | The name of the Role. | |
+| `name`*_required_ | ```string``` | The name of the Role. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocument.md b/sdks/node/docs/model/TemplateResponseDocument.md
index 5f3f0d214..50fa698f4 100644
--- a/sdks/node/docs/model/TemplateResponseDocument.md
+++ b/sdks/node/docs/model/TemplateResponseDocument.md
@@ -6,11 +6,11 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-| `name` | ```string``` | Name of the associated file. | |
+| `name`*_required_ | ```string``` | Name of the associated file. | |
+| `fieldGroups`*_required_ | [```Array```](TemplateResponseDocumentFieldGroup.md) | An array of Form Field Group objects. | |
+| `formFields`*_required_ | [```Array```](TemplateResponseDocumentFormFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | |
+| `customFields`*_required_ | [```Array```](TemplateResponseDocumentCustomFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | |
+| `staticFields`*_required_ | [```Array```](TemplateResponseDocumentStaticFieldBase.md) | An array describing static overlay fields. **NOTE:** Only available for certain subscriptions. | |
| `index` | ```number``` | Document ordering, the lowest index is displayed first and the highest last (0-based indexing). | |
-| `fieldGroups` | [```Array```](TemplateResponseDocumentFieldGroup.md) | An array of Form Field Group objects. | |
-| `formFields` | [```Array```](TemplateResponseDocumentFormFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | |
-| `customFields` | [```Array```](TemplateResponseDocumentCustomFieldBase.md) | An array of Form Field objects containing the name and type of each named field. | |
-| `staticFields` | [```Array```](TemplateResponseDocumentStaticFieldBase.md) | An array describing static overlay fields. **NOTE:** Only available for certain subscriptions. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentCustomFieldBase.md b/sdks/node/docs/model/TemplateResponseDocumentCustomFieldBase.md
index 81418366f..4a9b70f2a 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentCustomFieldBase.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentCustomFieldBase.md
@@ -6,15 +6,15 @@ An array of Form Field objects containing the name and type of each named field.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+| `apiId`*_required_ | ```string``` | The unique ID for this field. | |
+| `name`*_required_ | ```string``` | The name of the Custom Field. | |
| `type`*_required_ | ```string``` | | |
-| `apiId` | ```string``` | The unique ID for this field. | |
-| `name` | ```string``` | The name of the Custom Field. | |
+| `x`*_required_ | ```number``` | The horizontal offset in pixels for this form field. | |
+| `y`*_required_ | ```number``` | The vertical offset in pixels for this form field. | |
+| `width`*_required_ | ```number``` | The width in pixels of this form field. | |
+| `height`*_required_ | ```number``` | The height in pixels of this form field. | |
+| `required`*_required_ | ```boolean``` | Boolean showing whether or not this field is required. | |
| `signer` | ```string``` | The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender). | |
-| `x` | ```number``` | The horizontal offset in pixels for this form field. | |
-| `y` | ```number``` | The vertical offset in pixels for this form field. | |
-| `width` | ```number``` | The width in pixels of this form field. | |
-| `height` | ```number``` | The height in pixels of this form field. | |
-| `required` | ```boolean``` | Boolean showing whether or not this field is required. | |
| `group` | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null`. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentCustomFieldText.md b/sdks/node/docs/model/TemplateResponseDocumentCustomFieldText.md
index 035c69583..84a007361 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentCustomFieldText.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentCustomFieldText.md
@@ -7,9 +7,9 @@ This class extends `TemplateResponseDocumentCustomFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `type`*_required_ | ```string``` | The type of this Custom Field. Only `text` and `checkbox` are currently supported.
* Text uses `TemplateResponseDocumentCustomFieldText`
* Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox` | [default to 'text'] |
-| `avgTextLength` | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
-| `isMultiline` | ```boolean``` | Whether this form field is multiline text. | |
-| `originalFontSize` | ```number``` | Original font size used in this form field's text. | |
-| `fontFamily` | ```string``` | Font family used in this form field's text. | |
+| `avgTextLength`*_required_ | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
+| `isMultiline`*_required_ | ```boolean``` | Whether this form field is multiline text. | |
+| `originalFontSize`*_required_ | ```number``` | Original font size used in this form field's text. | |
+| `fontFamily`*_required_ | ```string``` | Font family used in this form field's text. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentFieldGroup.md b/sdks/node/docs/model/TemplateResponseDocumentFieldGroup.md
index 51f7c3369..b60f4eb75 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentFieldGroup.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentFieldGroup.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-| `name` | ```string``` | The name of the form field group. | |
-| `rule` | [```TemplateResponseDocumentFieldGroupRule```](TemplateResponseDocumentFieldGroupRule.md) | | |
+| `name`*_required_ | ```string``` | The name of the form field group. | |
+| `rule`*_required_ | [```TemplateResponseDocumentFieldGroupRule```](TemplateResponseDocumentFieldGroupRule.md) | | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentFieldGroupRule.md b/sdks/node/docs/model/TemplateResponseDocumentFieldGroupRule.md
index 95e4fa470..965bc8c08 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentFieldGroupRule.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentFieldGroupRule.md
@@ -6,7 +6,7 @@ The rule used to validate checkboxes in the form field group. See [checkbox fiel
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-| `requirement` | ```string``` | 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. | |
-| `groupLabel` | ```string``` | Name of the group | |
+| `requirement`*_required_ | ```string``` | 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. | |
+| `groupLabel`*_required_ | ```string``` | Name of the group | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentFormFieldBase.md b/sdks/node/docs/model/TemplateResponseDocumentFormFieldBase.md
index 859662984..bdae5de92 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentFormFieldBase.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentFormFieldBase.md
@@ -6,15 +6,14 @@ An array of Form Field objects containing the name and type of each named field.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+| `apiId`*_required_ | ```string``` | A unique id for the form field. | |
+| `name`*_required_ | ```string``` | The name of the form field. | |
| `type`*_required_ | ```string``` | | |
-| `apiId` | ```string``` | A unique id for the form field. | |
-| `name` | ```string``` | The name of the form field. | |
-| `signer` | ```string``` | The signer of the Form Field. | |
-| `x` | ```number``` | The horizontal offset in pixels for this form field. | |
-| `y` | ```number``` | The vertical offset in pixels for this form field. | |
-| `width` | ```number``` | The width in pixels of this form field. | |
-| `height` | ```number``` | The height in pixels of this form field. | |
-| `required` | ```boolean``` | Boolean showing whether or not this field is required. | |
-| `group` | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
+| `signer`*_required_ | ```string``` | The signer of the Form Field. | |
+| `x`*_required_ | ```number``` | The horizontal offset in pixels for this form field. | |
+| `y`*_required_ | ```number``` | The vertical offset in pixels for this form field. | |
+| `width`*_required_ | ```number``` | The width in pixels of this form field. | |
+| `height`*_required_ | ```number``` | The height in pixels of this form field. | |
+| `required`*_required_ | ```boolean``` | Boolean showing whether or not this field is required. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentFormFieldCheckbox.md b/sdks/node/docs/model/TemplateResponseDocumentFormFieldCheckbox.md
index f2153cbc1..2ee1b9e5e 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentFormFieldCheckbox.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentFormFieldCheckbox.md
@@ -7,5 +7,6 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `type`*_required_ | ```string``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to 'checkbox'] |
+| `group` | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentFormFieldDateSigned.md b/sdks/node/docs/model/TemplateResponseDocumentFormFieldDateSigned.md
index ada92f315..8996ce7a3 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentFormFieldDateSigned.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentFormFieldDateSigned.md
@@ -7,5 +7,6 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `type`*_required_ | ```string``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to 'date_signed'] |
+| `group` | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentFormFieldDropdown.md b/sdks/node/docs/model/TemplateResponseDocumentFormFieldDropdown.md
index c868840bd..35cadabb5 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentFormFieldDropdown.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentFormFieldDropdown.md
@@ -7,5 +7,6 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `type`*_required_ | ```string``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to 'dropdown'] |
+| `group` | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentFormFieldHyperlink.md b/sdks/node/docs/model/TemplateResponseDocumentFormFieldHyperlink.md
index fadb22b4f..ec72f7901 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentFormFieldHyperlink.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentFormFieldHyperlink.md
@@ -7,9 +7,10 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `type`*_required_ | ```string``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to 'hyperlink'] |
-| `avgTextLength` | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
-| `isMultiline` | ```boolean``` | Whether this form field is multiline text. | |
-| `originalFontSize` | ```number``` | Original font size used in this form field's text. | |
-| `fontFamily` | ```string``` | Font family used in this form field's text. | |
+| `avgTextLength`*_required_ | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
+| `isMultiline`*_required_ | ```boolean``` | Whether this form field is multiline text. | |
+| `originalFontSize`*_required_ | ```number``` | Original font size used in this form field's text. | |
+| `fontFamily`*_required_ | ```string``` | Font family used in this form field's text. | |
+| `group` | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentFormFieldInitials.md b/sdks/node/docs/model/TemplateResponseDocumentFormFieldInitials.md
index 9040699a9..ab0ccda06 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentFormFieldInitials.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentFormFieldInitials.md
@@ -7,5 +7,6 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `type`*_required_ | ```string``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to 'initials'] |
+| `group` | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentFormFieldRadio.md b/sdks/node/docs/model/TemplateResponseDocumentFormFieldRadio.md
index 409352e50..3b888caf7 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentFormFieldRadio.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentFormFieldRadio.md
@@ -7,5 +7,6 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `type`*_required_ | ```string``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to 'radio'] |
+| `group`*_required_ | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentFormFieldSignature.md b/sdks/node/docs/model/TemplateResponseDocumentFormFieldSignature.md
index 3336b5b0d..b46f1d963 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentFormFieldSignature.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentFormFieldSignature.md
@@ -7,5 +7,6 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `type`*_required_ | ```string``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to 'signature'] |
+| `group` | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentFormFieldText.md b/sdks/node/docs/model/TemplateResponseDocumentFormFieldText.md
index c335bce0a..c2769f4fc 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentFormFieldText.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentFormFieldText.md
@@ -7,10 +7,11 @@ This class extends `TemplateResponseDocumentFormFieldBase`
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `type`*_required_ | ```string``` | The type of this form field. See [field types](/api/reference/constants/#field-types).
* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to 'text'] |
-| `avgTextLength` | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
-| `isMultiline` | ```boolean``` | Whether this form field is multiline text. | |
-| `originalFontSize` | ```number``` | Original font size used in this form field's text. | |
-| `fontFamily` | ```string``` | Font family used in this form field's text. | |
+| `avgTextLength`*_required_ | [```TemplateResponseFieldAvgTextLength```](TemplateResponseFieldAvgTextLength.md) | | |
+| `isMultiline`*_required_ | ```boolean``` | Whether this form field is multiline text. | |
+| `originalFontSize`*_required_ | ```number``` | Original font size used in this form field's text. | |
+| `fontFamily`*_required_ | ```string``` | Font family used in this form field's text. | |
| `validationType` | ```string``` | Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values. | |
+| `group` | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseDocumentStaticFieldBase.md b/sdks/node/docs/model/TemplateResponseDocumentStaticFieldBase.md
index 243c1d108..a5fe1b0f6 100644
--- a/sdks/node/docs/model/TemplateResponseDocumentStaticFieldBase.md
+++ b/sdks/node/docs/model/TemplateResponseDocumentStaticFieldBase.md
@@ -6,15 +6,15 @@ An array describing static overlay fields. **NOTE:** Only available for certain
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+| `apiId`*_required_ | ```string``` | A unique id for the static field. | |
+| `name`*_required_ | ```string``` | The name of the static field. | |
| `type`*_required_ | ```string``` | | |
-| `apiId` | ```string``` | A unique id for the static field. | |
-| `name` | ```string``` | The name of the static field. | |
-| `signer` | ```string``` | The signer of the Static Field. | [default to 'me_now'] |
-| `x` | ```number``` | The horizontal offset in pixels for this static field. | |
-| `y` | ```number``` | The vertical offset in pixels for this static field. | |
-| `width` | ```number``` | The width in pixels of this static field. | |
-| `height` | ```number``` | The height in pixels of this static field. | |
-| `required` | ```boolean``` | Boolean showing whether or not this field is required. | |
+| `signer`*_required_ | ```string``` | The signer of the Static Field. | [default to 'me_now'] |
+| `x`*_required_ | ```number``` | The horizontal offset in pixels for this static field. | |
+| `y`*_required_ | ```number``` | The vertical offset in pixels for this static field. | |
+| `width`*_required_ | ```number``` | The width in pixels of this static field. | |
+| `height`*_required_ | ```number``` | The height in pixels of this static field. | |
+| `required`*_required_ | ```boolean``` | Boolean showing whether or not this field is required. | |
| `group` | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null`. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseFieldAvgTextLength.md b/sdks/node/docs/model/TemplateResponseFieldAvgTextLength.md
index 45daf9dae..585551694 100644
--- a/sdks/node/docs/model/TemplateResponseFieldAvgTextLength.md
+++ b/sdks/node/docs/model/TemplateResponseFieldAvgTextLength.md
@@ -6,7 +6,7 @@ Average text length in this field.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-| `numLines` | ```number``` | Number of lines. | |
-| `numCharsPerLine` | ```number``` | Number of characters per line. | |
+| `numLines`*_required_ | ```number``` | Number of lines. | |
+| `numCharsPerLine`*_required_ | ```number``` | Number of characters per line. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateResponseSignerRole.md b/sdks/node/docs/model/TemplateResponseSignerRole.md
index e33fced3c..d3456d9cf 100644
--- a/sdks/node/docs/model/TemplateResponseSignerRole.md
+++ b/sdks/node/docs/model/TemplateResponseSignerRole.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-| `name` | ```string``` | The name of the Role. | |
+| `name`*_required_ | ```string``` | The name of the Role. | |
| `order` | ```number``` | If signer order is assigned this is the 0-based index for this role. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/docs/model/TemplateUpdateFilesResponseTemplate.md b/sdks/node/docs/model/TemplateUpdateFilesResponseTemplate.md
index aea14ab0c..90feb3f29 100644
--- a/sdks/node/docs/model/TemplateUpdateFilesResponseTemplate.md
+++ b/sdks/node/docs/model/TemplateUpdateFilesResponseTemplate.md
@@ -6,7 +6,7 @@ Contains template id
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-| `templateId` | ```string``` | The id of the Template. | |
+| `templateId`*_required_ | ```string``` | The id of the Template. | |
| `warnings` | [```Array```](WarningResponse.md) | A list of warnings. | |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/model/templateCreateEmbeddedDraftResponseTemplate.ts b/sdks/node/model/templateCreateEmbeddedDraftResponseTemplate.ts
index af7f9a71b..259954445 100644
--- a/sdks/node/model/templateCreateEmbeddedDraftResponseTemplate.ts
+++ b/sdks/node/model/templateCreateEmbeddedDraftResponseTemplate.ts
@@ -32,15 +32,15 @@ export class TemplateCreateEmbeddedDraftResponseTemplate {
/**
* The id of the Template.
*/
- "templateId"?: string;
+ "templateId": string;
/**
* Link to edit the template.
*/
- "editUrl"?: string;
+ "editUrl": string;
/**
* When the link expires.
*/
- "expiresAt"?: number;
+ "expiresAt": number;
/**
* A list of warnings.
*/
diff --git a/sdks/node/model/templateCreateResponseTemplate.ts b/sdks/node/model/templateCreateResponseTemplate.ts
index cdcd61167..e6e8a7ea6 100644
--- a/sdks/node/model/templateCreateResponseTemplate.ts
+++ b/sdks/node/model/templateCreateResponseTemplate.ts
@@ -31,7 +31,7 @@ export class TemplateCreateResponseTemplate {
/**
* The id of the Template.
*/
- "templateId"?: string;
+ "templateId": string;
static discriminator: string | undefined = undefined;
diff --git a/sdks/node/model/templateResponse.ts b/sdks/node/model/templateResponse.ts
index 88df4c09b..c115a359c 100644
--- a/sdks/node/model/templateResponse.ts
+++ b/sdks/node/model/templateResponse.ts
@@ -23,6 +23,7 @@
*/
import { AttributeTypeMap, ObjectSerializer } from "./";
+import { SignatureRequestResponseAttachment } from "./signatureRequestResponseAttachment";
import { TemplateResponseAccount } from "./templateResponseAccount";
import { TemplateResponseCCRole } from "./templateResponseCCRole";
import { TemplateResponseDocument } from "./templateResponseDocument";
@@ -37,51 +38,59 @@ export class TemplateResponse {
/**
* The id of the Template.
*/
- "templateId"?: string;
+ "templateId": string;
/**
* The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest.
*/
- "title"?: string;
+ "title": string;
/**
* The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest.
*/
- "message"?: string;
- /**
- * Time the template was last updated.
- */
- "updatedAt"?: number;
- /**
- * `true` if this template was created using an embedded flow, `false` if it was created on our website.
- */
- "isEmbedded"?: boolean | null;
+ "message": string;
/**
* `true` if you are the owner of this template, `false` if it\'s been shared with you by a team member.
*/
- "isCreator"?: boolean | null;
+ "isCreator": boolean;
/**
* Indicates whether edit rights have been granted to you by the owner (always `true` if that\'s you).
*/
- "canEdit"?: boolean | null;
+ "canEdit": boolean;
/**
* Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests.
*/
- "isLocked"?: boolean | null;
+ "isLocked": boolean;
/**
* The metadata attached to the template.
*/
- "metadata"?: object;
+ "metadata": object;
/**
* An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template.
*/
- "signerRoles"?: Array;
+ "signerRoles": Array;
/**
* An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template.
*/
- "ccRoles"?: Array;
+ "ccRoles": Array;
/**
* An array describing each document associated with this Template. Includes form field data for each document.
*/
- "documents"?: Array;
+ "documents": Array;
+ /**
+ * An array of the Accounts that can use this Template.
+ */
+ "accounts": Array;
+ /**
+ * Signer attachments.
+ */
+ "attachments": Array;
+ /**
+ * Time the template was last updated.
+ */
+ "updatedAt"?: number;
+ /**
+ * `true` if this template was created using an embedded flow, `false` if it was created on our website. Will be `null` when you are not the creator of the Template.
+ */
+ "isEmbedded"?: boolean | null;
/**
* Deprecated. Use `custom_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead.
*/
@@ -90,10 +99,6 @@ export class TemplateResponse {
* Deprecated. Use `form_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead.
*/
"namedFormFields"?: Array | null;
- /**
- * An array of the Accounts that can use this Template.
- */
- "accounts"?: Array | null;
static discriminator: string | undefined = undefined;
@@ -113,16 +118,6 @@ export class TemplateResponse {
baseName: "message",
type: "string",
},
- {
- name: "updatedAt",
- baseName: "updated_at",
- type: "number",
- },
- {
- name: "isEmbedded",
- baseName: "is_embedded",
- type: "boolean",
- },
{
name: "isCreator",
baseName: "is_creator",
@@ -158,6 +153,26 @@ export class TemplateResponse {
baseName: "documents",
type: "Array",
},
+ {
+ name: "accounts",
+ baseName: "accounts",
+ type: "Array",
+ },
+ {
+ name: "attachments",
+ baseName: "attachments",
+ type: "Array",
+ },
+ {
+ name: "updatedAt",
+ baseName: "updated_at",
+ type: "number",
+ },
+ {
+ name: "isEmbedded",
+ baseName: "is_embedded",
+ type: "boolean",
+ },
{
name: "customFields",
baseName: "custom_fields",
@@ -168,11 +183,6 @@ export class TemplateResponse {
baseName: "named_form_fields",
type: "Array",
},
- {
- name: "accounts",
- baseName: "accounts",
- type: "Array",
- },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/model/templateResponseAccount.ts b/sdks/node/model/templateResponseAccount.ts
index 3b43d9351..86f230130 100644
--- a/sdks/node/model/templateResponseAccount.ts
+++ b/sdks/node/model/templateResponseAccount.ts
@@ -29,24 +29,24 @@ export class TemplateResponseAccount {
/**
* The id of the Account.
*/
- "accountId"?: string;
- /**
- * The email address associated with the Account.
- */
- "emailAddress"?: string;
+ "accountId": string;
/**
* Returns `true` if the user has been locked out of their account by a team admin.
*/
- "isLocked"?: boolean;
+ "isLocked": boolean;
/**
* Returns `true` if the user has a paid Dropbox Sign account.
*/
- "isPaidHs"?: boolean;
+ "isPaidHs": boolean;
/**
* Returns `true` if the user has a paid HelloFax account.
*/
- "isPaidHf"?: boolean;
- "quotas"?: TemplateResponseAccountQuota;
+ "isPaidHf": boolean;
+ "quotas": TemplateResponseAccountQuota;
+ /**
+ * The email address associated with the Account.
+ */
+ "emailAddress"?: string;
static discriminator: string | undefined = undefined;
@@ -56,11 +56,6 @@ export class TemplateResponseAccount {
baseName: "account_id",
type: "string",
},
- {
- name: "emailAddress",
- baseName: "email_address",
- type: "string",
- },
{
name: "isLocked",
baseName: "is_locked",
@@ -81,6 +76,11 @@ export class TemplateResponseAccount {
baseName: "quotas",
type: "TemplateResponseAccountQuota",
},
+ {
+ name: "emailAddress",
+ baseName: "email_address",
+ type: "string",
+ },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/model/templateResponseAccountQuota.ts b/sdks/node/model/templateResponseAccountQuota.ts
index e2d6669b6..fbb4547ac 100644
--- a/sdks/node/model/templateResponseAccountQuota.ts
+++ b/sdks/node/model/templateResponseAccountQuota.ts
@@ -31,19 +31,19 @@ export class TemplateResponseAccountQuota {
/**
* API templates remaining.
*/
- "templatesLeft"?: number;
+ "templatesLeft": number;
/**
* API signature requests remaining.
*/
- "apiSignatureRequestsLeft"?: number;
+ "apiSignatureRequestsLeft": number;
/**
* Signature requests remaining.
*/
- "documentsLeft"?: number;
+ "documentsLeft": number;
/**
* SMS verifications remaining.
*/
- "smsVerificationsLeft"?: number;
+ "smsVerificationsLeft": number;
static discriminator: string | undefined = undefined;
diff --git a/sdks/node/model/templateResponseCCRole.ts b/sdks/node/model/templateResponseCCRole.ts
index b3b7a2fd7..442fe1f89 100644
--- a/sdks/node/model/templateResponseCCRole.ts
+++ b/sdks/node/model/templateResponseCCRole.ts
@@ -28,7 +28,7 @@ export class TemplateResponseCCRole {
/**
* The name of the Role.
*/
- "name"?: string;
+ "name": string;
static discriminator: string | undefined = undefined;
diff --git a/sdks/node/model/templateResponseDocument.ts b/sdks/node/model/templateResponseDocument.ts
index 0c7a19e02..4b55dfe81 100644
--- a/sdks/node/model/templateResponseDocument.ts
+++ b/sdks/node/model/templateResponseDocument.ts
@@ -32,27 +32,27 @@ export class TemplateResponseDocument {
/**
* Name of the associated file.
*/
- "name"?: string;
- /**
- * Document ordering, the lowest index is displayed first and the highest last (0-based indexing).
- */
- "index"?: number;
+ "name": string;
/**
* An array of Form Field Group objects.
*/
- "fieldGroups"?: Array;
+ "fieldGroups": Array;
/**
* An array of Form Field objects containing the name and type of each named field.
*/
- "formFields"?: Array;
+ "formFields": Array;
/**
* An array of Form Field objects containing the name and type of each named field.
*/
- "customFields"?: Array;
+ "customFields": Array;
/**
* An array describing static overlay fields. **NOTE:** Only available for certain subscriptions.
*/
- "staticFields"?: Array | null;
+ "staticFields": Array;
+ /**
+ * Document ordering, the lowest index is displayed first and the highest last (0-based indexing).
+ */
+ "index"?: number;
static discriminator: string | undefined = undefined;
@@ -62,11 +62,6 @@ export class TemplateResponseDocument {
baseName: "name",
type: "string",
},
- {
- name: "index",
- baseName: "index",
- type: "number",
- },
{
name: "fieldGroups",
baseName: "field_groups",
@@ -87,6 +82,11 @@ export class TemplateResponseDocument {
baseName: "static_fields",
type: "Array",
},
+ {
+ name: "index",
+ baseName: "index",
+ type: "number",
+ },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/model/templateResponseDocumentCustomFieldBase.ts b/sdks/node/model/templateResponseDocumentCustomFieldBase.ts
index a0ed43965..340f9200d 100644
--- a/sdks/node/model/templateResponseDocumentCustomFieldBase.ts
+++ b/sdks/node/model/templateResponseDocumentCustomFieldBase.ts
@@ -28,39 +28,39 @@ import { AttributeTypeMap } from "./";
* An array of Form Field objects containing the name and type of each named field.
*/
export abstract class TemplateResponseDocumentCustomFieldBase {
- "type": string;
/**
* The unique ID for this field.
*/
- "apiId"?: string;
+ "apiId": string;
/**
* The name of the Custom Field.
*/
- "name"?: string;
- /**
- * The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender).
- */
- "signer"?: number | string | null;
+ "name": string;
+ "type": string;
/**
* The horizontal offset in pixels for this form field.
*/
- "x"?: number;
+ "x": number;
/**
* The vertical offset in pixels for this form field.
*/
- "y"?: number;
+ "y": number;
/**
* The width in pixels of this form field.
*/
- "width"?: number;
+ "width": number;
/**
* The height in pixels of this form field.
*/
- "height"?: number;
+ "height": number;
/**
* Boolean showing whether or not this field is required.
*/
- "required"?: boolean;
+ "required": boolean;
+ /**
+ * The signer of the Custom Field. Can be `null` if field is a merge field (assigned to Sender).
+ */
+ "signer"?: number | string | null;
/**
* The name of the group this field is in. If this field is not a group, this defaults to `null`.
*/
@@ -69,11 +69,6 @@ export abstract class TemplateResponseDocumentCustomFieldBase {
static discriminator: string | undefined = "type";
static attributeTypeMap: AttributeTypeMap = [
- {
- name: "type",
- baseName: "type",
- type: "string",
- },
{
name: "apiId",
baseName: "api_id",
@@ -85,8 +80,8 @@ export abstract class TemplateResponseDocumentCustomFieldBase {
type: "string",
},
{
- name: "signer",
- baseName: "signer",
+ name: "type",
+ baseName: "type",
type: "string",
},
{
@@ -114,6 +109,11 @@ export abstract class TemplateResponseDocumentCustomFieldBase {
baseName: "required",
type: "boolean",
},
+ {
+ name: "signer",
+ baseName: "signer",
+ type: "string",
+ },
{
name: "group",
baseName: "group",
diff --git a/sdks/node/model/templateResponseDocumentCustomFieldText.ts b/sdks/node/model/templateResponseDocumentCustomFieldText.ts
index 3f59efc19..f07ba6b45 100644
--- a/sdks/node/model/templateResponseDocumentCustomFieldText.ts
+++ b/sdks/node/model/templateResponseDocumentCustomFieldText.ts
@@ -34,19 +34,19 @@ export class TemplateResponseDocumentCustomFieldText extends TemplateResponseDoc
* The type of this Custom Field. Only `text` and `checkbox` are currently supported. * Text uses `TemplateResponseDocumentCustomFieldText` * Checkbox uses `TemplateResponseDocumentCustomFieldCheckbox`
*/
"type": string = "text";
- "avgTextLength"?: TemplateResponseFieldAvgTextLength;
+ "avgTextLength": TemplateResponseFieldAvgTextLength;
/**
* Whether this form field is multiline text.
*/
- "isMultiline"?: boolean;
+ "isMultiline": boolean;
/**
* Original font size used in this form field\'s text.
*/
- "originalFontSize"?: number;
+ "originalFontSize": number;
/**
* Font family used in this form field\'s text.
*/
- "fontFamily"?: string;
+ "fontFamily": string;
static discriminator: string | undefined = undefined;
diff --git a/sdks/node/model/templateResponseDocumentFieldGroup.ts b/sdks/node/model/templateResponseDocumentFieldGroup.ts
index 4d2f9c695..820863174 100644
--- a/sdks/node/model/templateResponseDocumentFieldGroup.ts
+++ b/sdks/node/model/templateResponseDocumentFieldGroup.ts
@@ -29,8 +29,8 @@ export class TemplateResponseDocumentFieldGroup {
/**
* The name of the form field group.
*/
- "name"?: string;
- "rule"?: TemplateResponseDocumentFieldGroupRule;
+ "name": string;
+ "rule": TemplateResponseDocumentFieldGroupRule;
static discriminator: string | undefined = undefined;
diff --git a/sdks/node/model/templateResponseDocumentFieldGroupRule.ts b/sdks/node/model/templateResponseDocumentFieldGroupRule.ts
index f5ad93cf4..4e8f93b10 100644
--- a/sdks/node/model/templateResponseDocumentFieldGroupRule.ts
+++ b/sdks/node/model/templateResponseDocumentFieldGroupRule.ts
@@ -31,11 +31,11 @@ export class TemplateResponseDocumentFieldGroupRule {
/**
* 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.
*/
- "requirement"?: string;
+ "requirement": string;
/**
* Name of the group
*/
- "groupLabel"?: string;
+ "groupLabel": string;
static discriminator: string | undefined = undefined;
diff --git a/sdks/node/model/templateResponseDocumentFormFieldBase.ts b/sdks/node/model/templateResponseDocumentFormFieldBase.ts
index 94242a4a9..e7aa32f85 100644
--- a/sdks/node/model/templateResponseDocumentFormFieldBase.ts
+++ b/sdks/node/model/templateResponseDocumentFormFieldBase.ts
@@ -28,52 +28,43 @@ import { AttributeTypeMap } from "./";
* An array of Form Field objects containing the name and type of each named field.
*/
export abstract class TemplateResponseDocumentFormFieldBase {
- "type": string;
/**
* A unique id for the form field.
*/
- "apiId"?: string;
+ "apiId": string;
/**
* The name of the form field.
*/
- "name"?: string;
+ "name": string;
+ "type": string;
/**
* The signer of the Form Field.
*/
- "signer"?: number | string;
+ "signer": number | string;
/**
* The horizontal offset in pixels for this form field.
*/
- "x"?: number;
+ "x": number;
/**
* The vertical offset in pixels for this form field.
*/
- "y"?: number;
+ "y": number;
/**
* The width in pixels of this form field.
*/
- "width"?: number;
+ "width": number;
/**
* The height in pixels of this form field.
*/
- "height"?: number;
+ "height": number;
/**
* Boolean showing whether or not this field is required.
*/
- "required"?: boolean;
- /**
- * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
- */
- "group"?: string | null;
+ "required": boolean;
static discriminator: string | undefined = "type";
static attributeTypeMap: AttributeTypeMap = [
- {
- name: "type",
- baseName: "type",
- type: "string",
- },
{
name: "apiId",
baseName: "api_id",
@@ -84,6 +75,11 @@ export abstract class TemplateResponseDocumentFormFieldBase {
baseName: "name",
type: "string",
},
+ {
+ name: "type",
+ baseName: "type",
+ type: "string",
+ },
{
name: "signer",
baseName: "signer",
@@ -114,11 +110,6 @@ export abstract class TemplateResponseDocumentFormFieldBase {
baseName: "required",
type: "boolean",
},
- {
- name: "group",
- baseName: "group",
- type: "string",
- },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/model/templateResponseDocumentFormFieldCheckbox.ts b/sdks/node/model/templateResponseDocumentFormFieldCheckbox.ts
index 5e0b6d88b..e27a9fd0a 100644
--- a/sdks/node/model/templateResponseDocumentFormFieldCheckbox.ts
+++ b/sdks/node/model/templateResponseDocumentFormFieldCheckbox.ts
@@ -33,6 +33,10 @@ export class TemplateResponseDocumentFormFieldCheckbox extends TemplateResponseD
* The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
*/
"type": string = "checkbox";
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ */
+ "group"?: string | null;
static discriminator: string | undefined = undefined;
@@ -42,6 +46,11 @@ export class TemplateResponseDocumentFormFieldCheckbox extends TemplateResponseD
baseName: "type",
type: "string",
},
+ {
+ name: "group",
+ baseName: "group",
+ type: "string",
+ },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/model/templateResponseDocumentFormFieldDateSigned.ts b/sdks/node/model/templateResponseDocumentFormFieldDateSigned.ts
index b510aa57f..08ce11026 100644
--- a/sdks/node/model/templateResponseDocumentFormFieldDateSigned.ts
+++ b/sdks/node/model/templateResponseDocumentFormFieldDateSigned.ts
@@ -33,6 +33,10 @@ export class TemplateResponseDocumentFormFieldDateSigned extends TemplateRespons
* The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
*/
"type": string = "date_signed";
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ */
+ "group"?: string | null;
static discriminator: string | undefined = undefined;
@@ -42,6 +46,11 @@ export class TemplateResponseDocumentFormFieldDateSigned extends TemplateRespons
baseName: "type",
type: "string",
},
+ {
+ name: "group",
+ baseName: "group",
+ type: "string",
+ },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/model/templateResponseDocumentFormFieldDropdown.ts b/sdks/node/model/templateResponseDocumentFormFieldDropdown.ts
index e2878febc..0aeb3e4e0 100644
--- a/sdks/node/model/templateResponseDocumentFormFieldDropdown.ts
+++ b/sdks/node/model/templateResponseDocumentFormFieldDropdown.ts
@@ -33,6 +33,10 @@ export class TemplateResponseDocumentFormFieldDropdown extends TemplateResponseD
* The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
*/
"type": string = "dropdown";
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ */
+ "group"?: string | null;
static discriminator: string | undefined = undefined;
@@ -42,6 +46,11 @@ export class TemplateResponseDocumentFormFieldDropdown extends TemplateResponseD
baseName: "type",
type: "string",
},
+ {
+ name: "group",
+ baseName: "group",
+ type: "string",
+ },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/model/templateResponseDocumentFormFieldHyperlink.ts b/sdks/node/model/templateResponseDocumentFormFieldHyperlink.ts
index 4a5998959..2c2113493 100644
--- a/sdks/node/model/templateResponseDocumentFormFieldHyperlink.ts
+++ b/sdks/node/model/templateResponseDocumentFormFieldHyperlink.ts
@@ -34,19 +34,23 @@ export class TemplateResponseDocumentFormFieldHyperlink extends TemplateResponse
* The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
*/
"type": string = "hyperlink";
- "avgTextLength"?: TemplateResponseFieldAvgTextLength;
+ "avgTextLength": TemplateResponseFieldAvgTextLength;
/**
* Whether this form field is multiline text.
*/
- "isMultiline"?: boolean;
+ "isMultiline": boolean;
/**
* Original font size used in this form field\'s text.
*/
- "originalFontSize"?: number;
+ "originalFontSize": number;
/**
* Font family used in this form field\'s text.
*/
- "fontFamily"?: string;
+ "fontFamily": string;
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ */
+ "group"?: string | null;
static discriminator: string | undefined = undefined;
@@ -76,6 +80,11 @@ export class TemplateResponseDocumentFormFieldHyperlink extends TemplateResponse
baseName: "fontFamily",
type: "string",
},
+ {
+ name: "group",
+ baseName: "group",
+ type: "string",
+ },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/model/templateResponseDocumentFormFieldInitials.ts b/sdks/node/model/templateResponseDocumentFormFieldInitials.ts
index 1b14087a4..02f89a99e 100644
--- a/sdks/node/model/templateResponseDocumentFormFieldInitials.ts
+++ b/sdks/node/model/templateResponseDocumentFormFieldInitials.ts
@@ -33,6 +33,10 @@ export class TemplateResponseDocumentFormFieldInitials extends TemplateResponseD
* The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
*/
"type": string = "initials";
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ */
+ "group"?: string | null;
static discriminator: string | undefined = undefined;
@@ -42,6 +46,11 @@ export class TemplateResponseDocumentFormFieldInitials extends TemplateResponseD
baseName: "type",
type: "string",
},
+ {
+ name: "group",
+ baseName: "group",
+ type: "string",
+ },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/model/templateResponseDocumentFormFieldRadio.ts b/sdks/node/model/templateResponseDocumentFormFieldRadio.ts
index 3a20f95a0..0841c0d5a 100644
--- a/sdks/node/model/templateResponseDocumentFormFieldRadio.ts
+++ b/sdks/node/model/templateResponseDocumentFormFieldRadio.ts
@@ -33,6 +33,10 @@ export class TemplateResponseDocumentFormFieldRadio extends TemplateResponseDocu
* The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
*/
"type": string = "radio";
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ */
+ "group": string;
static discriminator: string | undefined = undefined;
@@ -42,6 +46,11 @@ export class TemplateResponseDocumentFormFieldRadio extends TemplateResponseDocu
baseName: "type",
type: "string",
},
+ {
+ name: "group",
+ baseName: "group",
+ type: "string",
+ },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/model/templateResponseDocumentFormFieldSignature.ts b/sdks/node/model/templateResponseDocumentFormFieldSignature.ts
index c069e00aa..8467c9103 100644
--- a/sdks/node/model/templateResponseDocumentFormFieldSignature.ts
+++ b/sdks/node/model/templateResponseDocumentFormFieldSignature.ts
@@ -33,6 +33,10 @@ export class TemplateResponseDocumentFormFieldSignature extends TemplateResponse
* The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
*/
"type": string = "signature";
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ */
+ "group"?: string | null;
static discriminator: string | undefined = undefined;
@@ -42,6 +46,11 @@ export class TemplateResponseDocumentFormFieldSignature extends TemplateResponse
baseName: "type",
type: "string",
},
+ {
+ name: "group",
+ baseName: "group",
+ type: "string",
+ },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/model/templateResponseDocumentFormFieldText.ts b/sdks/node/model/templateResponseDocumentFormFieldText.ts
index 2c320d342..9f8ebcc91 100644
--- a/sdks/node/model/templateResponseDocumentFormFieldText.ts
+++ b/sdks/node/model/templateResponseDocumentFormFieldText.ts
@@ -34,23 +34,27 @@ export class TemplateResponseDocumentFormFieldText extends TemplateResponseDocum
* The type of this form field. See [field types](/api/reference/constants/#field-types). * Text Field uses `TemplateResponseDocumentFormFieldText` * Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown` * Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink` * Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox` * Radio Field uses `TemplateResponseDocumentFormFieldRadio` * Signature Field uses `TemplateResponseDocumentFormFieldSignature` * Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned` * Initials Field uses `TemplateResponseDocumentFormFieldInitials`
*/
"type": string = "text";
- "avgTextLength"?: TemplateResponseFieldAvgTextLength;
+ "avgTextLength": TemplateResponseFieldAvgTextLength;
/**
* Whether this form field is multiline text.
*/
- "isMultiline"?: boolean;
+ "isMultiline": boolean;
/**
* Original font size used in this form field\'s text.
*/
- "originalFontSize"?: number;
+ "originalFontSize": number;
/**
* Font family used in this form field\'s text.
*/
- "fontFamily"?: string;
+ "fontFamily": string;
/**
* Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values.
*/
"validationType"?: TemplateResponseDocumentFormFieldText.ValidationTypeEnum;
+ /**
+ * The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
+ */
+ "group"?: string | null;
static discriminator: string | undefined = undefined;
@@ -85,6 +89,11 @@ export class TemplateResponseDocumentFormFieldText extends TemplateResponseDocum
baseName: "validation_type",
type: "TemplateResponseDocumentFormFieldText.ValidationTypeEnum",
},
+ {
+ name: "group",
+ baseName: "group",
+ type: "string",
+ },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/model/templateResponseDocumentStaticFieldBase.ts b/sdks/node/model/templateResponseDocumentStaticFieldBase.ts
index 04d3275ef..6640046d7 100644
--- a/sdks/node/model/templateResponseDocumentStaticFieldBase.ts
+++ b/sdks/node/model/templateResponseDocumentStaticFieldBase.ts
@@ -28,39 +28,39 @@ import { AttributeTypeMap } from "./";
* An array describing static overlay fields. **NOTE:** Only available for certain subscriptions.
*/
export abstract class TemplateResponseDocumentStaticFieldBase {
- "type": string;
/**
* A unique id for the static field.
*/
- "apiId"?: string;
+ "apiId": string;
/**
* The name of the static field.
*/
- "name"?: string;
+ "name": string;
+ "type": string;
/**
* The signer of the Static Field.
*/
- "signer"?: string = "me_now";
+ "signer": string = "me_now";
/**
* The horizontal offset in pixels for this static field.
*/
- "x"?: number;
+ "x": number;
/**
* The vertical offset in pixels for this static field.
*/
- "y"?: number;
+ "y": number;
/**
* The width in pixels of this static field.
*/
- "width"?: number;
+ "width": number;
/**
* The height in pixels of this static field.
*/
- "height"?: number;
+ "height": number;
/**
* Boolean showing whether or not this field is required.
*/
- "required"?: boolean;
+ "required": boolean;
/**
* The name of the group this field is in. If this field is not a group, this defaults to `null`.
*/
@@ -69,11 +69,6 @@ export abstract class TemplateResponseDocumentStaticFieldBase {
static discriminator: string | undefined = "type";
static attributeTypeMap: AttributeTypeMap = [
- {
- name: "type",
- baseName: "type",
- type: "string",
- },
{
name: "apiId",
baseName: "api_id",
@@ -84,6 +79,11 @@ export abstract class TemplateResponseDocumentStaticFieldBase {
baseName: "name",
type: "string",
},
+ {
+ name: "type",
+ baseName: "type",
+ type: "string",
+ },
{
name: "signer",
baseName: "signer",
diff --git a/sdks/node/model/templateResponseFieldAvgTextLength.ts b/sdks/node/model/templateResponseFieldAvgTextLength.ts
index d0a4fc396..c95ebfbdd 100644
--- a/sdks/node/model/templateResponseFieldAvgTextLength.ts
+++ b/sdks/node/model/templateResponseFieldAvgTextLength.ts
@@ -31,11 +31,11 @@ export class TemplateResponseFieldAvgTextLength {
/**
* Number of lines.
*/
- "numLines"?: number;
+ "numLines": number;
/**
* Number of characters per line.
*/
- "numCharsPerLine"?: number;
+ "numCharsPerLine": number;
static discriminator: string | undefined = undefined;
diff --git a/sdks/node/model/templateResponseSignerRole.ts b/sdks/node/model/templateResponseSignerRole.ts
index 9bebd958f..a4950641a 100644
--- a/sdks/node/model/templateResponseSignerRole.ts
+++ b/sdks/node/model/templateResponseSignerRole.ts
@@ -28,7 +28,7 @@ export class TemplateResponseSignerRole {
/**
* The name of the Role.
*/
- "name"?: string;
+ "name": string;
/**
* If signer order is assigned this is the 0-based index for this role.
*/
diff --git a/sdks/node/model/templateUpdateFilesResponseTemplate.ts b/sdks/node/model/templateUpdateFilesResponseTemplate.ts
index 98e18dabc..8d49e2d1b 100644
--- a/sdks/node/model/templateUpdateFilesResponseTemplate.ts
+++ b/sdks/node/model/templateUpdateFilesResponseTemplate.ts
@@ -32,7 +32,7 @@ export class TemplateUpdateFilesResponseTemplate {
/**
* The id of the Template.
*/
- "templateId"?: string;
+ "templateId": string;
/**
* A list of warnings.
*/
diff --git a/sdks/node/types/model/templateCreateEmbeddedDraftResponseTemplate.d.ts b/sdks/node/types/model/templateCreateEmbeddedDraftResponseTemplate.d.ts
index 7287dbec2..124051aa9 100644
--- a/sdks/node/types/model/templateCreateEmbeddedDraftResponseTemplate.d.ts
+++ b/sdks/node/types/model/templateCreateEmbeddedDraftResponseTemplate.d.ts
@@ -1,9 +1,9 @@
import { AttributeTypeMap } from "./";
import { WarningResponse } from "./warningResponse";
export declare class TemplateCreateEmbeddedDraftResponseTemplate {
- "templateId"?: string;
- "editUrl"?: string;
- "expiresAt"?: number;
+ "templateId": string;
+ "editUrl": string;
+ "expiresAt": number;
"warnings"?: Array;
static discriminator: string | undefined;
static attributeTypeMap: AttributeTypeMap;
diff --git a/sdks/node/types/model/templateCreateResponseTemplate.d.ts b/sdks/node/types/model/templateCreateResponseTemplate.d.ts
index cc5c4e9a6..272ddeec1 100644
--- a/sdks/node/types/model/templateCreateResponseTemplate.d.ts
+++ b/sdks/node/types/model/templateCreateResponseTemplate.d.ts
@@ -1,6 +1,6 @@
import { AttributeTypeMap } from "./";
export declare class TemplateCreateResponseTemplate {
- "templateId"?: string;
+ "templateId": string;
static discriminator: string | undefined;
static attributeTypeMap: AttributeTypeMap;
static getAttributeTypeMap(): AttributeTypeMap;
diff --git a/sdks/node/types/model/templateResponse.d.ts b/sdks/node/types/model/templateResponse.d.ts
index 8ac333e50..a53df471b 100644
--- a/sdks/node/types/model/templateResponse.d.ts
+++ b/sdks/node/types/model/templateResponse.d.ts
@@ -1,4 +1,5 @@
import { AttributeTypeMap } from "./";
+import { SignatureRequestResponseAttachment } from "./signatureRequestResponseAttachment";
import { TemplateResponseAccount } from "./templateResponseAccount";
import { TemplateResponseCCRole } from "./templateResponseCCRole";
import { TemplateResponseDocument } from "./templateResponseDocument";
@@ -6,21 +7,22 @@ import { TemplateResponseDocumentCustomFieldBase } from "./templateResponseDocum
import { TemplateResponseDocumentFormFieldBase } from "./templateResponseDocumentFormFieldBase";
import { TemplateResponseSignerRole } from "./templateResponseSignerRole";
export declare class TemplateResponse {
- "templateId"?: string;
- "title"?: string;
- "message"?: string;
+ "templateId": string;
+ "title": string;
+ "message": string;
+ "isCreator": boolean;
+ "canEdit": boolean;
+ "isLocked": boolean;
+ "metadata": object;
+ "signerRoles": Array;
+ "ccRoles": Array;
+ "documents": Array;
+ "accounts": Array;
+ "attachments": Array;
"updatedAt"?: number;
"isEmbedded"?: boolean | null;
- "isCreator"?: boolean | null;
- "canEdit"?: boolean | null;
- "isLocked"?: boolean | null;
- "metadata"?: object;
- "signerRoles"?: Array;
- "ccRoles"?: Array;
- "documents"?: Array;
"customFields"?: Array | null;
"namedFormFields"?: Array