Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/Model/SignatureRequestResponseDataBase.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ Name | Type | Description | Notes
| `name` | ```string``` | The name of the form field. | |
| `required` | ```bool``` | A boolean value denoting if this field is required. | |
| `type` | ```string``` | | |
| `is_signed` | ```bool``` | A boolean value denoting if this field has been signed. | |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
2 changes: 2 additions & 0 deletions docs/Model/SignatureRequestResponseDataValueSignature.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `type` | ```string``` | A signature input field | [default to 'signature'] |
| `value` | ```string``` | The value of the form field. | |
| `is_signed` | ```bool``` | A boolean value denoting if this field has been signed. | |


[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
33 changes: 33 additions & 0 deletions src/Model/SignatureRequestResponseDataBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class SignatureRequestResponseDataBase implements ModelInterface, ArrayAccess, J
'name' => 'string',
'required' => 'bool',
'type' => 'string',
'is_signed' => 'bool',
];

/**
Expand All @@ -78,6 +79,7 @@ class SignatureRequestResponseDataBase implements ModelInterface, ArrayAccess, J
'name' => null,
'required' => null,
'type' => null,
'is_signed' => null,
];

/**
Expand All @@ -91,6 +93,7 @@ class SignatureRequestResponseDataBase implements ModelInterface, ArrayAccess, J
'name' => false,
'required' => false,
'type' => false,
'is_signed' => false,
];

/**
Expand Down Expand Up @@ -176,6 +179,7 @@ public function isNullableSetToNull(string $property): bool
'name' => 'name',
'required' => 'required',
'type' => 'type',
'is_signed' => 'is_signed',
];

/**
Expand All @@ -189,6 +193,7 @@ public function isNullableSetToNull(string $property): bool
'name' => 'setName',
'required' => 'setRequired',
'type' => 'setType',
'is_signed' => 'setIsSigned',
];

/**
Expand All @@ -202,6 +207,7 @@ public function isNullableSetToNull(string $property): bool
'name' => 'getName',
'required' => 'getRequired',
'type' => 'getType',
'is_signed' => 'getIsSigned',
];

/**
Expand Down Expand Up @@ -479,6 +485,33 @@ public function setType(?string $type)
return $this;
}

/**
* Gets is_signed
*
* @return bool|null
*/
public function getIsSigned()
{
return $this->container['is_signed'];
}

/**
* Sets is_signed
*
* @param bool|null $is_signed a boolean value denoting if this field has been signed
*
* @return self
*/
public function setIsSigned(?bool $is_signed)
{
if (is_null($is_signed)) {
throw new InvalidArgumentException('non-nullable is_signed cannot be null');
}
$this->container['is_signed'] = $is_signed;

return $this;
}

/**
* Returns true if offset exists. False otherwise.
*
Expand Down
34 changes: 34 additions & 0 deletions src/Model/SignatureRequestResponseDataValueSignature.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class SignatureRequestResponseDataValueSignature extends SignatureRequestRespons
protected static $openAPITypes = [
'type' => 'string',
'value' => 'string',
'is_signed' => 'bool',
];

/**
Expand All @@ -69,6 +70,7 @@ class SignatureRequestResponseDataValueSignature extends SignatureRequestRespons
protected static $openAPIFormats = [
'type' => null,
'value' => null,
'is_signed' => null,
];

/**
Expand All @@ -79,6 +81,7 @@ class SignatureRequestResponseDataValueSignature extends SignatureRequestRespons
protected static array $openAPINullables = [
'type' => false,
'value' => false,
'is_signed' => false,
];

/**
Expand Down Expand Up @@ -161,6 +164,7 @@ public function isNullableSetToNull(string $property): bool
protected static $attributeMap = [
'type' => 'type',
'value' => 'value',
'is_signed' => 'is_signed',
];

/**
Expand All @@ -171,6 +175,7 @@ public function isNullableSetToNull(string $property): bool
protected static $setters = [
'type' => 'setType',
'value' => 'setValue',
'is_signed' => 'setIsSigned',
];

/**
Expand All @@ -181,6 +186,7 @@ public function isNullableSetToNull(string $property): bool
protected static $getters = [
'type' => 'getType',
'value' => 'getValue',
'is_signed' => 'getIsSigned',
];

/**
Expand Down Expand Up @@ -236,6 +242,7 @@ public function __construct(array $data = null)

$this->setIfExists('type', $data ?? [], 'signature');
$this->setIfExists('value', $data ?? [], null);
$this->setIfExists('is_signed', $data ?? [], false);
}

/**
Expand Down Expand Up @@ -349,6 +356,33 @@ public function setValue(?string $value)
return $this;
}

/**
* Gets is_signed
*
* @return bool|null
*/
public function getIsSigned()
{
return $this->container['is_signed'];
}

/**
* Sets is_signed
*
* @param bool|null $is_signed whether the signature has been signed
*
* @return self
*/
public function setIsSigned(?bool $is_signed)
{
if (is_null($is_signed)) {
throw new InvalidArgumentException('non-nullable is_signed cannot be null');
}
$this->container['is_signed'] = $is_signed;

return $this;
}

/**
* Returns true if offset exists. False otherwise.
*
Expand Down