diff --git a/codegen/Auth/OAuth/Api/AccessTokensApi.php b/codegen/Auth/OAuth/Api/AccessTokensApi.php index f36282b18..f13dd8f76 100644 --- a/codegen/Auth/OAuth/Api/AccessTokensApi.php +++ b/codegen/Auth/OAuth/Api/AccessTokensApi.php @@ -74,9 +74,9 @@ class AccessTokensApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Auth/OAuth/Api/RefreshTokensApi.php b/codegen/Auth/OAuth/Api/RefreshTokensApi.php index 856391671..8cba8c6c9 100644 --- a/codegen/Auth/OAuth/Api/RefreshTokensApi.php +++ b/codegen/Auth/OAuth/Api/RefreshTokensApi.php @@ -74,9 +74,9 @@ class RefreshTokensApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Auth/OAuth/Api/TokensApi.php b/codegen/Auth/OAuth/Api/TokensApi.php index 0b36349a0..a97993723 100644 --- a/codegen/Auth/OAuth/Api/TokensApi.php +++ b/codegen/Auth/OAuth/Api/TokensApi.php @@ -74,9 +74,9 @@ class TokensApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Auth/OAuth/Model/AccessTokenInfoResponse.php b/codegen/Auth/OAuth/Model/AccessTokenInfoResponse.php index 52ec6f812..e29d378b2 100644 --- a/codegen/Auth/OAuth/Model/AccessTokenInfoResponse.php +++ b/codegen/Auth/OAuth/Model/AccessTokenInfoResponse.php @@ -227,7 +227,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['token'] = $data['token'] ?? null; $this->container['user'] = $data['user'] ?? null; diff --git a/codegen/Auth/OAuth/Model/Error.php b/codegen/Auth/OAuth/Model/Error.php index 49522f231..48e56762d 100644 --- a/codegen/Auth/OAuth/Model/Error.php +++ b/codegen/Auth/OAuth/Model/Error.php @@ -202,7 +202,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Auth/OAuth/Model/ErrorDetail.php b/codegen/Auth/OAuth/Model/ErrorDetail.php index 2b09f335e..16490c48e 100644 --- a/codegen/Auth/OAuth/Model/ErrorDetail.php +++ b/codegen/Auth/OAuth/Model/ErrorDetail.php @@ -192,7 +192,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Auth/OAuth/Model/RefreshTokenInfoResponse.php b/codegen/Auth/OAuth/Model/RefreshTokenInfoResponse.php index f8b7b5e25..5b14dc1eb 100644 --- a/codegen/Auth/OAuth/Model/RefreshTokenInfoResponse.php +++ b/codegen/Auth/OAuth/Model/RefreshTokenInfoResponse.php @@ -207,7 +207,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['token'] = $data['token'] ?? null; $this->container['user'] = $data['user'] ?? null; diff --git a/codegen/Auth/OAuth/Model/TokenResponseIF.php b/codegen/Auth/OAuth/Model/TokenResponseIF.php index df311b796..fdfdd2736 100644 --- a/codegen/Auth/OAuth/Model/TokenResponseIF.php +++ b/codegen/Auth/OAuth/Model/TokenResponseIF.php @@ -192,7 +192,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['access_token'] = $data['access_token'] ?? null; $this->container['expires_in'] = $data['expires_in'] ?? null; diff --git a/codegen/Automation/Actions/Api/CallbacksApi.php b/codegen/Automation/Actions/Api/CallbacksApi.php index 44bc828d8..28b45350e 100644 --- a/codegen/Automation/Actions/Api/CallbacksApi.php +++ b/codegen/Automation/Actions/Api/CallbacksApi.php @@ -76,9 +76,9 @@ class CallbacksApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Automation/Actions/Api/DefinitionsApi.php b/codegen/Automation/Actions/Api/DefinitionsApi.php index 2111b6a3f..b6054192d 100644 --- a/codegen/Automation/Actions/Api/DefinitionsApi.php +++ b/codegen/Automation/Actions/Api/DefinitionsApi.php @@ -76,9 +76,9 @@ class DefinitionsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Automation/Actions/Api/FunctionsApi.php b/codegen/Automation/Actions/Api/FunctionsApi.php index 1c557b2c7..ef95df02f 100644 --- a/codegen/Automation/Actions/Api/FunctionsApi.php +++ b/codegen/Automation/Actions/Api/FunctionsApi.php @@ -76,9 +76,9 @@ class FunctionsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Automation/Actions/Api/RevisionsApi.php b/codegen/Automation/Actions/Api/RevisionsApi.php index 7a917240f..b30cda1aa 100644 --- a/codegen/Automation/Actions/Api/RevisionsApi.php +++ b/codegen/Automation/Actions/Api/RevisionsApi.php @@ -76,9 +76,9 @@ class RevisionsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Automation/Actions/Model/ActionFunction.php b/codegen/Automation/Actions/Model/ActionFunction.php index ab5c93f9b..1d9b0105d 100644 --- a/codegen/Automation/Actions/Model/ActionFunction.php +++ b/codegen/Automation/Actions/Model/ActionFunction.php @@ -202,7 +202,7 @@ public function getFunctionTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['function_source'] = $data['function_source'] ?? null; $this->container['function_type'] = $data['function_type'] ?? null; diff --git a/codegen/Automation/Actions/Model/ActionFunctionIdentifier.php b/codegen/Automation/Actions/Model/ActionFunctionIdentifier.php index 6459f8dc4..9ce6bb854 100644 --- a/codegen/Automation/Actions/Model/ActionFunctionIdentifier.php +++ b/codegen/Automation/Actions/Model/ActionFunctionIdentifier.php @@ -197,7 +197,7 @@ public function getFunctionTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['function_type'] = $data['function_type'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Automation/Actions/Model/ActionLabels.php b/codegen/Automation/Actions/Model/ActionLabels.php index 9d26e8d02..bae82d546 100644 --- a/codegen/Automation/Actions/Model/ActionLabels.php +++ b/codegen/Automation/Actions/Model/ActionLabels.php @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['input_field_labels'] = $data['input_field_labels'] ?? null; $this->container['input_field_descriptions'] = $data['input_field_descriptions'] ?? null; diff --git a/codegen/Automation/Actions/Model/ActionRevision.php b/codegen/Automation/Actions/Model/ActionRevision.php index 4a0d887b3..5feb26d0f 100644 --- a/codegen/Automation/Actions/Model/ActionRevision.php +++ b/codegen/Automation/Actions/Model/ActionRevision.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['definition'] = $data['definition'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; diff --git a/codegen/Automation/Actions/Model/BatchInputCallbackCompletionBatchRequest.php b/codegen/Automation/Actions/Model/BatchInputCallbackCompletionBatchRequest.php index 4696a81d7..12cb5448e 100644 --- a/codegen/Automation/Actions/Model/BatchInputCallbackCompletionBatchRequest.php +++ b/codegen/Automation/Actions/Model/BatchInputCallbackCompletionBatchRequest.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Automation/Actions/Model/CallbackCompletionBatchRequest.php b/codegen/Automation/Actions/Model/CallbackCompletionBatchRequest.php index 4a544a505..51a1bcf82 100644 --- a/codegen/Automation/Actions/Model/CallbackCompletionBatchRequest.php +++ b/codegen/Automation/Actions/Model/CallbackCompletionBatchRequest.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['callback_id'] = $data['callback_id'] ?? null; $this->container['output_fields'] = $data['output_fields'] ?? null; diff --git a/codegen/Automation/Actions/Model/CallbackCompletionRequest.php b/codegen/Automation/Actions/Model/CallbackCompletionRequest.php index aef544fad..88346af5b 100644 --- a/codegen/Automation/Actions/Model/CallbackCompletionRequest.php +++ b/codegen/Automation/Actions/Model/CallbackCompletionRequest.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['output_fields'] = $data['output_fields'] ?? null; } diff --git a/codegen/Automation/Actions/Model/CollectionResponseActionFunctionIdentifierNoPaging.php b/codegen/Automation/Actions/Model/CollectionResponseActionFunctionIdentifierNoPaging.php index c23de5996..ccbd3d5bb 100644 --- a/codegen/Automation/Actions/Model/CollectionResponseActionFunctionIdentifierNoPaging.php +++ b/codegen/Automation/Actions/Model/CollectionResponseActionFunctionIdentifierNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Automation/Actions/Model/CollectionResponseActionRevisionForwardPaging.php b/codegen/Automation/Actions/Model/CollectionResponseActionRevisionForwardPaging.php index efbbe529d..c1a1d0e61 100644 --- a/codegen/Automation/Actions/Model/CollectionResponseActionRevisionForwardPaging.php +++ b/codegen/Automation/Actions/Model/CollectionResponseActionRevisionForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Automation/Actions/Model/CollectionResponseExtensionActionDefinitionForwardPaging.php b/codegen/Automation/Actions/Model/CollectionResponseExtensionActionDefinitionForwardPaging.php index d1878a3c6..7c7682536 100644 --- a/codegen/Automation/Actions/Model/CollectionResponseExtensionActionDefinitionForwardPaging.php +++ b/codegen/Automation/Actions/Model/CollectionResponseExtensionActionDefinitionForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Automation/Actions/Model/ConditionalSingleFieldDependency.php b/codegen/Automation/Actions/Model/ConditionalSingleFieldDependency.php index 1788be40a..8b0ab9eb7 100644 --- a/codegen/Automation/Actions/Model/ConditionalSingleFieldDependency.php +++ b/codegen/Automation/Actions/Model/ConditionalSingleFieldDependency.php @@ -202,7 +202,7 @@ public function getDependencyTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['dependency_type'] = $data['dependency_type'] ?? 'CONDITIONAL_SINGLE_FIELD'; $this->container['dependent_field_names'] = $data['dependent_field_names'] ?? null; diff --git a/codegen/Automation/Actions/Model/Error.php b/codegen/Automation/Actions/Model/Error.php index 6448788a5..d56ef3683 100644 --- a/codegen/Automation/Actions/Model/Error.php +++ b/codegen/Automation/Actions/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Automation/Actions/Model/ErrorDetail.php b/codegen/Automation/Actions/Model/ErrorDetail.php index 8f55cfcc0..608a78abe 100644 --- a/codegen/Automation/Actions/Model/ErrorDetail.php +++ b/codegen/Automation/Actions/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Automation/Actions/Model/ExtensionActionDefinition.php b/codegen/Automation/Actions/Model/ExtensionActionDefinition.php index 246bdb40d..20f8986b9 100644 --- a/codegen/Automation/Actions/Model/ExtensionActionDefinition.php +++ b/codegen/Automation/Actions/Model/ExtensionActionDefinition.php @@ -225,7 +225,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['revision_id'] = $data['revision_id'] ?? null; diff --git a/codegen/Automation/Actions/Model/ExtensionActionDefinitionInput.php b/codegen/Automation/Actions/Model/ExtensionActionDefinitionInput.php index f10c4c2e4..7097ff9b4 100644 --- a/codegen/Automation/Actions/Model/ExtensionActionDefinitionInput.php +++ b/codegen/Automation/Actions/Model/ExtensionActionDefinitionInput.php @@ -215,7 +215,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['functions'] = $data['functions'] ?? null; $this->container['action_url'] = $data['action_url'] ?? null; diff --git a/codegen/Automation/Actions/Model/ExtensionActionDefinitionPatch.php b/codegen/Automation/Actions/Model/ExtensionActionDefinitionPatch.php index ee518e986..97af29f21 100644 --- a/codegen/Automation/Actions/Model/ExtensionActionDefinitionPatch.php +++ b/codegen/Automation/Actions/Model/ExtensionActionDefinitionPatch.php @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['action_url'] = $data['action_url'] ?? null; $this->container['published'] = $data['published'] ?? null; diff --git a/codegen/Automation/Actions/Model/ExtensionActionDefinitionPatchInputFieldDependenciesInner.php b/codegen/Automation/Actions/Model/ExtensionActionDefinitionPatchInputFieldDependenciesInner.php index c5a9f0156..262fde61b 100644 --- a/codegen/Automation/Actions/Model/ExtensionActionDefinitionPatchInputFieldDependenciesInner.php +++ b/codegen/Automation/Actions/Model/ExtensionActionDefinitionPatchInputFieldDependenciesInner.php @@ -202,7 +202,7 @@ public function getDependencyTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['dependency_type'] = $data['dependency_type'] ?? 'CONDITIONAL_SINGLE_FIELD'; $this->container['dependent_field_names'] = $data['dependent_field_names'] ?? null; diff --git a/codegen/Automation/Actions/Model/FieldTypeDefinition.php b/codegen/Automation/Actions/Model/FieldTypeDefinition.php index 70963b8c4..6dd54863c 100644 --- a/codegen/Automation/Actions/Model/FieldTypeDefinition.php +++ b/codegen/Automation/Actions/Model/FieldTypeDefinition.php @@ -407,7 +407,7 @@ public function getReferencedObjectTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Automation/Actions/Model/ForwardPaging.php b/codegen/Automation/Actions/Model/ForwardPaging.php index f7e09b1f3..46ca2f0a5 100644 --- a/codegen/Automation/Actions/Model/ForwardPaging.php +++ b/codegen/Automation/Actions/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Automation/Actions/Model/InputFieldDefinition.php b/codegen/Automation/Actions/Model/InputFieldDefinition.php index e7dd8fa99..d38590d18 100644 --- a/codegen/Automation/Actions/Model/InputFieldDefinition.php +++ b/codegen/Automation/Actions/Model/InputFieldDefinition.php @@ -202,7 +202,7 @@ public function getSupportedValueTypesAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type_definition'] = $data['type_definition'] ?? null; $this->container['supported_value_types'] = $data['supported_value_types'] ?? null; diff --git a/codegen/Automation/Actions/Model/NextPage.php b/codegen/Automation/Actions/Model/NextPage.php index c20cb04ee..49dc66d68 100644 --- a/codegen/Automation/Actions/Model/NextPage.php +++ b/codegen/Automation/Actions/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Automation/Actions/Model/ObjectRequestOptions.php b/codegen/Automation/Actions/Model/ObjectRequestOptions.php index 71d8618cd..e3f78061a 100644 --- a/codegen/Automation/Actions/Model/ObjectRequestOptions.php +++ b/codegen/Automation/Actions/Model/ObjectRequestOptions.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Automation/Actions/Model/Option.php b/codegen/Automation/Actions/Model/Option.php index 497001755..83cad2c86 100644 --- a/codegen/Automation/Actions/Model/Option.php +++ b/codegen/Automation/Actions/Model/Option.php @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/codegen/Automation/Actions/Model/SingleFieldDependency.php b/codegen/Automation/Actions/Model/SingleFieldDependency.php index d33f7275a..ec78a9e4d 100644 --- a/codegen/Automation/Actions/Model/SingleFieldDependency.php +++ b/codegen/Automation/Actions/Model/SingleFieldDependency.php @@ -197,7 +197,7 @@ public function getDependencyTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['dependency_type'] = $data['dependency_type'] ?? 'SINGLE_FIELD'; $this->container['dependent_field_names'] = $data['dependent_field_names'] ?? null; diff --git a/codegen/Cms/AuditLogs/Api/AuditLogsApi.php b/codegen/Cms/AuditLogs/Api/AuditLogsApi.php index c2db3666a..d058303bf 100644 --- a/codegen/Cms/AuditLogs/Api/AuditLogsApi.php +++ b/codegen/Cms/AuditLogs/Api/AuditLogsApi.php @@ -76,9 +76,9 @@ class AuditLogsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/AuditLogs/Model/CollectionResponsePublicAuditLog.php b/codegen/Cms/AuditLogs/Model/CollectionResponsePublicAuditLog.php index ca8b92386..bc4446631 100644 --- a/codegen/Cms/AuditLogs/Model/CollectionResponsePublicAuditLog.php +++ b/codegen/Cms/AuditLogs/Model/CollectionResponsePublicAuditLog.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Cms/AuditLogs/Model/Error.php b/codegen/Cms/AuditLogs/Model/Error.php index 3ff8860d1..63a954b65 100644 --- a/codegen/Cms/AuditLogs/Model/Error.php +++ b/codegen/Cms/AuditLogs/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Cms/AuditLogs/Model/ErrorDetail.php b/codegen/Cms/AuditLogs/Model/ErrorDetail.php index cb0c86cbe..74502999e 100644 --- a/codegen/Cms/AuditLogs/Model/ErrorDetail.php +++ b/codegen/Cms/AuditLogs/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Cms/AuditLogs/Model/NextPage.php b/codegen/Cms/AuditLogs/Model/NextPage.php index 18d063e15..490f54d42 100644 --- a/codegen/Cms/AuditLogs/Model/NextPage.php +++ b/codegen/Cms/AuditLogs/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Cms/AuditLogs/Model/Paging.php b/codegen/Cms/AuditLogs/Model/Paging.php index b7e0ecdcb..226acc157 100644 --- a/codegen/Cms/AuditLogs/Model/Paging.php +++ b/codegen/Cms/AuditLogs/Model/Paging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Cms/AuditLogs/Model/PublicAuditLog.php b/codegen/Cms/AuditLogs/Model/PublicAuditLog.php index cf515a21b..95ddef60e 100644 --- a/codegen/Cms/AuditLogs/Model/PublicAuditLog.php +++ b/codegen/Cms/AuditLogs/Model/PublicAuditLog.php @@ -272,7 +272,7 @@ public function getObjectTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object_id'] = $data['object_id'] ?? null; $this->container['user_id'] = $data['user_id'] ?? null; diff --git a/codegen/Cms/Blogs/Authors/Api/BlogAuthorsApi.php b/codegen/Cms/Blogs/Authors/Api/BlogAuthorsApi.php index 7810d1cd4..b669d688b 100644 --- a/codegen/Cms/Blogs/Authors/Api/BlogAuthorsApi.php +++ b/codegen/Cms/Blogs/Authors/Api/BlogAuthorsApi.php @@ -76,9 +76,9 @@ class BlogAuthorsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Blogs/Authors/Model/AttachToLangPrimaryRequestVNext.php b/codegen/Cms/Blogs/Authors/Model/AttachToLangPrimaryRequestVNext.php index cb86e2d9f..bf4f9bd01 100644 --- a/codegen/Cms/Blogs/Authors/Model/AttachToLangPrimaryRequestVNext.php +++ b/codegen/Cms/Blogs/Authors/Model/AttachToLangPrimaryRequestVNext.php @@ -3068,7 +3068,7 @@ public function getPrimaryLanguageAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['language'] = $data['language'] ?? null; diff --git a/codegen/Cms/Blogs/Authors/Model/BatchInputBlogAuthor.php b/codegen/Cms/Blogs/Authors/Model/BatchInputBlogAuthor.php index e4a26b9a8..dbc6d7270 100644 --- a/codegen/Cms/Blogs/Authors/Model/BatchInputBlogAuthor.php +++ b/codegen/Cms/Blogs/Authors/Model/BatchInputBlogAuthor.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Blogs/Authors/Model/BatchInputJsonNode.php b/codegen/Cms/Blogs/Authors/Model/BatchInputJsonNode.php index dd9cdb60a..b0230616b 100644 --- a/codegen/Cms/Blogs/Authors/Model/BatchInputJsonNode.php +++ b/codegen/Cms/Blogs/Authors/Model/BatchInputJsonNode.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Blogs/Authors/Model/BatchInputString.php b/codegen/Cms/Blogs/Authors/Model/BatchInputString.php index 294363128..d896241b9 100644 --- a/codegen/Cms/Blogs/Authors/Model/BatchInputString.php +++ b/codegen/Cms/Blogs/Authors/Model/BatchInputString.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthor.php b/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthor.php index e9acae0f9..ecb1b3ab0 100644 --- a/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthor.php +++ b/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthor.php @@ -219,7 +219,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthorWithErrors.php b/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthorWithErrors.php index 342bad281..b7cd73d7d 100644 --- a/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthorWithErrors.php +++ b/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthorWithErrors.php @@ -229,7 +229,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Blogs/Authors/Model/BlogAuthor.php b/codegen/Cms/Blogs/Authors/Model/BlogAuthor.php index 48963b624..7d1228bc4 100644 --- a/codegen/Cms/Blogs/Authors/Model/BlogAuthor.php +++ b/codegen/Cms/Blogs/Authors/Model/BlogAuthor.php @@ -1694,7 +1694,7 @@ public function getLanguageAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['full_name'] = $data['full_name'] ?? null; diff --git a/codegen/Cms/Blogs/Authors/Model/BlogAuthorCloneRequestVNext.php b/codegen/Cms/Blogs/Authors/Model/BlogAuthorCloneRequestVNext.php index 9a97ec29a..dbb29b3f0 100644 --- a/codegen/Cms/Blogs/Authors/Model/BlogAuthorCloneRequestVNext.php +++ b/codegen/Cms/Blogs/Authors/Model/BlogAuthorCloneRequestVNext.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['language'] = $data['language'] ?? null; diff --git a/codegen/Cms/Blogs/Authors/Model/CollectionResponseWithTotalBlogAuthorForwardPaging.php b/codegen/Cms/Blogs/Authors/Model/CollectionResponseWithTotalBlogAuthorForwardPaging.php index cdc5dde27..4cac3d97e 100644 --- a/codegen/Cms/Blogs/Authors/Model/CollectionResponseWithTotalBlogAuthorForwardPaging.php +++ b/codegen/Cms/Blogs/Authors/Model/CollectionResponseWithTotalBlogAuthorForwardPaging.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Blogs/Authors/Model/DetachFromLangGroupRequestVNext.php b/codegen/Cms/Blogs/Authors/Model/DetachFromLangGroupRequestVNext.php index d524f3804..ef44d3e2a 100644 --- a/codegen/Cms/Blogs/Authors/Model/DetachFromLangGroupRequestVNext.php +++ b/codegen/Cms/Blogs/Authors/Model/DetachFromLangGroupRequestVNext.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Cms/Blogs/Authors/Model/Error.php b/codegen/Cms/Blogs/Authors/Model/Error.php index 6d2b889fa..273b55b10 100644 --- a/codegen/Cms/Blogs/Authors/Model/Error.php +++ b/codegen/Cms/Blogs/Authors/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Cms/Blogs/Authors/Model/ErrorDetail.php b/codegen/Cms/Blogs/Authors/Model/ErrorDetail.php index db3337195..d0446b29b 100644 --- a/codegen/Cms/Blogs/Authors/Model/ErrorDetail.php +++ b/codegen/Cms/Blogs/Authors/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Cms/Blogs/Authors/Model/ForwardPaging.php b/codegen/Cms/Blogs/Authors/Model/ForwardPaging.php index 3dc1c59c1..77bcd40fb 100644 --- a/codegen/Cms/Blogs/Authors/Model/ForwardPaging.php +++ b/codegen/Cms/Blogs/Authors/Model/ForwardPaging.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Cms/Blogs/Authors/Model/NextPage.php b/codegen/Cms/Blogs/Authors/Model/NextPage.php index e466def00..9c7c729ab 100644 --- a/codegen/Cms/Blogs/Authors/Model/NextPage.php +++ b/codegen/Cms/Blogs/Authors/Model/NextPage.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Cms/Blogs/Authors/Model/SetNewLanguagePrimaryRequestVNext.php b/codegen/Cms/Blogs/Authors/Model/SetNewLanguagePrimaryRequestVNext.php index c589930be..629504fce 100644 --- a/codegen/Cms/Blogs/Authors/Model/SetNewLanguagePrimaryRequestVNext.php +++ b/codegen/Cms/Blogs/Authors/Model/SetNewLanguagePrimaryRequestVNext.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Cms/Blogs/Authors/Model/StandardError.php b/codegen/Cms/Blogs/Authors/Model/StandardError.php index 9e3ec06ab..805828542 100644 --- a/codegen/Cms/Blogs/Authors/Model/StandardError.php +++ b/codegen/Cms/Blogs/Authors/Model/StandardError.php @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Cms/Blogs/Authors/Model/UpdateLanguagesRequestVNext.php b/codegen/Cms/Blogs/Authors/Model/UpdateLanguagesRequestVNext.php index 569d0da59..4c68e780f 100644 --- a/codegen/Cms/Blogs/Authors/Model/UpdateLanguagesRequestVNext.php +++ b/codegen/Cms/Blogs/Authors/Model/UpdateLanguagesRequestVNext.php @@ -1619,7 +1619,7 @@ public function getLanguagesAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_id'] = $data['primary_id'] ?? null; $this->container['languages'] = $data['languages'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Api/BlogPostsApi.php b/codegen/Cms/Blogs/BlogPosts/Api/BlogPostsApi.php index 2794556c6..823570975 100644 --- a/codegen/Cms/Blogs/BlogPosts/Api/BlogPostsApi.php +++ b/codegen/Cms/Blogs/BlogPosts/Api/BlogPostsApi.php @@ -76,9 +76,9 @@ class BlogPostsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/Angle.php b/codegen/Cms/Blogs/BlogPosts/Model/Angle.php index 603f8579a..936b5812a 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/Angle.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/Angle.php @@ -198,7 +198,7 @@ public function getUnitsAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['units'] = $data['units'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/AttachToLangPrimaryRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/AttachToLangPrimaryRequestVNext.php index f346db717..64947ac7f 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/AttachToLangPrimaryRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/AttachToLangPrimaryRequestVNext.php @@ -3068,7 +3068,7 @@ public function getPrimaryLanguageAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['language'] = $data['language'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BackgroundImage.php b/codegen/Cms/Blogs/BlogPosts/Model/BackgroundImage.php index ec1444712..62e72f4e9 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BackgroundImage.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BackgroundImage.php @@ -213,7 +213,7 @@ public function getBackgroundPositionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['image_url'] = $data['image_url'] ?? null; $this->container['background_size'] = $data['background_size'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BatchInputBlogPost.php b/codegen/Cms/Blogs/BlogPosts/Model/BatchInputBlogPost.php index 21e2c0fb3..47dc0d6b3 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BatchInputBlogPost.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BatchInputBlogPost.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BatchInputJsonNode.php b/codegen/Cms/Blogs/BlogPosts/Model/BatchInputJsonNode.php index 64c725e5a..5b57fd242 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BatchInputJsonNode.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BatchInputJsonNode.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BatchInputString.php b/codegen/Cms/Blogs/BlogPosts/Model/BatchInputString.php index 029d84c55..cd78ba630 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BatchInputString.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BatchInputString.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPost.php b/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPost.php index 0ab571b69..85b6f869a 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPost.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPost.php @@ -219,7 +219,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPostWithErrors.php b/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPostWithErrors.php index 08ea0c361..af580f5dd 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPostWithErrors.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPostWithErrors.php @@ -229,7 +229,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BlogPost.php b/codegen/Cms/Blogs/BlogPosts/Model/BlogPost.php index ba45c8617..16b178320 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BlogPost.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BlogPost.php @@ -2045,7 +2045,7 @@ public function getCurrentStateAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['slug'] = $data['slug'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BlogPostLanguageCloneRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/BlogPostLanguageCloneRequestVNext.php index 24986a5c3..8bb36cd9a 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BlogPostLanguageCloneRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BlogPostLanguageCloneRequestVNext.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['language'] = $data['language'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalBlogPostForwardPaging.php b/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalBlogPostForwardPaging.php index 61d51e1cd..011f56d2c 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalBlogPostForwardPaging.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalBlogPostForwardPaging.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalVersionBlogPost.php b/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalVersionBlogPost.php index 9a447c767..229ecc8af 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalVersionBlogPost.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalVersionBlogPost.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/ColorStop.php b/codegen/Cms/Blogs/BlogPosts/Model/ColorStop.php index 0face82d6..db24d5cd9 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/ColorStop.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/ColorStop.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['color'] = $data['color'] ?? null; } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/ContentCloneRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/ContentCloneRequestVNext.php index 244a35851..dcaee2361 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/ContentCloneRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/ContentCloneRequestVNext.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['clone_name'] = $data['clone_name'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/ContentLanguageVariation.php b/codegen/Cms/Blogs/BlogPosts/Model/ContentLanguageVariation.php index e35780c81..5d10e5a26 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/ContentLanguageVariation.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/ContentLanguageVariation.php @@ -239,7 +239,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/ContentScheduleRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/ContentScheduleRequestVNext.php index 78e13e33e..23768329f 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/ContentScheduleRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/ContentScheduleRequestVNext.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['publish_date'] = $data['publish_date'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/DetachFromLangGroupRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/DetachFromLangGroupRequestVNext.php index 9e9e83513..16d1a20aa 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/DetachFromLangGroupRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/DetachFromLangGroupRequestVNext.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/Error.php b/codegen/Cms/Blogs/BlogPosts/Model/Error.php index 066515f72..4ea422865 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/Error.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/ErrorDetail.php b/codegen/Cms/Blogs/BlogPosts/Model/ErrorDetail.php index b7d686d15..c097742e5 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/ErrorDetail.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/ForwardPaging.php b/codegen/Cms/Blogs/BlogPosts/Model/ForwardPaging.php index 84dabde03..6bdf78861 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/ForwardPaging.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/ForwardPaging.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/Gradient.php b/codegen/Cms/Blogs/BlogPosts/Model/Gradient.php index 52060ae67..0c56429e9 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/Gradient.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/Gradient.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['side_or_corner'] = $data['side_or_corner'] ?? null; $this->container['angle'] = $data['angle'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/LayoutSection.php b/codegen/Cms/Blogs/BlogPosts/Model/LayoutSection.php index 1a3d91627..402579bde 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/LayoutSection.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/LayoutSection.php @@ -234,7 +234,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['x'] = $data['x'] ?? null; $this->container['w'] = $data['w'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/NextPage.php b/codegen/Cms/Blogs/BlogPosts/Model/NextPage.php index d5c0b33c7..8359e0c58 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/NextPage.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/NextPage.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/Paging.php b/codegen/Cms/Blogs/BlogPosts/Model/Paging.php index e589f1495..dc0c471c8 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/Paging.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/Paging.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/PreviousPage.php b/codegen/Cms/Blogs/BlogPosts/Model/PreviousPage.php index 8898f6c2a..79f713de1 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/PreviousPage.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/PreviousPage.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/RGBAColor.php b/codegen/Cms/Blogs/BlogPosts/Model/RGBAColor.php index 04effbc12..13668aee8 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/RGBAColor.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/RGBAColor.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['r'] = $data['r'] ?? null; $this->container['g'] = $data['g'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/RowMetaData.php b/codegen/Cms/Blogs/BlogPosts/Model/RowMetaData.php index 9dacb236d..0021b7578 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/RowMetaData.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/RowMetaData.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['styles'] = $data['styles'] ?? null; $this->container['css_class'] = $data['css_class'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/SetNewLanguagePrimaryRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/SetNewLanguagePrimaryRequestVNext.php index ed9457655..df2cbfcf2 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/SetNewLanguagePrimaryRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/SetNewLanguagePrimaryRequestVNext.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/SideOrCorner.php b/codegen/Cms/Blogs/BlogPosts/Model/SideOrCorner.php index 6521be599..489222e73 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/SideOrCorner.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/SideOrCorner.php @@ -213,7 +213,7 @@ public function getHorizontalSideAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['vertical_side'] = $data['vertical_side'] ?? null; $this->container['horizontal_side'] = $data['horizontal_side'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/StandardError.php b/codegen/Cms/Blogs/BlogPosts/Model/StandardError.php index e3af864c0..7cfb185d3 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/StandardError.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/StandardError.php @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/Styles.php b/codegen/Cms/Blogs/BlogPosts/Model/Styles.php index 865ad8707..716e3fdda 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/Styles.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/Styles.php @@ -250,7 +250,7 @@ public function getFlexboxPositioningAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['vertical_alignment'] = $data['vertical_alignment'] ?? null; $this->container['background_color'] = $data['background_color'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/UpdateLanguagesRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/UpdateLanguagesRequestVNext.php index a32792398..ff538af04 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/UpdateLanguagesRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/UpdateLanguagesRequestVNext.php @@ -1619,7 +1619,7 @@ public function getLanguagesAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_id'] = $data['primary_id'] ?? null; $this->container['languages'] = $data['languages'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/VersionBlogPost.php b/codegen/Cms/Blogs/BlogPosts/Model/VersionBlogPost.php index 3860eaad2..783798c9d 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/VersionBlogPost.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/VersionBlogPost.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object'] = $data['object'] ?? null; $this->container['user'] = $data['user'] ?? null; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/VersionUser.php b/codegen/Cms/Blogs/BlogPosts/Model/VersionUser.php index 75c85bf9c..16f4becf7 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/VersionUser.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/VersionUser.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['email'] = $data['email'] ?? null; diff --git a/codegen/Cms/Blogs/Tags/Api/BlogTagsApi.php b/codegen/Cms/Blogs/Tags/Api/BlogTagsApi.php index 5edd5b989..b09112236 100644 --- a/codegen/Cms/Blogs/Tags/Api/BlogTagsApi.php +++ b/codegen/Cms/Blogs/Tags/Api/BlogTagsApi.php @@ -76,9 +76,9 @@ class BlogTagsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Blogs/Tags/Model/AttachToLangPrimaryRequestVNext.php b/codegen/Cms/Blogs/Tags/Model/AttachToLangPrimaryRequestVNext.php index 9b0e6ae2c..d074afac6 100644 --- a/codegen/Cms/Blogs/Tags/Model/AttachToLangPrimaryRequestVNext.php +++ b/codegen/Cms/Blogs/Tags/Model/AttachToLangPrimaryRequestVNext.php @@ -3068,7 +3068,7 @@ public function getPrimaryLanguageAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['language'] = $data['language'] ?? null; diff --git a/codegen/Cms/Blogs/Tags/Model/BatchInputJsonNode.php b/codegen/Cms/Blogs/Tags/Model/BatchInputJsonNode.php index e845ece1c..83a9c2cc9 100644 --- a/codegen/Cms/Blogs/Tags/Model/BatchInputJsonNode.php +++ b/codegen/Cms/Blogs/Tags/Model/BatchInputJsonNode.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Blogs/Tags/Model/BatchInputString.php b/codegen/Cms/Blogs/Tags/Model/BatchInputString.php index da17a08a0..44e954a35 100644 --- a/codegen/Cms/Blogs/Tags/Model/BatchInputString.php +++ b/codegen/Cms/Blogs/Tags/Model/BatchInputString.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Blogs/Tags/Model/BatchInputTag.php b/codegen/Cms/Blogs/Tags/Model/BatchInputTag.php index 876008e0b..2dd95cad3 100644 --- a/codegen/Cms/Blogs/Tags/Model/BatchInputTag.php +++ b/codegen/Cms/Blogs/Tags/Model/BatchInputTag.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Blogs/Tags/Model/BatchResponseTag.php b/codegen/Cms/Blogs/Tags/Model/BatchResponseTag.php index c975bfacd..73934c944 100644 --- a/codegen/Cms/Blogs/Tags/Model/BatchResponseTag.php +++ b/codegen/Cms/Blogs/Tags/Model/BatchResponseTag.php @@ -219,7 +219,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Blogs/Tags/Model/BatchResponseTagWithErrors.php b/codegen/Cms/Blogs/Tags/Model/BatchResponseTagWithErrors.php index a77505b90..c2a15003e 100644 --- a/codegen/Cms/Blogs/Tags/Model/BatchResponseTagWithErrors.php +++ b/codegen/Cms/Blogs/Tags/Model/BatchResponseTagWithErrors.php @@ -229,7 +229,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Blogs/Tags/Model/CollectionResponseWithTotalTagForwardPaging.php b/codegen/Cms/Blogs/Tags/Model/CollectionResponseWithTotalTagForwardPaging.php index 99774c986..7ad552f4f 100644 --- a/codegen/Cms/Blogs/Tags/Model/CollectionResponseWithTotalTagForwardPaging.php +++ b/codegen/Cms/Blogs/Tags/Model/CollectionResponseWithTotalTagForwardPaging.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Blogs/Tags/Model/DetachFromLangGroupRequestVNext.php b/codegen/Cms/Blogs/Tags/Model/DetachFromLangGroupRequestVNext.php index 90e1a042f..f28c9b60d 100644 --- a/codegen/Cms/Blogs/Tags/Model/DetachFromLangGroupRequestVNext.php +++ b/codegen/Cms/Blogs/Tags/Model/DetachFromLangGroupRequestVNext.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Cms/Blogs/Tags/Model/Error.php b/codegen/Cms/Blogs/Tags/Model/Error.php index 342a28d93..7f131b89f 100644 --- a/codegen/Cms/Blogs/Tags/Model/Error.php +++ b/codegen/Cms/Blogs/Tags/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Cms/Blogs/Tags/Model/ErrorDetail.php b/codegen/Cms/Blogs/Tags/Model/ErrorDetail.php index ba748a74d..d380074f0 100644 --- a/codegen/Cms/Blogs/Tags/Model/ErrorDetail.php +++ b/codegen/Cms/Blogs/Tags/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Cms/Blogs/Tags/Model/ForwardPaging.php b/codegen/Cms/Blogs/Tags/Model/ForwardPaging.php index 15f3de65c..bcc674f02 100644 --- a/codegen/Cms/Blogs/Tags/Model/ForwardPaging.php +++ b/codegen/Cms/Blogs/Tags/Model/ForwardPaging.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Cms/Blogs/Tags/Model/NextPage.php b/codegen/Cms/Blogs/Tags/Model/NextPage.php index fc04ea71d..d70158fcd 100644 --- a/codegen/Cms/Blogs/Tags/Model/NextPage.php +++ b/codegen/Cms/Blogs/Tags/Model/NextPage.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Cms/Blogs/Tags/Model/SetNewLanguagePrimaryRequestVNext.php b/codegen/Cms/Blogs/Tags/Model/SetNewLanguagePrimaryRequestVNext.php index f82bf2998..34d0224f8 100644 --- a/codegen/Cms/Blogs/Tags/Model/SetNewLanguagePrimaryRequestVNext.php +++ b/codegen/Cms/Blogs/Tags/Model/SetNewLanguagePrimaryRequestVNext.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Cms/Blogs/Tags/Model/StandardError.php b/codegen/Cms/Blogs/Tags/Model/StandardError.php index 92cf884f6..b9793defa 100644 --- a/codegen/Cms/Blogs/Tags/Model/StandardError.php +++ b/codegen/Cms/Blogs/Tags/Model/StandardError.php @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Cms/Blogs/Tags/Model/Tag.php b/codegen/Cms/Blogs/Tags/Model/Tag.php index d035c1741..218fa36d2 100644 --- a/codegen/Cms/Blogs/Tags/Model/Tag.php +++ b/codegen/Cms/Blogs/Tags/Model/Tag.php @@ -1644,7 +1644,7 @@ public function getLanguageAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Cms/Blogs/Tags/Model/TagCloneRequestVNext.php b/codegen/Cms/Blogs/Tags/Model/TagCloneRequestVNext.php index 6c64af6c7..f7c59b31c 100644 --- a/codegen/Cms/Blogs/Tags/Model/TagCloneRequestVNext.php +++ b/codegen/Cms/Blogs/Tags/Model/TagCloneRequestVNext.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['language'] = $data['language'] ?? null; diff --git a/codegen/Cms/Blogs/Tags/Model/UpdateLanguagesRequestVNext.php b/codegen/Cms/Blogs/Tags/Model/UpdateLanguagesRequestVNext.php index e9d2507fa..67a125360 100644 --- a/codegen/Cms/Blogs/Tags/Model/UpdateLanguagesRequestVNext.php +++ b/codegen/Cms/Blogs/Tags/Model/UpdateLanguagesRequestVNext.php @@ -1619,7 +1619,7 @@ public function getLanguagesAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_id'] = $data['primary_id'] ?? null; $this->container['languages'] = $data['languages'] ?? null; diff --git a/codegen/Cms/Domains/Api/DomainsApi.php b/codegen/Cms/Domains/Api/DomainsApi.php index 8082f1a93..f2d42b10c 100644 --- a/codegen/Cms/Domains/Api/DomainsApi.php +++ b/codegen/Cms/Domains/Api/DomainsApi.php @@ -76,9 +76,9 @@ class DomainsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Domains/Model/CollectionResponseWithTotalDomainForwardPaging.php b/codegen/Cms/Domains/Model/CollectionResponseWithTotalDomainForwardPaging.php index c2a9ed9b5..5881fcd3d 100644 --- a/codegen/Cms/Domains/Model/CollectionResponseWithTotalDomainForwardPaging.php +++ b/codegen/Cms/Domains/Model/CollectionResponseWithTotalDomainForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Domains/Model/Domain.php b/codegen/Cms/Domains/Model/Domain.php index 543d4e83c..b86f76d54 100644 --- a/codegen/Cms/Domains/Model/Domain.php +++ b/codegen/Cms/Domains/Model/Domain.php @@ -269,7 +269,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['domain'] = $data['domain'] ?? null; diff --git a/codegen/Cms/Domains/Model/Error.php b/codegen/Cms/Domains/Model/Error.php index 591dde99c..10190c9b1 100644 --- a/codegen/Cms/Domains/Model/Error.php +++ b/codegen/Cms/Domains/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Cms/Domains/Model/ErrorDetail.php b/codegen/Cms/Domains/Model/ErrorDetail.php index e09529937..19cf20f3c 100644 --- a/codegen/Cms/Domains/Model/ErrorDetail.php +++ b/codegen/Cms/Domains/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Cms/Domains/Model/ForwardPaging.php b/codegen/Cms/Domains/Model/ForwardPaging.php index 167760b1b..f174f9e3c 100644 --- a/codegen/Cms/Domains/Model/ForwardPaging.php +++ b/codegen/Cms/Domains/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Cms/Domains/Model/NextPage.php b/codegen/Cms/Domains/Model/NextPage.php index 4e07661da..f81a406c1 100644 --- a/codegen/Cms/Domains/Model/NextPage.php +++ b/codegen/Cms/Domains/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Cms/Hubdb/Api/RowsApi.php b/codegen/Cms/Hubdb/Api/RowsApi.php index f5f98cb8d..d814b867b 100644 --- a/codegen/Cms/Hubdb/Api/RowsApi.php +++ b/codegen/Cms/Hubdb/Api/RowsApi.php @@ -76,9 +76,9 @@ class RowsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Hubdb/Api/RowsBatchApi.php b/codegen/Cms/Hubdb/Api/RowsBatchApi.php index 62f421f63..0ba6baad5 100644 --- a/codegen/Cms/Hubdb/Api/RowsBatchApi.php +++ b/codegen/Cms/Hubdb/Api/RowsBatchApi.php @@ -76,9 +76,9 @@ class RowsBatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Hubdb/Api/TablesApi.php b/codegen/Cms/Hubdb/Api/TablesApi.php index 6445f6383..7f360f378 100644 --- a/codegen/Cms/Hubdb/Api/TablesApi.php +++ b/codegen/Cms/Hubdb/Api/TablesApi.php @@ -76,9 +76,9 @@ class TablesApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3BatchUpdateRequest.php b/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3BatchUpdateRequest.php index 557e19a03..019b175e5 100644 --- a/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3BatchUpdateRequest.php +++ b/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3BatchUpdateRequest.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3Request.php b/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3Request.php index dadfb87c3..da97fc99b 100644 --- a/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3Request.php +++ b/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3Request.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Hubdb/Model/BatchInputString.php b/codegen/Cms/Hubdb/Model/BatchInputString.php index 8538b9176..790857d0b 100644 --- a/codegen/Cms/Hubdb/Model/BatchInputString.php +++ b/codegen/Cms/Hubdb/Model/BatchInputString.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3.php b/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3.php index 14ba63bd4..09394064b 100644 --- a/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3.php +++ b/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3WithErrors.php b/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3WithErrors.php index cdfcbfb32..3797418a3 100644 --- a/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3WithErrors.php +++ b/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3WithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/CollectionResponseWithTotalHubDbTableRowV3ForwardPaging.php b/codegen/Cms/Hubdb/Model/CollectionResponseWithTotalHubDbTableRowV3ForwardPaging.php index 2d7c7fea4..50be05e18 100644 --- a/codegen/Cms/Hubdb/Model/CollectionResponseWithTotalHubDbTableRowV3ForwardPaging.php +++ b/codegen/Cms/Hubdb/Model/CollectionResponseWithTotalHubDbTableRowV3ForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/CollectionResponseWithTotalHubDbTableV3ForwardPaging.php b/codegen/Cms/Hubdb/Model/CollectionResponseWithTotalHubDbTableV3ForwardPaging.php index 4f960f6b6..7830cb154 100644 --- a/codegen/Cms/Hubdb/Model/CollectionResponseWithTotalHubDbTableV3ForwardPaging.php +++ b/codegen/Cms/Hubdb/Model/CollectionResponseWithTotalHubDbTableV3ForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/Column.php b/codegen/Cms/Hubdb/Model/Column.php index f1d65511d..c8142b7f4 100644 --- a/codegen/Cms/Hubdb/Model/Column.php +++ b/codegen/Cms/Hubdb/Model/Column.php @@ -284,7 +284,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/ColumnRequest.php b/codegen/Cms/Hubdb/Model/ColumnRequest.php index 3a35afcc3..b50d4124c 100644 --- a/codegen/Cms/Hubdb/Model/ColumnRequest.php +++ b/codegen/Cms/Hubdb/Model/ColumnRequest.php @@ -249,7 +249,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/Error.php b/codegen/Cms/Hubdb/Model/Error.php index 3c195c99f..84eb96339 100644 --- a/codegen/Cms/Hubdb/Model/Error.php +++ b/codegen/Cms/Hubdb/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/ErrorDetail.php b/codegen/Cms/Hubdb/Model/ErrorDetail.php index 777990743..e8b1e750a 100644 --- a/codegen/Cms/Hubdb/Model/ErrorDetail.php +++ b/codegen/Cms/Hubdb/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/ForeignId.php b/codegen/Cms/Hubdb/Model/ForeignId.php index 97a9138dd..655112601 100644 --- a/codegen/Cms/Hubdb/Model/ForeignId.php +++ b/codegen/Cms/Hubdb/Model/ForeignId.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/ForwardPaging.php b/codegen/Cms/Hubdb/Model/ForwardPaging.php index dfaa56075..7ff1488b0 100644 --- a/codegen/Cms/Hubdb/Model/ForwardPaging.php +++ b/codegen/Cms/Hubdb/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Cms/Hubdb/Model/HubDbTableCloneRequest.php b/codegen/Cms/Hubdb/Model/HubDbTableCloneRequest.php index 04904489c..34c36cc08 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableCloneRequest.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableCloneRequest.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['new_name'] = $data['new_name'] ?? null; $this->container['new_label'] = $data['new_label'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/HubDbTableRowV3.php b/codegen/Cms/Hubdb/Model/HubDbTableRowV3.php index 2f915fe31..54d050b94 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableRowV3.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableRowV3.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['values'] = $data['values'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/HubDbTableRowV3BatchUpdateRequest.php b/codegen/Cms/Hubdb/Model/HubDbTableRowV3BatchUpdateRequest.php index 5565a6073..275243c78 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableRowV3BatchUpdateRequest.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableRowV3BatchUpdateRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['path'] = $data['path'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/HubDbTableRowV3Request.php b/codegen/Cms/Hubdb/Model/HubDbTableRowV3Request.php index f15c1d301..35eda24b7 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableRowV3Request.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableRowV3Request.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['path'] = $data['path'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/HubDbTableV3.php b/codegen/Cms/Hubdb/Model/HubDbTableV3.php index a5919d498..9a8d333a8 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableV3.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableV3.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/HubDbTableV3Request.php b/codegen/Cms/Hubdb/Model/HubDbTableV3Request.php index fb32daf88..59d18bd20 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableV3Request.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableV3Request.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/ImportResult.php b/codegen/Cms/Hubdb/Model/ImportResult.php index 615892e60..be3ea4a75 100644 --- a/codegen/Cms/Hubdb/Model/ImportResult.php +++ b/codegen/Cms/Hubdb/Model/ImportResult.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['errors'] = $data['errors'] ?? null; $this->container['duplicate_rows'] = $data['duplicate_rows'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/NextPage.php b/codegen/Cms/Hubdb/Model/NextPage.php index c5d5a4a0c..4602d3060 100644 --- a/codegen/Cms/Hubdb/Model/NextPage.php +++ b/codegen/Cms/Hubdb/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/Option.php b/codegen/Cms/Hubdb/Model/Option.php index 3d2021ee0..f4558c3a9 100644 --- a/codegen/Cms/Hubdb/Model/Option.php +++ b/codegen/Cms/Hubdb/Model/Option.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/SimpleUser.php b/codegen/Cms/Hubdb/Model/SimpleUser.php index f7c7a79d0..3a57d3362 100644 --- a/codegen/Cms/Hubdb/Model/SimpleUser.php +++ b/codegen/Cms/Hubdb/Model/SimpleUser.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['email'] = $data['email'] ?? null; diff --git a/codegen/Cms/Hubdb/Model/StandardError.php b/codegen/Cms/Hubdb/Model/StandardError.php index 064c0c947..bc4a98ff5 100644 --- a/codegen/Cms/Hubdb/Model/StandardError.php +++ b/codegen/Cms/Hubdb/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Cms/Pages/Api/LandingPagesApi.php b/codegen/Cms/Pages/Api/LandingPagesApi.php index c7a931e04..300315393 100644 --- a/codegen/Cms/Pages/Api/LandingPagesApi.php +++ b/codegen/Cms/Pages/Api/LandingPagesApi.php @@ -76,9 +76,9 @@ class LandingPagesApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Pages/Api/SitePagesApi.php b/codegen/Cms/Pages/Api/SitePagesApi.php index 5bb062eb9..620aa132e 100644 --- a/codegen/Cms/Pages/Api/SitePagesApi.php +++ b/codegen/Cms/Pages/Api/SitePagesApi.php @@ -76,9 +76,9 @@ class SitePagesApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Pages/Model/AbTestCreateRequestVNext.php b/codegen/Cms/Pages/Model/AbTestCreateRequestVNext.php index e844c15b1..d729a1db3 100644 --- a/codegen/Cms/Pages/Model/AbTestCreateRequestVNext.php +++ b/codegen/Cms/Pages/Model/AbTestCreateRequestVNext.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['variation_name'] = $data['variation_name'] ?? null; $this->container['content_id'] = $data['content_id'] ?? null; diff --git a/codegen/Cms/Pages/Model/AbTestEndRequestVNext.php b/codegen/Cms/Pages/Model/AbTestEndRequestVNext.php index 923d2a3c7..8aab80577 100644 --- a/codegen/Cms/Pages/Model/AbTestEndRequestVNext.php +++ b/codegen/Cms/Pages/Model/AbTestEndRequestVNext.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['winner_id'] = $data['winner_id'] ?? null; $this->container['ab_test_id'] = $data['ab_test_id'] ?? null; diff --git a/codegen/Cms/Pages/Model/AbTestRerunRequestVNext.php b/codegen/Cms/Pages/Model/AbTestRerunRequestVNext.php index abdd3e658..0aac0ed54 100644 --- a/codegen/Cms/Pages/Model/AbTestRerunRequestVNext.php +++ b/codegen/Cms/Pages/Model/AbTestRerunRequestVNext.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['variation_id'] = $data['variation_id'] ?? null; $this->container['ab_test_id'] = $data['ab_test_id'] ?? null; diff --git a/codegen/Cms/Pages/Model/Angle.php b/codegen/Cms/Pages/Model/Angle.php index f07846b43..04049ee4a 100644 --- a/codegen/Cms/Pages/Model/Angle.php +++ b/codegen/Cms/Pages/Model/Angle.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['units'] = $data['units'] ?? null; $this->container['value'] = $data['value'] ?? null; @@ -228,7 +228,7 @@ public function getUnits() /** * Sets units * - * @param string $units + * @param string $units * * @return self */ @@ -252,7 +252,7 @@ public function getValue() /** * Sets value * - * @param float $value + * @param float $value * * @return self */ diff --git a/codegen/Cms/Pages/Model/AttachToLangPrimaryRequestVNext.php b/codegen/Cms/Pages/Model/AttachToLangPrimaryRequestVNext.php index ace099a3b..57e0faf26 100644 --- a/codegen/Cms/Pages/Model/AttachToLangPrimaryRequestVNext.php +++ b/codegen/Cms/Pages/Model/AttachToLangPrimaryRequestVNext.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['language'] = $data['language'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Cms/Pages/Model/BackgroundImage.php b/codegen/Cms/Pages/Model/BackgroundImage.php index 6f5e302e3..be283e456 100644 --- a/codegen/Cms/Pages/Model/BackgroundImage.php +++ b/codegen/Cms/Pages/Model/BackgroundImage.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['image_url'] = $data['image_url'] ?? null; $this->container['background_size'] = $data['background_size'] ?? null; @@ -237,7 +237,7 @@ public function getImageUrl() /** * Sets image_url * - * @param string $image_url + * @param string $image_url * * @return self */ @@ -261,7 +261,7 @@ public function getBackgroundSize() /** * Sets background_size * - * @param string $background_size + * @param string $background_size * * @return self */ @@ -285,7 +285,7 @@ public function getBackgroundPosition() /** * Sets background_position * - * @param string $background_position + * @param string $background_position * * @return self */ diff --git a/codegen/Cms/Pages/Model/BatchInputContentFolder.php b/codegen/Cms/Pages/Model/BatchInputContentFolder.php index 7a87bf0f2..e7b5ed0a4 100644 --- a/codegen/Cms/Pages/Model/BatchInputContentFolder.php +++ b/codegen/Cms/Pages/Model/BatchInputContentFolder.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Pages/Model/BatchInputJsonNode.php b/codegen/Cms/Pages/Model/BatchInputJsonNode.php index 10f3fc96e..877c3951b 100644 --- a/codegen/Cms/Pages/Model/BatchInputJsonNode.php +++ b/codegen/Cms/Pages/Model/BatchInputJsonNode.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Pages/Model/BatchInputPage.php b/codegen/Cms/Pages/Model/BatchInputPage.php index 7b51a4551..690126f6e 100644 --- a/codegen/Cms/Pages/Model/BatchInputPage.php +++ b/codegen/Cms/Pages/Model/BatchInputPage.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Pages/Model/BatchInputString.php b/codegen/Cms/Pages/Model/BatchInputString.php index 997b6058c..b2590cc60 100644 --- a/codegen/Cms/Pages/Model/BatchInputString.php +++ b/codegen/Cms/Pages/Model/BatchInputString.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Cms/Pages/Model/BatchResponseContentFolder.php b/codegen/Cms/Pages/Model/BatchResponseContentFolder.php index e6330cf73..2d3f4c3ba 100644 --- a/codegen/Cms/Pages/Model/BatchResponseContentFolder.php +++ b/codegen/Cms/Pages/Model/BatchResponseContentFolder.php @@ -219,7 +219,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['requested_at'] = $data['requested_at'] ?? null; diff --git a/codegen/Cms/Pages/Model/BatchResponseContentFolderWithErrors.php b/codegen/Cms/Pages/Model/BatchResponseContentFolderWithErrors.php index 26a8b4b15..15d3108aa 100644 --- a/codegen/Cms/Pages/Model/BatchResponseContentFolderWithErrors.php +++ b/codegen/Cms/Pages/Model/BatchResponseContentFolderWithErrors.php @@ -229,7 +229,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['num_errors'] = $data['num_errors'] ?? null; diff --git a/codegen/Cms/Pages/Model/BatchResponsePage.php b/codegen/Cms/Pages/Model/BatchResponsePage.php index f0634b1bd..8f4f8b999 100644 --- a/codegen/Cms/Pages/Model/BatchResponsePage.php +++ b/codegen/Cms/Pages/Model/BatchResponsePage.php @@ -219,7 +219,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['requested_at'] = $data['requested_at'] ?? null; diff --git a/codegen/Cms/Pages/Model/BatchResponsePageWithErrors.php b/codegen/Cms/Pages/Model/BatchResponsePageWithErrors.php index a0eb54490..99c03e373 100644 --- a/codegen/Cms/Pages/Model/BatchResponsePageWithErrors.php +++ b/codegen/Cms/Pages/Model/BatchResponsePageWithErrors.php @@ -229,7 +229,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['num_errors'] = $data['num_errors'] ?? null; diff --git a/codegen/Cms/Pages/Model/CollectionResponseWithTotalContentFolderForwardPaging.php b/codegen/Cms/Pages/Model/CollectionResponseWithTotalContentFolderForwardPaging.php index 098f77aaf..094575b58 100644 --- a/codegen/Cms/Pages/Model/CollectionResponseWithTotalContentFolderForwardPaging.php +++ b/codegen/Cms/Pages/Model/CollectionResponseWithTotalContentFolderForwardPaging.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Cms/Pages/Model/CollectionResponseWithTotalPageForwardPaging.php b/codegen/Cms/Pages/Model/CollectionResponseWithTotalPageForwardPaging.php index 982d9eace..1b291c6c3 100644 --- a/codegen/Cms/Pages/Model/CollectionResponseWithTotalPageForwardPaging.php +++ b/codegen/Cms/Pages/Model/CollectionResponseWithTotalPageForwardPaging.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionContentFolder.php b/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionContentFolder.php index 74e4a089c..5e4917989 100644 --- a/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionContentFolder.php +++ b/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionContentFolder.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionPage.php b/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionPage.php index caf01e6ff..d2260f81d 100644 --- a/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionPage.php +++ b/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionPage.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Cms/Pages/Model/ColorStop.php b/codegen/Cms/Pages/Model/ColorStop.php index 14764ae26..bf10e48a9 100644 --- a/codegen/Cms/Pages/Model/ColorStop.php +++ b/codegen/Cms/Pages/Model/ColorStop.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['color'] = $data['color'] ?? null; } diff --git a/codegen/Cms/Pages/Model/ContentCloneRequestVNext.php b/codegen/Cms/Pages/Model/ContentCloneRequestVNext.php index dcd006dab..3bd52a718 100644 --- a/codegen/Cms/Pages/Model/ContentCloneRequestVNext.php +++ b/codegen/Cms/Pages/Model/ContentCloneRequestVNext.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['clone_name'] = $data['clone_name'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Cms/Pages/Model/ContentFolder.php b/codegen/Cms/Pages/Model/ContentFolder.php index 51f3aaff9..4212317f3 100644 --- a/codegen/Cms/Pages/Model/ContentFolder.php +++ b/codegen/Cms/Pages/Model/ContentFolder.php @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['deleted_at'] = $data['deleted_at'] ?? null; $this->container['parent_folder_id'] = $data['parent_folder_id'] ?? null; diff --git a/codegen/Cms/Pages/Model/ContentLanguageCloneRequestVNext.php b/codegen/Cms/Pages/Model/ContentLanguageCloneRequestVNext.php index 82ce0b24b..2feb0587e 100644 --- a/codegen/Cms/Pages/Model/ContentLanguageCloneRequestVNext.php +++ b/codegen/Cms/Pages/Model/ContentLanguageCloneRequestVNext.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['language'] = $data['language'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Cms/Pages/Model/ContentLanguageVariation.php b/codegen/Cms/Pages/Model/ContentLanguageVariation.php index 1dad9808f..dc3224816 100644 --- a/codegen/Cms/Pages/Model/ContentLanguageVariation.php +++ b/codegen/Cms/Pages/Model/ContentLanguageVariation.php @@ -239,7 +239,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['archived_in_dashboard'] = $data['archived_in_dashboard'] ?? null; $this->container['created'] = $data['created'] ?? null; diff --git a/codegen/Cms/Pages/Model/ContentScheduleRequestVNext.php b/codegen/Cms/Pages/Model/ContentScheduleRequestVNext.php index c7b990a10..f2e3b7b75 100644 --- a/codegen/Cms/Pages/Model/ContentScheduleRequestVNext.php +++ b/codegen/Cms/Pages/Model/ContentScheduleRequestVNext.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['publish_date'] = $data['publish_date'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Cms/Pages/Model/DetachFromLangGroupRequestVNext.php b/codegen/Cms/Pages/Model/DetachFromLangGroupRequestVNext.php index 651c431bc..6527192e7 100644 --- a/codegen/Cms/Pages/Model/DetachFromLangGroupRequestVNext.php +++ b/codegen/Cms/Pages/Model/DetachFromLangGroupRequestVNext.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Cms/Pages/Model/Error.php b/codegen/Cms/Pages/Model/Error.php index c68799086..6eae528ab 100644 --- a/codegen/Cms/Pages/Model/Error.php +++ b/codegen/Cms/Pages/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Cms/Pages/Model/ErrorDetail.php b/codegen/Cms/Pages/Model/ErrorDetail.php index 018e1cfaf..2233a01bf 100644 --- a/codegen/Cms/Pages/Model/ErrorDetail.php +++ b/codegen/Cms/Pages/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['code'] = $data['code'] ?? null; diff --git a/codegen/Cms/Pages/Model/ForwardPaging.php b/codegen/Cms/Pages/Model/ForwardPaging.php index b851fdd2a..da38bdd2c 100644 --- a/codegen/Cms/Pages/Model/ForwardPaging.php +++ b/codegen/Cms/Pages/Model/ForwardPaging.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Cms/Pages/Model/Gradient.php b/codegen/Cms/Pages/Model/Gradient.php index a0cda9a44..cf9d4c7af 100644 --- a/codegen/Cms/Pages/Model/Gradient.php +++ b/codegen/Cms/Pages/Model/Gradient.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['angle'] = $data['angle'] ?? null; $this->container['side_or_corner'] = $data['side_or_corner'] ?? null; @@ -285,7 +285,7 @@ public function getColors() /** * Sets colors * - * @param \HubSpot\Client\Cms\Pages\Model\ColorStop[] $colors + * @param \HubSpot\Client\Cms\Pages\Model\ColorStop[] $colors * * @return self */ diff --git a/codegen/Cms/Pages/Model/LayoutSection.php b/codegen/Cms/Pages/Model/LayoutSection.php index 23758ba40..e046e283e 100644 --- a/codegen/Cms/Pages/Model/LayoutSection.php +++ b/codegen/Cms/Pages/Model/LayoutSection.php @@ -234,7 +234,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['css_style'] = $data['css_style'] ?? null; $this->container['label'] = $data['label'] ?? null; @@ -327,7 +327,7 @@ public function getCssStyle() /** * Sets css_style * - * @param string $css_style + * @param string $css_style * * @return self */ @@ -351,7 +351,7 @@ public function getLabel() /** * Sets label * - * @param string $label + * @param string $label * * @return self */ @@ -375,7 +375,7 @@ public function getType() /** * Sets type * - * @param string $type + * @param string $type * * @return self */ @@ -399,7 +399,7 @@ public function getParams() /** * Sets params * - * @param array $params + * @param array $params * * @return self */ @@ -423,7 +423,7 @@ public function getRows() /** * Sets rows * - * @param array[] $rows + * @param array[] $rows * * @return self */ @@ -447,7 +447,7 @@ public function getRowMetaData() /** * Sets row_meta_data * - * @param \HubSpot\Client\Cms\Pages\Model\RowMetaData[] $row_meta_data + * @param \HubSpot\Client\Cms\Pages\Model\RowMetaData[] $row_meta_data * * @return self */ @@ -471,7 +471,7 @@ public function getCells() /** * Sets cells * - * @param \HubSpot\Client\Cms\Pages\Model\LayoutSection[] $cells + * @param \HubSpot\Client\Cms\Pages\Model\LayoutSection[] $cells * * @return self */ @@ -495,7 +495,7 @@ public function getCssClass() /** * Sets css_class * - * @param string $css_class + * @param string $css_class * * @return self */ @@ -519,7 +519,7 @@ public function getW() /** * Sets w * - * @param int $w + * @param int $w * * @return self */ @@ -543,7 +543,7 @@ public function getCssId() /** * Sets css_id * - * @param string $css_id + * @param string $css_id * * @return self */ @@ -567,7 +567,7 @@ public function getX() /** * Sets x * - * @param int $x + * @param int $x * * @return self */ @@ -591,7 +591,7 @@ public function getName() /** * Sets name * - * @param string $name + * @param string $name * * @return self */ diff --git a/codegen/Cms/Pages/Model/NextPage.php b/codegen/Cms/Pages/Model/NextPage.php index d1a649861..2837b1b1b 100644 --- a/codegen/Cms/Pages/Model/NextPage.php +++ b/codegen/Cms/Pages/Model/NextPage.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['link'] = $data['link'] ?? null; $this->container['after'] = $data['after'] ?? null; @@ -226,7 +226,7 @@ public function getLink() /** * Sets link * - * @param string|null $link + * @param string|null $link * * @return self */ @@ -250,7 +250,7 @@ public function getAfter() /** * Sets after * - * @param string $after + * @param string $after * * @return self */ diff --git a/codegen/Cms/Pages/Model/Page.php b/codegen/Cms/Pages/Model/Page.php index 9124a70da..a098c2a76 100644 --- a/codegen/Cms/Pages/Model/Page.php +++ b/codegen/Cms/Pages/Model/Page.php @@ -2111,7 +2111,7 @@ public function getCurrentStateAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['publish_date'] = $data['publish_date'] ?? null; $this->container['language'] = $data['language'] ?? null; @@ -3260,7 +3260,7 @@ public function getLayoutSections() /** * Sets layout_sections * - * @param array $layout_sections + * @param array $layout_sections * * @return self */ @@ -3654,7 +3654,7 @@ public function getThemeSettingsValues() /** * Sets theme_settings_values * - * @param array $theme_settings_values + * @param array $theme_settings_values * * @return self */ diff --git a/codegen/Cms/Pages/Model/Paging.php b/codegen/Cms/Pages/Model/Paging.php index 9e78405d1..eda1d2b4e 100644 --- a/codegen/Cms/Pages/Model/Paging.php +++ b/codegen/Cms/Pages/Model/Paging.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Cms/Pages/Model/PreviousPage.php b/codegen/Cms/Pages/Model/PreviousPage.php index b08764d79..de1216465 100644 --- a/codegen/Cms/Pages/Model/PreviousPage.php +++ b/codegen/Cms/Pages/Model/PreviousPage.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; @@ -226,7 +226,7 @@ public function getBefore() /** * Sets before * - * @param string $before + * @param string $before * * @return self */ @@ -250,7 +250,7 @@ public function getLink() /** * Sets link * - * @param string|null $link + * @param string|null $link * * @return self */ diff --git a/codegen/Cms/Pages/Model/RGBAColor.php b/codegen/Cms/Pages/Model/RGBAColor.php index cde85a80d..cb43320e3 100644 --- a/codegen/Cms/Pages/Model/RGBAColor.php +++ b/codegen/Cms/Pages/Model/RGBAColor.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['a'] = $data['a'] ?? null; $this->container['r'] = $data['r'] ?? null; diff --git a/codegen/Cms/Pages/Model/RowMetaData.php b/codegen/Cms/Pages/Model/RowMetaData.php index d2d268aff..be6bba87f 100644 --- a/codegen/Cms/Pages/Model/RowMetaData.php +++ b/codegen/Cms/Pages/Model/RowMetaData.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['css_class'] = $data['css_class'] ?? null; $this->container['styles'] = $data['styles'] ?? null; @@ -228,7 +228,7 @@ public function getCssClass() /** * Sets css_class * - * @param string $css_class + * @param string $css_class * * @return self */ diff --git a/codegen/Cms/Pages/Model/SetNewLanguagePrimaryRequestVNext.php b/codegen/Cms/Pages/Model/SetNewLanguagePrimaryRequestVNext.php index 1cf60e55d..aa492d6bf 100644 --- a/codegen/Cms/Pages/Model/SetNewLanguagePrimaryRequestVNext.php +++ b/codegen/Cms/Pages/Model/SetNewLanguagePrimaryRequestVNext.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Cms/Pages/Model/SideOrCorner.php b/codegen/Cms/Pages/Model/SideOrCorner.php index 7395793f3..e4fa70bc3 100644 --- a/codegen/Cms/Pages/Model/SideOrCorner.php +++ b/codegen/Cms/Pages/Model/SideOrCorner.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['horizontal_side'] = $data['horizontal_side'] ?? null; $this->container['vertical_side'] = $data['vertical_side'] ?? null; @@ -228,7 +228,7 @@ public function getHorizontalSide() /** * Sets horizontal_side * - * @param string $horizontal_side + * @param string $horizontal_side * * @return self */ @@ -252,7 +252,7 @@ public function getVerticalSide() /** * Sets vertical_side * - * @param string $vertical_side + * @param string $vertical_side * * @return self */ diff --git a/codegen/Cms/Pages/Model/StandardError.php b/codegen/Cms/Pages/Model/StandardError.php index c7834e95a..e6fa20df8 100644 --- a/codegen/Cms/Pages/Model/StandardError.php +++ b/codegen/Cms/Pages/Model/StandardError.php @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Cms/Pages/Model/Styles.php b/codegen/Cms/Pages/Model/Styles.php index d1547ec3b..77cc0fc0d 100644 --- a/codegen/Cms/Pages/Model/Styles.php +++ b/codegen/Cms/Pages/Model/Styles.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['background_color'] = $data['background_color'] ?? null; $this->container['flexbox_positioning'] = $data['flexbox_positioning'] ?? null; @@ -297,7 +297,7 @@ public function getFlexboxPositioning() /** * Sets flexbox_positioning * - * @param string $flexbox_positioning + * @param string $flexbox_positioning * * @return self */ @@ -345,7 +345,7 @@ public function getForceFullWidthSection() /** * Sets force_full_width_section * - * @param bool $force_full_width_section + * @param bool $force_full_width_section * * @return self */ @@ -369,7 +369,7 @@ public function getVerticalAlignment() /** * Sets vertical_alignment * - * @param string $vertical_alignment + * @param string $vertical_alignment * * @return self */ @@ -393,7 +393,7 @@ public function getMaxWidthSectionCentering() /** * Sets max_width_section_centering * - * @param int $max_width_section_centering + * @param int $max_width_section_centering * * @return self */ diff --git a/codegen/Cms/Pages/Model/UpdateLanguagesRequestVNext.php b/codegen/Cms/Pages/Model/UpdateLanguagesRequestVNext.php index 816ade62d..efc120ad1 100644 --- a/codegen/Cms/Pages/Model/UpdateLanguagesRequestVNext.php +++ b/codegen/Cms/Pages/Model/UpdateLanguagesRequestVNext.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['languages'] = $data['languages'] ?? null; $this->container['primary_id'] = $data['primary_id'] ?? null; diff --git a/codegen/Cms/Pages/Model/VersionContentFolder.php b/codegen/Cms/Pages/Model/VersionContentFolder.php index 0d540339e..d327592f1 100644 --- a/codegen/Cms/Pages/Model/VersionContentFolder.php +++ b/codegen/Cms/Pages/Model/VersionContentFolder.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['user'] = $data['user'] ?? null; diff --git a/codegen/Cms/Pages/Model/VersionPage.php b/codegen/Cms/Pages/Model/VersionPage.php index 51f5c9398..c388df299 100644 --- a/codegen/Cms/Pages/Model/VersionPage.php +++ b/codegen/Cms/Pages/Model/VersionPage.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['user'] = $data['user'] ?? null; diff --git a/codegen/Cms/Pages/Model/VersionUser.php b/codegen/Cms/Pages/Model/VersionUser.php index 1eb72fd4f..5d889434a 100644 --- a/codegen/Cms/Pages/Model/VersionUser.php +++ b/codegen/Cms/Pages/Model/VersionUser.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['full_name'] = $data['full_name'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Cms/Performance/Api/PublicPerformanceApi.php b/codegen/Cms/Performance/Api/PublicPerformanceApi.php index 18c00fca9..4e0e2036c 100644 --- a/codegen/Cms/Performance/Api/PublicPerformanceApi.php +++ b/codegen/Cms/Performance/Api/PublicPerformanceApi.php @@ -76,9 +76,9 @@ class PublicPerformanceApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Performance/Model/Error.php b/codegen/Cms/Performance/Model/Error.php index 853cd2619..d1226e1ee 100644 --- a/codegen/Cms/Performance/Model/Error.php +++ b/codegen/Cms/Performance/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Cms/Performance/Model/ErrorDetail.php b/codegen/Cms/Performance/Model/ErrorDetail.php index 9ff4ca771..40ac3ecc3 100644 --- a/codegen/Cms/Performance/Model/ErrorDetail.php +++ b/codegen/Cms/Performance/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Cms/Performance/Model/PerformanceView.php b/codegen/Cms/Performance/Model/PerformanceView.php index d96c8fceb..5b7e9323e 100644 --- a/codegen/Cms/Performance/Model/PerformanceView.php +++ b/codegen/Cms/Performance/Model/PerformanceView.php @@ -280,7 +280,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['_403'] = $data['_403'] ?? null; $this->container['_404'] = $data['_404'] ?? null; diff --git a/codegen/Cms/Performance/Model/PublicPerformanceResponse.php b/codegen/Cms/Performance/Model/PublicPerformanceResponse.php index 17b87fbd5..744831a71 100644 --- a/codegen/Cms/Performance/Model/PublicPerformanceResponse.php +++ b/codegen/Cms/Performance/Model/PublicPerformanceResponse.php @@ -266,7 +266,7 @@ public function getPeriodAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['data'] = $data['data'] ?? null; $this->container['domain'] = $data['domain'] ?? null; diff --git a/codegen/Cms/SiteSearch/Api/PublicApi.php b/codegen/Cms/SiteSearch/Api/PublicApi.php index 173edfb7c..a3e8485c3 100644 --- a/codegen/Cms/SiteSearch/Api/PublicApi.php +++ b/codegen/Cms/SiteSearch/Api/PublicApi.php @@ -76,9 +76,9 @@ class PublicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/SiteSearch/Model/ContentSearchResult.php b/codegen/Cms/SiteSearch/Model/ContentSearchResult.php index 1e5797944..4e4565297 100644 --- a/codegen/Cms/SiteSearch/Model/ContentSearchResult.php +++ b/codegen/Cms/SiteSearch/Model/ContentSearchResult.php @@ -1791,7 +1791,7 @@ public function getLanguageAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['score'] = $data['score'] ?? null; diff --git a/codegen/Cms/SiteSearch/Model/Error.php b/codegen/Cms/SiteSearch/Model/Error.php index 136c4c4ea..29cac351c 100644 --- a/codegen/Cms/SiteSearch/Model/Error.php +++ b/codegen/Cms/SiteSearch/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Cms/SiteSearch/Model/ErrorDetail.php b/codegen/Cms/SiteSearch/Model/ErrorDetail.php index e3ab858e6..4fa974bfc 100644 --- a/codegen/Cms/SiteSearch/Model/ErrorDetail.php +++ b/codegen/Cms/SiteSearch/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Cms/SiteSearch/Model/IndexedData.php b/codegen/Cms/SiteSearch/Model/IndexedData.php index 7c8ae188a..527ae0fb6 100644 --- a/codegen/Cms/SiteSearch/Model/IndexedData.php +++ b/codegen/Cms/SiteSearch/Model/IndexedData.php @@ -206,7 +206,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Cms/SiteSearch/Model/IndexedField.php b/codegen/Cms/SiteSearch/Model/IndexedField.php index 097f707c5..bf75532f5 100644 --- a/codegen/Cms/SiteSearch/Model/IndexedField.php +++ b/codegen/Cms/SiteSearch/Model/IndexedField.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/codegen/Cms/SiteSearch/Model/PublicSearchResults.php b/codegen/Cms/SiteSearch/Model/PublicSearchResults.php index dcb8dc76d..6d79cda34 100644 --- a/codegen/Cms/SiteSearch/Model/PublicSearchResults.php +++ b/codegen/Cms/SiteSearch/Model/PublicSearchResults.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['offset'] = $data['offset'] ?? null; diff --git a/codegen/Cms/SourceCode/Api/ContentApi.php b/codegen/Cms/SourceCode/Api/ContentApi.php index ba3fd61bf..a0c05d501 100644 --- a/codegen/Cms/SourceCode/Api/ContentApi.php +++ b/codegen/Cms/SourceCode/Api/ContentApi.php @@ -76,9 +76,9 @@ class ContentApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/SourceCode/Api/ExtractApi.php b/codegen/Cms/SourceCode/Api/ExtractApi.php index d535d9e65..3ab8b534c 100644 --- a/codegen/Cms/SourceCode/Api/ExtractApi.php +++ b/codegen/Cms/SourceCode/Api/ExtractApi.php @@ -76,9 +76,9 @@ class ExtractApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/SourceCode/Api/MetadataApi.php b/codegen/Cms/SourceCode/Api/MetadataApi.php index 43941e23d..f66e73bec 100644 --- a/codegen/Cms/SourceCode/Api/MetadataApi.php +++ b/codegen/Cms/SourceCode/Api/MetadataApi.php @@ -76,9 +76,9 @@ class MetadataApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/SourceCode/Api/SourceCodeExtractApi.php b/codegen/Cms/SourceCode/Api/SourceCodeExtractApi.php index dc3430422..463759f0c 100644 --- a/codegen/Cms/SourceCode/Api/SourceCodeExtractApi.php +++ b/codegen/Cms/SourceCode/Api/SourceCodeExtractApi.php @@ -76,9 +76,9 @@ class SourceCodeExtractApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/SourceCode/Api/ValidationApi.php b/codegen/Cms/SourceCode/Api/ValidationApi.php index 2ad2916d5..17ba2076f 100644 --- a/codegen/Cms/SourceCode/Api/ValidationApi.php +++ b/codegen/Cms/SourceCode/Api/ValidationApi.php @@ -76,9 +76,9 @@ class ValidationApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/SourceCode/Model/ActionResponse.php b/codegen/Cms/SourceCode/Model/ActionResponse.php index 99e546c1e..d949c21a2 100644 --- a/codegen/Cms/SourceCode/Model/ActionResponse.php +++ b/codegen/Cms/SourceCode/Model/ActionResponse.php @@ -213,7 +213,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['requested_at'] = $data['requested_at'] ?? null; diff --git a/codegen/Cms/SourceCode/Model/AssetFileMetadata.php b/codegen/Cms/SourceCode/Model/AssetFileMetadata.php index c70f1a766..121c8d7e1 100644 --- a/codegen/Cms/SourceCode/Model/AssetFileMetadata.php +++ b/codegen/Cms/SourceCode/Model/AssetFileMetadata.php @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Cms/SourceCode/Model/Error.php b/codegen/Cms/SourceCode/Model/Error.php index 13f325b5c..e6dbc6fef 100644 --- a/codegen/Cms/SourceCode/Model/Error.php +++ b/codegen/Cms/SourceCode/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Cms/SourceCode/Model/ErrorDetail.php b/codegen/Cms/SourceCode/Model/ErrorDetail.php index df5f43e02..8367453e4 100644 --- a/codegen/Cms/SourceCode/Model/ErrorDetail.php +++ b/codegen/Cms/SourceCode/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Cms/SourceCode/Model/FileExtractRequest.php b/codegen/Cms/SourceCode/Model/FileExtractRequest.php index 51cc8fcfe..a5c7d2032 100644 --- a/codegen/Cms/SourceCode/Model/FileExtractRequest.php +++ b/codegen/Cms/SourceCode/Model/FileExtractRequest.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['path'] = $data['path'] ?? null; } diff --git a/codegen/Cms/SourceCode/Model/TaskLocator.php b/codegen/Cms/SourceCode/Model/TaskLocator.php index b25c3e6a1..d550dde25 100644 --- a/codegen/Cms/SourceCode/Model/TaskLocator.php +++ b/codegen/Cms/SourceCode/Model/TaskLocator.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['links'] = $data['links'] ?? null; diff --git a/codegen/Cms/UrlRedirects/Api/RedirectsApi.php b/codegen/Cms/UrlRedirects/Api/RedirectsApi.php index ac8ad9ce3..a3f8dfab7 100644 --- a/codegen/Cms/UrlRedirects/Api/RedirectsApi.php +++ b/codegen/Cms/UrlRedirects/Api/RedirectsApi.php @@ -76,9 +76,9 @@ class RedirectsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/UrlRedirects/Model/CollectionResponseWithTotalUrlMappingForwardPaging.php b/codegen/Cms/UrlRedirects/Model/CollectionResponseWithTotalUrlMappingForwardPaging.php index d65c1a8e5..4aff285e3 100644 --- a/codegen/Cms/UrlRedirects/Model/CollectionResponseWithTotalUrlMappingForwardPaging.php +++ b/codegen/Cms/UrlRedirects/Model/CollectionResponseWithTotalUrlMappingForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Cms/UrlRedirects/Model/Error.php b/codegen/Cms/UrlRedirects/Model/Error.php index a11f5cb76..ac1c7d58e 100644 --- a/codegen/Cms/UrlRedirects/Model/Error.php +++ b/codegen/Cms/UrlRedirects/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Cms/UrlRedirects/Model/ErrorDetail.php b/codegen/Cms/UrlRedirects/Model/ErrorDetail.php index c86ae03ba..66af0668b 100644 --- a/codegen/Cms/UrlRedirects/Model/ErrorDetail.php +++ b/codegen/Cms/UrlRedirects/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Cms/UrlRedirects/Model/ForwardPaging.php b/codegen/Cms/UrlRedirects/Model/ForwardPaging.php index 0586a0242..1c73372d6 100644 --- a/codegen/Cms/UrlRedirects/Model/ForwardPaging.php +++ b/codegen/Cms/UrlRedirects/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Cms/UrlRedirects/Model/NextPage.php b/codegen/Cms/UrlRedirects/Model/NextPage.php index 7331ecc87..5866ed519 100644 --- a/codegen/Cms/UrlRedirects/Model/NextPage.php +++ b/codegen/Cms/UrlRedirects/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Cms/UrlRedirects/Model/UrlMapping.php b/codegen/Cms/UrlRedirects/Model/UrlMapping.php index 3c47f95db..86156d458 100644 --- a/codegen/Cms/UrlRedirects/Model/UrlMapping.php +++ b/codegen/Cms/UrlRedirects/Model/UrlMapping.php @@ -234,7 +234,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['route_prefix'] = $data['route_prefix'] ?? null; diff --git a/codegen/Cms/UrlRedirects/Model/UrlMappingCreateRequestBody.php b/codegen/Cms/UrlRedirects/Model/UrlMappingCreateRequestBody.php index e03bb612a..9e9495e35 100644 --- a/codegen/Cms/UrlRedirects/Model/UrlMappingCreateRequestBody.php +++ b/codegen/Cms/UrlRedirects/Model/UrlMappingCreateRequestBody.php @@ -219,7 +219,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['precedence'] = $data['precedence'] ?? null; $this->container['is_only_after_not_found'] = $data['is_only_after_not_found'] ?? null; diff --git a/codegen/CommunicationPreferences/Api/DefinitionApi.php b/codegen/CommunicationPreferences/Api/DefinitionApi.php index 4f7020478..7cba3cb14 100644 --- a/codegen/CommunicationPreferences/Api/DefinitionApi.php +++ b/codegen/CommunicationPreferences/Api/DefinitionApi.php @@ -76,9 +76,9 @@ class DefinitionApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/CommunicationPreferences/Api/StatusApi.php b/codegen/CommunicationPreferences/Api/StatusApi.php index e6ad09f2a..f5d92f32d 100644 --- a/codegen/CommunicationPreferences/Api/StatusApi.php +++ b/codegen/CommunicationPreferences/Api/StatusApi.php @@ -76,9 +76,9 @@ class StatusApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/CommunicationPreferences/Model/Error.php b/codegen/CommunicationPreferences/Model/Error.php index b3c234640..256d01c14 100644 --- a/codegen/CommunicationPreferences/Model/Error.php +++ b/codegen/CommunicationPreferences/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/CommunicationPreferences/Model/ErrorDetail.php b/codegen/CommunicationPreferences/Model/ErrorDetail.php index 533cb4b23..ed92421fe 100644 --- a/codegen/CommunicationPreferences/Model/ErrorDetail.php +++ b/codegen/CommunicationPreferences/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/CommunicationPreferences/Model/PublicSubscriptionStatus.php b/codegen/CommunicationPreferences/Model/PublicSubscriptionStatus.php index 2ca4b68ab..208b5adc8 100644 --- a/codegen/CommunicationPreferences/Model/PublicSubscriptionStatus.php +++ b/codegen/CommunicationPreferences/Model/PublicSubscriptionStatus.php @@ -272,7 +272,7 @@ public function getLegalBasisAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/CommunicationPreferences/Model/PublicSubscriptionStatusesResponse.php b/codegen/CommunicationPreferences/Model/PublicSubscriptionStatusesResponse.php index 0867cd668..daed93398 100644 --- a/codegen/CommunicationPreferences/Model/PublicSubscriptionStatusesResponse.php +++ b/codegen/CommunicationPreferences/Model/PublicSubscriptionStatusesResponse.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['recipient'] = $data['recipient'] ?? null; $this->container['subscription_statuses'] = $data['subscription_statuses'] ?? null; diff --git a/codegen/CommunicationPreferences/Model/PublicUpdateSubscriptionStatusRequest.php b/codegen/CommunicationPreferences/Model/PublicUpdateSubscriptionStatusRequest.php index 69ad1ad0c..36b1cf953 100644 --- a/codegen/CommunicationPreferences/Model/PublicUpdateSubscriptionStatusRequest.php +++ b/codegen/CommunicationPreferences/Model/PublicUpdateSubscriptionStatusRequest.php @@ -215,7 +215,7 @@ public function getLegalBasisAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email_address'] = $data['email_address'] ?? null; $this->container['subscription_id'] = $data['subscription_id'] ?? null; diff --git a/codegen/CommunicationPreferences/Model/SubscriptionDefinition.php b/codegen/CommunicationPreferences/Model/SubscriptionDefinition.php index f9515dd69..e3a88ac22 100644 --- a/codegen/CommunicationPreferences/Model/SubscriptionDefinition.php +++ b/codegen/CommunicationPreferences/Model/SubscriptionDefinition.php @@ -219,7 +219,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/CommunicationPreferences/Model/SubscriptionDefinitionsResponse.php b/codegen/CommunicationPreferences/Model/SubscriptionDefinitionsResponse.php index b253ba2f5..909de8acf 100644 --- a/codegen/CommunicationPreferences/Model/SubscriptionDefinitionsResponse.php +++ b/codegen/CommunicationPreferences/Model/SubscriptionDefinitionsResponse.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['subscription_definitions'] = $data['subscription_definitions'] ?? null; } diff --git a/codegen/Conversations/VisitorIdentification/Api/GenerateApi.php b/codegen/Conversations/VisitorIdentification/Api/GenerateApi.php index c95fbd967..1e3503de7 100644 --- a/codegen/Conversations/VisitorIdentification/Api/GenerateApi.php +++ b/codegen/Conversations/VisitorIdentification/Api/GenerateApi.php @@ -76,9 +76,9 @@ class GenerateApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Conversations/VisitorIdentification/Model/Error.php b/codegen/Conversations/VisitorIdentification/Model/Error.php index b597b3890..de1e04c19 100644 --- a/codegen/Conversations/VisitorIdentification/Model/Error.php +++ b/codegen/Conversations/VisitorIdentification/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Conversations/VisitorIdentification/Model/ErrorDetail.php b/codegen/Conversations/VisitorIdentification/Model/ErrorDetail.php index 41e42c8e8..7f402a416 100644 --- a/codegen/Conversations/VisitorIdentification/Model/ErrorDetail.php +++ b/codegen/Conversations/VisitorIdentification/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenGenerationRequest.php b/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenGenerationRequest.php index 77ff355c4..7f1d20c00 100644 --- a/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenGenerationRequest.php +++ b/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenGenerationRequest.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email'] = $data['email'] ?? null; $this->container['first_name'] = $data['first_name'] ?? null; diff --git a/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenResponse.php b/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenResponse.php index a3658a8f7..e882c74ec 100644 --- a/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenResponse.php +++ b/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenResponse.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['token'] = $data['token'] ?? null; } diff --git a/codegen/Crm/Associations/Api/BatchApi.php b/codegen/Crm/Associations/Api/BatchApi.php index 6b8f3db02..ffad6bfaf 100644 --- a/codegen/Crm/Associations/Api/BatchApi.php +++ b/codegen/Crm/Associations/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Associations/Model/AssociatedId.php b/codegen/Crm/Associations/Model/AssociatedId.php index fc9714742..ba3be9976 100644 --- a/codegen/Crm/Associations/Model/AssociatedId.php +++ b/codegen/Crm/Associations/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Associations/Model/BatchInputPublicAssociation.php b/codegen/Crm/Associations/Model/BatchInputPublicAssociation.php index e580d10fd..103453c9a 100644 --- a/codegen/Crm/Associations/Model/BatchInputPublicAssociation.php +++ b/codegen/Crm/Associations/Model/BatchInputPublicAssociation.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/Model/BatchInputPublicObjectId.php b/codegen/Crm/Associations/Model/BatchInputPublicObjectId.php index 58514aade..6709dd165 100644 --- a/codegen/Crm/Associations/Model/BatchInputPublicObjectId.php +++ b/codegen/Crm/Associations/Model/BatchInputPublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/Model/BatchResponsePublicAssociation.php b/codegen/Crm/Associations/Model/BatchResponsePublicAssociation.php index 75a98db3c..cdc190d25 100644 --- a/codegen/Crm/Associations/Model/BatchResponsePublicAssociation.php +++ b/codegen/Crm/Associations/Model/BatchResponsePublicAssociation.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMulti.php b/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMulti.php index 5ff3d9f76..1acdbe27d 100644 --- a/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMulti.php +++ b/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMulti.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMultiWithErrors.php b/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMultiWithErrors.php index 026f94b5a..4117b47af 100644 --- a/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMultiWithErrors.php +++ b/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMultiWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/Model/BatchResponsePublicAssociationWithErrors.php b/codegen/Crm/Associations/Model/BatchResponsePublicAssociationWithErrors.php index 257baad69..07131cdd9 100644 --- a/codegen/Crm/Associations/Model/BatchResponsePublicAssociationWithErrors.php +++ b/codegen/Crm/Associations/Model/BatchResponsePublicAssociationWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/Model/CollectionResponsePublicAssociationDefinitionNoPaging.php b/codegen/Crm/Associations/Model/CollectionResponsePublicAssociationDefinitionNoPaging.php index 2d29379b5..497301e9f 100644 --- a/codegen/Crm/Associations/Model/CollectionResponsePublicAssociationDefinitionNoPaging.php +++ b/codegen/Crm/Associations/Model/CollectionResponsePublicAssociationDefinitionNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Crm/Associations/Model/Error.php b/codegen/Crm/Associations/Model/Error.php index 3c18d95fb..cb57ee8f0 100644 --- a/codegen/Crm/Associations/Model/Error.php +++ b/codegen/Crm/Associations/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Associations/Model/ErrorCategory.php b/codegen/Crm/Associations/Model/ErrorCategory.php index 4e3e181d7..c7fe73048 100644 --- a/codegen/Crm/Associations/Model/ErrorCategory.php +++ b/codegen/Crm/Associations/Model/ErrorCategory.php @@ -314,7 +314,7 @@ public function getHttpStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['http_status'] = $data['http_status'] ?? null; diff --git a/codegen/Crm/Associations/Model/ErrorDetail.php b/codegen/Crm/Associations/Model/ErrorDetail.php index 7cd7b69bc..c288261ae 100644 --- a/codegen/Crm/Associations/Model/ErrorDetail.php +++ b/codegen/Crm/Associations/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Associations/Model/NextPage.php b/codegen/Crm/Associations/Model/NextPage.php index b12139b42..0200fc010 100644 --- a/codegen/Crm/Associations/Model/NextPage.php +++ b/codegen/Crm/Associations/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Associations/Model/Paging.php b/codegen/Crm/Associations/Model/Paging.php index 2e9c2a74a..8b1249561 100644 --- a/codegen/Crm/Associations/Model/Paging.php +++ b/codegen/Crm/Associations/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Associations/Model/PreviousPage.php b/codegen/Crm/Associations/Model/PreviousPage.php index c80115221..b83b0a13c 100644 --- a/codegen/Crm/Associations/Model/PreviousPage.php +++ b/codegen/Crm/Associations/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Associations/Model/PublicAssociation.php b/codegen/Crm/Associations/Model/PublicAssociation.php index 4a6862adb..b0a9a6221 100644 --- a/codegen/Crm/Associations/Model/PublicAssociation.php +++ b/codegen/Crm/Associations/Model/PublicAssociation.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Associations/Model/PublicAssociationDefinition.php b/codegen/Crm/Associations/Model/PublicAssociationDefinition.php index f659743c4..dc3accc44 100644 --- a/codegen/Crm/Associations/Model/PublicAssociationDefinition.php +++ b/codegen/Crm/Associations/Model/PublicAssociationDefinition.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Crm/Associations/Model/PublicAssociationMulti.php b/codegen/Crm/Associations/Model/PublicAssociationMulti.php index 5dca470b4..3c3a79c4c 100644 --- a/codegen/Crm/Associations/Model/PublicAssociationMulti.php +++ b/codegen/Crm/Associations/Model/PublicAssociationMulti.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Associations/Model/PublicObjectId.php b/codegen/Crm/Associations/Model/PublicObjectId.php index 5055756aa..605cee345 100644 --- a/codegen/Crm/Associations/Model/PublicObjectId.php +++ b/codegen/Crm/Associations/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Associations/Model/StandardError.php b/codegen/Crm/Associations/Model/StandardError.php index 055ee1511..741b39f2a 100644 --- a/codegen/Crm/Associations/Model/StandardError.php +++ b/codegen/Crm/Associations/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Api/TypesApi.php b/codegen/Crm/Associations/Schema/Api/TypesApi.php index 3085004da..a4ba76c51 100644 --- a/codegen/Crm/Associations/Schema/Api/TypesApi.php +++ b/codegen/Crm/Associations/Schema/Api/TypesApi.php @@ -76,9 +76,9 @@ class TypesApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Associations/Schema/Model/AssociatedId.php b/codegen/Crm/Associations/Schema/Model/AssociatedId.php index adaa92bb0..d81f71043 100644 --- a/codegen/Crm/Associations/Schema/Model/AssociatedId.php +++ b/codegen/Crm/Associations/Schema/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/BatchInputPublicAssociation.php b/codegen/Crm/Associations/Schema/Model/BatchInputPublicAssociation.php index 3bc09337a..1919523d4 100644 --- a/codegen/Crm/Associations/Schema/Model/BatchInputPublicAssociation.php +++ b/codegen/Crm/Associations/Schema/Model/BatchInputPublicAssociation.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/Schema/Model/BatchInputPublicObjectId.php b/codegen/Crm/Associations/Schema/Model/BatchInputPublicObjectId.php index 2a9f3e743..061993a30 100644 --- a/codegen/Crm/Associations/Schema/Model/BatchInputPublicObjectId.php +++ b/codegen/Crm/Associations/Schema/Model/BatchInputPublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociation.php b/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociation.php index 6f2dd7af6..88b7fe627 100644 --- a/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociation.php +++ b/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociation.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociationMulti.php b/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociationMulti.php index 5e1b9572c..e4dda7d1f 100644 --- a/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociationMulti.php +++ b/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociationMulti.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociationMultiWithErrors.php b/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociationMultiWithErrors.php index 45b099f4a..bf1dff678 100644 --- a/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociationMultiWithErrors.php +++ b/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociationMultiWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociationWithErrors.php b/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociationWithErrors.php index df9a93730..b466e8c51 100644 --- a/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociationWithErrors.php +++ b/codegen/Crm/Associations/Schema/Model/BatchResponsePublicAssociationWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/CollectionResponsePublicAssociationDefinitionNoPaging.php b/codegen/Crm/Associations/Schema/Model/CollectionResponsePublicAssociationDefinitionNoPaging.php index 1162afb52..daa3f9c68 100644 --- a/codegen/Crm/Associations/Schema/Model/CollectionResponsePublicAssociationDefinitionNoPaging.php +++ b/codegen/Crm/Associations/Schema/Model/CollectionResponsePublicAssociationDefinitionNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Crm/Associations/Schema/Model/Error.php b/codegen/Crm/Associations/Schema/Model/Error.php index ee0f16118..b7caaf32c 100644 --- a/codegen/Crm/Associations/Schema/Model/Error.php +++ b/codegen/Crm/Associations/Schema/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/ErrorCategory.php b/codegen/Crm/Associations/Schema/Model/ErrorCategory.php index 8ef79b0c2..16f6f5ca6 100644 --- a/codegen/Crm/Associations/Schema/Model/ErrorCategory.php +++ b/codegen/Crm/Associations/Schema/Model/ErrorCategory.php @@ -314,7 +314,7 @@ public function getHttpStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['http_status'] = $data['http_status'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/ErrorDetail.php b/codegen/Crm/Associations/Schema/Model/ErrorDetail.php index 6908d9ef1..07481b65b 100644 --- a/codegen/Crm/Associations/Schema/Model/ErrorDetail.php +++ b/codegen/Crm/Associations/Schema/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/NextPage.php b/codegen/Crm/Associations/Schema/Model/NextPage.php index 6dbddc56a..306916f11 100644 --- a/codegen/Crm/Associations/Schema/Model/NextPage.php +++ b/codegen/Crm/Associations/Schema/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/Paging.php b/codegen/Crm/Associations/Schema/Model/Paging.php index 70bb19c2c..a2934aab1 100644 --- a/codegen/Crm/Associations/Schema/Model/Paging.php +++ b/codegen/Crm/Associations/Schema/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/PreviousPage.php b/codegen/Crm/Associations/Schema/Model/PreviousPage.php index 7ab184888..78d85a210 100644 --- a/codegen/Crm/Associations/Schema/Model/PreviousPage.php +++ b/codegen/Crm/Associations/Schema/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/PublicAssociation.php b/codegen/Crm/Associations/Schema/Model/PublicAssociation.php index 431915cab..1091f96bb 100644 --- a/codegen/Crm/Associations/Schema/Model/PublicAssociation.php +++ b/codegen/Crm/Associations/Schema/Model/PublicAssociation.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/PublicAssociationDefinition.php b/codegen/Crm/Associations/Schema/Model/PublicAssociationDefinition.php index 2b3cb1746..436b1096d 100644 --- a/codegen/Crm/Associations/Schema/Model/PublicAssociationDefinition.php +++ b/codegen/Crm/Associations/Schema/Model/PublicAssociationDefinition.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/PublicAssociationMulti.php b/codegen/Crm/Associations/Schema/Model/PublicAssociationMulti.php index 0ee15b5e7..020cbb44f 100644 --- a/codegen/Crm/Associations/Schema/Model/PublicAssociationMulti.php +++ b/codegen/Crm/Associations/Schema/Model/PublicAssociationMulti.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Associations/Schema/Model/PublicObjectId.php b/codegen/Crm/Associations/Schema/Model/PublicObjectId.php index 8fe5fb2d7..ebe2ba1fe 100644 --- a/codegen/Crm/Associations/Schema/Model/PublicObjectId.php +++ b/codegen/Crm/Associations/Schema/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Associations/Schema/Model/StandardError.php b/codegen/Crm/Associations/Schema/Model/StandardError.php index 2545e2e43..f463b6344 100644 --- a/codegen/Crm/Associations/Schema/Model/StandardError.php +++ b/codegen/Crm/Associations/Schema/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Associations/V4/Api/BasicApi.php b/codegen/Crm/Associations/V4/Api/BasicApi.php index 93df5e097..3239512eb 100644 --- a/codegen/Crm/Associations/V4/Api/BasicApi.php +++ b/codegen/Crm/Associations/V4/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Associations/V4/Api/BatchApi.php b/codegen/Crm/Associations/V4/Api/BatchApi.php index 235404d2f..9582f7176 100644 --- a/codegen/Crm/Associations/V4/Api/BatchApi.php +++ b/codegen/Crm/Associations/V4/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Associations/V4/Model/AssociatedId.php b/codegen/Crm/Associations/V4/Model/AssociatedId.php index 1993fbe13..5d025d96e 100644 --- a/codegen/Crm/Associations/V4/Model/AssociatedId.php +++ b/codegen/Crm/Associations/V4/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/AssociationSpec.php b/codegen/Crm/Associations/V4/Model/AssociationSpec.php index f6827ad45..307ed2fad 100644 --- a/codegen/Crm/Associations/V4/Model/AssociationSpec.php +++ b/codegen/Crm/Associations/V4/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/AssociationSpecWithLabel.php b/codegen/Crm/Associations/V4/Model/AssociationSpecWithLabel.php index cbf0bb031..3ce6548ed 100644 --- a/codegen/Crm/Associations/V4/Model/AssociationSpecWithLabel.php +++ b/codegen/Crm/Associations/V4/Model/AssociationSpecWithLabel.php @@ -201,7 +201,7 @@ public function getCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type_id'] = $data['type_id'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiArchive.php b/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiArchive.php index e810e2d6b..f1f31c307 100644 --- a/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiArchive.php +++ b/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiArchive.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiPost.php b/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiPost.php index 69a386161..bde26346e 100644 --- a/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiPost.php +++ b/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiPost.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Model/BatchInputPublicDefaultAssociationMultiPost.php b/codegen/Crm/Associations/V4/Model/BatchInputPublicDefaultAssociationMultiPost.php index 19b17318a..7cd46903b 100644 --- a/codegen/Crm/Associations/V4/Model/BatchInputPublicDefaultAssociationMultiPost.php +++ b/codegen/Crm/Associations/V4/Model/BatchInputPublicDefaultAssociationMultiPost.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Model/BatchInputPublicFetchAssociationsBatchRequest.php b/codegen/Crm/Associations/V4/Model/BatchInputPublicFetchAssociationsBatchRequest.php index eb992685a..01e62d2d3 100644 --- a/codegen/Crm/Associations/V4/Model/BatchInputPublicFetchAssociationsBatchRequest.php +++ b/codegen/Crm/Associations/V4/Model/BatchInputPublicFetchAssociationsBatchRequest.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Associations/V4/Model/BatchInputSimplePublicObjectBatchInput.php index ad2f9d4dc..e365100da 100644 --- a/codegen/Crm/Associations/V4/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Associations/V4/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Associations/V4/Model/BatchInputSimplePublicObjectId.php index f789b0d9b..7738b45f0 100644 --- a/codegen/Crm/Associations/V4/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Associations/V4/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Associations/V4/Model/BatchInputSimplePublicObjectInputForCreate.php index be8ff58a2..dfe054192 100644 --- a/codegen/Crm/Associations/V4/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Associations/V4/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Associations/V4/Model/BatchReadInputSimplePublicObjectId.php index 0eefe3115..61a81f5ed 100644 --- a/codegen/Crm/Associations/V4/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Associations/V4/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; $this->container['id_property'] = $data['id_property'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPair.php b/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPair.php index 3ee4d441e..5fd0bcbb4 100644 --- a/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPair.php +++ b/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPair.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['requested_at'] = $data['requested_at'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPairWithErrors.php b/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPairWithErrors.php index 2208f7782..228bc93ba 100644 --- a/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPairWithErrors.php +++ b/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPairWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['num_errors'] = $data['num_errors'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabel.php b/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabel.php index 9d898ab45..1b5b33cbc 100644 --- a/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabel.php +++ b/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabel.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['requested_at'] = $data['requested_at'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabelWithErrors.php b/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabelWithErrors.php index 342c6829b..c0115297d 100644 --- a/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabelWithErrors.php +++ b/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabelWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['num_errors'] = $data['num_errors'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/BatchResponsePublicDefaultAssociation.php b/codegen/Crm/Associations/V4/Model/BatchResponsePublicDefaultAssociation.php index 0f865a514..31407b007 100644 --- a/codegen/Crm/Associations/V4/Model/BatchResponsePublicDefaultAssociation.php +++ b/codegen/Crm/Associations/V4/Model/BatchResponsePublicDefaultAssociation.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['num_errors'] = $data['num_errors'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Associations/V4/Model/BatchResponseSimplePublicObject.php index 5444cede1..9b8197a8c 100644 --- a/codegen/Crm/Associations/V4/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Associations/V4/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['requested_at'] = $data['requested_at'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Associations/V4/Model/BatchResponseSimplePublicObjectWithErrors.php index fda333a94..48b915e1a 100644 --- a/codegen/Crm/Associations/V4/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Associations/V4/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['num_errors'] = $data['num_errors'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Associations/V4/Model/CollectionResponseAssociatedId.php index 3badcab7a..f6fb028bc 100644 --- a/codegen/Crm/Associations/V4/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Associations/V4/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['paging'] = $data['paging'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/CollectionResponseAssociationSpecWithLabelNoPaging.php b/codegen/Crm/Associations/V4/Model/CollectionResponseAssociationSpecWithLabelNoPaging.php index 5ba728259..693da2235 100644 --- a/codegen/Crm/Associations/V4/Model/CollectionResponseAssociationSpecWithLabelNoPaging.php +++ b/codegen/Crm/Associations/V4/Model/CollectionResponseAssociationSpecWithLabelNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Model/CollectionResponseMultiAssociatedObjectWithLabelForwardPaging.php b/codegen/Crm/Associations/V4/Model/CollectionResponseMultiAssociatedObjectWithLabelForwardPaging.php index 9d545a705..6742f6780 100644 --- a/codegen/Crm/Associations/V4/Model/CollectionResponseMultiAssociatedObjectWithLabelForwardPaging.php +++ b/codegen/Crm/Associations/V4/Model/CollectionResponseMultiAssociatedObjectWithLabelForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['paging'] = $data['paging'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Associations/V4/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 4550c2f41..d8c132538 100644 --- a/codegen/Crm/Associations/V4/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Associations/V4/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['paging'] = $data['paging'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/Error.php b/codegen/Crm/Associations/V4/Model/Error.php index d5c7bd02a..8fdfb7560 100644 --- a/codegen/Crm/Associations/V4/Model/Error.php +++ b/codegen/Crm/Associations/V4/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/ErrorCategory.php b/codegen/Crm/Associations/V4/Model/ErrorCategory.php index 5f69f285a..ac0dc00ca 100644 --- a/codegen/Crm/Associations/V4/Model/ErrorCategory.php +++ b/codegen/Crm/Associations/V4/Model/ErrorCategory.php @@ -314,7 +314,7 @@ public function getHttpStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['http_status'] = $data['http_status'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/ErrorDetail.php b/codegen/Crm/Associations/V4/Model/ErrorDetail.php index d693e3db3..0514bda6b 100644 --- a/codegen/Crm/Associations/V4/Model/ErrorDetail.php +++ b/codegen/Crm/Associations/V4/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['code'] = $data['code'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/ForwardPaging.php b/codegen/Crm/Associations/V4/Model/ForwardPaging.php index 162f05bab..311d1f4ed 100644 --- a/codegen/Crm/Associations/V4/Model/ForwardPaging.php +++ b/codegen/Crm/Associations/V4/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Model/LabelsBetweenObjectPair.php b/codegen/Crm/Associations/V4/Model/LabelsBetweenObjectPair.php index effff2acf..6b63790cf 100644 --- a/codegen/Crm/Associations/V4/Model/LabelsBetweenObjectPair.php +++ b/codegen/Crm/Associations/V4/Model/LabelsBetweenObjectPair.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from_object_type_id'] = $data['from_object_type_id'] ?? null; $this->container['to_object_id'] = $data['to_object_id'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/MultiAssociatedObjectWithLabel.php b/codegen/Crm/Associations/V4/Model/MultiAssociatedObjectWithLabel.php index 4810ad719..6cd158fd4 100644 --- a/codegen/Crm/Associations/V4/Model/MultiAssociatedObjectWithLabel.php +++ b/codegen/Crm/Associations/V4/Model/MultiAssociatedObjectWithLabel.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_types'] = $data['association_types'] ?? null; $this->container['to_object_id'] = $data['to_object_id'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/NextPage.php b/codegen/Crm/Associations/V4/Model/NextPage.php index ad2bef7b8..a4a1e835c 100644 --- a/codegen/Crm/Associations/V4/Model/NextPage.php +++ b/codegen/Crm/Associations/V4/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['link'] = $data['link'] ?? null; $this->container['after'] = $data['after'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/Paging.php b/codegen/Crm/Associations/V4/Model/Paging.php index a0bf4f9ab..b7ca2da0b 100644 --- a/codegen/Crm/Associations/V4/Model/Paging.php +++ b/codegen/Crm/Associations/V4/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/PreviousPage.php b/codegen/Crm/Associations/V4/Model/PreviousPage.php index f42652795..c35f9e688 100644 --- a/codegen/Crm/Associations/V4/Model/PreviousPage.php +++ b/codegen/Crm/Associations/V4/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/PublicAssociationDefinitionCreateRequest.php b/codegen/Crm/Associations/V4/Model/PublicAssociationDefinitionCreateRequest.php index a5ee432e4..39d1187ae 100644 --- a/codegen/Crm/Associations/V4/Model/PublicAssociationDefinitionCreateRequest.php +++ b/codegen/Crm/Associations/V4/Model/PublicAssociationDefinitionCreateRequest.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/PublicAssociationDefinitionUpdateRequest.php b/codegen/Crm/Associations/V4/Model/PublicAssociationDefinitionUpdateRequest.php index cb29ee4a7..6186c3428 100644 --- a/codegen/Crm/Associations/V4/Model/PublicAssociationDefinitionUpdateRequest.php +++ b/codegen/Crm/Associations/V4/Model/PublicAssociationDefinitionUpdateRequest.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_type_id'] = $data['association_type_id'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/PublicAssociationMultiArchive.php b/codegen/Crm/Associations/V4/Model/PublicAssociationMultiArchive.php index 58fe5b4d8..30e9dcf8a 100644 --- a/codegen/Crm/Associations/V4/Model/PublicAssociationMultiArchive.php +++ b/codegen/Crm/Associations/V4/Model/PublicAssociationMultiArchive.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/PublicAssociationMultiPost.php b/codegen/Crm/Associations/V4/Model/PublicAssociationMultiPost.php index d5a035b0a..544b750b1 100644 --- a/codegen/Crm/Associations/V4/Model/PublicAssociationMultiPost.php +++ b/codegen/Crm/Associations/V4/Model/PublicAssociationMultiPost.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['types'] = $data['types'] ?? null; $this->container['from'] = $data['from'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/PublicAssociationMultiWithLabel.php b/codegen/Crm/Associations/V4/Model/PublicAssociationMultiWithLabel.php index d1fb3c2a7..58e46ec4e 100644 --- a/codegen/Crm/Associations/V4/Model/PublicAssociationMultiWithLabel.php +++ b/codegen/Crm/Associations/V4/Model/PublicAssociationMultiWithLabel.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/PublicAssociationsForObject.php b/codegen/Crm/Associations/V4/Model/PublicAssociationsForObject.php index 522b9a364..1dd0eee68 100644 --- a/codegen/Crm/Associations/V4/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Associations/V4/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['types'] = $data['types'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/PublicDefaultAssociation.php b/codegen/Crm/Associations/V4/Model/PublicDefaultAssociation.php index 8179e3184..cb428bf86 100644 --- a/codegen/Crm/Associations/V4/Model/PublicDefaultAssociation.php +++ b/codegen/Crm/Associations/V4/Model/PublicDefaultAssociation.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_spec'] = $data['association_spec'] ?? null; $this->container['from'] = $data['from'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/PublicDefaultAssociationMultiPost.php b/codegen/Crm/Associations/V4/Model/PublicDefaultAssociationMultiPost.php index fb4627fd2..6777b995f 100644 --- a/codegen/Crm/Associations/V4/Model/PublicDefaultAssociationMultiPost.php +++ b/codegen/Crm/Associations/V4/Model/PublicDefaultAssociationMultiPost.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/PublicFetchAssociationsBatchRequest.php b/codegen/Crm/Associations/V4/Model/PublicFetchAssociationsBatchRequest.php index 007927c54..681c02c54 100644 --- a/codegen/Crm/Associations/V4/Model/PublicFetchAssociationsBatchRequest.php +++ b/codegen/Crm/Associations/V4/Model/PublicFetchAssociationsBatchRequest.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['after'] = $data['after'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/PublicGdprDeleteInput.php b/codegen/Crm/Associations/V4/Model/PublicGdprDeleteInput.php index 401b50541..c4f607fdf 100644 --- a/codegen/Crm/Associations/V4/Model/PublicGdprDeleteInput.php +++ b/codegen/Crm/Associations/V4/Model/PublicGdprDeleteInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id_property'] = $data['id_property'] ?? null; $this->container['object_id'] = $data['object_id'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/PublicObjectId.php b/codegen/Crm/Associations/V4/Model/PublicObjectId.php index 0b16ab055..69a51f12b 100644 --- a/codegen/Crm/Associations/V4/Model/PublicObjectId.php +++ b/codegen/Crm/Associations/V4/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Model/SimplePublicObject.php b/codegen/Crm/Associations/V4/Model/SimplePublicObject.php index eb568908c..110d760ea 100644 --- a/codegen/Crm/Associations/V4/Model/SimplePublicObject.php +++ b/codegen/Crm/Associations/V4/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['created_at'] = $data['created_at'] ?? null; $this->container['archived'] = $data['archived'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Associations/V4/Model/SimplePublicObjectBatchInput.php index 7d165ed5a..ecc33bfe4 100644 --- a/codegen/Crm/Associations/V4/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Associations/V4/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/SimplePublicObjectId.php b/codegen/Crm/Associations/V4/Model/SimplePublicObjectId.php index 44d01ba54..a58ffbc6a 100644 --- a/codegen/Crm/Associations/V4/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Associations/V4/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Model/SimplePublicObjectInput.php b/codegen/Crm/Associations/V4/Model/SimplePublicObjectInput.php index e48e38c9b..3c4e3f019 100644 --- a/codegen/Crm/Associations/V4/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Associations/V4/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Associations/V4/Model/SimplePublicObjectInputForCreate.php index 14ed437c3..760422af8 100644 --- a/codegen/Crm/Associations/V4/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Associations/V4/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['associations'] = $data['associations'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Associations/V4/Model/SimplePublicObjectWithAssociations.php index 39ecdfe8d..14618a04d 100644 --- a/codegen/Crm/Associations/V4/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Associations/V4/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['associations'] = $data['associations'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/StandardError.php b/codegen/Crm/Associations/V4/Model/StandardError.php index 47cf29f57..92bf65846 100644 --- a/codegen/Crm/Associations/V4/Model/StandardError.php +++ b/codegen/Crm/Associations/V4/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/StandardError1.php b/codegen/Crm/Associations/V4/Model/StandardError1.php index f37ff5fa2..34a980a51 100644 --- a/codegen/Crm/Associations/V4/Model/StandardError1.php +++ b/codegen/Crm/Associations/V4/Model/StandardError1.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Crm/Associations/V4/Model/ValueWithTimestamp.php b/codegen/Crm/Associations/V4/Model/ValueWithTimestamp.php index 1e3e9a71f..e56939ac1 100644 --- a/codegen/Crm/Associations/V4/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Associations/V4/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['source_id'] = $data['source_id'] ?? null; $this->container['source_type'] = $data['source_type'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Api/DefinitionsApi.php b/codegen/Crm/Associations/V4/Schema/Api/DefinitionsApi.php index 37703c165..9ccefdea4 100644 --- a/codegen/Crm/Associations/V4/Schema/Api/DefinitionsApi.php +++ b/codegen/Crm/Associations/V4/Schema/Api/DefinitionsApi.php @@ -76,9 +76,9 @@ class DefinitionsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Associations/V4/Schema/Model/AssociationSpec.php b/codegen/Crm/Associations/V4/Schema/Model/AssociationSpec.php index aa16b72f1..21096fb65 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/AssociationSpec.php +++ b/codegen/Crm/Associations/V4/Schema/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/AssociationSpecWithLabel.php b/codegen/Crm/Associations/V4/Schema/Model/AssociationSpecWithLabel.php index 4e8878318..65c57af23 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/AssociationSpecWithLabel.php +++ b/codegen/Crm/Associations/V4/Schema/Model/AssociationSpecWithLabel.php @@ -201,7 +201,7 @@ public function getCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['category'] = $data['category'] ?? null; $this->container['type_id'] = $data['type_id'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicAssociationMultiArchive.php b/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicAssociationMultiArchive.php index 981c43fe9..2fdcee570 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicAssociationMultiArchive.php +++ b/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicAssociationMultiArchive.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicAssociationMultiPost.php b/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicAssociationMultiPost.php index 68ff3c6fc..4aa178176 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicAssociationMultiPost.php +++ b/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicAssociationMultiPost.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicDefaultAssociationMultiPost.php b/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicDefaultAssociationMultiPost.php index 2925d3e17..6299e238e 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicDefaultAssociationMultiPost.php +++ b/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicDefaultAssociationMultiPost.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicFetchAssociationsBatchRequest.php b/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicFetchAssociationsBatchRequest.php index 69ddc4f33..21557b716 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicFetchAssociationsBatchRequest.php +++ b/codegen/Crm/Associations/V4/Schema/Model/BatchInputPublicFetchAssociationsBatchRequest.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Schema/Model/BatchResponseLabelsBetweenObjectPair.php b/codegen/Crm/Associations/V4/Schema/Model/BatchResponseLabelsBetweenObjectPair.php index 3a8b477dd..b37148e17 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/BatchResponseLabelsBetweenObjectPair.php +++ b/codegen/Crm/Associations/V4/Schema/Model/BatchResponseLabelsBetweenObjectPair.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/BatchResponseLabelsBetweenObjectPairWithErrors.php b/codegen/Crm/Associations/V4/Schema/Model/BatchResponseLabelsBetweenObjectPairWithErrors.php index dc55a8247..a576f324f 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/BatchResponseLabelsBetweenObjectPairWithErrors.php +++ b/codegen/Crm/Associations/V4/Schema/Model/BatchResponseLabelsBetweenObjectPairWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/BatchResponsePublicAssociationMultiWithLabel.php b/codegen/Crm/Associations/V4/Schema/Model/BatchResponsePublicAssociationMultiWithLabel.php index fb51b4470..c2c130c34 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/BatchResponsePublicAssociationMultiWithLabel.php +++ b/codegen/Crm/Associations/V4/Schema/Model/BatchResponsePublicAssociationMultiWithLabel.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/BatchResponsePublicAssociationMultiWithLabelWithErrors.php b/codegen/Crm/Associations/V4/Schema/Model/BatchResponsePublicAssociationMultiWithLabelWithErrors.php index d047741be..670cf80d9 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/BatchResponsePublicAssociationMultiWithLabelWithErrors.php +++ b/codegen/Crm/Associations/V4/Schema/Model/BatchResponsePublicAssociationMultiWithLabelWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/BatchResponsePublicDefaultAssociation.php b/codegen/Crm/Associations/V4/Schema/Model/BatchResponsePublicDefaultAssociation.php index 26749a9cd..f64c2905a 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/BatchResponsePublicDefaultAssociation.php +++ b/codegen/Crm/Associations/V4/Schema/Model/BatchResponsePublicDefaultAssociation.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/CollectionResponseAssociationSpecWithLabelNoPaging.php b/codegen/Crm/Associations/V4/Schema/Model/CollectionResponseAssociationSpecWithLabelNoPaging.php index 72d0aed82..0734f3ef0 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/CollectionResponseAssociationSpecWithLabelNoPaging.php +++ b/codegen/Crm/Associations/V4/Schema/Model/CollectionResponseAssociationSpecWithLabelNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Schema/Model/Error.php b/codegen/Crm/Associations/V4/Schema/Model/Error.php index 7305db8bd..008a6173a 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/Error.php +++ b/codegen/Crm/Associations/V4/Schema/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/ErrorCategory.php b/codegen/Crm/Associations/V4/Schema/Model/ErrorCategory.php index e565ace08..c5922596a 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/ErrorCategory.php +++ b/codegen/Crm/Associations/V4/Schema/Model/ErrorCategory.php @@ -314,7 +314,7 @@ public function getHttpStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['http_status'] = $data['http_status'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/ErrorDetail.php b/codegen/Crm/Associations/V4/Schema/Model/ErrorDetail.php index d65a0c3b1..2e170c389 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/ErrorDetail.php +++ b/codegen/Crm/Associations/V4/Schema/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/LabelsBetweenObjectPair.php b/codegen/Crm/Associations/V4/Schema/Model/LabelsBetweenObjectPair.php index fe1fb9276..5797616a6 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/LabelsBetweenObjectPair.php +++ b/codegen/Crm/Associations/V4/Schema/Model/LabelsBetweenObjectPair.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from_object_type_id'] = $data['from_object_type_id'] ?? null; $this->container['from_object_id'] = $data['from_object_id'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/MultiAssociatedObjectWithLabel.php b/codegen/Crm/Associations/V4/Schema/Model/MultiAssociatedObjectWithLabel.php index d753bf3d5..bcce2d103 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/MultiAssociatedObjectWithLabel.php +++ b/codegen/Crm/Associations/V4/Schema/Model/MultiAssociatedObjectWithLabel.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to_object_id'] = $data['to_object_id'] ?? null; $this->container['association_types'] = $data['association_types'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/NextPage.php b/codegen/Crm/Associations/V4/Schema/Model/NextPage.php index 37ce5b783..219eb63b0 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/NextPage.php +++ b/codegen/Crm/Associations/V4/Schema/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/Paging.php b/codegen/Crm/Associations/V4/Schema/Model/Paging.php index d889152b3..706f28212 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/Paging.php +++ b/codegen/Crm/Associations/V4/Schema/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/PreviousPage.php b/codegen/Crm/Associations/V4/Schema/Model/PreviousPage.php index aae4146b0..73ac6390c 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/PreviousPage.php +++ b/codegen/Crm/Associations/V4/Schema/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionCreateRequest.php b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionCreateRequest.php index 00c4c2564..2414bae27 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionCreateRequest.php +++ b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionCreateRequest.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionUpdateRequest.php b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionUpdateRequest.php index 3430b13de..ebf8cd0d4 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionUpdateRequest.php +++ b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionUpdateRequest.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationMultiArchive.php b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationMultiArchive.php index 23afb3ef6..8e0fa3aec 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationMultiArchive.php +++ b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationMultiArchive.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationMultiPost.php b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationMultiPost.php index 26aeb6179..a5a91644c 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationMultiPost.php +++ b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationMultiPost.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationMultiWithLabel.php b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationMultiWithLabel.php index 553251d7a..9046e1db9 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationMultiWithLabel.php +++ b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationMultiWithLabel.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/PublicDefaultAssociation.php b/codegen/Crm/Associations/V4/Schema/Model/PublicDefaultAssociation.php index d8cea8e76..98a849ab3 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/PublicDefaultAssociation.php +++ b/codegen/Crm/Associations/V4/Schema/Model/PublicDefaultAssociation.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/PublicDefaultAssociationMultiPost.php b/codegen/Crm/Associations/V4/Schema/Model/PublicDefaultAssociationMultiPost.php index 109f0c6e9..efaaf3dc2 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/PublicDefaultAssociationMultiPost.php +++ b/codegen/Crm/Associations/V4/Schema/Model/PublicDefaultAssociationMultiPost.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/PublicFetchAssociationsBatchRequest.php b/codegen/Crm/Associations/V4/Schema/Model/PublicFetchAssociationsBatchRequest.php index 6469fe5fc..ac661deaf 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/PublicFetchAssociationsBatchRequest.php +++ b/codegen/Crm/Associations/V4/Schema/Model/PublicFetchAssociationsBatchRequest.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['after'] = $data['after'] ?? null; diff --git a/codegen/Crm/Associations/V4/Schema/Model/PublicObjectId.php b/codegen/Crm/Associations/V4/Schema/Model/PublicObjectId.php index 95bb21564..fcf9fdfec 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/PublicObjectId.php +++ b/codegen/Crm/Associations/V4/Schema/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Associations/V4/Schema/Model/StandardError.php b/codegen/Crm/Associations/V4/Schema/Model/StandardError.php index b96b32600..6b8b5ee8d 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/StandardError.php +++ b/codegen/Crm/Associations/V4/Schema/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Companies/Api/BasicApi.php b/codegen/Crm/Companies/Api/BasicApi.php index 2d1facb9a..c956d6a89 100644 --- a/codegen/Crm/Companies/Api/BasicApi.php +++ b/codegen/Crm/Companies/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Companies/Api/BatchApi.php b/codegen/Crm/Companies/Api/BatchApi.php index 4ec0275b1..41053b246 100644 --- a/codegen/Crm/Companies/Api/BatchApi.php +++ b/codegen/Crm/Companies/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Companies/Api/PublicObjectApi.php b/codegen/Crm/Companies/Api/PublicObjectApi.php index 322a9a0ff..b2387c7cd 100644 --- a/codegen/Crm/Companies/Api/PublicObjectApi.php +++ b/codegen/Crm/Companies/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Companies/Api/SearchApi.php b/codegen/Crm/Companies/Api/SearchApi.php index 77e7e6763..23fbcdc0e 100644 --- a/codegen/Crm/Companies/Api/SearchApi.php +++ b/codegen/Crm/Companies/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Companies/Model/AssociatedId.php b/codegen/Crm/Companies/Model/AssociatedId.php index 008114ea7..0c602eee0 100644 --- a/codegen/Crm/Companies/Model/AssociatedId.php +++ b/codegen/Crm/Companies/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Companies/Model/AssociationSpec.php b/codegen/Crm/Companies/Model/AssociationSpec.php index 689678850..40ee54d1f 100644 --- a/codegen/Crm/Companies/Model/AssociationSpec.php +++ b/codegen/Crm/Companies/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectBatchInput.php index aaab5064a..41aea4cf9 100644 --- a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectId.php index 582f4e82f..5c74164a3 100644 --- a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectInputForCreate.php index 37963e518..c5329427d 100644 --- a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Companies/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Companies/Model/BatchReadInputSimplePublicObjectId.php index 59c72a30d..050b81f2c 100644 --- a/codegen/Crm/Companies/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Companies/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Companies/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Companies/Model/BatchResponseSimplePublicObject.php index 201a67eaa..d7c5020f1 100644 --- a/codegen/Crm/Companies/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Companies/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Companies/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Companies/Model/BatchResponseSimplePublicObjectWithErrors.php index 8a4aab1c8..1b007ae5c 100644 --- a/codegen/Crm/Companies/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Companies/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Companies/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Companies/Model/CollectionResponseAssociatedId.php index cc96fcbe9..15d53846b 100644 --- a/codegen/Crm/Companies/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Companies/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Companies/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Companies/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 9c21dce08..24800a33f 100644 --- a/codegen/Crm/Companies/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Companies/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Companies/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Companies/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 0abab5c62..3b12826c8 100644 --- a/codegen/Crm/Companies/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Companies/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Companies/Model/Error.php b/codegen/Crm/Companies/Model/Error.php index 0a17f7204..103ab66a8 100644 --- a/codegen/Crm/Companies/Model/Error.php +++ b/codegen/Crm/Companies/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Companies/Model/ErrorDetail.php b/codegen/Crm/Companies/Model/ErrorDetail.php index 9d39d87ef..14b196096 100644 --- a/codegen/Crm/Companies/Model/ErrorDetail.php +++ b/codegen/Crm/Companies/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Companies/Model/Filter.php b/codegen/Crm/Companies/Model/Filter.php index 04e5d72a3..80fb083db 100644 --- a/codegen/Crm/Companies/Model/Filter.php +++ b/codegen/Crm/Companies/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Companies/Model/FilterGroup.php b/codegen/Crm/Companies/Model/FilterGroup.php index e23542645..00bd3d7f1 100644 --- a/codegen/Crm/Companies/Model/FilterGroup.php +++ b/codegen/Crm/Companies/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Companies/Model/ForwardPaging.php b/codegen/Crm/Companies/Model/ForwardPaging.php index 7ecbf8b6d..f333eae62 100644 --- a/codegen/Crm/Companies/Model/ForwardPaging.php +++ b/codegen/Crm/Companies/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Companies/Model/NextPage.php b/codegen/Crm/Companies/Model/NextPage.php index 621acb01a..9d67a579e 100644 --- a/codegen/Crm/Companies/Model/NextPage.php +++ b/codegen/Crm/Companies/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Companies/Model/Paging.php b/codegen/Crm/Companies/Model/Paging.php index fe48d55f6..18aa7b8d5 100644 --- a/codegen/Crm/Companies/Model/Paging.php +++ b/codegen/Crm/Companies/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Companies/Model/PreviousPage.php b/codegen/Crm/Companies/Model/PreviousPage.php index 740fd477e..10f6aed65 100644 --- a/codegen/Crm/Companies/Model/PreviousPage.php +++ b/codegen/Crm/Companies/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Companies/Model/PublicAssociationsForObject.php b/codegen/Crm/Companies/Model/PublicAssociationsForObject.php index f4ec90b7f..1e33f2299 100644 --- a/codegen/Crm/Companies/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Companies/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Companies/Model/PublicMergeInput.php b/codegen/Crm/Companies/Model/PublicMergeInput.php index 4befd5ea2..f5fa360a9 100644 --- a/codegen/Crm/Companies/Model/PublicMergeInput.php +++ b/codegen/Crm/Companies/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Companies/Model/PublicObjectId.php b/codegen/Crm/Companies/Model/PublicObjectId.php index f86305e2a..b6e742707 100644 --- a/codegen/Crm/Companies/Model/PublicObjectId.php +++ b/codegen/Crm/Companies/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Companies/Model/PublicObjectSearchRequest.php b/codegen/Crm/Companies/Model/PublicObjectSearchRequest.php index 06ed19ac8..ac6909819 100644 --- a/codegen/Crm/Companies/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Companies/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Companies/Model/SimplePublicObject.php b/codegen/Crm/Companies/Model/SimplePublicObject.php index edecadcc8..cbd50a005 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObject.php +++ b/codegen/Crm/Companies/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Companies/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Companies/Model/SimplePublicObjectBatchInput.php index e141e79ee..cbf1c5b25 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Companies/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Companies/Model/SimplePublicObjectId.php b/codegen/Crm/Companies/Model/SimplePublicObjectId.php index 9ea58517d..ca77b2d56 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Companies/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Companies/Model/SimplePublicObjectInput.php b/codegen/Crm/Companies/Model/SimplePublicObjectInput.php index 676f8e1b5..4642dd97c 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Companies/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Companies/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Companies/Model/SimplePublicObjectInputForCreate.php index 7591e0509..e78ea798d 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Companies/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Companies/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Companies/Model/SimplePublicObjectWithAssociations.php index 28b8dd83a..ba57f0b94 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Companies/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Companies/Model/StandardError.php b/codegen/Crm/Companies/Model/StandardError.php index 03db44dbe..3324fd891 100644 --- a/codegen/Crm/Companies/Model/StandardError.php +++ b/codegen/Crm/Companies/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Companies/Model/ValueWithTimestamp.php b/codegen/Crm/Companies/Model/ValueWithTimestamp.php index fd6f2f45a..3e91a456e 100644 --- a/codegen/Crm/Companies/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Companies/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Contacts/Api/BasicApi.php b/codegen/Crm/Contacts/Api/BasicApi.php index f097d148b..81793fb5a 100644 --- a/codegen/Crm/Contacts/Api/BasicApi.php +++ b/codegen/Crm/Contacts/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Contacts/Api/BatchApi.php b/codegen/Crm/Contacts/Api/BatchApi.php index 145e57281..646e4fc2d 100644 --- a/codegen/Crm/Contacts/Api/BatchApi.php +++ b/codegen/Crm/Contacts/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Contacts/Api/GDPRApi.php b/codegen/Crm/Contacts/Api/GDPRApi.php index b532d2e00..bf5688e80 100644 --- a/codegen/Crm/Contacts/Api/GDPRApi.php +++ b/codegen/Crm/Contacts/Api/GDPRApi.php @@ -76,9 +76,9 @@ class GDPRApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Contacts/Api/PublicObjectApi.php b/codegen/Crm/Contacts/Api/PublicObjectApi.php index d25e83a30..0f9d79f9d 100644 --- a/codegen/Crm/Contacts/Api/PublicObjectApi.php +++ b/codegen/Crm/Contacts/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Contacts/Api/SearchApi.php b/codegen/Crm/Contacts/Api/SearchApi.php index 23fd099d1..94b8ec028 100644 --- a/codegen/Crm/Contacts/Api/SearchApi.php +++ b/codegen/Crm/Contacts/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Contacts/Model/AssociatedId.php b/codegen/Crm/Contacts/Model/AssociatedId.php index f2866565c..21625be47 100644 --- a/codegen/Crm/Contacts/Model/AssociatedId.php +++ b/codegen/Crm/Contacts/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Contacts/Model/AssociationSpec.php b/codegen/Crm/Contacts/Model/AssociationSpec.php index fc01011b4..b420dda04 100644 --- a/codegen/Crm/Contacts/Model/AssociationSpec.php +++ b/codegen/Crm/Contacts/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectBatchInput.php index 54df5e40f..7019d9f50 100644 --- a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectId.php index e71b1a3d7..0941edaf5 100644 --- a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectInputForCreate.php index 2e67a8272..53057c284 100644 --- a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Contacts/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Contacts/Model/BatchReadInputSimplePublicObjectId.php index e8c016244..f7e3937c0 100644 --- a/codegen/Crm/Contacts/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Contacts/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObject.php index b7e99bfb7..fb75b36c4 100644 --- a/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObjectWithErrors.php index 8d5f34bf9..1c55a3d13 100644 --- a/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Contacts/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Contacts/Model/CollectionResponseAssociatedId.php index c22c75be2..33e300492 100644 --- a/codegen/Crm/Contacts/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Contacts/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Contacts/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Contacts/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 2521586b3..ea01b96bb 100644 --- a/codegen/Crm/Contacts/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Contacts/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Contacts/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Contacts/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 34bfea9e7..fad7090c0 100644 --- a/codegen/Crm/Contacts/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Contacts/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Contacts/Model/Error.php b/codegen/Crm/Contacts/Model/Error.php index 8906caad0..e9a4a3154 100644 --- a/codegen/Crm/Contacts/Model/Error.php +++ b/codegen/Crm/Contacts/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Contacts/Model/ErrorDetail.php b/codegen/Crm/Contacts/Model/ErrorDetail.php index b713fa1ab..b33d15458 100644 --- a/codegen/Crm/Contacts/Model/ErrorDetail.php +++ b/codegen/Crm/Contacts/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Contacts/Model/Filter.php b/codegen/Crm/Contacts/Model/Filter.php index 79f25dfcc..d6b2a7c2b 100644 --- a/codegen/Crm/Contacts/Model/Filter.php +++ b/codegen/Crm/Contacts/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Contacts/Model/FilterGroup.php b/codegen/Crm/Contacts/Model/FilterGroup.php index 410f20746..62e3da593 100644 --- a/codegen/Crm/Contacts/Model/FilterGroup.php +++ b/codegen/Crm/Contacts/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Contacts/Model/ForwardPaging.php b/codegen/Crm/Contacts/Model/ForwardPaging.php index 9ced6beaa..a81eaa803 100644 --- a/codegen/Crm/Contacts/Model/ForwardPaging.php +++ b/codegen/Crm/Contacts/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Contacts/Model/NextPage.php b/codegen/Crm/Contacts/Model/NextPage.php index 50b1ad7f0..5441455b6 100644 --- a/codegen/Crm/Contacts/Model/NextPage.php +++ b/codegen/Crm/Contacts/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Contacts/Model/Paging.php b/codegen/Crm/Contacts/Model/Paging.php index b49b9bccf..49b269a81 100644 --- a/codegen/Crm/Contacts/Model/Paging.php +++ b/codegen/Crm/Contacts/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Contacts/Model/PreviousPage.php b/codegen/Crm/Contacts/Model/PreviousPage.php index 23966a246..72f9d8a47 100644 --- a/codegen/Crm/Contacts/Model/PreviousPage.php +++ b/codegen/Crm/Contacts/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Contacts/Model/PublicAssociationsForObject.php b/codegen/Crm/Contacts/Model/PublicAssociationsForObject.php index 0df5f9926..68a3f3c8f 100644 --- a/codegen/Crm/Contacts/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Contacts/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Contacts/Model/PublicGdprDeleteInput.php b/codegen/Crm/Contacts/Model/PublicGdprDeleteInput.php index 760d62fe6..58749cde9 100644 --- a/codegen/Crm/Contacts/Model/PublicGdprDeleteInput.php +++ b/codegen/Crm/Contacts/Model/PublicGdprDeleteInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object_id'] = $data['object_id'] ?? null; $this->container['id_property'] = $data['id_property'] ?? null; diff --git a/codegen/Crm/Contacts/Model/PublicMergeInput.php b/codegen/Crm/Contacts/Model/PublicMergeInput.php index 16baa1be0..2a3afa55a 100644 --- a/codegen/Crm/Contacts/Model/PublicMergeInput.php +++ b/codegen/Crm/Contacts/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Contacts/Model/PublicObjectId.php b/codegen/Crm/Contacts/Model/PublicObjectId.php index 7ab210792..3cd58715c 100644 --- a/codegen/Crm/Contacts/Model/PublicObjectId.php +++ b/codegen/Crm/Contacts/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php b/codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php index 2e01a9167..c53611767 100644 --- a/codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Contacts/Model/SimplePublicObject.php b/codegen/Crm/Contacts/Model/SimplePublicObject.php index d5d43b41b..ddabb6600 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObject.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInput.php index c43b1b82a..457d6fa92 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Contacts/Model/SimplePublicObjectId.php b/codegen/Crm/Contacts/Model/SimplePublicObjectId.php index 06868b65e..8df71a05b 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Contacts/Model/SimplePublicObjectInput.php b/codegen/Crm/Contacts/Model/SimplePublicObjectInput.php index 2dd6d07fd..31ae818dd 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Contacts/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Contacts/Model/SimplePublicObjectInputForCreate.php index feb9b145a..dd849b6e5 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Contacts/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Contacts/Model/SimplePublicObjectWithAssociations.php index 57e893b88..e4ea2e097 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Contacts/Model/StandardError.php b/codegen/Crm/Contacts/Model/StandardError.php index bb56edb68..346ecbfc7 100644 --- a/codegen/Crm/Contacts/Model/StandardError.php +++ b/codegen/Crm/Contacts/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Contacts/Model/ValueWithTimestamp.php b/codegen/Crm/Contacts/Model/ValueWithTimestamp.php index 8662656c8..e676d409b 100644 --- a/codegen/Crm/Contacts/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Contacts/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Deals/Api/BasicApi.php b/codegen/Crm/Deals/Api/BasicApi.php index f2416b4f0..09add45ee 100644 --- a/codegen/Crm/Deals/Api/BasicApi.php +++ b/codegen/Crm/Deals/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Deals/Api/BatchApi.php b/codegen/Crm/Deals/Api/BatchApi.php index 3e41f66f4..3ba2a6d83 100644 --- a/codegen/Crm/Deals/Api/BatchApi.php +++ b/codegen/Crm/Deals/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Deals/Api/PublicObjectApi.php b/codegen/Crm/Deals/Api/PublicObjectApi.php index d0612fe98..495f9f38e 100644 --- a/codegen/Crm/Deals/Api/PublicObjectApi.php +++ b/codegen/Crm/Deals/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Deals/Api/SearchApi.php b/codegen/Crm/Deals/Api/SearchApi.php index 6281851d8..5a0f20ac1 100644 --- a/codegen/Crm/Deals/Api/SearchApi.php +++ b/codegen/Crm/Deals/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Deals/Model/AssociatedId.php b/codegen/Crm/Deals/Model/AssociatedId.php index 75d260309..13e416f42 100644 --- a/codegen/Crm/Deals/Model/AssociatedId.php +++ b/codegen/Crm/Deals/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Deals/Model/AssociationSpec.php b/codegen/Crm/Deals/Model/AssociationSpec.php index 524beec4c..d552b3bd4 100644 --- a/codegen/Crm/Deals/Model/AssociationSpec.php +++ b/codegen/Crm/Deals/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectBatchInput.php index 2412c3eed..6f6a3f480 100644 --- a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectId.php index 41c4e5cc4..11490dfa9 100644 --- a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectInputForCreate.php index be1317492..a27ea51e1 100644 --- a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Deals/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Deals/Model/BatchReadInputSimplePublicObjectId.php index 747ca17b1..9fe99c207 100644 --- a/codegen/Crm/Deals/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Deals/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Deals/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Deals/Model/BatchResponseSimplePublicObject.php index aa0e706cb..30a197e3f 100644 --- a/codegen/Crm/Deals/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Deals/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Deals/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Deals/Model/BatchResponseSimplePublicObjectWithErrors.php index ec4c38d87..7770bcfa1 100644 --- a/codegen/Crm/Deals/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Deals/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Deals/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Deals/Model/CollectionResponseAssociatedId.php index 629bda1cd..4f12ee11b 100644 --- a/codegen/Crm/Deals/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Deals/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Deals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Deals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index a172906d6..ca9f81ff4 100644 --- a/codegen/Crm/Deals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Deals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Deals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Deals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index bbf064cfc..c3ca0a540 100644 --- a/codegen/Crm/Deals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Deals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Deals/Model/Error.php b/codegen/Crm/Deals/Model/Error.php index 602763e9a..037970e49 100644 --- a/codegen/Crm/Deals/Model/Error.php +++ b/codegen/Crm/Deals/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Deals/Model/ErrorDetail.php b/codegen/Crm/Deals/Model/ErrorDetail.php index fdfa28562..01747feae 100644 --- a/codegen/Crm/Deals/Model/ErrorDetail.php +++ b/codegen/Crm/Deals/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Deals/Model/Filter.php b/codegen/Crm/Deals/Model/Filter.php index 1121952ef..46eaf5443 100644 --- a/codegen/Crm/Deals/Model/Filter.php +++ b/codegen/Crm/Deals/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Deals/Model/FilterGroup.php b/codegen/Crm/Deals/Model/FilterGroup.php index ccda0f5e4..84e585e09 100644 --- a/codegen/Crm/Deals/Model/FilterGroup.php +++ b/codegen/Crm/Deals/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Deals/Model/ForwardPaging.php b/codegen/Crm/Deals/Model/ForwardPaging.php index 182c4b5df..10733ec2a 100644 --- a/codegen/Crm/Deals/Model/ForwardPaging.php +++ b/codegen/Crm/Deals/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Deals/Model/NextPage.php b/codegen/Crm/Deals/Model/NextPage.php index 4943ca082..69c66c443 100644 --- a/codegen/Crm/Deals/Model/NextPage.php +++ b/codegen/Crm/Deals/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Deals/Model/Paging.php b/codegen/Crm/Deals/Model/Paging.php index e1c27ce24..c59d0558d 100644 --- a/codegen/Crm/Deals/Model/Paging.php +++ b/codegen/Crm/Deals/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Deals/Model/PreviousPage.php b/codegen/Crm/Deals/Model/PreviousPage.php index eb5254a35..d932a5261 100644 --- a/codegen/Crm/Deals/Model/PreviousPage.php +++ b/codegen/Crm/Deals/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Deals/Model/PublicAssociationsForObject.php b/codegen/Crm/Deals/Model/PublicAssociationsForObject.php index 534a07179..07f6b4083 100644 --- a/codegen/Crm/Deals/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Deals/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Deals/Model/PublicMergeInput.php b/codegen/Crm/Deals/Model/PublicMergeInput.php index dac2c5e48..056d02a2f 100644 --- a/codegen/Crm/Deals/Model/PublicMergeInput.php +++ b/codegen/Crm/Deals/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Deals/Model/PublicObjectId.php b/codegen/Crm/Deals/Model/PublicObjectId.php index 43df71213..3dc8fd1cb 100644 --- a/codegen/Crm/Deals/Model/PublicObjectId.php +++ b/codegen/Crm/Deals/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Deals/Model/PublicObjectSearchRequest.php b/codegen/Crm/Deals/Model/PublicObjectSearchRequest.php index ada8b0563..7172de036 100644 --- a/codegen/Crm/Deals/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Deals/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Deals/Model/SimplePublicObject.php b/codegen/Crm/Deals/Model/SimplePublicObject.php index bee1a9eae..2648c83dc 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObject.php +++ b/codegen/Crm/Deals/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Deals/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Deals/Model/SimplePublicObjectBatchInput.php index fa0296ff2..2dac1e8df 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Deals/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Deals/Model/SimplePublicObjectId.php b/codegen/Crm/Deals/Model/SimplePublicObjectId.php index f65fcd96e..9260c5862 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Deals/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Deals/Model/SimplePublicObjectInput.php b/codegen/Crm/Deals/Model/SimplePublicObjectInput.php index 9bcb295d8..7927c94e3 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Deals/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Deals/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Deals/Model/SimplePublicObjectInputForCreate.php index 866b18332..d5bc033c9 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Deals/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Deals/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Deals/Model/SimplePublicObjectWithAssociations.php index 2e0ff2085..a5e14e2dd 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Deals/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Deals/Model/StandardError.php b/codegen/Crm/Deals/Model/StandardError.php index 94a0e6b71..91bdbd781 100644 --- a/codegen/Crm/Deals/Model/StandardError.php +++ b/codegen/Crm/Deals/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Deals/Model/ValueWithTimestamp.php b/codegen/Crm/Deals/Model/ValueWithTimestamp.php index 0bda48b67..1d51be668 100644 --- a/codegen/Crm/Deals/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Deals/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Api/CallbacksApi.php b/codegen/Crm/Extensions/Accounting/Api/CallbacksApi.php index 6fcf2b8c7..73a9ff643 100644 --- a/codegen/Crm/Extensions/Accounting/Api/CallbacksApi.php +++ b/codegen/Crm/Extensions/Accounting/Api/CallbacksApi.php @@ -76,9 +76,9 @@ class CallbacksApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Accounting/Api/InvoiceApi.php b/codegen/Crm/Extensions/Accounting/Api/InvoiceApi.php index b52edca0d..47f8f33f0 100644 --- a/codegen/Crm/Extensions/Accounting/Api/InvoiceApi.php +++ b/codegen/Crm/Extensions/Accounting/Api/InvoiceApi.php @@ -76,9 +76,9 @@ class InvoiceApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Accounting/Api/SettingsApi.php b/codegen/Crm/Extensions/Accounting/Api/SettingsApi.php index f7f206bef..69930b1f7 100644 --- a/codegen/Crm/Extensions/Accounting/Api/SettingsApi.php +++ b/codegen/Crm/Extensions/Accounting/Api/SettingsApi.php @@ -76,9 +76,9 @@ class SettingsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Accounting/Api/SyncApi.php b/codegen/Crm/Extensions/Accounting/Api/SyncApi.php index 30f584f10..23490d2cb 100644 --- a/codegen/Crm/Extensions/Accounting/Api/SyncApi.php +++ b/codegen/Crm/Extensions/Accounting/Api/SyncApi.php @@ -76,9 +76,9 @@ class SyncApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Accounting/Api/UserAccountsApi.php b/codegen/Crm/Extensions/Accounting/Api/UserAccountsApi.php index 366f04ff9..ba4971bd2 100644 --- a/codegen/Crm/Extensions/Accounting/Api/UserAccountsApi.php +++ b/codegen/Crm/Extensions/Accounting/Api/UserAccountsApi.php @@ -76,9 +76,9 @@ class UserAccountsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Accounting/Model/AccountingAppSettings.php b/codegen/Crm/Extensions/Accounting/Model/AccountingAppSettings.php index 46a2f24d7..4338b9762 100644 --- a/codegen/Crm/Extensions/Accounting/Model/AccountingAppSettings.php +++ b/codegen/Crm/Extensions/Accounting/Model/AccountingAppSettings.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['app_id'] = $data['app_id'] ?? null; $this->container['urls'] = $data['urls'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/AccountingAppUrls.php b/codegen/Crm/Extensions/Accounting/Model/AccountingAppUrls.php index 1db09556c..9f9cd082c 100644 --- a/codegen/Crm/Extensions/Accounting/Model/AccountingAppUrls.php +++ b/codegen/Crm/Extensions/Accounting/Model/AccountingAppUrls.php @@ -245,7 +245,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['get_invoice_url'] = $data['get_invoice_url'] ?? null; $this->container['search_customer_url'] = $data['search_customer_url'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/AccountingExtensionCustomer.php b/codegen/Crm/Extensions/Accounting/Model/AccountingExtensionCustomer.php index 9bd180f69..ef24f5c0c 100644 --- a/codegen/Crm/Extensions/Accounting/Model/AccountingExtensionCustomer.php +++ b/codegen/Crm/Extensions/Accounting/Model/AccountingExtensionCustomer.php @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email_address'] = $data['email_address'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/AccountingExtensionInvoice.php b/codegen/Crm/Extensions/Accounting/Model/AccountingExtensionInvoice.php index d0b8a48c3..144080db2 100644 --- a/codegen/Crm/Extensions/Accounting/Model/AccountingExtensionInvoice.php +++ b/codegen/Crm/Extensions/Accounting/Model/AccountingExtensionInvoice.php @@ -238,7 +238,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['amount_due'] = $data['amount_due'] ?? null; $this->container['balance'] = $data['balance'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/AccountingExtensionTerm.php b/codegen/Crm/Extensions/Accounting/Model/AccountingExtensionTerm.php index d3f49a184..52d627d5d 100644 --- a/codegen/Crm/Extensions/Accounting/Model/AccountingExtensionTerm.php +++ b/codegen/Crm/Extensions/Accounting/Model/AccountingExtensionTerm.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['due_date'] = $data['due_date'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/AccountingFeatures.php b/codegen/Crm/Extensions/Accounting/Model/AccountingFeatures.php index dcaf269b8..f9e0b6787 100644 --- a/codegen/Crm/Extensions/Accounting/Model/AccountingFeatures.php +++ b/codegen/Crm/Extensions/Accounting/Model/AccountingFeatures.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['create_invoice'] = $data['create_invoice'] ?? null; $this->container['import_invoice'] = $data['import_invoice'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/ActionResponse.php b/codegen/Crm/Extensions/Accounting/Model/ActionResponse.php index a31ff891e..a5d6f5ce1 100644 --- a/codegen/Crm/Extensions/Accounting/Model/ActionResponse.php +++ b/codegen/Crm/Extensions/Accounting/Model/ActionResponse.php @@ -213,7 +213,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['requested_at'] = $data['requested_at'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/Address.php b/codegen/Crm/Extensions/Accounting/Model/Address.php index 513abd2a5..96e99c237 100644 --- a/codegen/Crm/Extensions/Accounting/Model/Address.php +++ b/codegen/Crm/Extensions/Accounting/Model/Address.php @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['country'] = $data['country'] ?? null; $this->container['country_sub_division_code'] = $data['country_sub_division_code'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/CreateInvoiceFeature.php b/codegen/Crm/Extensions/Accounting/Model/CreateInvoiceFeature.php index 09079d290..c19483672 100644 --- a/codegen/Crm/Extensions/Accounting/Model/CreateInvoiceFeature.php +++ b/codegen/Crm/Extensions/Accounting/Model/CreateInvoiceFeature.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['enabled'] = $data['enabled'] ?? null; $this->container['sub_features'] = $data['sub_features'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/CreateInvoiceSubFeatures.php b/codegen/Crm/Extensions/Accounting/Model/CreateInvoiceSubFeatures.php index 6484a1883..644bb0a4a 100644 --- a/codegen/Crm/Extensions/Accounting/Model/CreateInvoiceSubFeatures.php +++ b/codegen/Crm/Extensions/Accounting/Model/CreateInvoiceSubFeatures.php @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['create_customer'] = $data['create_customer'] ?? null; $this->container['taxes'] = $data['taxes'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/CreateUserAccountRequestExternal.php b/codegen/Crm/Extensions/Accounting/Model/CreateUserAccountRequestExternal.php index 529115b65..751154638 100644 --- a/codegen/Crm/Extensions/Accounting/Model/CreateUserAccountRequestExternal.php +++ b/codegen/Crm/Extensions/Accounting/Model/CreateUserAccountRequestExternal.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['account_id'] = $data['account_id'] ?? null; $this->container['account_name'] = $data['account_name'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/CustomerSearchResponseExternal.php b/codegen/Crm/Extensions/Accounting/Model/CustomerSearchResponseExternal.php index da924ac34..d984c41b9 100644 --- a/codegen/Crm/Extensions/Accounting/Model/CustomerSearchResponseExternal.php +++ b/codegen/Crm/Extensions/Accounting/Model/CustomerSearchResponseExternal.php @@ -195,7 +195,7 @@ public function getAtResultAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['at_result'] = $data['at_result'] ?? null; $this->container['customers'] = $data['customers'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/Error.php b/codegen/Crm/Extensions/Accounting/Model/Error.php index 422e46d3c..d875e0bb8 100644 --- a/codegen/Crm/Extensions/Accounting/Model/Error.php +++ b/codegen/Crm/Extensions/Accounting/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/ErrorDetail.php b/codegen/Crm/Extensions/Accounting/Model/ErrorDetail.php index 5f0a6e641..4e1458de7 100644 --- a/codegen/Crm/Extensions/Accounting/Model/ErrorDetail.php +++ b/codegen/Crm/Extensions/Accounting/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/ExchangeRateResponse.php b/codegen/Crm/Extensions/Accounting/Model/ExchangeRateResponse.php index 3e67c936b..4bf41f9b6 100644 --- a/codegen/Crm/Extensions/Accounting/Model/ExchangeRateResponse.php +++ b/codegen/Crm/Extensions/Accounting/Model/ExchangeRateResponse.php @@ -205,7 +205,7 @@ public function getAtResultAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['at_result'] = $data['at_result'] ?? null; $this->container['exchange_rate'] = $data['exchange_rate'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/ImportInvoiceFeature.php b/codegen/Crm/Extensions/Accounting/Model/ImportInvoiceFeature.php index 1407eb61a..903e269a8 100644 --- a/codegen/Crm/Extensions/Accounting/Model/ImportInvoiceFeature.php +++ b/codegen/Crm/Extensions/Accounting/Model/ImportInvoiceFeature.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['enabled'] = $data['enabled'] ?? null; } diff --git a/codegen/Crm/Extensions/Accounting/Model/InvoiceCreatePaymentRequest.php b/codegen/Crm/Extensions/Accounting/Model/InvoiceCreatePaymentRequest.php index bd071bd96..efdbe0c3d 100644 --- a/codegen/Crm/Extensions/Accounting/Model/InvoiceCreatePaymentRequest.php +++ b/codegen/Crm/Extensions/Accounting/Model/InvoiceCreatePaymentRequest.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['amount_paid'] = $data['amount_paid'] ?? null; $this->container['currency_code'] = $data['currency_code'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/InvoicePdfResponse.php b/codegen/Crm/Extensions/Accounting/Model/InvoicePdfResponse.php index 5046f2393..030415e37 100644 --- a/codegen/Crm/Extensions/Accounting/Model/InvoicePdfResponse.php +++ b/codegen/Crm/Extensions/Accounting/Model/InvoicePdfResponse.php @@ -195,7 +195,7 @@ public function getAtResultAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['at_result'] = $data['at_result'] ?? null; $this->container['invoice'] = $data['invoice'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/InvoiceReadResponse.php b/codegen/Crm/Extensions/Accounting/Model/InvoiceReadResponse.php index cee346b1d..4a3ed8263 100644 --- a/codegen/Crm/Extensions/Accounting/Model/InvoiceReadResponse.php +++ b/codegen/Crm/Extensions/Accounting/Model/InvoiceReadResponse.php @@ -277,7 +277,7 @@ public function getInvoiceStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['external_invoice_number'] = $data['external_invoice_number'] ?? null; $this->container['total_amount_billed'] = $data['total_amount_billed'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/InvoiceSearchResponse.php b/codegen/Crm/Extensions/Accounting/Model/InvoiceSearchResponse.php index 92090082a..b6fab8306 100644 --- a/codegen/Crm/Extensions/Accounting/Model/InvoiceSearchResponse.php +++ b/codegen/Crm/Extensions/Accounting/Model/InvoiceSearchResponse.php @@ -195,7 +195,7 @@ public function getAtResultAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['at_result'] = $data['at_result'] ?? null; $this->container['invoices'] = $data['invoices'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/InvoiceUpdateRequest.php b/codegen/Crm/Extensions/Accounting/Model/InvoiceUpdateRequest.php index d293692f5..1c7788752 100644 --- a/codegen/Crm/Extensions/Accounting/Model/InvoiceUpdateRequest.php +++ b/codegen/Crm/Extensions/Accounting/Model/InvoiceUpdateRequest.php @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['external_invoice_number'] = $data['external_invoice_number'] ?? null; $this->container['currency_code'] = $data['currency_code'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/InvoiceUpdateResponse.php b/codegen/Crm/Extensions/Accounting/Model/InvoiceUpdateResponse.php index ccf4a59e9..bbbca83ff 100644 --- a/codegen/Crm/Extensions/Accounting/Model/InvoiceUpdateResponse.php +++ b/codegen/Crm/Extensions/Accounting/Model/InvoiceUpdateResponse.php @@ -276,7 +276,7 @@ public function getInvoiceStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['external_invoice_number'] = $data['external_invoice_number'] ?? null; $this->container['total_amount_billed'] = $data['total_amount_billed'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/InvoicesResponseExternal.php b/codegen/Crm/Extensions/Accounting/Model/InvoicesResponseExternal.php index 4c3c7830d..9da6149d1 100644 --- a/codegen/Crm/Extensions/Accounting/Model/InvoicesResponseExternal.php +++ b/codegen/Crm/Extensions/Accounting/Model/InvoicesResponseExternal.php @@ -195,7 +195,7 @@ public function getAtResultAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['at_result'] = $data['at_result'] ?? null; $this->container['invoices'] = $data['invoices'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/ObjectSyncFeature.php b/codegen/Crm/Extensions/Accounting/Model/ObjectSyncFeature.php index 8edc2016c..141916b84 100644 --- a/codegen/Crm/Extensions/Accounting/Model/ObjectSyncFeature.php +++ b/codegen/Crm/Extensions/Accounting/Model/ObjectSyncFeature.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to_hub_spot'] = $data['to_hub_spot'] ?? null; } diff --git a/codegen/Crm/Extensions/Accounting/Model/Product.php b/codegen/Crm/Extensions/Accounting/Model/Product.php index 4583e38b0..40bdbf87e 100644 --- a/codegen/Crm/Extensions/Accounting/Model/Product.php +++ b/codegen/Crm/Extensions/Accounting/Model/Product.php @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['unit_price'] = $data['unit_price'] ?? null; $this->container['tax_exempt'] = $data['tax_exempt'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/ProductSearchResponse.php b/codegen/Crm/Extensions/Accounting/Model/ProductSearchResponse.php index 878b926b9..3815e5a58 100644 --- a/codegen/Crm/Extensions/Accounting/Model/ProductSearchResponse.php +++ b/codegen/Crm/Extensions/Accounting/Model/ProductSearchResponse.php @@ -195,7 +195,7 @@ public function getAtResultAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['at_result'] = $data['at_result'] ?? null; $this->container['products'] = $data['products'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/ResultIdAccountingResponse.php b/codegen/Crm/Extensions/Accounting/Model/ResultIdAccountingResponse.php index d2eeb7f97..5e0285b92 100644 --- a/codegen/Crm/Extensions/Accounting/Model/ResultIdAccountingResponse.php +++ b/codegen/Crm/Extensions/Accounting/Model/ResultIdAccountingResponse.php @@ -195,7 +195,7 @@ public function getAtResultAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['at_result'] = $data['at_result'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/SyncContactsRequest.php b/codegen/Crm/Extensions/Accounting/Model/SyncContactsRequest.php index 80388bdcf..d481e1758 100644 --- a/codegen/Crm/Extensions/Accounting/Model/SyncContactsRequest.php +++ b/codegen/Crm/Extensions/Accounting/Model/SyncContactsRequest.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['account_id'] = $data['account_id'] ?? null; $this->container['contacts'] = $data['contacts'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/SyncProductsRequest.php b/codegen/Crm/Extensions/Accounting/Model/SyncProductsRequest.php index 0504b39b1..6908b6c0b 100644 --- a/codegen/Crm/Extensions/Accounting/Model/SyncProductsRequest.php +++ b/codegen/Crm/Extensions/Accounting/Model/SyncProductsRequest.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['account_id'] = $data['account_id'] ?? null; $this->container['products'] = $data['products'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/Tax.php b/codegen/Crm/Extensions/Accounting/Model/Tax.php index 7265a0787..03487c321 100644 --- a/codegen/Crm/Extensions/Accounting/Model/Tax.php +++ b/codegen/Crm/Extensions/Accounting/Model/Tax.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['code'] = $data['code'] ?? null; $this->container['percentage'] = $data['percentage'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/TaxSearchResponse.php b/codegen/Crm/Extensions/Accounting/Model/TaxSearchResponse.php index 5cf220f44..a9a2412a3 100644 --- a/codegen/Crm/Extensions/Accounting/Model/TaxSearchResponse.php +++ b/codegen/Crm/Extensions/Accounting/Model/TaxSearchResponse.php @@ -195,7 +195,7 @@ public function getAtResultAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['at_result'] = $data['at_result'] ?? null; $this->container['taxes'] = $data['taxes'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/TaxType.php b/codegen/Crm/Extensions/Accounting/Model/TaxType.php index d2ef3d333..19fecda27 100644 --- a/codegen/Crm/Extensions/Accounting/Model/TaxType.php +++ b/codegen/Crm/Extensions/Accounting/Model/TaxType.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['code'] = $data['code'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/TermsResponse.php b/codegen/Crm/Extensions/Accounting/Model/TermsResponse.php index 0b7a34307..4520f23b0 100644 --- a/codegen/Crm/Extensions/Accounting/Model/TermsResponse.php +++ b/codegen/Crm/Extensions/Accounting/Model/TermsResponse.php @@ -195,7 +195,7 @@ public function getAtResultAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['at_result'] = $data['at_result'] ?? null; $this->container['terms'] = $data['terms'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/UnitPrice.php b/codegen/Crm/Extensions/Accounting/Model/UnitPrice.php index 7c1206c3d..da02f0885 100644 --- a/codegen/Crm/Extensions/Accounting/Model/UnitPrice.php +++ b/codegen/Crm/Extensions/Accounting/Model/UnitPrice.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['amount'] = $data['amount'] ?? null; $this->container['tax_included'] = $data['tax_included'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/UpdatedContact.php b/codegen/Crm/Extensions/Accounting/Model/UpdatedContact.php index 5f9fe1324..bbc32cf6e 100644 --- a/codegen/Crm/Extensions/Accounting/Model/UpdatedContact.php +++ b/codegen/Crm/Extensions/Accounting/Model/UpdatedContact.php @@ -227,7 +227,7 @@ public function getCustomerTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sync_action'] = $data['sync_action'] ?? null; $this->container['updated_at'] = $data['updated_at'] ?? null; diff --git a/codegen/Crm/Extensions/Accounting/Model/UpdatedProduct.php b/codegen/Crm/Extensions/Accounting/Model/UpdatedProduct.php index e1eb4feff..2e693b820 100644 --- a/codegen/Crm/Extensions/Accounting/Model/UpdatedProduct.php +++ b/codegen/Crm/Extensions/Accounting/Model/UpdatedProduct.php @@ -217,7 +217,7 @@ public function getSyncActionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sync_action'] = $data['sync_action'] ?? null; $this->container['updated_at'] = $data['updated_at'] ?? null; diff --git a/codegen/Crm/Extensions/Calling/Api/SettingsApi.php b/codegen/Crm/Extensions/Calling/Api/SettingsApi.php index 7b5d47d7a..824b17f67 100644 --- a/codegen/Crm/Extensions/Calling/Api/SettingsApi.php +++ b/codegen/Crm/Extensions/Calling/Api/SettingsApi.php @@ -76,9 +76,9 @@ class SettingsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Calling/Model/Error.php b/codegen/Crm/Extensions/Calling/Model/Error.php index 623148f90..79b0d94e0 100644 --- a/codegen/Crm/Extensions/Calling/Model/Error.php +++ b/codegen/Crm/Extensions/Calling/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Extensions/Calling/Model/ErrorDetail.php b/codegen/Crm/Extensions/Calling/Model/ErrorDetail.php index 53bc09c52..e994e8585 100644 --- a/codegen/Crm/Extensions/Calling/Model/ErrorDetail.php +++ b/codegen/Crm/Extensions/Calling/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Extensions/Calling/Model/SettingsPatchRequest.php b/codegen/Crm/Extensions/Calling/Model/SettingsPatchRequest.php index 257176378..0979138d5 100644 --- a/codegen/Crm/Extensions/Calling/Model/SettingsPatchRequest.php +++ b/codegen/Crm/Extensions/Calling/Model/SettingsPatchRequest.php @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['url'] = $data['url'] ?? null; diff --git a/codegen/Crm/Extensions/Calling/Model/SettingsRequest.php b/codegen/Crm/Extensions/Calling/Model/SettingsRequest.php index 31011ea4f..2125e1dfd 100644 --- a/codegen/Crm/Extensions/Calling/Model/SettingsRequest.php +++ b/codegen/Crm/Extensions/Calling/Model/SettingsRequest.php @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['url'] = $data['url'] ?? null; diff --git a/codegen/Crm/Extensions/Calling/Model/SettingsResponse.php b/codegen/Crm/Extensions/Calling/Model/SettingsResponse.php index 2efa70f8e..2f2116388 100644 --- a/codegen/Crm/Extensions/Calling/Model/SettingsResponse.php +++ b/codegen/Crm/Extensions/Calling/Model/SettingsResponse.php @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['url'] = $data['url'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Api/CardsApi.php b/codegen/Crm/Extensions/Cards/Api/CardsApi.php index 32c522aa3..0f7ecc14c 100644 --- a/codegen/Crm/Extensions/Cards/Api/CardsApi.php +++ b/codegen/Crm/Extensions/Cards/Api/CardsApi.php @@ -76,9 +76,9 @@ class CardsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Cards/Api/SampleResponseApi.php b/codegen/Crm/Extensions/Cards/Api/SampleResponseApi.php index 43cf7ee57..25d5f9b6a 100644 --- a/codegen/Crm/Extensions/Cards/Api/SampleResponseApi.php +++ b/codegen/Crm/Extensions/Cards/Api/SampleResponseApi.php @@ -76,9 +76,9 @@ class SampleResponseApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Cards/Model/ActionConfirmationBody.php b/codegen/Crm/Extensions/Cards/Model/ActionConfirmationBody.php index 18a3c5a33..068448116 100644 --- a/codegen/Crm/Extensions/Cards/Model/ActionConfirmationBody.php +++ b/codegen/Crm/Extensions/Cards/Model/ActionConfirmationBody.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['prompt'] = $data['prompt'] ?? null; $this->container['confirm_button_label'] = $data['confirm_button_label'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/ActionHookActionBody.php b/codegen/Crm/Extensions/Cards/Model/ActionHookActionBody.php index f4ca7cad3..9c13e5cc2 100644 --- a/codegen/Crm/Extensions/Cards/Model/ActionHookActionBody.php +++ b/codegen/Crm/Extensions/Cards/Model/ActionHookActionBody.php @@ -241,7 +241,7 @@ public function getHttpMethodAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'ACTION_HOOK'; $this->container['confirmation'] = $data['confirmation'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/CardActions.php b/codegen/Crm/Extensions/Cards/Model/CardActions.php index 6d626966d..3659af2eb 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardActions.php +++ b/codegen/Crm/Extensions/Cards/Model/CardActions.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['base_urls'] = $data['base_urls'] ?? null; } diff --git a/codegen/Crm/Extensions/Cards/Model/CardCreateRequest.php b/codegen/Crm/Extensions/Cards/Model/CardCreateRequest.php index 95fd99577..2f5ca2343 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardCreateRequest.php +++ b/codegen/Crm/Extensions/Cards/Model/CardCreateRequest.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['fetch'] = $data['fetch'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/CardDisplayBody.php b/codegen/Crm/Extensions/Cards/Model/CardDisplayBody.php index b4551e0c5..bf7a615f2 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardDisplayBody.php +++ b/codegen/Crm/Extensions/Cards/Model/CardDisplayBody.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Extensions/Cards/Model/CardDisplayProperty.php b/codegen/Crm/Extensions/Cards/Model/CardDisplayProperty.php index a1dd6cc19..c2e799a2c 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardDisplayProperty.php +++ b/codegen/Crm/Extensions/Cards/Model/CardDisplayProperty.php @@ -219,7 +219,7 @@ public function getDataTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/CardFetchBody.php b/codegen/Crm/Extensions/Cards/Model/CardFetchBody.php index e6d454c9f..212247f42 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardFetchBody.php +++ b/codegen/Crm/Extensions/Cards/Model/CardFetchBody.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['target_url'] = $data['target_url'] ?? null; $this->container['object_types'] = $data['object_types'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/CardFetchBodyPatch.php b/codegen/Crm/Extensions/Cards/Model/CardFetchBodyPatch.php index b76e1e317..00a23f9e5 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardFetchBodyPatch.php +++ b/codegen/Crm/Extensions/Cards/Model/CardFetchBodyPatch.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['target_url'] = $data['target_url'] ?? null; $this->container['object_types'] = $data['object_types'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/CardListResponse.php b/codegen/Crm/Extensions/Cards/Model/CardListResponse.php index f5a5fbd6c..3660a83f0 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardListResponse.php +++ b/codegen/Crm/Extensions/Cards/Model/CardListResponse.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Crm/Extensions/Cards/Model/CardObjectTypeBody.php b/codegen/Crm/Extensions/Cards/Model/CardObjectTypeBody.php index bd7de65b7..f16c351c2 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardObjectTypeBody.php +++ b/codegen/Crm/Extensions/Cards/Model/CardObjectTypeBody.php @@ -198,7 +198,7 @@ public function getNameAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['properties_to_send'] = $data['properties_to_send'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/CardPatchRequest.php b/codegen/Crm/Extensions/Cards/Model/CardPatchRequest.php index dff5c6618..05f0e7a8a 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardPatchRequest.php +++ b/codegen/Crm/Extensions/Cards/Model/CardPatchRequest.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['title'] = $data['title'] ?? null; $this->container['fetch'] = $data['fetch'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/CardResponse.php b/codegen/Crm/Extensions/Cards/Model/CardResponse.php index 3840682ec..849e83c15 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardResponse.php +++ b/codegen/Crm/Extensions/Cards/Model/CardResponse.php @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/DisplayOption.php b/codegen/Crm/Extensions/Cards/Model/DisplayOption.php index c1525782d..242a628be 100644 --- a/codegen/Crm/Extensions/Cards/Model/DisplayOption.php +++ b/codegen/Crm/Extensions/Cards/Model/DisplayOption.php @@ -206,7 +206,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/Error.php b/codegen/Crm/Extensions/Cards/Model/Error.php index 559622fca..a301a7797 100644 --- a/codegen/Crm/Extensions/Cards/Model/Error.php +++ b/codegen/Crm/Extensions/Cards/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/ErrorDetail.php b/codegen/Crm/Extensions/Cards/Model/ErrorDetail.php index 53452569d..b2b4de986 100644 --- a/codegen/Crm/Extensions/Cards/Model/ErrorDetail.php +++ b/codegen/Crm/Extensions/Cards/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/IFrameActionBody.php b/codegen/Crm/Extensions/Cards/Model/IFrameActionBody.php index 0d702251d..63337ba6c 100644 --- a/codegen/Crm/Extensions/Cards/Model/IFrameActionBody.php +++ b/codegen/Crm/Extensions/Cards/Model/IFrameActionBody.php @@ -212,7 +212,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'IFRAME'; $this->container['width'] = $data['width'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/IntegratorCardPayloadResponse.php b/codegen/Crm/Extensions/Cards/Model/IntegratorCardPayloadResponse.php index 270e5a7c4..5b7f44785 100644 --- a/codegen/Crm/Extensions/Cards/Model/IntegratorCardPayloadResponse.php +++ b/codegen/Crm/Extensions/Cards/Model/IntegratorCardPayloadResponse.php @@ -215,7 +215,7 @@ public function getResponseVersionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total_count'] = $data['total_count'] ?? null; $this->container['all_items_link_url'] = $data['all_items_link_url'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResult.php b/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResult.php index db5b91a0f..07c43c374 100644 --- a/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResult.php +++ b/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResult.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['title'] = $data['title'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResultActionsInner.php b/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResultActionsInner.php index 516063ec4..84131f1da 100644 --- a/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResultActionsInner.php +++ b/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResultActionsInner.php @@ -251,7 +251,7 @@ public function getHttpMethodAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'IFRAME'; $this->container['confirmation'] = $data['confirmation'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/ObjectToken.php b/codegen/Crm/Extensions/Cards/Model/ObjectToken.php index 06c0fae8a..3bf7016ac 100644 --- a/codegen/Crm/Extensions/Cards/Model/ObjectToken.php +++ b/codegen/Crm/Extensions/Cards/Model/ObjectToken.php @@ -218,7 +218,7 @@ public function getDataTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Crm/Extensions/Cards/Model/TopLevelActions.php b/codegen/Crm/Extensions/Cards/Model/TopLevelActions.php index a9d94160b..508c8c6a3 100644 --- a/codegen/Crm/Extensions/Cards/Model/TopLevelActions.php +++ b/codegen/Crm/Extensions/Cards/Model/TopLevelActions.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['settings'] = $data['settings'] ?? null; $this->container['primary'] = $data['primary'] ?? null; diff --git a/codegen/Crm/Extensions/Videoconferencing/Api/SettingsApi.php b/codegen/Crm/Extensions/Videoconferencing/Api/SettingsApi.php index 68f79d4c1..098af8b96 100644 --- a/codegen/Crm/Extensions/Videoconferencing/Api/SettingsApi.php +++ b/codegen/Crm/Extensions/Videoconferencing/Api/SettingsApi.php @@ -76,9 +76,9 @@ class SettingsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Videoconferencing/Model/Error.php b/codegen/Crm/Extensions/Videoconferencing/Model/Error.php index 96197db12..182d964a0 100644 --- a/codegen/Crm/Extensions/Videoconferencing/Model/Error.php +++ b/codegen/Crm/Extensions/Videoconferencing/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Extensions/Videoconferencing/Model/ErrorDetail.php b/codegen/Crm/Extensions/Videoconferencing/Model/ErrorDetail.php index 5b598ff00..4388f45ee 100644 --- a/codegen/Crm/Extensions/Videoconferencing/Model/ErrorDetail.php +++ b/codegen/Crm/Extensions/Videoconferencing/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Extensions/Videoconferencing/Model/ExternalSettings.php b/codegen/Crm/Extensions/Videoconferencing/Model/ExternalSettings.php index 33fb1aa23..5cbf1764e 100644 --- a/codegen/Crm/Extensions/Videoconferencing/Model/ExternalSettings.php +++ b/codegen/Crm/Extensions/Videoconferencing/Model/ExternalSettings.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['create_meeting_url'] = $data['create_meeting_url'] ?? null; $this->container['update_meeting_url'] = $data['update_meeting_url'] ?? null; diff --git a/codegen/Crm/Imports/Api/CoreApi.php b/codegen/Crm/Imports/Api/CoreApi.php index 6af4f912b..d03c7034c 100644 --- a/codegen/Crm/Imports/Api/CoreApi.php +++ b/codegen/Crm/Imports/Api/CoreApi.php @@ -76,9 +76,9 @@ class CoreApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Imports/Api/PublicImportsApi.php b/codegen/Crm/Imports/Api/PublicImportsApi.php index f749ca277..fd4db0a8f 100644 --- a/codegen/Crm/Imports/Api/PublicImportsApi.php +++ b/codegen/Crm/Imports/Api/PublicImportsApi.php @@ -76,9 +76,9 @@ class PublicImportsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Imports/Model/ActionResponse.php b/codegen/Crm/Imports/Model/ActionResponse.php index 14586bcc7..d1da39efa 100644 --- a/codegen/Crm/Imports/Model/ActionResponse.php +++ b/codegen/Crm/Imports/Model/ActionResponse.php @@ -213,7 +213,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['requested_at'] = $data['requested_at'] ?? null; diff --git a/codegen/Crm/Imports/Model/CollectionResponsePublicImportErrorForwardPaging.php b/codegen/Crm/Imports/Model/CollectionResponsePublicImportErrorForwardPaging.php index ca6750d1a..93dd150a6 100644 --- a/codegen/Crm/Imports/Model/CollectionResponsePublicImportErrorForwardPaging.php +++ b/codegen/Crm/Imports/Model/CollectionResponsePublicImportErrorForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Imports/Model/CollectionResponsePublicImportResponse.php b/codegen/Crm/Imports/Model/CollectionResponsePublicImportResponse.php index 031337c89..214c24ce5 100644 --- a/codegen/Crm/Imports/Model/CollectionResponsePublicImportResponse.php +++ b/codegen/Crm/Imports/Model/CollectionResponsePublicImportResponse.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Imports/Model/Error.php b/codegen/Crm/Imports/Model/Error.php index a68c1eedf..383da3bb5 100644 --- a/codegen/Crm/Imports/Model/Error.php +++ b/codegen/Crm/Imports/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Imports/Model/ErrorDetail.php b/codegen/Crm/Imports/Model/ErrorDetail.php index 7e04c97bf..2b7456cb4 100644 --- a/codegen/Crm/Imports/Model/ErrorDetail.php +++ b/codegen/Crm/Imports/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Imports/Model/ForwardPaging.php b/codegen/Crm/Imports/Model/ForwardPaging.php index d25338776..d9655cc90 100644 --- a/codegen/Crm/Imports/Model/ForwardPaging.php +++ b/codegen/Crm/Imports/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Imports/Model/ImportRowCore.php b/codegen/Crm/Imports/Model/ImportRowCore.php index 6f0ade449..1a9799a0d 100644 --- a/codegen/Crm/Imports/Model/ImportRowCore.php +++ b/codegen/Crm/Imports/Model/ImportRowCore.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['line_number'] = $data['line_number'] ?? null; $this->container['row_data'] = $data['row_data'] ?? null; diff --git a/codegen/Crm/Imports/Model/NextPage.php b/codegen/Crm/Imports/Model/NextPage.php index ec6ca83ac..8d7f24c09 100644 --- a/codegen/Crm/Imports/Model/NextPage.php +++ b/codegen/Crm/Imports/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Imports/Model/Paging.php b/codegen/Crm/Imports/Model/Paging.php index 932f0a7d3..57d205113 100644 --- a/codegen/Crm/Imports/Model/Paging.php +++ b/codegen/Crm/Imports/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Imports/Model/PreviousPage.php b/codegen/Crm/Imports/Model/PreviousPage.php index c338c67ee..0864f7e37 100644 --- a/codegen/Crm/Imports/Model/PreviousPage.php +++ b/codegen/Crm/Imports/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Imports/Model/PublicImportError.php b/codegen/Crm/Imports/Model/PublicImportError.php index 3fc266a42..f0023f5ee 100644 --- a/codegen/Crm/Imports/Model/PublicImportError.php +++ b/codegen/Crm/Imports/Model/PublicImportError.php @@ -582,7 +582,7 @@ public function getObjectTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['error_type'] = $data['error_type'] ?? null; $this->container['source_data'] = $data['source_data'] ?? null; diff --git a/codegen/Crm/Imports/Model/PublicImportMetadata.php b/codegen/Crm/Imports/Model/PublicImportMetadata.php index cffdf2ac4..00007f699 100644 --- a/codegen/Crm/Imports/Model/PublicImportMetadata.php +++ b/codegen/Crm/Imports/Model/PublicImportMetadata.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object_lists'] = $data['object_lists'] ?? null; $this->container['counters'] = $data['counters'] ?? null; diff --git a/codegen/Crm/Imports/Model/PublicImportResponse.php b/codegen/Crm/Imports/Model/PublicImportResponse.php index 3f693ff11..73fcc5b21 100644 --- a/codegen/Crm/Imports/Model/PublicImportResponse.php +++ b/codegen/Crm/Imports/Model/PublicImportResponse.php @@ -235,7 +235,7 @@ public function getStateAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['state'] = $data['state'] ?? null; $this->container['import_request_json'] = $data['import_request_json'] ?? null; diff --git a/codegen/Crm/Imports/Model/PublicObjectListRecord.php b/codegen/Crm/Imports/Model/PublicObjectListRecord.php index 592257307..8d4941f7c 100644 --- a/codegen/Crm/Imports/Model/PublicObjectListRecord.php +++ b/codegen/Crm/Imports/Model/PublicObjectListRecord.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['list_id'] = $data['list_id'] ?? null; $this->container['object_type'] = $data['object_type'] ?? null; diff --git a/codegen/Crm/LineItems/Api/BasicApi.php b/codegen/Crm/LineItems/Api/BasicApi.php index 7ccb4e0b9..b9c6bb0d6 100644 --- a/codegen/Crm/LineItems/Api/BasicApi.php +++ b/codegen/Crm/LineItems/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/LineItems/Api/BatchApi.php b/codegen/Crm/LineItems/Api/BatchApi.php index 7ba214368..253f9f7a3 100644 --- a/codegen/Crm/LineItems/Api/BatchApi.php +++ b/codegen/Crm/LineItems/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/LineItems/Api/PublicObjectApi.php b/codegen/Crm/LineItems/Api/PublicObjectApi.php index fe1c05140..927baa5ae 100644 --- a/codegen/Crm/LineItems/Api/PublicObjectApi.php +++ b/codegen/Crm/LineItems/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/LineItems/Api/SearchApi.php b/codegen/Crm/LineItems/Api/SearchApi.php index fe69875cc..dfa110732 100644 --- a/codegen/Crm/LineItems/Api/SearchApi.php +++ b/codegen/Crm/LineItems/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/LineItems/Model/AssociatedId.php b/codegen/Crm/LineItems/Model/AssociatedId.php index 7adbc6477..7526761aa 100644 --- a/codegen/Crm/LineItems/Model/AssociatedId.php +++ b/codegen/Crm/LineItems/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/LineItems/Model/AssociationSpec.php b/codegen/Crm/LineItems/Model/AssociationSpec.php index b3c06c3ce..8bff2ab19 100644 --- a/codegen/Crm/LineItems/Model/AssociationSpec.php +++ b/codegen/Crm/LineItems/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectBatchInput.php index 07afe900f..4b233c8dd 100644 --- a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectId.php index 0b61650e4..ffa00b4a3 100644 --- a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectInputForCreate.php index 569330a1b..ff67dd396 100644 --- a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/LineItems/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/LineItems/Model/BatchReadInputSimplePublicObjectId.php index 4159ecf08..49563588d 100644 --- a/codegen/Crm/LineItems/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/LineItems/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObject.php index 2c93739ca..d47d83436 100644 --- a/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObjectWithErrors.php index 1b5c54f22..9b38b853e 100644 --- a/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/LineItems/Model/CollectionResponseAssociatedId.php b/codegen/Crm/LineItems/Model/CollectionResponseAssociatedId.php index 9a9ba9bd0..777d66ae8 100644 --- a/codegen/Crm/LineItems/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/LineItems/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/LineItems/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/LineItems/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 15eab2eb3..dd4454408 100644 --- a/codegen/Crm/LineItems/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/LineItems/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/LineItems/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/LineItems/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index fc7ce9575..a9ab8530b 100644 --- a/codegen/Crm/LineItems/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/LineItems/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/LineItems/Model/Error.php b/codegen/Crm/LineItems/Model/Error.php index 049724c96..f69e096df 100644 --- a/codegen/Crm/LineItems/Model/Error.php +++ b/codegen/Crm/LineItems/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/LineItems/Model/ErrorDetail.php b/codegen/Crm/LineItems/Model/ErrorDetail.php index 85f601f41..1ea9b6cf1 100644 --- a/codegen/Crm/LineItems/Model/ErrorDetail.php +++ b/codegen/Crm/LineItems/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/LineItems/Model/Filter.php b/codegen/Crm/LineItems/Model/Filter.php index 84f4eb18a..0cdc27ce1 100644 --- a/codegen/Crm/LineItems/Model/Filter.php +++ b/codegen/Crm/LineItems/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/LineItems/Model/FilterGroup.php b/codegen/Crm/LineItems/Model/FilterGroup.php index 66a11c205..1e561e24c 100644 --- a/codegen/Crm/LineItems/Model/FilterGroup.php +++ b/codegen/Crm/LineItems/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/LineItems/Model/ForwardPaging.php b/codegen/Crm/LineItems/Model/ForwardPaging.php index 802bd39a3..8a92f209e 100644 --- a/codegen/Crm/LineItems/Model/ForwardPaging.php +++ b/codegen/Crm/LineItems/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/LineItems/Model/NextPage.php b/codegen/Crm/LineItems/Model/NextPage.php index bfd61eb20..e748a54ae 100644 --- a/codegen/Crm/LineItems/Model/NextPage.php +++ b/codegen/Crm/LineItems/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/LineItems/Model/Paging.php b/codegen/Crm/LineItems/Model/Paging.php index 379a41bd1..d18fcda13 100644 --- a/codegen/Crm/LineItems/Model/Paging.php +++ b/codegen/Crm/LineItems/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/LineItems/Model/PreviousPage.php b/codegen/Crm/LineItems/Model/PreviousPage.php index 0ea1eb7b8..347ea91ac 100644 --- a/codegen/Crm/LineItems/Model/PreviousPage.php +++ b/codegen/Crm/LineItems/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/LineItems/Model/PublicAssociationsForObject.php b/codegen/Crm/LineItems/Model/PublicAssociationsForObject.php index 25ed6f969..8bdaf6fa6 100644 --- a/codegen/Crm/LineItems/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/LineItems/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/LineItems/Model/PublicMergeInput.php b/codegen/Crm/LineItems/Model/PublicMergeInput.php index 958c6bf0f..4f5fe4142 100644 --- a/codegen/Crm/LineItems/Model/PublicMergeInput.php +++ b/codegen/Crm/LineItems/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/LineItems/Model/PublicObjectId.php b/codegen/Crm/LineItems/Model/PublicObjectId.php index 908785b5d..b8e6d3b7b 100644 --- a/codegen/Crm/LineItems/Model/PublicObjectId.php +++ b/codegen/Crm/LineItems/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/LineItems/Model/PublicObjectSearchRequest.php b/codegen/Crm/LineItems/Model/PublicObjectSearchRequest.php index 77196a4c0..67359c1b9 100644 --- a/codegen/Crm/LineItems/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/LineItems/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/LineItems/Model/SimplePublicObject.php b/codegen/Crm/LineItems/Model/SimplePublicObject.php index 9d6e452d9..127a03cea 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObject.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/LineItems/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/LineItems/Model/SimplePublicObjectBatchInput.php index e9b2ba1e1..c39fa880f 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/LineItems/Model/SimplePublicObjectId.php b/codegen/Crm/LineItems/Model/SimplePublicObjectId.php index 77df53f02..09b9f14ad 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObjectId.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/LineItems/Model/SimplePublicObjectInput.php b/codegen/Crm/LineItems/Model/SimplePublicObjectInput.php index 1288fb817..c461bd6ba 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/LineItems/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/LineItems/Model/SimplePublicObjectInputForCreate.php index 59a3b6b1e..4e7412e39 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/LineItems/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/LineItems/Model/SimplePublicObjectWithAssociations.php index 29cdb6dae..0424d4d3d 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/LineItems/Model/StandardError.php b/codegen/Crm/LineItems/Model/StandardError.php index 25234d3bf..7ab98ef5e 100644 --- a/codegen/Crm/LineItems/Model/StandardError.php +++ b/codegen/Crm/LineItems/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/LineItems/Model/ValueWithTimestamp.php b/codegen/Crm/LineItems/Model/ValueWithTimestamp.php index c5d25ee2e..be7193ff2 100644 --- a/codegen/Crm/LineItems/Model/ValueWithTimestamp.php +++ b/codegen/Crm/LineItems/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Lists/Api/ListsApi.php b/codegen/Crm/Lists/Api/ListsApi.php index d02d8ce20..956d00e0d 100644 --- a/codegen/Crm/Lists/Api/ListsApi.php +++ b/codegen/Crm/Lists/Api/ListsApi.php @@ -76,9 +76,9 @@ class ListsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Lists/Api/MembershipsApi.php b/codegen/Crm/Lists/Api/MembershipsApi.php index 4aae33b0c..6d257104b 100644 --- a/codegen/Crm/Lists/Api/MembershipsApi.php +++ b/codegen/Crm/Lists/Api/MembershipsApi.php @@ -76,9 +76,9 @@ class MembershipsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Lists/Model/CollectionResponseLong.php b/codegen/Crm/Lists/Model/CollectionResponseLong.php index c3cddf8cf..1e350920d 100644 --- a/codegen/Crm/Lists/Model/CollectionResponseLong.php +++ b/codegen/Crm/Lists/Model/CollectionResponseLong.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['paging'] = $data['paging'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Lists/Model/Error.php b/codegen/Crm/Lists/Model/Error.php index 045b91d64..8a60d85bf 100644 --- a/codegen/Crm/Lists/Model/Error.php +++ b/codegen/Crm/Lists/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Crm/Lists/Model/ErrorDetail.php b/codegen/Crm/Lists/Model/ErrorDetail.php index 7d88906a3..95eae4402 100644 --- a/codegen/Crm/Lists/Model/ErrorDetail.php +++ b/codegen/Crm/Lists/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['code'] = $data['code'] ?? null; diff --git a/codegen/Crm/Lists/Model/ListCreateRequest.php b/codegen/Crm/Lists/Model/ListCreateRequest.php index 0f1d3fa76..dade4b46b 100644 --- a/codegen/Crm/Lists/Model/ListCreateRequest.php +++ b/codegen/Crm/Lists/Model/ListCreateRequest.php @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object_type_id'] = $data['object_type_id'] ?? null; $this->container['processing_type'] = $data['processing_type'] ?? null; diff --git a/codegen/Crm/Lists/Model/ListCreateResponse.php b/codegen/Crm/Lists/Model/ListCreateResponse.php index c5d2b9f46..7c363dfcb 100644 --- a/codegen/Crm/Lists/Model/ListCreateResponse.php +++ b/codegen/Crm/Lists/Model/ListCreateResponse.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['list'] = $data['list'] ?? null; } diff --git a/codegen/Crm/Lists/Model/ListFetchResponse.php b/codegen/Crm/Lists/Model/ListFetchResponse.php index 8f0f23733..09cfcfec6 100644 --- a/codegen/Crm/Lists/Model/ListFetchResponse.php +++ b/codegen/Crm/Lists/Model/ListFetchResponse.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['list'] = $data['list'] ?? null; } diff --git a/codegen/Crm/Lists/Model/ListFilterUpdateRequest.php b/codegen/Crm/Lists/Model/ListFilterUpdateRequest.php index 6eef7fd16..aef15c7b2 100644 --- a/codegen/Crm/Lists/Model/ListFilterUpdateRequest.php +++ b/codegen/Crm/Lists/Model/ListFilterUpdateRequest.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_branch'] = $data['filter_branch'] ?? null; } diff --git a/codegen/Crm/Lists/Model/ListSearchRequest.php b/codegen/Crm/Lists/Model/ListSearchRequest.php index 6ef7fb803..34e2e6a25 100644 --- a/codegen/Crm/Lists/Model/ListSearchRequest.php +++ b/codegen/Crm/Lists/Model/ListSearchRequest.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['offset'] = $data['offset'] ?? null; $this->container['query'] = $data['query'] ?? null; diff --git a/codegen/Crm/Lists/Model/ListSearchResponse.php b/codegen/Crm/Lists/Model/ListSearchResponse.php index e0ac3f9e9..21e1349bd 100644 --- a/codegen/Crm/Lists/Model/ListSearchResponse.php +++ b/codegen/Crm/Lists/Model/ListSearchResponse.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['offset'] = $data['offset'] ?? null; diff --git a/codegen/Crm/Lists/Model/ListUpdateResponse.php b/codegen/Crm/Lists/Model/ListUpdateResponse.php index 111ee6bc4..ed8dd6b7f 100644 --- a/codegen/Crm/Lists/Model/ListUpdateResponse.php +++ b/codegen/Crm/Lists/Model/ListUpdateResponse.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['updated_list'] = $data['updated_list'] ?? null; } diff --git a/codegen/Crm/Lists/Model/ListsByIdResponse.php b/codegen/Crm/Lists/Model/ListsByIdResponse.php index 232f1748b..f9a2aad11 100644 --- a/codegen/Crm/Lists/Model/ListsByIdResponse.php +++ b/codegen/Crm/Lists/Model/ListsByIdResponse.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['lists'] = $data['lists'] ?? null; } diff --git a/codegen/Crm/Lists/Model/MembershipChangeRequest.php b/codegen/Crm/Lists/Model/MembershipChangeRequest.php index e2da177c0..b2970c1fd 100644 --- a/codegen/Crm/Lists/Model/MembershipChangeRequest.php +++ b/codegen/Crm/Lists/Model/MembershipChangeRequest.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['record_ids_to_remove'] = $data['record_ids_to_remove'] ?? null; $this->container['record_ids_to_add'] = $data['record_ids_to_add'] ?? null; @@ -229,7 +229,7 @@ public function getRecordIdsToRemove() /** * Sets record_ids_to_remove * - * @param int[] $record_ids_to_remove + * @param int[] $record_ids_to_remove * * @return self */ @@ -253,7 +253,7 @@ public function getRecordIdsToAdd() /** * Sets record_ids_to_add * - * @param int[] $record_ids_to_add + * @param int[] $record_ids_to_add * * @return self */ diff --git a/codegen/Crm/Lists/Model/MembershipsUpdateResponse.php b/codegen/Crm/Lists/Model/MembershipsUpdateResponse.php index ff44f83bf..fa24e0803 100644 --- a/codegen/Crm/Lists/Model/MembershipsUpdateResponse.php +++ b/codegen/Crm/Lists/Model/MembershipsUpdateResponse.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['record_ids_removed'] = $data['record_ids_removed'] ?? null; $this->container['records_ids_added'] = $data['records_ids_added'] ?? null; diff --git a/codegen/Crm/Lists/Model/NextPage.php b/codegen/Crm/Lists/Model/NextPage.php index 87c4ab4ed..8a20ea288 100644 --- a/codegen/Crm/Lists/Model/NextPage.php +++ b/codegen/Crm/Lists/Model/NextPage.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['link'] = $data['link'] ?? null; $this->container['after'] = $data['after'] ?? null; diff --git a/codegen/Crm/Lists/Model/Paging.php b/codegen/Crm/Lists/Model/Paging.php index fe44b7b4d..fdd4d1003 100644 --- a/codegen/Crm/Lists/Model/Paging.php +++ b/codegen/Crm/Lists/Model/Paging.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Lists/Model/PreviousPage.php b/codegen/Crm/Lists/Model/PreviousPage.php index 2bccc0da9..8e200d19a 100644 --- a/codegen/Crm/Lists/Model/PreviousPage.php +++ b/codegen/Crm/Lists/Model/PreviousPage.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicAbsoluteComparativeTimestampRefineBy.php b/codegen/Crm/Lists/Model/PublicAbsoluteComparativeTimestampRefineBy.php index 9b76e4f78..7de0b72e8 100644 --- a/codegen/Crm/Lists/Model/PublicAbsoluteComparativeTimestampRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicAbsoluteComparativeTimestampRefineBy.php @@ -197,7 +197,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'ABSOLUTE_COMPARATIVE'; $this->container['comparison'] = $data['comparison'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicAbsoluteRangedTimestampRefineBy.php b/codegen/Crm/Lists/Model/PublicAbsoluteRangedTimestampRefineBy.php index 0cce2eb6c..1e4789aeb 100644 --- a/codegen/Crm/Lists/Model/PublicAbsoluteRangedTimestampRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicAbsoluteRangedTimestampRefineBy.php @@ -202,7 +202,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'ABSOLUTE_RANGED'; $this->container['range_type'] = $data['range_type'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicAdsSearchFilter.php b/codegen/Crm/Lists/Model/PublicAdsSearchFilter.php index 6ef6d3964..163b78f83 100644 --- a/codegen/Crm/Lists/Model/PublicAdsSearchFilter.php +++ b/codegen/Crm/Lists/Model/PublicAdsSearchFilter.php @@ -212,7 +212,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'ADS_SEARCH'; $this->container['entity_type'] = $data['entity_type'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicAdsTimeFilter.php b/codegen/Crm/Lists/Model/PublicAdsTimeFilter.php index ec5dad1db..62f38fdeb 100644 --- a/codegen/Crm/Lists/Model/PublicAdsTimeFilter.php +++ b/codegen/Crm/Lists/Model/PublicAdsTimeFilter.php @@ -192,7 +192,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'ADS_TIME'; $this->container['pruning_refine_by'] = $data['pruning_refine_by'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicAllHistoryRefineBy.php b/codegen/Crm/Lists/Model/PublicAllHistoryRefineBy.php index 6e18ef340..42694c546 100644 --- a/codegen/Crm/Lists/Model/PublicAllHistoryRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicAllHistoryRefineBy.php @@ -187,7 +187,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'ALL_HISTORY'; } diff --git a/codegen/Crm/Lists/Model/PublicAllPropertyTypesOperation.php b/codegen/Crm/Lists/Model/PublicAllPropertyTypesOperation.php index afd864ec3..44a433137 100644 --- a/codegen/Crm/Lists/Model/PublicAllPropertyTypesOperation.php +++ b/codegen/Crm/Lists/Model/PublicAllPropertyTypesOperation.php @@ -197,7 +197,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'ALL_PROPERTY'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicAndFilterBranch.php b/codegen/Crm/Lists/Model/PublicAndFilterBranch.php index b84087e81..c891b792b 100644 --- a/codegen/Crm/Lists/Model/PublicAndFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicAndFilterBranch.php @@ -202,7 +202,7 @@ public function getFilterBranchTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_branch_type'] = $data['filter_branch_type'] ?? 'AND'; $this->container['filter_branches'] = $data['filter_branches'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicAssociationFilterBranch.php b/codegen/Crm/Lists/Model/PublicAssociationFilterBranch.php index 3188cd35b..056907b17 100644 --- a/codegen/Crm/Lists/Model/PublicAssociationFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicAssociationFilterBranch.php @@ -222,7 +222,7 @@ public function getFilterBranchTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_branch_type'] = $data['filter_branch_type'] ?? 'ASSOCIATION'; $this->container['filter_branches'] = $data['filter_branches'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicAssociationInListFilter.php b/codegen/Crm/Lists/Model/PublicAssociationInListFilter.php index cdd049351..1c572726c 100644 --- a/codegen/Crm/Lists/Model/PublicAssociationInListFilter.php +++ b/codegen/Crm/Lists/Model/PublicAssociationInListFilter.php @@ -222,7 +222,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'ASSOCIATION'; $this->container['coalescing_refine_by'] = $data['coalescing_refine_by'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicBoolPropertyOperation.php b/codegen/Crm/Lists/Model/PublicBoolPropertyOperation.php index e506f94cf..fe21f61d9 100644 --- a/codegen/Crm/Lists/Model/PublicBoolPropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicBoolPropertyOperation.php @@ -202,7 +202,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'BOOL'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicCalendarDatePropertyOperation.php b/codegen/Crm/Lists/Model/PublicCalendarDatePropertyOperation.php index 11ed7a54b..b7a89ef16 100644 --- a/codegen/Crm/Lists/Model/PublicCalendarDatePropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicCalendarDatePropertyOperation.php @@ -252,7 +252,7 @@ public function getFiscalYearStartAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'CALENDAR_DATE'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicCampaignInfluencedFilter.php b/codegen/Crm/Lists/Model/PublicCampaignInfluencedFilter.php index 337a5184f..3a8e83a25 100644 --- a/codegen/Crm/Lists/Model/PublicCampaignInfluencedFilter.php +++ b/codegen/Crm/Lists/Model/PublicCampaignInfluencedFilter.php @@ -192,7 +192,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'CAMPAIGN_INFLUENCED'; $this->container['campaign_id'] = $data['campaign_id'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicCommunicationSubscriptionFilter.php b/codegen/Crm/Lists/Model/PublicCommunicationSubscriptionFilter.php index a8860f20e..4b4a153a7 100644 --- a/codegen/Crm/Lists/Model/PublicCommunicationSubscriptionFilter.php +++ b/codegen/Crm/Lists/Model/PublicCommunicationSubscriptionFilter.php @@ -212,7 +212,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'COMMUNICATION_SUBSCRIPTION'; $this->container['subscription_ids'] = $data['subscription_ids'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicComparativeDatePropertyOperation.php b/codegen/Crm/Lists/Model/PublicComparativeDatePropertyOperation.php index 7b1ff1e80..25bfb27d1 100644 --- a/codegen/Crm/Lists/Model/PublicComparativeDatePropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicComparativeDatePropertyOperation.php @@ -207,7 +207,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'COMPARATIVE_DATE'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicComparativePropertyUpdatedOperation.php b/codegen/Crm/Lists/Model/PublicComparativePropertyUpdatedOperation.php index 1028287dd..10748c543 100644 --- a/codegen/Crm/Lists/Model/PublicComparativePropertyUpdatedOperation.php +++ b/codegen/Crm/Lists/Model/PublicComparativePropertyUpdatedOperation.php @@ -207,7 +207,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'COMPARATIVE_PROPERTY_UPDATED'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicConstantFilter.php b/codegen/Crm/Lists/Model/PublicConstantFilter.php index 81eb3d66c..7305e5df7 100644 --- a/codegen/Crm/Lists/Model/PublicConstantFilter.php +++ b/codegen/Crm/Lists/Model/PublicConstantFilter.php @@ -197,7 +197,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'CONSTANT'; $this->container['should_accept'] = $data['should_accept'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicCtaAnalyticsFilter.php b/codegen/Crm/Lists/Model/PublicCtaAnalyticsFilter.php index 5d9cee9cd..a74fec0bf 100644 --- a/codegen/Crm/Lists/Model/PublicCtaAnalyticsFilter.php +++ b/codegen/Crm/Lists/Model/PublicCtaAnalyticsFilter.php @@ -207,7 +207,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'CTA'; $this->container['coalescing_refine_by'] = $data['coalescing_refine_by'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicDatePoint.php b/codegen/Crm/Lists/Model/PublicDatePoint.php index d28d0a10d..a5976d8a3 100644 --- a/codegen/Crm/Lists/Model/PublicDatePoint.php +++ b/codegen/Crm/Lists/Model/PublicDatePoint.php @@ -232,7 +232,7 @@ public function getTimeTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['time_type'] = $data['time_type'] ?? 'DATE'; $this->container['timezone_source'] = $data['timezone_source'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicDatePropertyOperation.php b/codegen/Crm/Lists/Model/PublicDatePropertyOperation.php index ffd3a6fb6..a13bbeec6 100644 --- a/codegen/Crm/Lists/Model/PublicDatePropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicDatePropertyOperation.php @@ -212,7 +212,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'DATE'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicDateTimePropertyOperation.php b/codegen/Crm/Lists/Model/PublicDateTimePropertyOperation.php index 35526f991..dbde2e5af 100644 --- a/codegen/Crm/Lists/Model/PublicDateTimePropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicDateTimePropertyOperation.php @@ -207,7 +207,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'DATETIME'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicEmailEventFilter.php b/codegen/Crm/Lists/Model/PublicEmailEventFilter.php index afdf041fc..0c747eaf8 100644 --- a/codegen/Crm/Lists/Model/PublicEmailEventFilter.php +++ b/codegen/Crm/Lists/Model/PublicEmailEventFilter.php @@ -254,7 +254,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'EMAIL_EVENT'; $this->container['level'] = $data['level'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicEmailSubscriptionFilter.php b/codegen/Crm/Lists/Model/PublicEmailSubscriptionFilter.php index dcb4953a9..818e861b7 100644 --- a/codegen/Crm/Lists/Model/PublicEmailSubscriptionFilter.php +++ b/codegen/Crm/Lists/Model/PublicEmailSubscriptionFilter.php @@ -202,7 +202,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'EMAIL_SUBSCRIPTION'; $this->container['subscription_ids'] = $data['subscription_ids'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicEnumerationPropertyOperation.php b/codegen/Crm/Lists/Model/PublicEnumerationPropertyOperation.php index 12d0e60e0..1c6b13803 100644 --- a/codegen/Crm/Lists/Model/PublicEnumerationPropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicEnumerationPropertyOperation.php @@ -202,7 +202,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'ENUMERATION'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicEventAnalyticsFilter.php b/codegen/Crm/Lists/Model/PublicEventAnalyticsFilter.php index 4ba86d2a8..17edfcc53 100644 --- a/codegen/Crm/Lists/Model/PublicEventAnalyticsFilter.php +++ b/codegen/Crm/Lists/Model/PublicEventAnalyticsFilter.php @@ -207,7 +207,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'EVENT'; $this->container['coalescing_refine_by'] = $data['coalescing_refine_by'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicEventAnalyticsFilterCoalescingRefineBy.php b/codegen/Crm/Lists/Model/PublicEventAnalyticsFilterCoalescingRefineBy.php index 8eb23004d..e08dd1979 100644 --- a/codegen/Crm/Lists/Model/PublicEventAnalyticsFilterCoalescingRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicEventAnalyticsFilterCoalescingRefineBy.php @@ -292,7 +292,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'TIME_RANGED'; $this->container['min_occurrences'] = $data['min_occurrences'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicEventFilterMetadata.php b/codegen/Crm/Lists/Model/PublicEventFilterMetadata.php index 0cb14f01c..0f7b57f8a 100644 --- a/codegen/Crm/Lists/Model/PublicEventFilterMetadata.php +++ b/codegen/Crm/Lists/Model/PublicEventFilterMetadata.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['property'] = $data['property'] ?? null; $this->container['operation'] = $data['operation'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicFiscalQuarterReference.php b/codegen/Crm/Lists/Model/PublicFiscalQuarterReference.php index 36c687a2f..375700a8e 100644 --- a/codegen/Crm/Lists/Model/PublicFiscalQuarterReference.php +++ b/codegen/Crm/Lists/Model/PublicFiscalQuarterReference.php @@ -217,7 +217,7 @@ public function getReferenceTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['reference_type'] = $data['reference_type'] ?? 'FISCAL_QUARTER'; $this->container['hour'] = $data['hour'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicFiscalYearReference.php b/codegen/Crm/Lists/Model/PublicFiscalYearReference.php index 2ab8bcbdf..4db481e99 100644 --- a/codegen/Crm/Lists/Model/PublicFiscalYearReference.php +++ b/codegen/Crm/Lists/Model/PublicFiscalYearReference.php @@ -217,7 +217,7 @@ public function getReferenceTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['reference_type'] = $data['reference_type'] ?? 'FISCAL_YEAR'; $this->container['hour'] = $data['hour'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicFormSubmissionFilter.php b/codegen/Crm/Lists/Model/PublicFormSubmissionFilter.php index 057142548..076196cea 100644 --- a/codegen/Crm/Lists/Model/PublicFormSubmissionFilter.php +++ b/codegen/Crm/Lists/Model/PublicFormSubmissionFilter.php @@ -222,7 +222,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'FORM_SUBMISSION'; $this->container['form_id'] = $data['form_id'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicFormSubmissionOnPageFilter.php b/codegen/Crm/Lists/Model/PublicFormSubmissionOnPageFilter.php index c723add24..4bd5cc781 100644 --- a/codegen/Crm/Lists/Model/PublicFormSubmissionOnPageFilter.php +++ b/codegen/Crm/Lists/Model/PublicFormSubmissionOnPageFilter.php @@ -227,7 +227,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'FORM_SUBMISSION_ON_PAGE'; $this->container['form_id'] = $data['form_id'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicInListFilter.php b/codegen/Crm/Lists/Model/PublicInListFilter.php index b1fbff63d..1840157d3 100644 --- a/codegen/Crm/Lists/Model/PublicInListFilter.php +++ b/codegen/Crm/Lists/Model/PublicInListFilter.php @@ -202,7 +202,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'IN_LIST'; $this->container['list_id'] = $data['list_id'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicInListFilterMetadata.php b/codegen/Crm/Lists/Model/PublicInListFilterMetadata.php index 63287e879..00c66c647 100644 --- a/codegen/Crm/Lists/Model/PublicInListFilterMetadata.php +++ b/codegen/Crm/Lists/Model/PublicInListFilterMetadata.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['in_list_type'] = $data['in_list_type'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicIndexOffset.php b/codegen/Crm/Lists/Model/PublicIndexOffset.php index bdb9f7ff9..b2c134675 100644 --- a/codegen/Crm/Lists/Model/PublicIndexOffset.php +++ b/codegen/Crm/Lists/Model/PublicIndexOffset.php @@ -214,7 +214,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['years'] = $data['years'] ?? null; $this->container['quarters'] = $data['quarters'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicIndexedTimePoint.php b/codegen/Crm/Lists/Model/PublicIndexedTimePoint.php index b591365f7..55de2bbd4 100644 --- a/codegen/Crm/Lists/Model/PublicIndexedTimePoint.php +++ b/codegen/Crm/Lists/Model/PublicIndexedTimePoint.php @@ -207,7 +207,7 @@ public function getTimeTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['time_type'] = $data['time_type'] ?? 'INDEXED'; $this->container['timezone_source'] = $data['timezone_source'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicIndexedTimePointIndexReference.php b/codegen/Crm/Lists/Model/PublicIndexedTimePointIndexReference.php index bbbe56010..0cb7caf9c 100644 --- a/codegen/Crm/Lists/Model/PublicIndexedTimePointIndexReference.php +++ b/codegen/Crm/Lists/Model/PublicIndexedTimePointIndexReference.php @@ -247,7 +247,7 @@ public function getDayOfWeekAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['reference_type'] = $data['reference_type'] ?? 'MONTH'; $this->container['hour'] = $data['hour'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicIntegrationEventFilter.php b/codegen/Crm/Lists/Model/PublicIntegrationEventFilter.php index d2751c123..ecf3ef054 100644 --- a/codegen/Crm/Lists/Model/PublicIntegrationEventFilter.php +++ b/codegen/Crm/Lists/Model/PublicIntegrationEventFilter.php @@ -197,7 +197,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'INTEGRATION_EVENT'; $this->container['event_type_id'] = $data['event_type_id'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicMonthReference.php b/codegen/Crm/Lists/Model/PublicMonthReference.php index 4a71f3e8d..72659e507 100644 --- a/codegen/Crm/Lists/Model/PublicMonthReference.php +++ b/codegen/Crm/Lists/Model/PublicMonthReference.php @@ -212,7 +212,7 @@ public function getReferenceTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['reference_type'] = $data['reference_type'] ?? 'MONTH'; $this->container['hour'] = $data['hour'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicMultiStringPropertyOperation.php b/codegen/Crm/Lists/Model/PublicMultiStringPropertyOperation.php index 882765a52..109cdcdc8 100644 --- a/codegen/Crm/Lists/Model/PublicMultiStringPropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicMultiStringPropertyOperation.php @@ -202,7 +202,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'MULTISTRING'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicNotAllFilterBranch.php b/codegen/Crm/Lists/Model/PublicNotAllFilterBranch.php index 2a9f9d921..6168db67e 100644 --- a/codegen/Crm/Lists/Model/PublicNotAllFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicNotAllFilterBranch.php @@ -202,7 +202,7 @@ public function getFilterBranchTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_branch_type'] = $data['filter_branch_type'] ?? 'NOT_ALL'; $this->container['filter_branch_operator'] = $data['filter_branch_operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicNotAnyFilterBranch.php b/codegen/Crm/Lists/Model/PublicNotAnyFilterBranch.php index 563d47750..d92f62cc2 100644 --- a/codegen/Crm/Lists/Model/PublicNotAnyFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicNotAnyFilterBranch.php @@ -202,7 +202,7 @@ public function getFilterBranchTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_branch_type'] = $data['filter_branch_type'] ?? 'NOT_ANY'; $this->container['filter_branch_operator'] = $data['filter_branch_operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicNowReference.php b/codegen/Crm/Lists/Model/PublicNowReference.php index e902781cc..51fd1f7a4 100644 --- a/codegen/Crm/Lists/Model/PublicNowReference.php +++ b/codegen/Crm/Lists/Model/PublicNowReference.php @@ -207,7 +207,7 @@ public function getReferenceTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['reference_type'] = $data['reference_type'] ?? 'NOW'; $this->container['hour'] = $data['hour'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicNumAssociationsFilter.php b/codegen/Crm/Lists/Model/PublicNumAssociationsFilter.php index 092f02d83..42c890b7d 100644 --- a/codegen/Crm/Lists/Model/PublicNumAssociationsFilter.php +++ b/codegen/Crm/Lists/Model/PublicNumAssociationsFilter.php @@ -202,7 +202,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'NUM_ASSOCIATIONS'; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicNumOccurrencesRefineBy.php b/codegen/Crm/Lists/Model/PublicNumOccurrencesRefineBy.php index 7a6dc623a..ecb847582 100644 --- a/codegen/Crm/Lists/Model/PublicNumOccurrencesRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicNumOccurrencesRefineBy.php @@ -197,7 +197,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'NUM_OCCURRENCES'; $this->container['min_occurrences'] = $data['min_occurrences'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicNumberPropertyOperation.php b/codegen/Crm/Lists/Model/PublicNumberPropertyOperation.php index 3d019e2fb..380ba5e51 100644 --- a/codegen/Crm/Lists/Model/PublicNumberPropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicNumberPropertyOperation.php @@ -202,7 +202,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'NUMBER'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicObjectList.php b/codegen/Crm/Lists/Model/PublicObjectList.php index 76590a760..3b9c6375c 100644 --- a/codegen/Crm/Lists/Model/PublicObjectList.php +++ b/codegen/Crm/Lists/Model/PublicObjectList.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['processing_type'] = $data['processing_type'] ?? null; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicObjectListSearchResult.php b/codegen/Crm/Lists/Model/PublicObjectListSearchResult.php index eac6816ca..f8d6071e7 100644 --- a/codegen/Crm/Lists/Model/PublicObjectListSearchResult.php +++ b/codegen/Crm/Lists/Model/PublicObjectListSearchResult.php @@ -234,7 +234,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['processing_type'] = $data['processing_type'] ?? null; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicOrFilterBranch.php b/codegen/Crm/Lists/Model/PublicOrFilterBranch.php index 780a39510..80e2d0f47 100644 --- a/codegen/Crm/Lists/Model/PublicOrFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicOrFilterBranch.php @@ -202,7 +202,7 @@ public function getFilterBranchTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_branch_type'] = $data['filter_branch_type'] ?? 'OR'; $this->container['filter_branches'] = $data['filter_branches'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicPageViewAnalyticsFilter.php b/codegen/Crm/Lists/Model/PublicPageViewAnalyticsFilter.php index 7645f0fff..dbdfde965 100644 --- a/codegen/Crm/Lists/Model/PublicPageViewAnalyticsFilter.php +++ b/codegen/Crm/Lists/Model/PublicPageViewAnalyticsFilter.php @@ -212,7 +212,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'PAGE_VIEW'; $this->container['coalescing_refine_by'] = $data['coalescing_refine_by'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicPrivacyAnalyticsFilter.php b/codegen/Crm/Lists/Model/PublicPrivacyAnalyticsFilter.php index dac8d8233..94dee563a 100644 --- a/codegen/Crm/Lists/Model/PublicPrivacyAnalyticsFilter.php +++ b/codegen/Crm/Lists/Model/PublicPrivacyAnalyticsFilter.php @@ -197,7 +197,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'PRIVACY'; $this->container['privacy_name'] = $data['privacy_name'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranch.php b/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranch.php index b74458e5c..96e380556 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranch.php @@ -217,7 +217,7 @@ public function getFilterBranchTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_branch_type'] = $data['filter_branch_type'] ?? 'PROPERTY_ASSOCIATION'; $this->container['filter_branch_operator'] = $data['filter_branch_operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFilterBranchesInner.php b/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFilterBranchesInner.php index c580817ac..d1b4254fb 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFilterBranchesInner.php +++ b/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFilterBranchesInner.php @@ -232,7 +232,7 @@ public function getFilterBranchTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_branch_type'] = $data['filter_branch_type'] ?? 'ASSOCIATION'; $this->container['filter_branches'] = $data['filter_branches'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFiltersInner.php b/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFiltersInner.php index 11868a348..87f1a6257 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFiltersInner.php +++ b/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFiltersInner.php @@ -407,7 +407,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'UNIFIED_EVENTS_IN_LIST'; $this->container['property'] = $data['property'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicPropertyAssociationInListFilter.php b/codegen/Crm/Lists/Model/PublicPropertyAssociationInListFilter.php index e755fe457..44f8ea09d 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyAssociationInListFilter.php +++ b/codegen/Crm/Lists/Model/PublicPropertyAssociationInListFilter.php @@ -212,7 +212,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'PROPERTY_ASSOCIATION'; $this->container['coalescing_refine_by'] = $data['coalescing_refine_by'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicPropertyFilter.php b/codegen/Crm/Lists/Model/PublicPropertyFilter.php index 9d91b98d1..0f6f27fa5 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyFilter.php +++ b/codegen/Crm/Lists/Model/PublicPropertyFilter.php @@ -197,7 +197,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'PROPERTY'; $this->container['property'] = $data['property'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicPropertyFilterOperation.php b/codegen/Crm/Lists/Model/PublicPropertyFilterOperation.php index fa122969b..655275b25 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyFilterOperation.php +++ b/codegen/Crm/Lists/Model/PublicPropertyFilterOperation.php @@ -352,7 +352,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? null; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicPropertyReferencedTime.php b/codegen/Crm/Lists/Model/PublicPropertyReferencedTime.php index bee9fc97e..b82127d0f 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyReferencedTime.php +++ b/codegen/Crm/Lists/Model/PublicPropertyReferencedTime.php @@ -207,7 +207,7 @@ public function getTimeTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['time_type'] = $data['time_type'] ?? 'PROPERTY_REFERENCED'; $this->container['timezone_source'] = $data['timezone_source'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicQuarterReference.php b/codegen/Crm/Lists/Model/PublicQuarterReference.php index 875078b64..bbd76f5e0 100644 --- a/codegen/Crm/Lists/Model/PublicQuarterReference.php +++ b/codegen/Crm/Lists/Model/PublicQuarterReference.php @@ -217,7 +217,7 @@ public function getReferenceTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['reference_type'] = $data['reference_type'] ?? 'QUARTER'; $this->container['hour'] = $data['hour'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicRangedDatePropertyOperation.php b/codegen/Crm/Lists/Model/PublicRangedDatePropertyOperation.php index 8bd646826..687be2866 100644 --- a/codegen/Crm/Lists/Model/PublicRangedDatePropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicRangedDatePropertyOperation.php @@ -212,7 +212,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'RANGED_DATE'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicRangedNumberPropertyOperation.php b/codegen/Crm/Lists/Model/PublicRangedNumberPropertyOperation.php index 438af5139..4394dc798 100644 --- a/codegen/Crm/Lists/Model/PublicRangedNumberPropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicRangedNumberPropertyOperation.php @@ -207,7 +207,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'NUMBER_RANGED'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicRangedTimeOperation.php b/codegen/Crm/Lists/Model/PublicRangedTimeOperation.php index 719562584..2b8bbd72f 100644 --- a/codegen/Crm/Lists/Model/PublicRangedTimeOperation.php +++ b/codegen/Crm/Lists/Model/PublicRangedTimeOperation.php @@ -227,7 +227,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'TIME_RANGED'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicRelativeComparativeTimestampRefineBy.php b/codegen/Crm/Lists/Model/PublicRelativeComparativeTimestampRefineBy.php index 29ac2af91..b533fb456 100644 --- a/codegen/Crm/Lists/Model/PublicRelativeComparativeTimestampRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicRelativeComparativeTimestampRefineBy.php @@ -197,7 +197,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'RELATIVE_COMPARATIVE'; $this->container['comparison'] = $data['comparison'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicRelativeRangedTimestampRefineBy.php b/codegen/Crm/Lists/Model/PublicRelativeRangedTimestampRefineBy.php index 6a016b835..767dce32f 100644 --- a/codegen/Crm/Lists/Model/PublicRelativeRangedTimestampRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicRelativeRangedTimestampRefineBy.php @@ -202,7 +202,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'RELATIVE_RANGED'; $this->container['range_type'] = $data['range_type'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicRestrictedFilterBranch.php b/codegen/Crm/Lists/Model/PublicRestrictedFilterBranch.php index dcec03544..523b8221b 100644 --- a/codegen/Crm/Lists/Model/PublicRestrictedFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicRestrictedFilterBranch.php @@ -202,7 +202,7 @@ public function getFilterBranchTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_branch_type'] = $data['filter_branch_type'] ?? 'RESTRICTED'; $this->container['filter_branch_operator'] = $data['filter_branch_operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicRollingDateRangePropertyOperation.php b/codegen/Crm/Lists/Model/PublicRollingDateRangePropertyOperation.php index e37eb46a3..94932fa7d 100644 --- a/codegen/Crm/Lists/Model/PublicRollingDateRangePropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicRollingDateRangePropertyOperation.php @@ -207,7 +207,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'ROLLING_DATE_RANGE'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicRollingPropertyUpdatedOperation.php b/codegen/Crm/Lists/Model/PublicRollingPropertyUpdatedOperation.php index fc95d79a8..38fed5630 100644 --- a/codegen/Crm/Lists/Model/PublicRollingPropertyUpdatedOperation.php +++ b/codegen/Crm/Lists/Model/PublicRollingPropertyUpdatedOperation.php @@ -202,7 +202,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'ROLLING_PROPERTY_UPDATED'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicSetOccurrencesRefineBy.php b/codegen/Crm/Lists/Model/PublicSetOccurrencesRefineBy.php index 01527de06..ebdcb9b0a 100644 --- a/codegen/Crm/Lists/Model/PublicSetOccurrencesRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicSetOccurrencesRefineBy.php @@ -192,7 +192,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'SET_OCCURRENCES'; $this->container['set_type'] = $data['set_type'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicStringPropertyOperation.php b/codegen/Crm/Lists/Model/PublicStringPropertyOperation.php index e630e4bee..eb83b4350 100644 --- a/codegen/Crm/Lists/Model/PublicStringPropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicStringPropertyOperation.php @@ -202,7 +202,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'STRING'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicSurveyMonkeyFilter.php b/codegen/Crm/Lists/Model/PublicSurveyMonkeyFilter.php index abab5353f..865ed1870 100644 --- a/codegen/Crm/Lists/Model/PublicSurveyMonkeyFilter.php +++ b/codegen/Crm/Lists/Model/PublicSurveyMonkeyFilter.php @@ -197,7 +197,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'SURVEY_MONKEY'; $this->container['survey_id'] = $data['survey_id'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicSurveyMonkeyValueFilter.php b/codegen/Crm/Lists/Model/PublicSurveyMonkeyValueFilter.php index 8a89e0a65..47eddb010 100644 --- a/codegen/Crm/Lists/Model/PublicSurveyMonkeyValueFilter.php +++ b/codegen/Crm/Lists/Model/PublicSurveyMonkeyValueFilter.php @@ -217,7 +217,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'SURVEY_MONKEY_VALUE'; $this->container['survey_id'] = $data['survey_id'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicTimeOffset.php b/codegen/Crm/Lists/Model/PublicTimeOffset.php index fd1af4e81..7a11e878f 100644 --- a/codegen/Crm/Lists/Model/PublicTimeOffset.php +++ b/codegen/Crm/Lists/Model/PublicTimeOffset.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['offset_direction'] = $data['offset_direction'] ?? null; $this->container['time_unit'] = $data['time_unit'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicTimePointOperation.php b/codegen/Crm/Lists/Model/PublicTimePointOperation.php index 232788868..13b575088 100644 --- a/codegen/Crm/Lists/Model/PublicTimePointOperation.php +++ b/codegen/Crm/Lists/Model/PublicTimePointOperation.php @@ -217,7 +217,7 @@ public function getOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operation_type'] = $data['operation_type'] ?? 'TIME_POINT'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicTimePointOperationTimePoint.php b/codegen/Crm/Lists/Model/PublicTimePointOperationTimePoint.php index 6dd41df0f..716eabf40 100644 --- a/codegen/Crm/Lists/Model/PublicTimePointOperationTimePoint.php +++ b/codegen/Crm/Lists/Model/PublicTimePointOperationTimePoint.php @@ -252,7 +252,7 @@ public function getTimeTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['time_type'] = $data['time_type'] ?? 'PROPERTY_REFERENCED'; $this->container['timezone_source'] = $data['timezone_source'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicTodayReference.php b/codegen/Crm/Lists/Model/PublicTodayReference.php index 12fc18056..bf2ed80c7 100644 --- a/codegen/Crm/Lists/Model/PublicTodayReference.php +++ b/codegen/Crm/Lists/Model/PublicTodayReference.php @@ -207,7 +207,7 @@ public function getReferenceTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['reference_type'] = $data['reference_type'] ?? 'TODAY'; $this->container['hour'] = $data['hour'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicUnifiedEventsFilter.php b/codegen/Crm/Lists/Model/PublicUnifiedEventsFilter.php index debd29685..62dc5fd5c 100644 --- a/codegen/Crm/Lists/Model/PublicUnifiedEventsFilter.php +++ b/codegen/Crm/Lists/Model/PublicUnifiedEventsFilter.php @@ -207,7 +207,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'UNIFIED_EVENTS'; $this->container['pruning_refine_by'] = $data['pruning_refine_by'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicUnifiedEventsFilterBranch.php b/codegen/Crm/Lists/Model/PublicUnifiedEventsFilterBranch.php index 51f534d92..67fd34816 100644 --- a/codegen/Crm/Lists/Model/PublicUnifiedEventsFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicUnifiedEventsFilterBranch.php @@ -227,7 +227,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_branch_type'] = $data['filter_branch_type'] ?? 'UNIFIED_EVENTS'; $this->container['filter_branches'] = $data['filter_branches'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicUnifiedEventsInListFilter.php b/codegen/Crm/Lists/Model/PublicUnifiedEventsInListFilter.php index a60f38f9d..1ee657a10 100644 --- a/codegen/Crm/Lists/Model/PublicUnifiedEventsInListFilter.php +++ b/codegen/Crm/Lists/Model/PublicUnifiedEventsInListFilter.php @@ -207,7 +207,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'UNIFIED_EVENTS_IN_LIST'; $this->container['pruning_refine_by'] = $data['pruning_refine_by'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicWebinarFilter.php b/codegen/Crm/Lists/Model/PublicWebinarFilter.php index e01f0130d..63fc7779f 100644 --- a/codegen/Crm/Lists/Model/PublicWebinarFilter.php +++ b/codegen/Crm/Lists/Model/PublicWebinarFilter.php @@ -197,7 +197,7 @@ public function getFilterTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_type'] = $data['filter_type'] ?? 'WEBINAR'; $this->container['operator'] = $data['operator'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicWeekReference.php b/codegen/Crm/Lists/Model/PublicWeekReference.php index 13dee39e1..19779c030 100644 --- a/codegen/Crm/Lists/Model/PublicWeekReference.php +++ b/codegen/Crm/Lists/Model/PublicWeekReference.php @@ -237,7 +237,7 @@ public function getDayOfWeekAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['reference_type'] = $data['reference_type'] ?? 'WEEK'; $this->container['hour'] = $data['hour'] ?? null; diff --git a/codegen/Crm/Lists/Model/PublicYearReference.php b/codegen/Crm/Lists/Model/PublicYearReference.php index 51004504e..44bd16a1d 100644 --- a/codegen/Crm/Lists/Model/PublicYearReference.php +++ b/codegen/Crm/Lists/Model/PublicYearReference.php @@ -217,7 +217,7 @@ public function getReferenceTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['reference_type'] = $data['reference_type'] ?? 'YEAR'; $this->container['hour'] = $data['hour'] ?? null; diff --git a/codegen/Crm/Objects/Api/AssociationsApi.php b/codegen/Crm/Objects/Api/AssociationsApi.php index 583207b26..f2ca9993e 100644 --- a/codegen/Crm/Objects/Api/AssociationsApi.php +++ b/codegen/Crm/Objects/Api/AssociationsApi.php @@ -76,9 +76,9 @@ class AssociationsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Api/BasicApi.php b/codegen/Crm/Objects/Api/BasicApi.php index f61e6c6c9..1632e0ede 100644 --- a/codegen/Crm/Objects/Api/BasicApi.php +++ b/codegen/Crm/Objects/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Api/BatchApi.php b/codegen/Crm/Objects/Api/BatchApi.php index 8b4fd78e3..d649f0c65 100644 --- a/codegen/Crm/Objects/Api/BatchApi.php +++ b/codegen/Crm/Objects/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Api/GDPRApi.php b/codegen/Crm/Objects/Api/GDPRApi.php index a48ab11e2..e9f6926c7 100644 --- a/codegen/Crm/Objects/Api/GDPRApi.php +++ b/codegen/Crm/Objects/Api/GDPRApi.php @@ -76,9 +76,9 @@ class GDPRApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Api/PublicObjectApi.php b/codegen/Crm/Objects/Api/PublicObjectApi.php index 4f37b3385..5415c5341 100644 --- a/codegen/Crm/Objects/Api/PublicObjectApi.php +++ b/codegen/Crm/Objects/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Api/SearchApi.php b/codegen/Crm/Objects/Api/SearchApi.php index 743d6c975..043bf2faf 100644 --- a/codegen/Crm/Objects/Api/SearchApi.php +++ b/codegen/Crm/Objects/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Calls/Api/BasicApi.php b/codegen/Crm/Objects/Calls/Api/BasicApi.php index df4168d75..42fd36f97 100644 --- a/codegen/Crm/Objects/Calls/Api/BasicApi.php +++ b/codegen/Crm/Objects/Calls/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Calls/Api/BatchApi.php b/codegen/Crm/Objects/Calls/Api/BatchApi.php index 56b56254a..b3294e184 100644 --- a/codegen/Crm/Objects/Calls/Api/BatchApi.php +++ b/codegen/Crm/Objects/Calls/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Calls/Api/PublicObjectApi.php b/codegen/Crm/Objects/Calls/Api/PublicObjectApi.php index 28c131344..7c55e3178 100644 --- a/codegen/Crm/Objects/Calls/Api/PublicObjectApi.php +++ b/codegen/Crm/Objects/Calls/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Calls/Api/SearchApi.php b/codegen/Crm/Objects/Calls/Api/SearchApi.php index 4d10f0bea..4347057d1 100644 --- a/codegen/Crm/Objects/Calls/Api/SearchApi.php +++ b/codegen/Crm/Objects/Calls/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Calls/Model/AssociatedId.php b/codegen/Crm/Objects/Calls/Model/AssociatedId.php index e6b08e4a5..2b01aad8d 100644 --- a/codegen/Crm/Objects/Calls/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Calls/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/AssociationSpec.php b/codegen/Crm/Objects/Calls/Model/AssociationSpec.php index 7dd98888c..f7d321e24 100644 --- a/codegen/Crm/Objects/Calls/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Calls/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectBatchInput.php index ec30c0f19..d40b6ce07 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectId.php index c21cf3b85..e6da2c6d2 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectInputForCreate.php index 1a0d69f09..1ef12d738 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Calls/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Calls/Model/BatchReadInputSimplePublicObjectId.php index 61987ce87..d4e67a2f5 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Calls/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObject.php index 85392ee29..fa8354dfe 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObjectWithErrors.php index 48bed9eac..aca47b4af 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Calls/Model/CollectionResponseAssociatedId.php index 93aa665d1..87de046d8 100644 --- a/codegen/Crm/Objects/Calls/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Calls/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Calls/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 0b8e86b66..5176a29a1 100644 --- a/codegen/Crm/Objects/Calls/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Calls/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Calls/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 1076b8f74..a7d6375d1 100644 --- a/codegen/Crm/Objects/Calls/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Calls/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/Error.php b/codegen/Crm/Objects/Calls/Model/Error.php index 66779e7cd..7da92647c 100644 --- a/codegen/Crm/Objects/Calls/Model/Error.php +++ b/codegen/Crm/Objects/Calls/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/ErrorDetail.php b/codegen/Crm/Objects/Calls/Model/ErrorDetail.php index 7103615fb..3a0130891 100644 --- a/codegen/Crm/Objects/Calls/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Calls/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/Filter.php b/codegen/Crm/Objects/Calls/Model/Filter.php index 371fbaeac..1cb10e830 100644 --- a/codegen/Crm/Objects/Calls/Model/Filter.php +++ b/codegen/Crm/Objects/Calls/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/FilterGroup.php b/codegen/Crm/Objects/Calls/Model/FilterGroup.php index e293a1eba..4a12b1f37 100644 --- a/codegen/Crm/Objects/Calls/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Calls/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Objects/Calls/Model/ForwardPaging.php b/codegen/Crm/Objects/Calls/Model/ForwardPaging.php index 437f35bf8..d0f636f96 100644 --- a/codegen/Crm/Objects/Calls/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Calls/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Objects/Calls/Model/NextPage.php b/codegen/Crm/Objects/Calls/Model/NextPage.php index 6cd199b0e..ecbf199d6 100644 --- a/codegen/Crm/Objects/Calls/Model/NextPage.php +++ b/codegen/Crm/Objects/Calls/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/Paging.php b/codegen/Crm/Objects/Calls/Model/Paging.php index 005c626b0..7808b8057 100644 --- a/codegen/Crm/Objects/Calls/Model/Paging.php +++ b/codegen/Crm/Objects/Calls/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/PreviousPage.php b/codegen/Crm/Objects/Calls/Model/PreviousPage.php index a74f8f982..a290b3581 100644 --- a/codegen/Crm/Objects/Calls/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Calls/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Calls/Model/PublicAssociationsForObject.php index 6448895f2..7d6bb6e3b 100644 --- a/codegen/Crm/Objects/Calls/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Calls/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/PublicMergeInput.php b/codegen/Crm/Objects/Calls/Model/PublicMergeInput.php index a9dfcb6fd..e8ed780eb 100644 --- a/codegen/Crm/Objects/Calls/Model/PublicMergeInput.php +++ b/codegen/Crm/Objects/Calls/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/PublicObjectId.php b/codegen/Crm/Objects/Calls/Model/PublicObjectId.php index c75505d02..468e61faf 100644 --- a/codegen/Crm/Objects/Calls/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Calls/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Calls/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Calls/Model/PublicObjectSearchRequest.php index 9250035ab..0d947e3a9 100644 --- a/codegen/Crm/Objects/Calls/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Calls/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObject.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObject.php index 96a460840..a338a3da0 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectBatchInput.php index c746aab7f..ed3b684f1 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectId.php index a8e5c03f5..243be725e 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInput.php index 039397242..3a9e00e24 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInputForCreate.php index 3e10708ab..e80f0b1d9 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectWithAssociations.php index 22fe27fb3..18887aaf4 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/StandardError.php b/codegen/Crm/Objects/Calls/Model/StandardError.php index d1c2e31a2..db4fd6dbf 100644 --- a/codegen/Crm/Objects/Calls/Model/StandardError.php +++ b/codegen/Crm/Objects/Calls/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Calls/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Calls/Model/ValueWithTimestamp.php index ff2e87337..322b4bf20 100644 --- a/codegen/Crm/Objects/Calls/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Calls/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Api/BasicApi.php b/codegen/Crm/Objects/Communications/Api/BasicApi.php index 4e711d756..740373b8c 100644 --- a/codegen/Crm/Objects/Communications/Api/BasicApi.php +++ b/codegen/Crm/Objects/Communications/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Communications/Api/BatchApi.php b/codegen/Crm/Objects/Communications/Api/BatchApi.php index f16186f4e..dde473d7c 100644 --- a/codegen/Crm/Objects/Communications/Api/BatchApi.php +++ b/codegen/Crm/Objects/Communications/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Communications/Api/PublicObjectApi.php b/codegen/Crm/Objects/Communications/Api/PublicObjectApi.php index 5b11d75a6..085419c20 100644 --- a/codegen/Crm/Objects/Communications/Api/PublicObjectApi.php +++ b/codegen/Crm/Objects/Communications/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Communications/Api/SearchApi.php b/codegen/Crm/Objects/Communications/Api/SearchApi.php index 6f6ed4b32..22ca167c5 100644 --- a/codegen/Crm/Objects/Communications/Api/SearchApi.php +++ b/codegen/Crm/Objects/Communications/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Communications/Model/AssociatedId.php b/codegen/Crm/Objects/Communications/Model/AssociatedId.php index a3fd24378..1b49f1328 100644 --- a/codegen/Crm/Objects/Communications/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Communications/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/AssociationSpec.php b/codegen/Crm/Objects/Communications/Model/AssociationSpec.php index 11cec1319..49103ecf2 100644 --- a/codegen/Crm/Objects/Communications/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Communications/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectBatchInput.php index 426b49cda..50da235c2 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectId.php index 0881a462c..725f3fa1e 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectInputForCreate.php index 5d07c8d22..76a3173e8 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Communications/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Communications/Model/BatchReadInputSimplePublicObjectId.php index 94052352e..81ad3b0ff 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Communications/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObject.php index c6aacb5b3..1a529f34d 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObjectWithErrors.php index dcb1f61d1..db3340d1d 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Communications/Model/CollectionResponseAssociatedId.php index 96777bed1..e3e953243 100644 --- a/codegen/Crm/Objects/Communications/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Communications/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Communications/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index a48631cfc..01363605a 100644 --- a/codegen/Crm/Objects/Communications/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Communications/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Communications/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index a3e46eb08..dc7cc7d11 100644 --- a/codegen/Crm/Objects/Communications/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Communications/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/Error.php b/codegen/Crm/Objects/Communications/Model/Error.php index 73945e60b..68d8fc40a 100644 --- a/codegen/Crm/Objects/Communications/Model/Error.php +++ b/codegen/Crm/Objects/Communications/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/ErrorDetail.php b/codegen/Crm/Objects/Communications/Model/ErrorDetail.php index f749ff672..9f19ef437 100644 --- a/codegen/Crm/Objects/Communications/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Communications/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/Filter.php b/codegen/Crm/Objects/Communications/Model/Filter.php index abf4b4dd4..57d5d74b6 100644 --- a/codegen/Crm/Objects/Communications/Model/Filter.php +++ b/codegen/Crm/Objects/Communications/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/FilterGroup.php b/codegen/Crm/Objects/Communications/Model/FilterGroup.php index 843631701..141f4a370 100644 --- a/codegen/Crm/Objects/Communications/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Communications/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Objects/Communications/Model/ForwardPaging.php b/codegen/Crm/Objects/Communications/Model/ForwardPaging.php index f02593972..b92b1094c 100644 --- a/codegen/Crm/Objects/Communications/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Communications/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Objects/Communications/Model/NextPage.php b/codegen/Crm/Objects/Communications/Model/NextPage.php index 2dc9d92e9..e3c2c9a5b 100644 --- a/codegen/Crm/Objects/Communications/Model/NextPage.php +++ b/codegen/Crm/Objects/Communications/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/Paging.php b/codegen/Crm/Objects/Communications/Model/Paging.php index c729c731f..52090c910 100644 --- a/codegen/Crm/Objects/Communications/Model/Paging.php +++ b/codegen/Crm/Objects/Communications/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/PreviousPage.php b/codegen/Crm/Objects/Communications/Model/PreviousPage.php index 096ffb06c..870877adf 100644 --- a/codegen/Crm/Objects/Communications/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Communications/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Communications/Model/PublicAssociationsForObject.php index 29de20b3e..93da9bf3b 100644 --- a/codegen/Crm/Objects/Communications/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Communications/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/PublicMergeInput.php b/codegen/Crm/Objects/Communications/Model/PublicMergeInput.php index 7eea56c3b..b7cebabcf 100644 --- a/codegen/Crm/Objects/Communications/Model/PublicMergeInput.php +++ b/codegen/Crm/Objects/Communications/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/PublicObjectId.php b/codegen/Crm/Objects/Communications/Model/PublicObjectId.php index c5c14678b..9ca8c93bb 100644 --- a/codegen/Crm/Objects/Communications/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Communications/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Communications/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Communications/Model/PublicObjectSearchRequest.php index 5f91cd1ea..9cb8c5791 100644 --- a/codegen/Crm/Objects/Communications/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Communications/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObject.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObject.php index 4706f10bf..37c456f30 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectBatchInput.php index a22850e4a..ac74370d8 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectId.php index 368830c0f..df62ddf88 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInput.php index 7a38f7be9..c11a69011 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInputForCreate.php index 0d9b56ad5..c87b53f55 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectWithAssociations.php index ee6b15d39..9675234a8 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/StandardError.php b/codegen/Crm/Objects/Communications/Model/StandardError.php index 47cccb2c3..405c4affd 100644 --- a/codegen/Crm/Objects/Communications/Model/StandardError.php +++ b/codegen/Crm/Objects/Communications/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Communications/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Communications/Model/ValueWithTimestamp.php index 010db2732..48cace653 100644 --- a/codegen/Crm/Objects/Communications/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Communications/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Api/BasicApi.php b/codegen/Crm/Objects/Emails/Api/BasicApi.php index 7964f066c..94730c535 100644 --- a/codegen/Crm/Objects/Emails/Api/BasicApi.php +++ b/codegen/Crm/Objects/Emails/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Emails/Api/BatchApi.php b/codegen/Crm/Objects/Emails/Api/BatchApi.php index d50cc2dfd..c1fedf6be 100644 --- a/codegen/Crm/Objects/Emails/Api/BatchApi.php +++ b/codegen/Crm/Objects/Emails/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Emails/Api/PublicObjectApi.php b/codegen/Crm/Objects/Emails/Api/PublicObjectApi.php index 429a83ad6..87817cd83 100644 --- a/codegen/Crm/Objects/Emails/Api/PublicObjectApi.php +++ b/codegen/Crm/Objects/Emails/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Emails/Api/SearchApi.php b/codegen/Crm/Objects/Emails/Api/SearchApi.php index ed14eff29..69daf40dc 100644 --- a/codegen/Crm/Objects/Emails/Api/SearchApi.php +++ b/codegen/Crm/Objects/Emails/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Emails/Model/AssociatedId.php b/codegen/Crm/Objects/Emails/Model/AssociatedId.php index 61858ef74..6f44b1a08 100644 --- a/codegen/Crm/Objects/Emails/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Emails/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/AssociationSpec.php b/codegen/Crm/Objects/Emails/Model/AssociationSpec.php index 46e4d8a05..46e0b916c 100644 --- a/codegen/Crm/Objects/Emails/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Emails/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectBatchInput.php index 5d830dcf4..f29de440a 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectId.php index 53ea9b3a4..5f37b942a 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectInputForCreate.php index 590a215c6..45426bc7d 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Emails/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Emails/Model/BatchReadInputSimplePublicObjectId.php index eef376a9c..49335ced7 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Emails/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObject.php index d52c0908e..ef839054d 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObjectWithErrors.php index 39bf17cf8..0ab4d2439 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Emails/Model/CollectionResponseAssociatedId.php index 5f59b424d..1ddb64a09 100644 --- a/codegen/Crm/Objects/Emails/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Emails/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Emails/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 16a86e3f3..6a8eec9d3 100644 --- a/codegen/Crm/Objects/Emails/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Emails/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Emails/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index e2f7a4845..737905679 100644 --- a/codegen/Crm/Objects/Emails/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Emails/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/Error.php b/codegen/Crm/Objects/Emails/Model/Error.php index 502cbc9e0..2f1af3c17 100644 --- a/codegen/Crm/Objects/Emails/Model/Error.php +++ b/codegen/Crm/Objects/Emails/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/ErrorDetail.php b/codegen/Crm/Objects/Emails/Model/ErrorDetail.php index e1629d68a..cf7162f29 100644 --- a/codegen/Crm/Objects/Emails/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Emails/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/Filter.php b/codegen/Crm/Objects/Emails/Model/Filter.php index 172db499e..63a5c53d8 100644 --- a/codegen/Crm/Objects/Emails/Model/Filter.php +++ b/codegen/Crm/Objects/Emails/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/FilterGroup.php b/codegen/Crm/Objects/Emails/Model/FilterGroup.php index 8bac683b6..2f06b3764 100644 --- a/codegen/Crm/Objects/Emails/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Emails/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Objects/Emails/Model/ForwardPaging.php b/codegen/Crm/Objects/Emails/Model/ForwardPaging.php index 2f9818851..93fa6b88b 100644 --- a/codegen/Crm/Objects/Emails/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Emails/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Objects/Emails/Model/NextPage.php b/codegen/Crm/Objects/Emails/Model/NextPage.php index 7b396f7b0..78ef4d74b 100644 --- a/codegen/Crm/Objects/Emails/Model/NextPage.php +++ b/codegen/Crm/Objects/Emails/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/Paging.php b/codegen/Crm/Objects/Emails/Model/Paging.php index bb9a43a70..cb37445d4 100644 --- a/codegen/Crm/Objects/Emails/Model/Paging.php +++ b/codegen/Crm/Objects/Emails/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/PreviousPage.php b/codegen/Crm/Objects/Emails/Model/PreviousPage.php index 10d1603f2..dde6fb5af 100644 --- a/codegen/Crm/Objects/Emails/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Emails/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Emails/Model/PublicAssociationsForObject.php index 705510863..a73bb0fdb 100644 --- a/codegen/Crm/Objects/Emails/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Emails/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/PublicMergeInput.php b/codegen/Crm/Objects/Emails/Model/PublicMergeInput.php index d36019760..1f777e4f7 100644 --- a/codegen/Crm/Objects/Emails/Model/PublicMergeInput.php +++ b/codegen/Crm/Objects/Emails/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/PublicObjectId.php b/codegen/Crm/Objects/Emails/Model/PublicObjectId.php index efffd8f47..99e87a734 100644 --- a/codegen/Crm/Objects/Emails/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Emails/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Emails/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Emails/Model/PublicObjectSearchRequest.php index 36d23c733..3bea6e6fc 100644 --- a/codegen/Crm/Objects/Emails/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Emails/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObject.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObject.php index 5e7663dab..26bf8aa2c 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectBatchInput.php index 1188a02ec..9ded373ee 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectId.php index afecf6a8d..8ea8e06c0 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInput.php index ce074979b..0c9017190 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInputForCreate.php index 5a4f8c60e..abf0f1d87 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectWithAssociations.php index a4335cd61..44c5e3f5f 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/StandardError.php b/codegen/Crm/Objects/Emails/Model/StandardError.php index d4025532f..5e96e09dd 100644 --- a/codegen/Crm/Objects/Emails/Model/StandardError.php +++ b/codegen/Crm/Objects/Emails/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Emails/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Emails/Model/ValueWithTimestamp.php index 80d5dc436..3f3fbe032 100644 --- a/codegen/Crm/Objects/Emails/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Emails/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Api/BasicApi.php b/codegen/Crm/Objects/FeedbackSubmissions/Api/BasicApi.php index 551ac8e5b..af166bfb5 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Api/BasicApi.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Api/BatchApi.php b/codegen/Crm/Objects/FeedbackSubmissions/Api/BatchApi.php index 0f6256e83..b201387c5 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Api/BatchApi.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Api/PublicObjectApi.php b/codegen/Crm/Objects/FeedbackSubmissions/Api/PublicObjectApi.php index bd02896db..2ee1a98f6 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Api/PublicObjectApi.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Api/SearchApi.php b/codegen/Crm/Objects/FeedbackSubmissions/Api/SearchApi.php index 46f92b43f..021303a3e 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Api/SearchApi.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/AssociatedId.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/AssociatedId.php index e84cd3683..b150b04a9 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/AssociatedId.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/AssociationSpec.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/AssociationSpec.php index c635c46f2..3c384cc1b 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchInputSimplePublicObjectBatchInput.php index 0bc19eb94..ef963be74 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchInputSimplePublicObjectId.php index 22fde43db..d863f3bb5 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchInputSimplePublicObjectInputForCreate.php index f4e792daf..6d005e287 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchReadInputSimplePublicObjectId.php index b08e34441..031ef299e 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObject.php index 111f85499..780b60808 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObjectWithErrors.php index c9eb47e7f..e1758ff47 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseAssociatedId.php index e07d9b135..61735b7f5 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 405550e97..2bce70acd 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 342eb67a0..852ae9abb 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/Error.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/Error.php index 16bcb9873..8fdc9c19e 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/Error.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/ErrorDetail.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/ErrorDetail.php index f32b72c2f..30c26c711 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/Filter.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/Filter.php index 3fbdadcdc..aa0bfc74b 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/Filter.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/FilterGroup.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/FilterGroup.php index f6cdafd8d..d72929f1a 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/FilterGroup.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/ForwardPaging.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/ForwardPaging.php index d2ce48d3f..7f96f0d2a 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/NextPage.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/NextPage.php index b85ab63ca..1ad35582c 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/NextPage.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/Paging.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/Paging.php index 4b34c1968..842072672 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/Paging.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/PreviousPage.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/PreviousPage.php index 29e461374..52c348bcc 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/PreviousPage.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicAssociationsForObject.php index acb48c018..88beee7f8 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicMergeInput.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicMergeInput.php index bc5d1b20a..7f7d6e6f7 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicMergeInput.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicObjectId.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicObjectId.php index 141b2faa7..60b410a5b 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicObjectSearchRequest.php index 0b47100f6..4f8ab58da 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObject.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObject.php index a7e1a0999..fd37f41d7 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectBatchInput.php index 2504055d4..c70a59221 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectId.php index 88bd1622a..0a2fb9d27 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectInput.php index 1f8c31997..c2b799353 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectInputForCreate.php index 35cfe4626..7a32b9a43 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectWithAssociations.php index 26a4c7ec4..2183742e2 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/StandardError.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/StandardError.php index 37c7234c4..594a0cbc1 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/StandardError.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/ValueWithTimestamp.php index a2adab0a6..6cd20b10e 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Api/BasicApi.php b/codegen/Crm/Objects/Goals/Api/BasicApi.php index 41016fa5d..8ec098636 100644 --- a/codegen/Crm/Objects/Goals/Api/BasicApi.php +++ b/codegen/Crm/Objects/Goals/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Goals/Api/BatchApi.php b/codegen/Crm/Objects/Goals/Api/BatchApi.php index 01e602fb3..f389d6189 100644 --- a/codegen/Crm/Objects/Goals/Api/BatchApi.php +++ b/codegen/Crm/Objects/Goals/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Goals/Api/GDPRApi.php b/codegen/Crm/Objects/Goals/Api/GDPRApi.php index 4aad90379..f5241513e 100644 --- a/codegen/Crm/Objects/Goals/Api/GDPRApi.php +++ b/codegen/Crm/Objects/Goals/Api/GDPRApi.php @@ -76,9 +76,9 @@ class GDPRApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Goals/Api/PublicObjectApi.php b/codegen/Crm/Objects/Goals/Api/PublicObjectApi.php index 7bbaacd08..725699dc0 100644 --- a/codegen/Crm/Objects/Goals/Api/PublicObjectApi.php +++ b/codegen/Crm/Objects/Goals/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Goals/Api/SearchApi.php b/codegen/Crm/Objects/Goals/Api/SearchApi.php index b61bd57be..06ecf3048 100644 --- a/codegen/Crm/Objects/Goals/Api/SearchApi.php +++ b/codegen/Crm/Objects/Goals/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Goals/Model/AssociatedId.php b/codegen/Crm/Objects/Goals/Model/AssociatedId.php index 98f50ada1..11e0164e7 100644 --- a/codegen/Crm/Objects/Goals/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Goals/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/AssociationSpec.php b/codegen/Crm/Objects/Goals/Model/AssociationSpec.php index ba5db4c91..198a30424 100644 --- a/codegen/Crm/Objects/Goals/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Goals/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Goals/Model/BatchInputSimplePublicObjectBatchInput.php index f18664f9f..a0dbdf75c 100644 --- a/codegen/Crm/Objects/Goals/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Goals/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Goals/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Goals/Model/BatchInputSimplePublicObjectId.php index 4ce46cfe3..2b55f37de 100644 --- a/codegen/Crm/Objects/Goals/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Goals/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Goals/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Goals/Model/BatchInputSimplePublicObjectInputForCreate.php index 04b09e687..88b9d7fc7 100644 --- a/codegen/Crm/Objects/Goals/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Goals/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Goals/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Goals/Model/BatchReadInputSimplePublicObjectId.php index 7c70a75aa..8fb1941bf 100644 --- a/codegen/Crm/Objects/Goals/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Goals/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; $this->container['id_property'] = $data['id_property'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObject.php index 42f1005df..881e8beac 100644 --- a/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['requested_at'] = $data['requested_at'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObjectWithErrors.php index ab64546cf..c365cfe2d 100644 --- a/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['num_errors'] = $data['num_errors'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Goals/Model/CollectionResponseAssociatedId.php index c0fe708c2..bfcb0dd63 100644 --- a/codegen/Crm/Objects/Goals/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Goals/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['paging'] = $data['paging'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Goals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 73bd3b85e..8057736e5 100644 --- a/codegen/Crm/Objects/Goals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Goals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['paging'] = $data['paging'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Goals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index cd98aeddb..3d62b7c81 100644 --- a/codegen/Crm/Objects/Goals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Goals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/Error.php b/codegen/Crm/Objects/Goals/Model/Error.php index a6de98b95..57a53deb2 100644 --- a/codegen/Crm/Objects/Goals/Model/Error.php +++ b/codegen/Crm/Objects/Goals/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/ErrorDetail.php b/codegen/Crm/Objects/Goals/Model/ErrorDetail.php index 0adfe1e18..ff6137872 100644 --- a/codegen/Crm/Objects/Goals/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Goals/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['code'] = $data['code'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/Filter.php b/codegen/Crm/Objects/Goals/Model/Filter.php index 23db9b51a..9e8a9ee70 100644 --- a/codegen/Crm/Objects/Goals/Model/Filter.php +++ b/codegen/Crm/Objects/Goals/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['high_value'] = $data['high_value'] ?? null; $this->container['property_name'] = $data['property_name'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/FilterGroup.php b/codegen/Crm/Objects/Goals/Model/FilterGroup.php index 74b9adedc..acf8cef9a 100644 --- a/codegen/Crm/Objects/Goals/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Goals/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Objects/Goals/Model/ForwardPaging.php b/codegen/Crm/Objects/Goals/Model/ForwardPaging.php index b67869148..fe5491f8b 100644 --- a/codegen/Crm/Objects/Goals/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Goals/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Objects/Goals/Model/NextPage.php b/codegen/Crm/Objects/Goals/Model/NextPage.php index aecb3fb1e..6a795a5e9 100644 --- a/codegen/Crm/Objects/Goals/Model/NextPage.php +++ b/codegen/Crm/Objects/Goals/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['link'] = $data['link'] ?? null; $this->container['after'] = $data['after'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/Paging.php b/codegen/Crm/Objects/Goals/Model/Paging.php index 2617d7fd7..c29cc9ac3 100644 --- a/codegen/Crm/Objects/Goals/Model/Paging.php +++ b/codegen/Crm/Objects/Goals/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/PreviousPage.php b/codegen/Crm/Objects/Goals/Model/PreviousPage.php index 814508a3c..8dfd796ac 100644 --- a/codegen/Crm/Objects/Goals/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Goals/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Goals/Model/PublicAssociationsForObject.php index 9f10cd676..b1602e692 100644 --- a/codegen/Crm/Objects/Goals/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Goals/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['types'] = $data['types'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/PublicGdprDeleteInput.php b/codegen/Crm/Objects/Goals/Model/PublicGdprDeleteInput.php index e1457f814..611814bc9 100644 --- a/codegen/Crm/Objects/Goals/Model/PublicGdprDeleteInput.php +++ b/codegen/Crm/Objects/Goals/Model/PublicGdprDeleteInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id_property'] = $data['id_property'] ?? null; $this->container['object_id'] = $data['object_id'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/PublicMergeInput.php b/codegen/Crm/Objects/Goals/Model/PublicMergeInput.php index 62e324e9d..8da09411d 100644 --- a/codegen/Crm/Objects/Goals/Model/PublicMergeInput.php +++ b/codegen/Crm/Objects/Goals/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/PublicObjectId.php b/codegen/Crm/Objects/Goals/Model/PublicObjectId.php index 675ebcb6f..83b06bba7 100644 --- a/codegen/Crm/Objects/Goals/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Goals/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Goals/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Goals/Model/PublicObjectSearchRequest.php index f07efbbb6..38a98f67b 100644 --- a/codegen/Crm/Objects/Goals/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Goals/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['query'] = $data['query'] ?? null; $this->container['limit'] = $data['limit'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/SimplePublicObject.php b/codegen/Crm/Objects/Goals/Model/SimplePublicObject.php index ac2186169..93b4c0154 100644 --- a/codegen/Crm/Objects/Goals/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Goals/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['created_at'] = $data['created_at'] ?? null; $this->container['archived'] = $data['archived'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectBatchInput.php index bc31ca092..4af1e56a4 100644 --- a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectId.php index b1b60e576..7436fb718 100644 --- a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectInput.php index 5b03c7954..d976eb139 100644 --- a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectInputForCreate.php index 99179d906..398cc3c81 100644 --- a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['associations'] = $data['associations'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectWithAssociations.php index e05d6c3b8..62eeb9fec 100644 --- a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['associations'] = $data['associations'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/StandardError.php b/codegen/Crm/Objects/Goals/Model/StandardError.php index 168d81d5d..db6b01d9c 100644 --- a/codegen/Crm/Objects/Goals/Model/StandardError.php +++ b/codegen/Crm/Objects/Goals/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Crm/Objects/Goals/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Goals/Model/ValueWithTimestamp.php index bbc5fd6f2..353f6d150 100644 --- a/codegen/Crm/Objects/Goals/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Goals/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['source_id'] = $data['source_id'] ?? null; $this->container['source_type'] = $data['source_type'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Api/BasicApi.php b/codegen/Crm/Objects/Meetings/Api/BasicApi.php index 645027af6..5b71a0557 100644 --- a/codegen/Crm/Objects/Meetings/Api/BasicApi.php +++ b/codegen/Crm/Objects/Meetings/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Meetings/Api/BatchApi.php b/codegen/Crm/Objects/Meetings/Api/BatchApi.php index 5e2c63661..817562657 100644 --- a/codegen/Crm/Objects/Meetings/Api/BatchApi.php +++ b/codegen/Crm/Objects/Meetings/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Meetings/Api/PublicObjectApi.php b/codegen/Crm/Objects/Meetings/Api/PublicObjectApi.php index 914c94ae1..446ed566a 100644 --- a/codegen/Crm/Objects/Meetings/Api/PublicObjectApi.php +++ b/codegen/Crm/Objects/Meetings/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Meetings/Api/SearchApi.php b/codegen/Crm/Objects/Meetings/Api/SearchApi.php index a24174b38..3f35e940c 100644 --- a/codegen/Crm/Objects/Meetings/Api/SearchApi.php +++ b/codegen/Crm/Objects/Meetings/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Meetings/Model/AssociatedId.php b/codegen/Crm/Objects/Meetings/Model/AssociatedId.php index e537622a0..1b2c8a917 100644 --- a/codegen/Crm/Objects/Meetings/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Meetings/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/AssociationSpec.php b/codegen/Crm/Objects/Meetings/Model/AssociationSpec.php index 2068fc841..d383bf12b 100644 --- a/codegen/Crm/Objects/Meetings/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Meetings/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectBatchInput.php index bd61fdb8e..b39719c4e 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectId.php index cb77da648..0ac726b88 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectInputForCreate.php index 442fd6717..65e4e8cfb 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Meetings/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Meetings/Model/BatchReadInputSimplePublicObjectId.php index c6d3c2592..844b3532e 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObject.php index 4c90808ed..f04bdcef4 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObjectWithErrors.php index 99e6b344b..bafe558a6 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Meetings/Model/CollectionResponseAssociatedId.php index c3eb8e74f..0ad2881a4 100644 --- a/codegen/Crm/Objects/Meetings/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Meetings/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Meetings/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index bc899f9d8..4d2d35854 100644 --- a/codegen/Crm/Objects/Meetings/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Meetings/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Meetings/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 4672981e5..26ae19fa6 100644 --- a/codegen/Crm/Objects/Meetings/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Meetings/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/Error.php b/codegen/Crm/Objects/Meetings/Model/Error.php index 2b952f700..e475f0170 100644 --- a/codegen/Crm/Objects/Meetings/Model/Error.php +++ b/codegen/Crm/Objects/Meetings/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/ErrorDetail.php b/codegen/Crm/Objects/Meetings/Model/ErrorDetail.php index 37d58863d..93dc1d4c9 100644 --- a/codegen/Crm/Objects/Meetings/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Meetings/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/Filter.php b/codegen/Crm/Objects/Meetings/Model/Filter.php index b415f01ff..414f264ee 100644 --- a/codegen/Crm/Objects/Meetings/Model/Filter.php +++ b/codegen/Crm/Objects/Meetings/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/FilterGroup.php b/codegen/Crm/Objects/Meetings/Model/FilterGroup.php index e9302a38f..414d8f0a1 100644 --- a/codegen/Crm/Objects/Meetings/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Meetings/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Objects/Meetings/Model/ForwardPaging.php b/codegen/Crm/Objects/Meetings/Model/ForwardPaging.php index cbac17755..2b59f5fe0 100644 --- a/codegen/Crm/Objects/Meetings/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Meetings/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Objects/Meetings/Model/NextPage.php b/codegen/Crm/Objects/Meetings/Model/NextPage.php index b7fa74302..a79e32b23 100644 --- a/codegen/Crm/Objects/Meetings/Model/NextPage.php +++ b/codegen/Crm/Objects/Meetings/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/Paging.php b/codegen/Crm/Objects/Meetings/Model/Paging.php index 938cf0079..6057d867c 100644 --- a/codegen/Crm/Objects/Meetings/Model/Paging.php +++ b/codegen/Crm/Objects/Meetings/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/PreviousPage.php b/codegen/Crm/Objects/Meetings/Model/PreviousPage.php index 23c500d2d..42138650f 100644 --- a/codegen/Crm/Objects/Meetings/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Meetings/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Meetings/Model/PublicAssociationsForObject.php index a1085948e..3c8fc1582 100644 --- a/codegen/Crm/Objects/Meetings/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Meetings/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/PublicMergeInput.php b/codegen/Crm/Objects/Meetings/Model/PublicMergeInput.php index 1e5480948..82676691e 100644 --- a/codegen/Crm/Objects/Meetings/Model/PublicMergeInput.php +++ b/codegen/Crm/Objects/Meetings/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/PublicObjectId.php b/codegen/Crm/Objects/Meetings/Model/PublicObjectId.php index 3c2cc8d88..bcda81d8a 100644 --- a/codegen/Crm/Objects/Meetings/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Meetings/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Meetings/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Meetings/Model/PublicObjectSearchRequest.php index 3a5c5d3be..39b4f4c35 100644 --- a/codegen/Crm/Objects/Meetings/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Meetings/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObject.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObject.php index 3d68af2da..de8cdeb8c 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectBatchInput.php index 7a2b2b04f..0f47fcadf 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectId.php index 66e8c3917..68e9adb12 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInput.php index 59c09bc9a..128a457df 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInputForCreate.php index 2aea1d3a8..d245d0026 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectWithAssociations.php index 8e58782ce..ea3ba29d0 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/StandardError.php b/codegen/Crm/Objects/Meetings/Model/StandardError.php index 3eacfd980..13eb9dba1 100644 --- a/codegen/Crm/Objects/Meetings/Model/StandardError.php +++ b/codegen/Crm/Objects/Meetings/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Meetings/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Meetings/Model/ValueWithTimestamp.php index c61b9be8e..47439a2c8 100644 --- a/codegen/Crm/Objects/Meetings/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Meetings/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Objects/Model/AssociatedId.php b/codegen/Crm/Objects/Model/AssociatedId.php index 572b0f62a..a2bafa642 100644 --- a/codegen/Crm/Objects/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Objects/Model/AssociationSpec.php b/codegen/Crm/Objects/Model/AssociationSpec.php index 61535c79a..5cfc47ce0 100644 --- a/codegen/Crm/Objects/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectBatchInput.php index 5c78d33af..84be136fd 100644 --- a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectId.php index 1ac80d171..968bce3d3 100644 --- a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectInputForCreate.php index 42e543730..60d37b238 100644 --- a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Model/BatchReadInputSimplePublicObjectId.php index 487b70922..c00031b1d 100644 --- a/codegen/Crm/Objects/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Objects/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Model/BatchResponseSimplePublicObject.php index 5ab757498..ca97127a2 100644 --- a/codegen/Crm/Objects/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Model/BatchResponseSimplePublicObjectWithErrors.php index 1d6789934..47fff5197 100644 --- a/codegen/Crm/Objects/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Model/CollectionResponseAssociatedId.php index 17c5783b9..be227e233 100644 --- a/codegen/Crm/Objects/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Model/CollectionResponseAssociatedIdForwardPaging.php b/codegen/Crm/Objects/Model/CollectionResponseAssociatedIdForwardPaging.php index 85be5157d..864059dcd 100644 --- a/codegen/Crm/Objects/Model/CollectionResponseAssociatedIdForwardPaging.php +++ b/codegen/Crm/Objects/Model/CollectionResponseAssociatedIdForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index eeced759f..ff55040da 100644 --- a/codegen/Crm/Objects/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index dbe7c1760..246b014e9 100644 --- a/codegen/Crm/Objects/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Model/Error.php b/codegen/Crm/Objects/Model/Error.php index 198c09bbe..d02876644 100644 --- a/codegen/Crm/Objects/Model/Error.php +++ b/codegen/Crm/Objects/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Objects/Model/ErrorDetail.php b/codegen/Crm/Objects/Model/ErrorDetail.php index ecabe7123..9d312cb51 100644 --- a/codegen/Crm/Objects/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Objects/Model/Filter.php b/codegen/Crm/Objects/Model/Filter.php index b9c558cb5..705d33952 100644 --- a/codegen/Crm/Objects/Model/Filter.php +++ b/codegen/Crm/Objects/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Objects/Model/FilterGroup.php b/codegen/Crm/Objects/Model/FilterGroup.php index c0ed136e9..516f972a5 100644 --- a/codegen/Crm/Objects/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Objects/Model/ForwardPaging.php b/codegen/Crm/Objects/Model/ForwardPaging.php index 19559c23c..c7ddc66c7 100644 --- a/codegen/Crm/Objects/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Objects/Model/NextPage.php b/codegen/Crm/Objects/Model/NextPage.php index 3d8f50cf3..d72943d35 100644 --- a/codegen/Crm/Objects/Model/NextPage.php +++ b/codegen/Crm/Objects/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Model/Paging.php b/codegen/Crm/Objects/Model/Paging.php index 4276e65de..c97fc3719 100644 --- a/codegen/Crm/Objects/Model/Paging.php +++ b/codegen/Crm/Objects/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Objects/Model/PreviousPage.php b/codegen/Crm/Objects/Model/PreviousPage.php index 9cc90915e..654659367 100644 --- a/codegen/Crm/Objects/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Model/PublicAssociationsForObject.php index e4f0d2d8d..99699bc8f 100644 --- a/codegen/Crm/Objects/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Objects/Model/PublicGdprDeleteInput.php b/codegen/Crm/Objects/Model/PublicGdprDeleteInput.php index 41934f892..4d3a4d70b 100644 --- a/codegen/Crm/Objects/Model/PublicGdprDeleteInput.php +++ b/codegen/Crm/Objects/Model/PublicGdprDeleteInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object_id'] = $data['object_id'] ?? null; $this->container['id_property'] = $data['id_property'] ?? null; diff --git a/codegen/Crm/Objects/Model/PublicMergeInput.php b/codegen/Crm/Objects/Model/PublicMergeInput.php index 32bbfa595..efb1e99b5 100644 --- a/codegen/Crm/Objects/Model/PublicMergeInput.php +++ b/codegen/Crm/Objects/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Objects/Model/PublicObjectId.php b/codegen/Crm/Objects/Model/PublicObjectId.php index a195cba22..f901bf23a 100644 --- a/codegen/Crm/Objects/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Model/PublicObjectSearchRequest.php index 801bc63ad..6f2b011f8 100644 --- a/codegen/Crm/Objects/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Objects/Model/SimplePublicObject.php b/codegen/Crm/Objects/Model/SimplePublicObject.php index fc49087f6..8e0632599 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Model/SimplePublicObjectBatchInput.php index f90ea2290..6c0b5db37 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Model/SimplePublicObjectId.php index cf09f7d34..93dba4e0e 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Model/SimplePublicObjectInput.php index 9145bf0c4..84ebbd71e 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Objects/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Model/SimplePublicObjectInputForCreate.php index 22ef6949e..0b0c86afc 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Objects/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Model/SimplePublicObjectWithAssociations.php index 910563115..ed5ab7635 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Model/StandardError.php b/codegen/Crm/Objects/Model/StandardError.php index 1a5b2b72a..0ff5d0e76 100644 --- a/codegen/Crm/Objects/Model/StandardError.php +++ b/codegen/Crm/Objects/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Model/ValueWithTimestamp.php index b8461837f..27a31381b 100644 --- a/codegen/Crm/Objects/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Api/BasicApi.php b/codegen/Crm/Objects/Notes/Api/BasicApi.php index 039585329..60454a7ce 100644 --- a/codegen/Crm/Objects/Notes/Api/BasicApi.php +++ b/codegen/Crm/Objects/Notes/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Notes/Api/BatchApi.php b/codegen/Crm/Objects/Notes/Api/BatchApi.php index dba5f312f..5f848c573 100644 --- a/codegen/Crm/Objects/Notes/Api/BatchApi.php +++ b/codegen/Crm/Objects/Notes/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Notes/Api/PublicObjectApi.php b/codegen/Crm/Objects/Notes/Api/PublicObjectApi.php index d028a3d23..c61b2b224 100644 --- a/codegen/Crm/Objects/Notes/Api/PublicObjectApi.php +++ b/codegen/Crm/Objects/Notes/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Notes/Api/SearchApi.php b/codegen/Crm/Objects/Notes/Api/SearchApi.php index 643462864..4f3aa0a0a 100644 --- a/codegen/Crm/Objects/Notes/Api/SearchApi.php +++ b/codegen/Crm/Objects/Notes/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Notes/Model/AssociatedId.php b/codegen/Crm/Objects/Notes/Model/AssociatedId.php index 3bc438cc7..6f7aefbf7 100644 --- a/codegen/Crm/Objects/Notes/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Notes/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/AssociationSpec.php b/codegen/Crm/Objects/Notes/Model/AssociationSpec.php index 42543e84e..811915de1 100644 --- a/codegen/Crm/Objects/Notes/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Notes/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectBatchInput.php index b6fd7e9c9..2c4c08041 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectId.php index 867835175..ba91c127b 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectInputForCreate.php index 48fce6f37..64b397c77 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Notes/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Notes/Model/BatchReadInputSimplePublicObjectId.php index 18132963e..8c62c4355 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Notes/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObject.php index e9929dbe5..9869207f0 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObjectWithErrors.php index 0278abbf8..680e70b89 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Notes/Model/CollectionResponseAssociatedId.php index 52087674a..ae6a0ec9e 100644 --- a/codegen/Crm/Objects/Notes/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Notes/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Notes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 7b079380a..36d0fab8e 100644 --- a/codegen/Crm/Objects/Notes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Notes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Notes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 87c2d7b06..d964674c5 100644 --- a/codegen/Crm/Objects/Notes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Notes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/Error.php b/codegen/Crm/Objects/Notes/Model/Error.php index a2dd429bd..1dbfc9443 100644 --- a/codegen/Crm/Objects/Notes/Model/Error.php +++ b/codegen/Crm/Objects/Notes/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/ErrorDetail.php b/codegen/Crm/Objects/Notes/Model/ErrorDetail.php index 7e199ae32..639b9ff8b 100644 --- a/codegen/Crm/Objects/Notes/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Notes/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/Filter.php b/codegen/Crm/Objects/Notes/Model/Filter.php index 2703b38e4..6ee758fb7 100644 --- a/codegen/Crm/Objects/Notes/Model/Filter.php +++ b/codegen/Crm/Objects/Notes/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/FilterGroup.php b/codegen/Crm/Objects/Notes/Model/FilterGroup.php index 87f7750ae..88475ad89 100644 --- a/codegen/Crm/Objects/Notes/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Notes/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Objects/Notes/Model/ForwardPaging.php b/codegen/Crm/Objects/Notes/Model/ForwardPaging.php index 0b57c263c..2e52be56d 100644 --- a/codegen/Crm/Objects/Notes/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Notes/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Objects/Notes/Model/NextPage.php b/codegen/Crm/Objects/Notes/Model/NextPage.php index bc6547262..292b2414d 100644 --- a/codegen/Crm/Objects/Notes/Model/NextPage.php +++ b/codegen/Crm/Objects/Notes/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/Paging.php b/codegen/Crm/Objects/Notes/Model/Paging.php index 954c85864..b37e1bdc7 100644 --- a/codegen/Crm/Objects/Notes/Model/Paging.php +++ b/codegen/Crm/Objects/Notes/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/PreviousPage.php b/codegen/Crm/Objects/Notes/Model/PreviousPage.php index 02f690b2f..46e3600e3 100644 --- a/codegen/Crm/Objects/Notes/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Notes/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Notes/Model/PublicAssociationsForObject.php index d71837d92..6d69bca53 100644 --- a/codegen/Crm/Objects/Notes/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Notes/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/PublicMergeInput.php b/codegen/Crm/Objects/Notes/Model/PublicMergeInput.php index 9a080881c..56b87ba7d 100644 --- a/codegen/Crm/Objects/Notes/Model/PublicMergeInput.php +++ b/codegen/Crm/Objects/Notes/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/PublicObjectId.php b/codegen/Crm/Objects/Notes/Model/PublicObjectId.php index cb017fafc..9f6258c6f 100644 --- a/codegen/Crm/Objects/Notes/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Notes/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Notes/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Notes/Model/PublicObjectSearchRequest.php index 714a22e57..0569ecfbb 100644 --- a/codegen/Crm/Objects/Notes/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Notes/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObject.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObject.php index 5c163fb88..bbe2bdd0f 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectBatchInput.php index 3c0c88a15..00319cc2a 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectId.php index 8f6ad8e24..d91c36beb 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInput.php index 7d9522471..3728f8d63 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInputForCreate.php index 04b5fbc9e..fd9a8ced3 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectWithAssociations.php index ab8d65c0c..d47cfbd31 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/StandardError.php b/codegen/Crm/Objects/Notes/Model/StandardError.php index 9817b924a..5d0eb9b00 100644 --- a/codegen/Crm/Objects/Notes/Model/StandardError.php +++ b/codegen/Crm/Objects/Notes/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Notes/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Notes/Model/ValueWithTimestamp.php index 1cf85d33f..1287da968 100644 --- a/codegen/Crm/Objects/Notes/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Notes/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Api/BasicApi.php b/codegen/Crm/Objects/PostalMail/Api/BasicApi.php index bf19a0af8..e6cd9a1aa 100644 --- a/codegen/Crm/Objects/PostalMail/Api/BasicApi.php +++ b/codegen/Crm/Objects/PostalMail/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/PostalMail/Api/BatchApi.php b/codegen/Crm/Objects/PostalMail/Api/BatchApi.php index dad30c8bd..15c78989a 100644 --- a/codegen/Crm/Objects/PostalMail/Api/BatchApi.php +++ b/codegen/Crm/Objects/PostalMail/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/PostalMail/Api/PublicObjectApi.php b/codegen/Crm/Objects/PostalMail/Api/PublicObjectApi.php index 933312cae..6aa12ff3c 100644 --- a/codegen/Crm/Objects/PostalMail/Api/PublicObjectApi.php +++ b/codegen/Crm/Objects/PostalMail/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/PostalMail/Api/SearchApi.php b/codegen/Crm/Objects/PostalMail/Api/SearchApi.php index 3d3abedc1..321464ee8 100644 --- a/codegen/Crm/Objects/PostalMail/Api/SearchApi.php +++ b/codegen/Crm/Objects/PostalMail/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/PostalMail/Model/AssociatedId.php b/codegen/Crm/Objects/PostalMail/Model/AssociatedId.php index 1afb21f65..607bb26e5 100644 --- a/codegen/Crm/Objects/PostalMail/Model/AssociatedId.php +++ b/codegen/Crm/Objects/PostalMail/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/AssociationSpec.php b/codegen/Crm/Objects/PostalMail/Model/AssociationSpec.php index 064bcf866..af6fb8488 100644 --- a/codegen/Crm/Objects/PostalMail/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/PostalMail/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectBatchInput.php index 316afe8b8..2f3db1a4c 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectId.php index c417a7f19..e08c1a4f8 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectInputForCreate.php index 653216b0d..a1b56e585 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/PostalMail/Model/BatchReadInputSimplePublicObjectId.php index 12f9140db..5e6d0c891 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObject.php index 5aada94cc..2d62e6e43 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObjectWithErrors.php index e80b472ea..767a3e8d3 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/PostalMail/Model/CollectionResponseAssociatedId.php index 009f8a9a7..774aea574 100644 --- a/codegen/Crm/Objects/PostalMail/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/PostalMail/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/PostalMail/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 3caedd5f0..f6bc09e9e 100644 --- a/codegen/Crm/Objects/PostalMail/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/PostalMail/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/PostalMail/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 1e85ec99a..55fa535c9 100644 --- a/codegen/Crm/Objects/PostalMail/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/PostalMail/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/Error.php b/codegen/Crm/Objects/PostalMail/Model/Error.php index 698734f43..f362f9261 100644 --- a/codegen/Crm/Objects/PostalMail/Model/Error.php +++ b/codegen/Crm/Objects/PostalMail/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/ErrorDetail.php b/codegen/Crm/Objects/PostalMail/Model/ErrorDetail.php index 403f6646c..ea1c80eba 100644 --- a/codegen/Crm/Objects/PostalMail/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/PostalMail/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/Filter.php b/codegen/Crm/Objects/PostalMail/Model/Filter.php index 64fef61c3..2e7fc7e46 100644 --- a/codegen/Crm/Objects/PostalMail/Model/Filter.php +++ b/codegen/Crm/Objects/PostalMail/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/FilterGroup.php b/codegen/Crm/Objects/PostalMail/Model/FilterGroup.php index 4d745fd5a..b3bda252d 100644 --- a/codegen/Crm/Objects/PostalMail/Model/FilterGroup.php +++ b/codegen/Crm/Objects/PostalMail/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Objects/PostalMail/Model/ForwardPaging.php b/codegen/Crm/Objects/PostalMail/Model/ForwardPaging.php index 665119abb..289f25c59 100644 --- a/codegen/Crm/Objects/PostalMail/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/PostalMail/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Objects/PostalMail/Model/NextPage.php b/codegen/Crm/Objects/PostalMail/Model/NextPage.php index 78656d4fc..a511e0101 100644 --- a/codegen/Crm/Objects/PostalMail/Model/NextPage.php +++ b/codegen/Crm/Objects/PostalMail/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/Paging.php b/codegen/Crm/Objects/PostalMail/Model/Paging.php index 82b85b03c..59bd694a2 100644 --- a/codegen/Crm/Objects/PostalMail/Model/Paging.php +++ b/codegen/Crm/Objects/PostalMail/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/PreviousPage.php b/codegen/Crm/Objects/PostalMail/Model/PreviousPage.php index 21a10fe14..fa59b5351 100644 --- a/codegen/Crm/Objects/PostalMail/Model/PreviousPage.php +++ b/codegen/Crm/Objects/PostalMail/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/PostalMail/Model/PublicAssociationsForObject.php index 01ec97287..df7b05394 100644 --- a/codegen/Crm/Objects/PostalMail/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/PostalMail/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/PublicMergeInput.php b/codegen/Crm/Objects/PostalMail/Model/PublicMergeInput.php index 0288f5c5a..28ede8b28 100644 --- a/codegen/Crm/Objects/PostalMail/Model/PublicMergeInput.php +++ b/codegen/Crm/Objects/PostalMail/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/PublicObjectId.php b/codegen/Crm/Objects/PostalMail/Model/PublicObjectId.php index 0b3cdad3f..d267833a3 100644 --- a/codegen/Crm/Objects/PostalMail/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/PostalMail/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/PostalMail/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/PostalMail/Model/PublicObjectSearchRequest.php index a010d537e..b23144cfd 100644 --- a/codegen/Crm/Objects/PostalMail/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/PostalMail/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObject.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObject.php index 52167e30f..4c19774b0 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectBatchInput.php index 45732af76..4c2eb9cc4 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectId.php index f22165867..71a0e83fd 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInput.php index 0ec4947e6..e0de5b60c 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInputForCreate.php index fdba3912f..1001aba85 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectWithAssociations.php index 8ff04ec27..1487614ef 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/StandardError.php b/codegen/Crm/Objects/PostalMail/Model/StandardError.php index a7e08d671..3dbf39af9 100644 --- a/codegen/Crm/Objects/PostalMail/Model/StandardError.php +++ b/codegen/Crm/Objects/PostalMail/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/PostalMail/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/PostalMail/Model/ValueWithTimestamp.php index 3733f1a94..01303eb62 100644 --- a/codegen/Crm/Objects/PostalMail/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/PostalMail/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Api/BasicApi.php b/codegen/Crm/Objects/Tasks/Api/BasicApi.php index 725fdaeba..12a40d078 100644 --- a/codegen/Crm/Objects/Tasks/Api/BasicApi.php +++ b/codegen/Crm/Objects/Tasks/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Tasks/Api/BatchApi.php b/codegen/Crm/Objects/Tasks/Api/BatchApi.php index 99cfe1b0c..49333b48f 100644 --- a/codegen/Crm/Objects/Tasks/Api/BatchApi.php +++ b/codegen/Crm/Objects/Tasks/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Tasks/Api/PublicObjectApi.php b/codegen/Crm/Objects/Tasks/Api/PublicObjectApi.php index b74b087d4..33cb7c867 100644 --- a/codegen/Crm/Objects/Tasks/Api/PublicObjectApi.php +++ b/codegen/Crm/Objects/Tasks/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Tasks/Api/SearchApi.php b/codegen/Crm/Objects/Tasks/Api/SearchApi.php index f25bb6cc8..3e74ee016 100644 --- a/codegen/Crm/Objects/Tasks/Api/SearchApi.php +++ b/codegen/Crm/Objects/Tasks/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Tasks/Model/AssociatedId.php b/codegen/Crm/Objects/Tasks/Model/AssociatedId.php index d6ed2b0e6..76d780022 100644 --- a/codegen/Crm/Objects/Tasks/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Tasks/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/AssociationSpec.php b/codegen/Crm/Objects/Tasks/Model/AssociationSpec.php index fdef588f5..623f4197f 100644 --- a/codegen/Crm/Objects/Tasks/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Tasks/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectBatchInput.php index 37d71d6da..e5502c5f6 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectId.php index 8a65aa5c7..a4e6da2e3 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectInputForCreate.php index f6c379342..120a58fb1 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Tasks/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Tasks/Model/BatchReadInputSimplePublicObjectId.php index 55951a914..7aaaeff08 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObject.php index 663a175d9..e5917dd6c 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObjectWithErrors.php index cf9db3407..60be54ef8 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Tasks/Model/CollectionResponseAssociatedId.php index baecc2238..0c9d09ca5 100644 --- a/codegen/Crm/Objects/Tasks/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Tasks/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Tasks/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index ab6fc0dd6..e6ffd5e55 100644 --- a/codegen/Crm/Objects/Tasks/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Tasks/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Tasks/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index cb3f18ff8..15200ebd1 100644 --- a/codegen/Crm/Objects/Tasks/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Tasks/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/Error.php b/codegen/Crm/Objects/Tasks/Model/Error.php index 3a0502ae0..d62580789 100644 --- a/codegen/Crm/Objects/Tasks/Model/Error.php +++ b/codegen/Crm/Objects/Tasks/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/ErrorDetail.php b/codegen/Crm/Objects/Tasks/Model/ErrorDetail.php index 689333f4d..d4b0bf4eb 100644 --- a/codegen/Crm/Objects/Tasks/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Tasks/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/Filter.php b/codegen/Crm/Objects/Tasks/Model/Filter.php index 1b84d1013..a541f350d 100644 --- a/codegen/Crm/Objects/Tasks/Model/Filter.php +++ b/codegen/Crm/Objects/Tasks/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/FilterGroup.php b/codegen/Crm/Objects/Tasks/Model/FilterGroup.php index 1f5fa313b..7efd0ed3d 100644 --- a/codegen/Crm/Objects/Tasks/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Tasks/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Objects/Tasks/Model/ForwardPaging.php b/codegen/Crm/Objects/Tasks/Model/ForwardPaging.php index 8fbd89961..b974035b8 100644 --- a/codegen/Crm/Objects/Tasks/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Tasks/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Objects/Tasks/Model/NextPage.php b/codegen/Crm/Objects/Tasks/Model/NextPage.php index c30fd3122..f4adb1604 100644 --- a/codegen/Crm/Objects/Tasks/Model/NextPage.php +++ b/codegen/Crm/Objects/Tasks/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/Paging.php b/codegen/Crm/Objects/Tasks/Model/Paging.php index 6877c3a81..a944b91fb 100644 --- a/codegen/Crm/Objects/Tasks/Model/Paging.php +++ b/codegen/Crm/Objects/Tasks/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/PreviousPage.php b/codegen/Crm/Objects/Tasks/Model/PreviousPage.php index 925ce5532..074103ca5 100644 --- a/codegen/Crm/Objects/Tasks/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Tasks/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Tasks/Model/PublicAssociationsForObject.php index 2400c5fff..d3c80b268 100644 --- a/codegen/Crm/Objects/Tasks/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Tasks/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/PublicMergeInput.php b/codegen/Crm/Objects/Tasks/Model/PublicMergeInput.php index 89b0a5ec8..7a694c983 100644 --- a/codegen/Crm/Objects/Tasks/Model/PublicMergeInput.php +++ b/codegen/Crm/Objects/Tasks/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/PublicObjectId.php b/codegen/Crm/Objects/Tasks/Model/PublicObjectId.php index 3b42c02e0..797a02b64 100644 --- a/codegen/Crm/Objects/Tasks/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Tasks/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Tasks/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Tasks/Model/PublicObjectSearchRequest.php index c6dc09f45..748b6c597 100644 --- a/codegen/Crm/Objects/Tasks/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Tasks/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObject.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObject.php index 253aba22b..5ca50ffa4 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectBatchInput.php index 9a8fe789b..f4f1e0fe1 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectId.php index 432afc084..fbfb3754c 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInput.php index afc7e12ae..21ff0bd40 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInputForCreate.php index 920e094ee..face76ad1 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectWithAssociations.php index 82eea2f7a..50f18a807 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/StandardError.php b/codegen/Crm/Objects/Tasks/Model/StandardError.php index d4f672197..ab6d80793 100644 --- a/codegen/Crm/Objects/Tasks/Model/StandardError.php +++ b/codegen/Crm/Objects/Tasks/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Objects/Tasks/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Tasks/Model/ValueWithTimestamp.php index 5d57692bb..a86d88c0c 100644 --- a/codegen/Crm/Objects/Tasks/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Tasks/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Api/BasicApi.php b/codegen/Crm/Objects/Taxes/Api/BasicApi.php index 0b0e45856..d88b7f6b5 100644 --- a/codegen/Crm/Objects/Taxes/Api/BasicApi.php +++ b/codegen/Crm/Objects/Taxes/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Taxes/Api/BatchApi.php b/codegen/Crm/Objects/Taxes/Api/BatchApi.php index ac7cf4e20..e001103d3 100644 --- a/codegen/Crm/Objects/Taxes/Api/BatchApi.php +++ b/codegen/Crm/Objects/Taxes/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Taxes/Api/GDPRApi.php b/codegen/Crm/Objects/Taxes/Api/GDPRApi.php index 207a9582f..0715f0196 100644 --- a/codegen/Crm/Objects/Taxes/Api/GDPRApi.php +++ b/codegen/Crm/Objects/Taxes/Api/GDPRApi.php @@ -76,9 +76,9 @@ class GDPRApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Taxes/Api/PublicObjectApi.php b/codegen/Crm/Objects/Taxes/Api/PublicObjectApi.php index e171c7d0b..9ef7fbc7b 100644 --- a/codegen/Crm/Objects/Taxes/Api/PublicObjectApi.php +++ b/codegen/Crm/Objects/Taxes/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Taxes/Api/SearchApi.php b/codegen/Crm/Objects/Taxes/Api/SearchApi.php index e9286cfc7..bd00ab00e 100644 --- a/codegen/Crm/Objects/Taxes/Api/SearchApi.php +++ b/codegen/Crm/Objects/Taxes/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Taxes/Model/AssociatedId.php b/codegen/Crm/Objects/Taxes/Model/AssociatedId.php index bf6753f86..05c480914 100644 --- a/codegen/Crm/Objects/Taxes/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Taxes/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/AssociationSpec.php b/codegen/Crm/Objects/Taxes/Model/AssociationSpec.php index 672b45db7..fffaba057 100644 --- a/codegen/Crm/Objects/Taxes/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Taxes/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectBatchInput.php index dc4c555ab..0f42bf57c 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectId.php index 9de7f621f..972a7cab9 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectInputForCreate.php index 8a417869e..9112f7903 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Objects/Taxes/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Taxes/Model/BatchReadInputSimplePublicObjectId.php index 3fe82a724..659f76233 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; $this->container['id_property'] = $data['id_property'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObject.php index 9c5f04012..76df29bc4 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['requested_at'] = $data['requested_at'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObjectWithErrors.php index c65ea30b5..7b7750cf2 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['completed_at'] = $data['completed_at'] ?? null; $this->container['num_errors'] = $data['num_errors'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Taxes/Model/CollectionResponseAssociatedId.php index 1057211c4..5545995be 100644 --- a/codegen/Crm/Objects/Taxes/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Taxes/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['paging'] = $data['paging'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Taxes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index bbf9bbdca..c729964b2 100644 --- a/codegen/Crm/Objects/Taxes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Taxes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['paging'] = $data['paging'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Taxes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 0e947076c..244caff06 100644 --- a/codegen/Crm/Objects/Taxes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Taxes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/Error.php b/codegen/Crm/Objects/Taxes/Model/Error.php index 786432193..585fd5130 100644 --- a/codegen/Crm/Objects/Taxes/Model/Error.php +++ b/codegen/Crm/Objects/Taxes/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/ErrorDetail.php b/codegen/Crm/Objects/Taxes/Model/ErrorDetail.php index b325a643d..7141c64c2 100644 --- a/codegen/Crm/Objects/Taxes/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Taxes/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['code'] = $data['code'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/Filter.php b/codegen/Crm/Objects/Taxes/Model/Filter.php index f2a980b92..0b2fb15e1 100644 --- a/codegen/Crm/Objects/Taxes/Model/Filter.php +++ b/codegen/Crm/Objects/Taxes/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['high_value'] = $data['high_value'] ?? null; $this->container['property_name'] = $data['property_name'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/FilterGroup.php b/codegen/Crm/Objects/Taxes/Model/FilterGroup.php index eabfde6b3..d688953b8 100644 --- a/codegen/Crm/Objects/Taxes/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Taxes/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Objects/Taxes/Model/ForwardPaging.php b/codegen/Crm/Objects/Taxes/Model/ForwardPaging.php index 3136de2aa..d2df0ae03 100644 --- a/codegen/Crm/Objects/Taxes/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Taxes/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Objects/Taxes/Model/NextPage.php b/codegen/Crm/Objects/Taxes/Model/NextPage.php index 3decb20d9..723a5ebe0 100644 --- a/codegen/Crm/Objects/Taxes/Model/NextPage.php +++ b/codegen/Crm/Objects/Taxes/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['link'] = $data['link'] ?? null; $this->container['after'] = $data['after'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/Paging.php b/codegen/Crm/Objects/Taxes/Model/Paging.php index 0a14c21a9..774b411dc 100644 --- a/codegen/Crm/Objects/Taxes/Model/Paging.php +++ b/codegen/Crm/Objects/Taxes/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/PreviousPage.php b/codegen/Crm/Objects/Taxes/Model/PreviousPage.php index 5b2fcb19f..aabef78d0 100644 --- a/codegen/Crm/Objects/Taxes/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Taxes/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Taxes/Model/PublicAssociationsForObject.php index dd94bddc0..6191dcb75 100644 --- a/codegen/Crm/Objects/Taxes/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Taxes/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['types'] = $data['types'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/PublicGdprDeleteInput.php b/codegen/Crm/Objects/Taxes/Model/PublicGdprDeleteInput.php index 995bc84b7..27143949d 100644 --- a/codegen/Crm/Objects/Taxes/Model/PublicGdprDeleteInput.php +++ b/codegen/Crm/Objects/Taxes/Model/PublicGdprDeleteInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id_property'] = $data['id_property'] ?? null; $this->container['object_id'] = $data['object_id'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/PublicMergeInput.php b/codegen/Crm/Objects/Taxes/Model/PublicMergeInput.php index a22a282a2..790934977 100644 --- a/codegen/Crm/Objects/Taxes/Model/PublicMergeInput.php +++ b/codegen/Crm/Objects/Taxes/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/PublicObjectId.php b/codegen/Crm/Objects/Taxes/Model/PublicObjectId.php index 89ee2ba71..096f33afe 100644 --- a/codegen/Crm/Objects/Taxes/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Taxes/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Taxes/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Taxes/Model/PublicObjectSearchRequest.php index 98ab37c4f..609d5bbd4 100644 --- a/codegen/Crm/Objects/Taxes/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Taxes/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['query'] = $data['query'] ?? null; $this->container['limit'] = $data['limit'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObject.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObject.php index 1e273ade4..0e4875afd 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['created_at'] = $data['created_at'] ?? null; $this->container['archived'] = $data['archived'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectBatchInput.php index 521abb623..40ef98922 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectId.php index 58bca6cce..34c5a77bf 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInput.php index 2f8bd99c3..6d160e9bb 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInputForCreate.php index ccd4c3a52..b4da498a7 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['associations'] = $data['associations'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectWithAssociations.php index 39b876df6..1108fd170 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['associations'] = $data['associations'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/StandardError.php b/codegen/Crm/Objects/Taxes/Model/StandardError.php index 01630c721..eb63965cc 100644 --- a/codegen/Crm/Objects/Taxes/Model/StandardError.php +++ b/codegen/Crm/Objects/Taxes/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Crm/Objects/Taxes/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Taxes/Model/ValueWithTimestamp.php index 941b2fd70..480dc5c25 100644 --- a/codegen/Crm/Objects/Taxes/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Taxes/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['source_id'] = $data['source_id'] ?? null; $this->container['source_type'] = $data['source_type'] ?? null; diff --git a/codegen/Crm/Owners/Api/OwnersApi.php b/codegen/Crm/Owners/Api/OwnersApi.php index 1238e09ad..20ba77c78 100644 --- a/codegen/Crm/Owners/Api/OwnersApi.php +++ b/codegen/Crm/Owners/Api/OwnersApi.php @@ -76,9 +76,9 @@ class OwnersApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Owners/Model/CollectionResponsePublicOwnerForwardPaging.php b/codegen/Crm/Owners/Model/CollectionResponsePublicOwnerForwardPaging.php index b1f560781..d4cdc90a2 100644 --- a/codegen/Crm/Owners/Model/CollectionResponsePublicOwnerForwardPaging.php +++ b/codegen/Crm/Owners/Model/CollectionResponsePublicOwnerForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Owners/Model/Error.php b/codegen/Crm/Owners/Model/Error.php index 263815491..d3ea20fc0 100644 --- a/codegen/Crm/Owners/Model/Error.php +++ b/codegen/Crm/Owners/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Owners/Model/ErrorDetail.php b/codegen/Crm/Owners/Model/ErrorDetail.php index b97f8b542..a39c28861 100644 --- a/codegen/Crm/Owners/Model/ErrorDetail.php +++ b/codegen/Crm/Owners/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Owners/Model/ForwardPaging.php b/codegen/Crm/Owners/Model/ForwardPaging.php index bee630bb9..601ea2602 100644 --- a/codegen/Crm/Owners/Model/ForwardPaging.php +++ b/codegen/Crm/Owners/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Owners/Model/NextPage.php b/codegen/Crm/Owners/Model/NextPage.php index 90f345466..0e7706c92 100644 --- a/codegen/Crm/Owners/Model/NextPage.php +++ b/codegen/Crm/Owners/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Owners/Model/PublicOwner.php b/codegen/Crm/Owners/Model/PublicOwner.php index 40e2a4603..c2d452060 100644 --- a/codegen/Crm/Owners/Model/PublicOwner.php +++ b/codegen/Crm/Owners/Model/PublicOwner.php @@ -214,7 +214,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['email'] = $data['email'] ?? null; diff --git a/codegen/Crm/Owners/Model/PublicTeam.php b/codegen/Crm/Owners/Model/PublicTeam.php index c55afc26a..11111c298 100644 --- a/codegen/Crm/Owners/Model/PublicTeam.php +++ b/codegen/Crm/Owners/Model/PublicTeam.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Crm/Pipelines/Api/PipelineAuditsApi.php b/codegen/Crm/Pipelines/Api/PipelineAuditsApi.php index e725fc688..420e65d1f 100644 --- a/codegen/Crm/Pipelines/Api/PipelineAuditsApi.php +++ b/codegen/Crm/Pipelines/Api/PipelineAuditsApi.php @@ -76,9 +76,9 @@ class PipelineAuditsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Pipelines/Api/PipelineStageAuditsApi.php b/codegen/Crm/Pipelines/Api/PipelineStageAuditsApi.php index a92fa1f7d..3d15ffcfd 100644 --- a/codegen/Crm/Pipelines/Api/PipelineStageAuditsApi.php +++ b/codegen/Crm/Pipelines/Api/PipelineStageAuditsApi.php @@ -76,9 +76,9 @@ class PipelineStageAuditsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Pipelines/Api/PipelineStagesApi.php b/codegen/Crm/Pipelines/Api/PipelineStagesApi.php index 69adee42a..4989ae8d1 100644 --- a/codegen/Crm/Pipelines/Api/PipelineStagesApi.php +++ b/codegen/Crm/Pipelines/Api/PipelineStagesApi.php @@ -76,9 +76,9 @@ class PipelineStagesApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Pipelines/Api/PipelinesApi.php b/codegen/Crm/Pipelines/Api/PipelinesApi.php index bd2e516b1..88594d9b2 100644 --- a/codegen/Crm/Pipelines/Api/PipelinesApi.php +++ b/codegen/Crm/Pipelines/Api/PipelinesApi.php @@ -76,9 +76,9 @@ class PipelinesApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Pipelines/Model/CollectionResponsePipelineNoPaging.php b/codegen/Crm/Pipelines/Model/CollectionResponsePipelineNoPaging.php index 4a0a56497..bb4abdbd6 100644 --- a/codegen/Crm/Pipelines/Model/CollectionResponsePipelineNoPaging.php +++ b/codegen/Crm/Pipelines/Model/CollectionResponsePipelineNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Crm/Pipelines/Model/CollectionResponsePipelineStageNoPaging.php b/codegen/Crm/Pipelines/Model/CollectionResponsePipelineStageNoPaging.php index 34f0a8a9a..488f33ffa 100644 --- a/codegen/Crm/Pipelines/Model/CollectionResponsePipelineStageNoPaging.php +++ b/codegen/Crm/Pipelines/Model/CollectionResponsePipelineStageNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Crm/Pipelines/Model/CollectionResponsePublicAuditInfoNoPaging.php b/codegen/Crm/Pipelines/Model/CollectionResponsePublicAuditInfoNoPaging.php index 4fd2f6bf7..67247c815 100644 --- a/codegen/Crm/Pipelines/Model/CollectionResponsePublicAuditInfoNoPaging.php +++ b/codegen/Crm/Pipelines/Model/CollectionResponsePublicAuditInfoNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Crm/Pipelines/Model/Error.php b/codegen/Crm/Pipelines/Model/Error.php index a8a1f76fa..4c24ed406 100644 --- a/codegen/Crm/Pipelines/Model/Error.php +++ b/codegen/Crm/Pipelines/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Pipelines/Model/ErrorDetail.php b/codegen/Crm/Pipelines/Model/ErrorDetail.php index cf6e945ae..2cc334821 100644 --- a/codegen/Crm/Pipelines/Model/ErrorDetail.php +++ b/codegen/Crm/Pipelines/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Pipelines/Model/Pipeline.php b/codegen/Crm/Pipelines/Model/Pipeline.php index 384a9aa2f..acf09e269 100644 --- a/codegen/Crm/Pipelines/Model/Pipeline.php +++ b/codegen/Crm/Pipelines/Model/Pipeline.php @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['display_order'] = $data['display_order'] ?? null; diff --git a/codegen/Crm/Pipelines/Model/PipelineInput.php b/codegen/Crm/Pipelines/Model/PipelineInput.php index 11623ec68..df55ecc71 100644 --- a/codegen/Crm/Pipelines/Model/PipelineInput.php +++ b/codegen/Crm/Pipelines/Model/PipelineInput.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['display_order'] = $data['display_order'] ?? null; diff --git a/codegen/Crm/Pipelines/Model/PipelinePatchInput.php b/codegen/Crm/Pipelines/Model/PipelinePatchInput.php index 2dfa5ae58..f391fd172 100644 --- a/codegen/Crm/Pipelines/Model/PipelinePatchInput.php +++ b/codegen/Crm/Pipelines/Model/PipelinePatchInput.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['display_order'] = $data['display_order'] ?? null; diff --git a/codegen/Crm/Pipelines/Model/PipelineStage.php b/codegen/Crm/Pipelines/Model/PipelineStage.php index b264d2366..5ffb543a7 100644 --- a/codegen/Crm/Pipelines/Model/PipelineStage.php +++ b/codegen/Crm/Pipelines/Model/PipelineStage.php @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['display_order'] = $data['display_order'] ?? null; diff --git a/codegen/Crm/Pipelines/Model/PipelineStageInput.php b/codegen/Crm/Pipelines/Model/PipelineStageInput.php index 187316d6a..a2ada25a7 100644 --- a/codegen/Crm/Pipelines/Model/PipelineStageInput.php +++ b/codegen/Crm/Pipelines/Model/PipelineStageInput.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['display_order'] = $data['display_order'] ?? null; diff --git a/codegen/Crm/Pipelines/Model/PipelineStagePatchInput.php b/codegen/Crm/Pipelines/Model/PipelineStagePatchInput.php index 29fecd54a..c03dc5214 100644 --- a/codegen/Crm/Pipelines/Model/PipelineStagePatchInput.php +++ b/codegen/Crm/Pipelines/Model/PipelineStagePatchInput.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['archived'] = $data['archived'] ?? null; diff --git a/codegen/Crm/Pipelines/Model/PublicAuditInfo.php b/codegen/Crm/Pipelines/Model/PublicAuditInfo.php index 7a635e04a..753dc3958 100644 --- a/codegen/Crm/Pipelines/Model/PublicAuditInfo.php +++ b/codegen/Crm/Pipelines/Model/PublicAuditInfo.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['portal_id'] = $data['portal_id'] ?? null; $this->container['identifier'] = $data['identifier'] ?? null; diff --git a/codegen/Crm/Products/Api/BasicApi.php b/codegen/Crm/Products/Api/BasicApi.php index a8994a032..81243a076 100644 --- a/codegen/Crm/Products/Api/BasicApi.php +++ b/codegen/Crm/Products/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Products/Api/BatchApi.php b/codegen/Crm/Products/Api/BatchApi.php index 1ed6ec324..9c5a04964 100644 --- a/codegen/Crm/Products/Api/BatchApi.php +++ b/codegen/Crm/Products/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Products/Api/PublicObjectApi.php b/codegen/Crm/Products/Api/PublicObjectApi.php index 1339cc79d..f5effb28e 100644 --- a/codegen/Crm/Products/Api/PublicObjectApi.php +++ b/codegen/Crm/Products/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Products/Api/SearchApi.php b/codegen/Crm/Products/Api/SearchApi.php index f2f63fdd7..f8f46f24c 100644 --- a/codegen/Crm/Products/Api/SearchApi.php +++ b/codegen/Crm/Products/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Products/Model/AssociatedId.php b/codegen/Crm/Products/Model/AssociatedId.php index 5c393b5f2..8deb80c96 100644 --- a/codegen/Crm/Products/Model/AssociatedId.php +++ b/codegen/Crm/Products/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Products/Model/AssociationSpec.php b/codegen/Crm/Products/Model/AssociationSpec.php index 655fa8d22..3284f4905 100644 --- a/codegen/Crm/Products/Model/AssociationSpec.php +++ b/codegen/Crm/Products/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectBatchInput.php index 849f4a60b..ab17c3391 100644 --- a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectId.php index 60026d551..2a19d5823 100644 --- a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectInputForCreate.php index 8d59b987a..33d13eb30 100644 --- a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Products/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Products/Model/BatchReadInputSimplePublicObjectId.php index 17ec13e9a..ae7097609 100644 --- a/codegen/Crm/Products/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Products/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Products/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Products/Model/BatchResponseSimplePublicObject.php index 8a063ae0d..fc033557c 100644 --- a/codegen/Crm/Products/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Products/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Products/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Products/Model/BatchResponseSimplePublicObjectWithErrors.php index 921711865..141b51b5f 100644 --- a/codegen/Crm/Products/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Products/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Products/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Products/Model/CollectionResponseAssociatedId.php index 4344367fc..d3e9b3157 100644 --- a/codegen/Crm/Products/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Products/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Products/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Products/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 7330b39cd..c8b321529 100644 --- a/codegen/Crm/Products/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Products/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Products/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Products/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index b463a1c1b..ddb7cd515 100644 --- a/codegen/Crm/Products/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Products/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Products/Model/Error.php b/codegen/Crm/Products/Model/Error.php index 87edd8082..2255beb1f 100644 --- a/codegen/Crm/Products/Model/Error.php +++ b/codegen/Crm/Products/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Products/Model/ErrorDetail.php b/codegen/Crm/Products/Model/ErrorDetail.php index 145d7755e..3590d3df5 100644 --- a/codegen/Crm/Products/Model/ErrorDetail.php +++ b/codegen/Crm/Products/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Products/Model/Filter.php b/codegen/Crm/Products/Model/Filter.php index 4be92e5b9..6895dde42 100644 --- a/codegen/Crm/Products/Model/Filter.php +++ b/codegen/Crm/Products/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Products/Model/FilterGroup.php b/codegen/Crm/Products/Model/FilterGroup.php index b7ea4f657..5ef78468a 100644 --- a/codegen/Crm/Products/Model/FilterGroup.php +++ b/codegen/Crm/Products/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Products/Model/ForwardPaging.php b/codegen/Crm/Products/Model/ForwardPaging.php index bc4aa7c29..a7b366bd1 100644 --- a/codegen/Crm/Products/Model/ForwardPaging.php +++ b/codegen/Crm/Products/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Products/Model/NextPage.php b/codegen/Crm/Products/Model/NextPage.php index e26bad70c..03f30fa72 100644 --- a/codegen/Crm/Products/Model/NextPage.php +++ b/codegen/Crm/Products/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Products/Model/Paging.php b/codegen/Crm/Products/Model/Paging.php index 2a5c7299f..9cc3f0898 100644 --- a/codegen/Crm/Products/Model/Paging.php +++ b/codegen/Crm/Products/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Products/Model/PreviousPage.php b/codegen/Crm/Products/Model/PreviousPage.php index 6ac365185..71284e7a1 100644 --- a/codegen/Crm/Products/Model/PreviousPage.php +++ b/codegen/Crm/Products/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Products/Model/PublicAssociationsForObject.php b/codegen/Crm/Products/Model/PublicAssociationsForObject.php index 786d44b27..d6e8dcea4 100644 --- a/codegen/Crm/Products/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Products/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Products/Model/PublicMergeInput.php b/codegen/Crm/Products/Model/PublicMergeInput.php index 63fbb99a4..743cb747f 100644 --- a/codegen/Crm/Products/Model/PublicMergeInput.php +++ b/codegen/Crm/Products/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Products/Model/PublicObjectId.php b/codegen/Crm/Products/Model/PublicObjectId.php index 1210000a3..c53ed45f8 100644 --- a/codegen/Crm/Products/Model/PublicObjectId.php +++ b/codegen/Crm/Products/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Products/Model/PublicObjectSearchRequest.php b/codegen/Crm/Products/Model/PublicObjectSearchRequest.php index 18d0b61a8..473923528 100644 --- a/codegen/Crm/Products/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Products/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Products/Model/SimplePublicObject.php b/codegen/Crm/Products/Model/SimplePublicObject.php index d022f76d3..005d23fe9 100644 --- a/codegen/Crm/Products/Model/SimplePublicObject.php +++ b/codegen/Crm/Products/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Products/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Products/Model/SimplePublicObjectBatchInput.php index 1b5974c1d..b548efd8c 100644 --- a/codegen/Crm/Products/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Products/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Products/Model/SimplePublicObjectId.php b/codegen/Crm/Products/Model/SimplePublicObjectId.php index e547f9301..757a9fd1b 100644 --- a/codegen/Crm/Products/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Products/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Products/Model/SimplePublicObjectInput.php b/codegen/Crm/Products/Model/SimplePublicObjectInput.php index 6009b589a..1897057c1 100644 --- a/codegen/Crm/Products/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Products/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Products/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Products/Model/SimplePublicObjectInputForCreate.php index ff2927712..cb86c2a2c 100644 --- a/codegen/Crm/Products/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Products/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Products/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Products/Model/SimplePublicObjectWithAssociations.php index b4b4d8cb9..969d732e8 100644 --- a/codegen/Crm/Products/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Products/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Products/Model/StandardError.php b/codegen/Crm/Products/Model/StandardError.php index d04778819..e7abce155 100644 --- a/codegen/Crm/Products/Model/StandardError.php +++ b/codegen/Crm/Products/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Products/Model/ValueWithTimestamp.php b/codegen/Crm/Products/Model/ValueWithTimestamp.php index 36dcc00be..250dd4ea9 100644 --- a/codegen/Crm/Products/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Products/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Properties/Api/BatchApi.php b/codegen/Crm/Properties/Api/BatchApi.php index cecdc1095..6b2f657ec 100644 --- a/codegen/Crm/Properties/Api/BatchApi.php +++ b/codegen/Crm/Properties/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Properties/Api/CoreApi.php b/codegen/Crm/Properties/Api/CoreApi.php index 12ad2f4e4..9bda10e12 100644 --- a/codegen/Crm/Properties/Api/CoreApi.php +++ b/codegen/Crm/Properties/Api/CoreApi.php @@ -76,9 +76,9 @@ class CoreApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Properties/Api/GroupsApi.php b/codegen/Crm/Properties/Api/GroupsApi.php index fc96876f9..0f71aba47 100644 --- a/codegen/Crm/Properties/Api/GroupsApi.php +++ b/codegen/Crm/Properties/Api/GroupsApi.php @@ -76,9 +76,9 @@ class GroupsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Properties/Model/BatchInputPropertyCreate.php b/codegen/Crm/Properties/Model/BatchInputPropertyCreate.php index aa93046b8..98ab29f66 100644 --- a/codegen/Crm/Properties/Model/BatchInputPropertyCreate.php +++ b/codegen/Crm/Properties/Model/BatchInputPropertyCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Properties/Model/BatchInputPropertyName.php b/codegen/Crm/Properties/Model/BatchInputPropertyName.php index 8e31180d3..466043671 100644 --- a/codegen/Crm/Properties/Model/BatchInputPropertyName.php +++ b/codegen/Crm/Properties/Model/BatchInputPropertyName.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Properties/Model/BatchReadInputPropertyName.php b/codegen/Crm/Properties/Model/BatchReadInputPropertyName.php index d53785708..357eb62bd 100644 --- a/codegen/Crm/Properties/Model/BatchReadInputPropertyName.php +++ b/codegen/Crm/Properties/Model/BatchReadInputPropertyName.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['archived'] = $data['archived'] ?? null; $this->container['inputs'] = $data['inputs'] ?? null; diff --git a/codegen/Crm/Properties/Model/BatchResponseProperty.php b/codegen/Crm/Properties/Model/BatchResponseProperty.php index 5cd9fc569..cb5637007 100644 --- a/codegen/Crm/Properties/Model/BatchResponseProperty.php +++ b/codegen/Crm/Properties/Model/BatchResponseProperty.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Properties/Model/BatchResponsePropertyWithErrors.php b/codegen/Crm/Properties/Model/BatchResponsePropertyWithErrors.php index fe2961392..120707ea8 100644 --- a/codegen/Crm/Properties/Model/BatchResponsePropertyWithErrors.php +++ b/codegen/Crm/Properties/Model/BatchResponsePropertyWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Properties/Model/CollectionResponsePropertyGroupNoPaging.php b/codegen/Crm/Properties/Model/CollectionResponsePropertyGroupNoPaging.php index a458e6452..5975fc3de 100644 --- a/codegen/Crm/Properties/Model/CollectionResponsePropertyGroupNoPaging.php +++ b/codegen/Crm/Properties/Model/CollectionResponsePropertyGroupNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Crm/Properties/Model/CollectionResponsePropertyNoPaging.php b/codegen/Crm/Properties/Model/CollectionResponsePropertyNoPaging.php index 80b2a6801..13cfccb7b 100644 --- a/codegen/Crm/Properties/Model/CollectionResponsePropertyNoPaging.php +++ b/codegen/Crm/Properties/Model/CollectionResponsePropertyNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Crm/Properties/Model/Error.php b/codegen/Crm/Properties/Model/Error.php index be0a602f6..123230f59 100644 --- a/codegen/Crm/Properties/Model/Error.php +++ b/codegen/Crm/Properties/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Properties/Model/ErrorDetail.php b/codegen/Crm/Properties/Model/ErrorDetail.php index 6e8bc3301..8289f80a6 100644 --- a/codegen/Crm/Properties/Model/ErrorDetail.php +++ b/codegen/Crm/Properties/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Properties/Model/Option.php b/codegen/Crm/Properties/Model/Option.php index 256b71b15..b0fe7cea0 100644 --- a/codegen/Crm/Properties/Model/Option.php +++ b/codegen/Crm/Properties/Model/Option.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/codegen/Crm/Properties/Model/OptionInput.php b/codegen/Crm/Properties/Model/OptionInput.php index c27a34cca..18eaf7bf9 100644 --- a/codegen/Crm/Properties/Model/OptionInput.php +++ b/codegen/Crm/Properties/Model/OptionInput.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/codegen/Crm/Properties/Model/Property.php b/codegen/Crm/Properties/Model/Property.php index 1e5384382..d3f9b8ad9 100644 --- a/codegen/Crm/Properties/Model/Property.php +++ b/codegen/Crm/Properties/Model/Property.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['updated_at'] = $data['updated_at'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; diff --git a/codegen/Crm/Properties/Model/PropertyCreate.php b/codegen/Crm/Properties/Model/PropertyCreate.php index 7c603c12a..c9ee13749 100644 --- a/codegen/Crm/Properties/Model/PropertyCreate.php +++ b/codegen/Crm/Properties/Model/PropertyCreate.php @@ -293,7 +293,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Crm/Properties/Model/PropertyGroup.php b/codegen/Crm/Properties/Model/PropertyGroup.php index 5d4e47be1..8b14d22b8 100644 --- a/codegen/Crm/Properties/Model/PropertyGroup.php +++ b/codegen/Crm/Properties/Model/PropertyGroup.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Crm/Properties/Model/PropertyGroupCreate.php b/codegen/Crm/Properties/Model/PropertyGroupCreate.php index 01b2f8322..a6309eaf7 100644 --- a/codegen/Crm/Properties/Model/PropertyGroupCreate.php +++ b/codegen/Crm/Properties/Model/PropertyGroupCreate.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Crm/Properties/Model/PropertyGroupUpdate.php b/codegen/Crm/Properties/Model/PropertyGroupUpdate.php index 49a3c70dc..c7c5e53df 100644 --- a/codegen/Crm/Properties/Model/PropertyGroupUpdate.php +++ b/codegen/Crm/Properties/Model/PropertyGroupUpdate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['display_order'] = $data['display_order'] ?? null; diff --git a/codegen/Crm/Properties/Model/PropertyModificationMetadata.php b/codegen/Crm/Properties/Model/PropertyModificationMetadata.php index ff1305b38..dc5f6435a 100644 --- a/codegen/Crm/Properties/Model/PropertyModificationMetadata.php +++ b/codegen/Crm/Properties/Model/PropertyModificationMetadata.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['archivable'] = $data['archivable'] ?? null; $this->container['read_only_definition'] = $data['read_only_definition'] ?? null; diff --git a/codegen/Crm/Properties/Model/PropertyName.php b/codegen/Crm/Properties/Model/PropertyName.php index db14cea00..3f1102d2e 100644 --- a/codegen/Crm/Properties/Model/PropertyName.php +++ b/codegen/Crm/Properties/Model/PropertyName.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; } diff --git a/codegen/Crm/Properties/Model/PropertyUpdate.php b/codegen/Crm/Properties/Model/PropertyUpdate.php index c82832e4d..9c2e6c8d5 100644 --- a/codegen/Crm/Properties/Model/PropertyUpdate.php +++ b/codegen/Crm/Properties/Model/PropertyUpdate.php @@ -273,7 +273,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Properties/Model/StandardError.php b/codegen/Crm/Properties/Model/StandardError.php index 21a07540f..efbcd83ff 100644 --- a/codegen/Crm/Properties/Model/StandardError.php +++ b/codegen/Crm/Properties/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Quotes/Api/BasicApi.php b/codegen/Crm/Quotes/Api/BasicApi.php index 52d5ac1ad..54c6db501 100644 --- a/codegen/Crm/Quotes/Api/BasicApi.php +++ b/codegen/Crm/Quotes/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Quotes/Api/BatchApi.php b/codegen/Crm/Quotes/Api/BatchApi.php index 65092af76..080e9fc9c 100644 --- a/codegen/Crm/Quotes/Api/BatchApi.php +++ b/codegen/Crm/Quotes/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Quotes/Api/PublicObjectApi.php b/codegen/Crm/Quotes/Api/PublicObjectApi.php index dcd45b1c5..52de8c021 100644 --- a/codegen/Crm/Quotes/Api/PublicObjectApi.php +++ b/codegen/Crm/Quotes/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Quotes/Api/SearchApi.php b/codegen/Crm/Quotes/Api/SearchApi.php index 7113e10cb..2d3226a0c 100644 --- a/codegen/Crm/Quotes/Api/SearchApi.php +++ b/codegen/Crm/Quotes/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Quotes/Model/AssociatedId.php b/codegen/Crm/Quotes/Model/AssociatedId.php index 30a7845cb..8ab38da66 100644 --- a/codegen/Crm/Quotes/Model/AssociatedId.php +++ b/codegen/Crm/Quotes/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Quotes/Model/AssociationSpec.php b/codegen/Crm/Quotes/Model/AssociationSpec.php index df7150b30..dd86d4750 100644 --- a/codegen/Crm/Quotes/Model/AssociationSpec.php +++ b/codegen/Crm/Quotes/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectBatchInput.php index 085a3491b..5ddb50c3e 100644 --- a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectId.php index e2682d421..6d705e435 100644 --- a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectInputForCreate.php index 605ea32d1..a26355e52 100644 --- a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Quotes/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Quotes/Model/BatchReadInputSimplePublicObjectId.php index aa142e416..d36aa4545 100644 --- a/codegen/Crm/Quotes/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Quotes/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObject.php index 7eac91918..8e33fd4b6 100644 --- a/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObjectWithErrors.php index 23ad0a313..250369fc3 100644 --- a/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Quotes/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Quotes/Model/CollectionResponseAssociatedId.php index 7918e3fe8..0fd849af5 100644 --- a/codegen/Crm/Quotes/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Quotes/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Quotes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Quotes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 4c5d640d0..d55d1033e 100644 --- a/codegen/Crm/Quotes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Quotes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Quotes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Quotes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 70f69ed04..7ed1df2fa 100644 --- a/codegen/Crm/Quotes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Quotes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Quotes/Model/Error.php b/codegen/Crm/Quotes/Model/Error.php index a65476c76..ee3b515d5 100644 --- a/codegen/Crm/Quotes/Model/Error.php +++ b/codegen/Crm/Quotes/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Quotes/Model/ErrorDetail.php b/codegen/Crm/Quotes/Model/ErrorDetail.php index 704b51ffb..3c4f33451 100644 --- a/codegen/Crm/Quotes/Model/ErrorDetail.php +++ b/codegen/Crm/Quotes/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Quotes/Model/Filter.php b/codegen/Crm/Quotes/Model/Filter.php index 2a59c9242..15cac1b4f 100644 --- a/codegen/Crm/Quotes/Model/Filter.php +++ b/codegen/Crm/Quotes/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Quotes/Model/FilterGroup.php b/codegen/Crm/Quotes/Model/FilterGroup.php index c78d0117a..149b63ce4 100644 --- a/codegen/Crm/Quotes/Model/FilterGroup.php +++ b/codegen/Crm/Quotes/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Quotes/Model/ForwardPaging.php b/codegen/Crm/Quotes/Model/ForwardPaging.php index b11c88f39..56ce679c7 100644 --- a/codegen/Crm/Quotes/Model/ForwardPaging.php +++ b/codegen/Crm/Quotes/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Quotes/Model/NextPage.php b/codegen/Crm/Quotes/Model/NextPage.php index 9344726a3..60cbcff01 100644 --- a/codegen/Crm/Quotes/Model/NextPage.php +++ b/codegen/Crm/Quotes/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Quotes/Model/Paging.php b/codegen/Crm/Quotes/Model/Paging.php index 7af12323b..9824f0b51 100644 --- a/codegen/Crm/Quotes/Model/Paging.php +++ b/codegen/Crm/Quotes/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Quotes/Model/PreviousPage.php b/codegen/Crm/Quotes/Model/PreviousPage.php index 265769314..7ff7f4169 100644 --- a/codegen/Crm/Quotes/Model/PreviousPage.php +++ b/codegen/Crm/Quotes/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Quotes/Model/PublicAssociationsForObject.php b/codegen/Crm/Quotes/Model/PublicAssociationsForObject.php index b68878a77..c7796cfc6 100644 --- a/codegen/Crm/Quotes/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Quotes/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Quotes/Model/PublicMergeInput.php b/codegen/Crm/Quotes/Model/PublicMergeInput.php index 51dd16d15..35ce4f050 100644 --- a/codegen/Crm/Quotes/Model/PublicMergeInput.php +++ b/codegen/Crm/Quotes/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Quotes/Model/PublicObjectId.php b/codegen/Crm/Quotes/Model/PublicObjectId.php index c02c67dd1..a400c468d 100644 --- a/codegen/Crm/Quotes/Model/PublicObjectId.php +++ b/codegen/Crm/Quotes/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Quotes/Model/PublicObjectSearchRequest.php b/codegen/Crm/Quotes/Model/PublicObjectSearchRequest.php index 69e4d325c..2de6bedf7 100644 --- a/codegen/Crm/Quotes/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Quotes/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Quotes/Model/SimplePublicObject.php b/codegen/Crm/Quotes/Model/SimplePublicObject.php index ffc1bc39d..399fab6b8 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObject.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Quotes/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Quotes/Model/SimplePublicObjectBatchInput.php index 97832005a..292d5025a 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Quotes/Model/SimplePublicObjectId.php b/codegen/Crm/Quotes/Model/SimplePublicObjectId.php index ea035865d..665688132 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Quotes/Model/SimplePublicObjectInput.php b/codegen/Crm/Quotes/Model/SimplePublicObjectInput.php index d12dd518a..b5ce86f26 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Quotes/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Quotes/Model/SimplePublicObjectInputForCreate.php index c9931dd75..b6562662a 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Quotes/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Quotes/Model/SimplePublicObjectWithAssociations.php index c5aad381d..79758b626 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Quotes/Model/StandardError.php b/codegen/Crm/Quotes/Model/StandardError.php index 3dbe77408..584c5d1fe 100644 --- a/codegen/Crm/Quotes/Model/StandardError.php +++ b/codegen/Crm/Quotes/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Quotes/Model/ValueWithTimestamp.php b/codegen/Crm/Quotes/Model/ValueWithTimestamp.php index 6f7855c7a..505082906 100644 --- a/codegen/Crm/Quotes/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Quotes/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Schemas/Api/CoreApi.php b/codegen/Crm/Schemas/Api/CoreApi.php index 40a55c7b6..618feca4c 100644 --- a/codegen/Crm/Schemas/Api/CoreApi.php +++ b/codegen/Crm/Schemas/Api/CoreApi.php @@ -76,9 +76,9 @@ class CoreApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Schemas/Api/PublicObjectSchemasApi.php b/codegen/Crm/Schemas/Api/PublicObjectSchemasApi.php index c6bc642bd..99e59dfe1 100644 --- a/codegen/Crm/Schemas/Api/PublicObjectSchemasApi.php +++ b/codegen/Crm/Schemas/Api/PublicObjectSchemasApi.php @@ -76,9 +76,9 @@ class PublicObjectSchemasApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Schemas/Model/AssociationDefinition.php b/codegen/Crm/Schemas/Model/AssociationDefinition.php index ac605217e..027122eb2 100644 --- a/codegen/Crm/Schemas/Model/AssociationDefinition.php +++ b/codegen/Crm/Schemas/Model/AssociationDefinition.php @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from_object_type_id'] = $data['from_object_type_id'] ?? null; $this->container['to_object_type_id'] = $data['to_object_type_id'] ?? null; diff --git a/codegen/Crm/Schemas/Model/AssociationDefinitionEgg.php b/codegen/Crm/Schemas/Model/AssociationDefinitionEgg.php index d04974b88..d07afa7a4 100644 --- a/codegen/Crm/Schemas/Model/AssociationDefinitionEgg.php +++ b/codegen/Crm/Schemas/Model/AssociationDefinitionEgg.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from_object_type_id'] = $data['from_object_type_id'] ?? null; $this->container['to_object_type_id'] = $data['to_object_type_id'] ?? null; diff --git a/codegen/Crm/Schemas/Model/CollectionResponseObjectSchemaNoPaging.php b/codegen/Crm/Schemas/Model/CollectionResponseObjectSchemaNoPaging.php index a6377eed3..4b80113b8 100644 --- a/codegen/Crm/Schemas/Model/CollectionResponseObjectSchemaNoPaging.php +++ b/codegen/Crm/Schemas/Model/CollectionResponseObjectSchemaNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Crm/Schemas/Model/Error.php b/codegen/Crm/Schemas/Model/Error.php index 79aa17939..bd6dfce90 100644 --- a/codegen/Crm/Schemas/Model/Error.php +++ b/codegen/Crm/Schemas/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Schemas/Model/ErrorDetail.php b/codegen/Crm/Schemas/Model/ErrorDetail.php index d704510a0..ded315686 100644 --- a/codegen/Crm/Schemas/Model/ErrorDetail.php +++ b/codegen/Crm/Schemas/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Schemas/Model/ObjectSchema.php b/codegen/Crm/Schemas/Model/ObjectSchema.php index 3178f79ad..6dc59f45f 100644 --- a/codegen/Crm/Schemas/Model/ObjectSchema.php +++ b/codegen/Crm/Schemas/Model/ObjectSchema.php @@ -240,7 +240,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['labels'] = $data['labels'] ?? null; $this->container['required_properties'] = $data['required_properties'] ?? null; diff --git a/codegen/Crm/Schemas/Model/ObjectSchemaEgg.php b/codegen/Crm/Schemas/Model/ObjectSchemaEgg.php index c899215c6..02954ac65 100644 --- a/codegen/Crm/Schemas/Model/ObjectSchemaEgg.php +++ b/codegen/Crm/Schemas/Model/ObjectSchemaEgg.php @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['labels'] = $data['labels'] ?? null; $this->container['required_properties'] = $data['required_properties'] ?? null; diff --git a/codegen/Crm/Schemas/Model/ObjectTypeDefinition.php b/codegen/Crm/Schemas/Model/ObjectTypeDefinition.php index ae77245e3..9cb796c15 100644 --- a/codegen/Crm/Schemas/Model/ObjectTypeDefinition.php +++ b/codegen/Crm/Schemas/Model/ObjectTypeDefinition.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['labels'] = $data['labels'] ?? null; $this->container['required_properties'] = $data['required_properties'] ?? null; diff --git a/codegen/Crm/Schemas/Model/ObjectTypeDefinitionLabels.php b/codegen/Crm/Schemas/Model/ObjectTypeDefinitionLabels.php index 28293574c..3d42f304f 100644 --- a/codegen/Crm/Schemas/Model/ObjectTypeDefinitionLabels.php +++ b/codegen/Crm/Schemas/Model/ObjectTypeDefinitionLabels.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['singular'] = $data['singular'] ?? null; $this->container['plural'] = $data['plural'] ?? null; diff --git a/codegen/Crm/Schemas/Model/ObjectTypeDefinitionPatch.php b/codegen/Crm/Schemas/Model/ObjectTypeDefinitionPatch.php index 667bcef3a..26e7ce292 100644 --- a/codegen/Crm/Schemas/Model/ObjectTypeDefinitionPatch.php +++ b/codegen/Crm/Schemas/Model/ObjectTypeDefinitionPatch.php @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['labels'] = $data['labels'] ?? null; $this->container['required_properties'] = $data['required_properties'] ?? null; diff --git a/codegen/Crm/Schemas/Model/ObjectTypePropertyCreate.php b/codegen/Crm/Schemas/Model/ObjectTypePropertyCreate.php index d032b0c1f..ab7581248 100644 --- a/codegen/Crm/Schemas/Model/ObjectTypePropertyCreate.php +++ b/codegen/Crm/Schemas/Model/ObjectTypePropertyCreate.php @@ -243,7 +243,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Crm/Schemas/Model/Option.php b/codegen/Crm/Schemas/Model/Option.php index 2c37b2314..e22f58401 100644 --- a/codegen/Crm/Schemas/Model/Option.php +++ b/codegen/Crm/Schemas/Model/Option.php @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/codegen/Crm/Schemas/Model/OptionInput.php b/codegen/Crm/Schemas/Model/OptionInput.php index 2fde28cad..2db88f637 100644 --- a/codegen/Crm/Schemas/Model/OptionInput.php +++ b/codegen/Crm/Schemas/Model/OptionInput.php @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/codegen/Crm/Schemas/Model/Property.php b/codegen/Crm/Schemas/Model/Property.php index 61b61159f..cbdbb978b 100644 --- a/codegen/Crm/Schemas/Model/Property.php +++ b/codegen/Crm/Schemas/Model/Property.php @@ -285,7 +285,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['updated_at'] = $data['updated_at'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; diff --git a/codegen/Crm/Schemas/Model/PropertyModificationMetadata.php b/codegen/Crm/Schemas/Model/PropertyModificationMetadata.php index cd32e22fa..fa78b0959 100644 --- a/codegen/Crm/Schemas/Model/PropertyModificationMetadata.php +++ b/codegen/Crm/Schemas/Model/PropertyModificationMetadata.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['archivable'] = $data['archivable'] ?? null; $this->container['read_only_definition'] = $data['read_only_definition'] ?? null; diff --git a/codegen/Crm/Tickets/Api/BasicApi.php b/codegen/Crm/Tickets/Api/BasicApi.php index 3601c3f5e..f383a7045 100644 --- a/codegen/Crm/Tickets/Api/BasicApi.php +++ b/codegen/Crm/Tickets/Api/BasicApi.php @@ -76,9 +76,9 @@ class BasicApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Tickets/Api/BatchApi.php b/codegen/Crm/Tickets/Api/BatchApi.php index e9cf7eb97..1ee5f3c47 100644 --- a/codegen/Crm/Tickets/Api/BatchApi.php +++ b/codegen/Crm/Tickets/Api/BatchApi.php @@ -76,9 +76,9 @@ class BatchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Tickets/Api/PublicObjectApi.php b/codegen/Crm/Tickets/Api/PublicObjectApi.php index 3c17abeb6..d24d15b0e 100644 --- a/codegen/Crm/Tickets/Api/PublicObjectApi.php +++ b/codegen/Crm/Tickets/Api/PublicObjectApi.php @@ -76,9 +76,9 @@ class PublicObjectApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Tickets/Api/SearchApi.php b/codegen/Crm/Tickets/Api/SearchApi.php index 991717d78..5ef7c2ba6 100644 --- a/codegen/Crm/Tickets/Api/SearchApi.php +++ b/codegen/Crm/Tickets/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Tickets/Model/AssociatedId.php b/codegen/Crm/Tickets/Model/AssociatedId.php index 2ab53a3ac..3d61d8927 100644 --- a/codegen/Crm/Tickets/Model/AssociatedId.php +++ b/codegen/Crm/Tickets/Model/AssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['type'] = $data['type'] ?? null; diff --git a/codegen/Crm/Tickets/Model/AssociationSpec.php b/codegen/Crm/Tickets/Model/AssociationSpec.php index 58dd1ab0d..d3189b6df 100644 --- a/codegen/Crm/Tickets/Model/AssociationSpec.php +++ b/codegen/Crm/Tickets/Model/AssociationSpec.php @@ -196,7 +196,7 @@ public function getAssociationCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['association_category'] = $data['association_category'] ?? null; $this->container['association_type_id'] = $data['association_type_id'] ?? null; diff --git a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectBatchInput.php index 262558a4b..5c0e96515 100644 --- a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectBatchInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectId.php index dc4a1d2b4..a97a952d8 100644 --- a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectInputForCreate.php index 0d1715a34..e5c9a6871 100644 --- a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Tickets/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Tickets/Model/BatchReadInputSimplePublicObjectId.php index 79adcf780..26b1246ec 100644 --- a/codegen/Crm/Tickets/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Tickets/Model/BatchReadInputSimplePublicObjectId.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['properties_with_history'] = $data['properties_with_history'] ?? null; diff --git a/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObject.php index d64cb0631..9c83d34db 100644 --- a/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObject.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObjectWithErrors.php index 7b8f86306..121cb6d7b 100644 --- a/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Tickets/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Tickets/Model/CollectionResponseAssociatedId.php index a0ceb3037..1c105b7e9 100644 --- a/codegen/Crm/Tickets/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Tickets/Model/CollectionResponseAssociatedId.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Tickets/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Tickets/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 21f64e55c..df4f34e2f 100644 --- a/codegen/Crm/Tickets/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Tickets/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Crm/Tickets/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Tickets/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 4e1810373..85e5eabdd 100644 --- a/codegen/Crm/Tickets/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Tickets/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['total'] = $data['total'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Tickets/Model/Error.php b/codegen/Crm/Tickets/Model/Error.php index fbe8077e1..4667039e7 100644 --- a/codegen/Crm/Tickets/Model/Error.php +++ b/codegen/Crm/Tickets/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Tickets/Model/ErrorDetail.php b/codegen/Crm/Tickets/Model/ErrorDetail.php index a18c36096..3fc712b4f 100644 --- a/codegen/Crm/Tickets/Model/ErrorDetail.php +++ b/codegen/Crm/Tickets/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Tickets/Model/Filter.php b/codegen/Crm/Tickets/Model/Filter.php index 98299728b..5a8bf7d13 100644 --- a/codegen/Crm/Tickets/Model/Filter.php +++ b/codegen/Crm/Tickets/Model/Filter.php @@ -231,7 +231,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['high_value'] = $data['high_value'] ?? null; diff --git a/codegen/Crm/Tickets/Model/FilterGroup.php b/codegen/Crm/Tickets/Model/FilterGroup.php index de48ff532..73de070d9 100644 --- a/codegen/Crm/Tickets/Model/FilterGroup.php +++ b/codegen/Crm/Tickets/Model/FilterGroup.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filters'] = $data['filters'] ?? null; } diff --git a/codegen/Crm/Tickets/Model/ForwardPaging.php b/codegen/Crm/Tickets/Model/ForwardPaging.php index 18668cc92..0696e913c 100644 --- a/codegen/Crm/Tickets/Model/ForwardPaging.php +++ b/codegen/Crm/Tickets/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Crm/Tickets/Model/NextPage.php b/codegen/Crm/Tickets/Model/NextPage.php index 58017c68a..9fbfeec77 100644 --- a/codegen/Crm/Tickets/Model/NextPage.php +++ b/codegen/Crm/Tickets/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Tickets/Model/Paging.php b/codegen/Crm/Tickets/Model/Paging.php index 84ede55dd..b034ba5e8 100644 --- a/codegen/Crm/Tickets/Model/Paging.php +++ b/codegen/Crm/Tickets/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Crm/Tickets/Model/PreviousPage.php b/codegen/Crm/Tickets/Model/PreviousPage.php index 256645711..653a4a5f6 100644 --- a/codegen/Crm/Tickets/Model/PreviousPage.php +++ b/codegen/Crm/Tickets/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Crm/Tickets/Model/PublicAssociationsForObject.php b/codegen/Crm/Tickets/Model/PublicAssociationsForObject.php index 6a1a5d2aa..cf9738e51 100644 --- a/codegen/Crm/Tickets/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Tickets/Model/PublicAssociationsForObject.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['to'] = $data['to'] ?? null; $this->container['types'] = $data['types'] ?? null; diff --git a/codegen/Crm/Tickets/Model/PublicMergeInput.php b/codegen/Crm/Tickets/Model/PublicMergeInput.php index ebaafcf92..c1a5239ba 100644 --- a/codegen/Crm/Tickets/Model/PublicMergeInput.php +++ b/codegen/Crm/Tickets/Model/PublicMergeInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['primary_object_id'] = $data['primary_object_id'] ?? null; $this->container['object_id_to_merge'] = $data['object_id_to_merge'] ?? null; diff --git a/codegen/Crm/Tickets/Model/PublicObjectId.php b/codegen/Crm/Tickets/Model/PublicObjectId.php index 4962d0180..edd229e22 100644 --- a/codegen/Crm/Tickets/Model/PublicObjectId.php +++ b/codegen/Crm/Tickets/Model/PublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Tickets/Model/PublicObjectSearchRequest.php b/codegen/Crm/Tickets/Model/PublicObjectSearchRequest.php index d1c89c760..99149a0b9 100644 --- a/codegen/Crm/Tickets/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Tickets/Model/PublicObjectSearchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['filter_groups'] = $data['filter_groups'] ?? null; $this->container['sorts'] = $data['sorts'] ?? null; diff --git a/codegen/Crm/Tickets/Model/SimplePublicObject.php b/codegen/Crm/Tickets/Model/SimplePublicObject.php index d5f72d56f..6b93412dd 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObject.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObject.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Tickets/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Tickets/Model/SimplePublicObjectBatchInput.php index 9c50d3450..fb02db09a 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObjectBatchInput.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Tickets/Model/SimplePublicObjectId.php b/codegen/Crm/Tickets/Model/SimplePublicObjectId.php index 51099b11b..ee2874e4a 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObjectId.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; } diff --git a/codegen/Crm/Tickets/Model/SimplePublicObjectInput.php b/codegen/Crm/Tickets/Model/SimplePublicObjectInput.php index 6e405b8cd..98da2b257 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObjectInput.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; } diff --git a/codegen/Crm/Tickets/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Tickets/Model/SimplePublicObjectInputForCreate.php index 4e364a184..f5d7e33f3 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObjectInputForCreate.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['properties'] = $data['properties'] ?? null; $this->container['associations'] = $data['associations'] ?? null; diff --git a/codegen/Crm/Tickets/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Tickets/Model/SimplePublicObjectWithAssociations.php index f8451d178..504b5e488 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObjectWithAssociations.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Crm/Tickets/Model/StandardError.php b/codegen/Crm/Tickets/Model/StandardError.php index abe613cf5..8942146e1 100644 --- a/codegen/Crm/Tickets/Model/StandardError.php +++ b/codegen/Crm/Tickets/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Tickets/Model/ValueWithTimestamp.php b/codegen/Crm/Tickets/Model/ValueWithTimestamp.php index 7e1565a44..e0fc73988 100644 --- a/codegen/Crm/Tickets/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Tickets/Model/ValueWithTimestamp.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['timestamp'] = $data['timestamp'] ?? null; diff --git a/codegen/Crm/Timeline/Api/EventsApi.php b/codegen/Crm/Timeline/Api/EventsApi.php index de0839ba4..e3a6386dd 100644 --- a/codegen/Crm/Timeline/Api/EventsApi.php +++ b/codegen/Crm/Timeline/Api/EventsApi.php @@ -76,9 +76,9 @@ class EventsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Timeline/Api/TemplatesApi.php b/codegen/Crm/Timeline/Api/TemplatesApi.php index 9cf8bec5c..b01940428 100644 --- a/codegen/Crm/Timeline/Api/TemplatesApi.php +++ b/codegen/Crm/Timeline/Api/TemplatesApi.php @@ -76,9 +76,9 @@ class TemplatesApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Timeline/Api/TokensApi.php b/codegen/Crm/Timeline/Api/TokensApi.php index a92cd769f..f67c3a725 100644 --- a/codegen/Crm/Timeline/Api/TokensApi.php +++ b/codegen/Crm/Timeline/Api/TokensApi.php @@ -76,9 +76,9 @@ class TokensApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Timeline/Model/BatchInputTimelineEvent.php b/codegen/Crm/Timeline/Model/BatchInputTimelineEvent.php index 939dd25e3..461423636 100644 --- a/codegen/Crm/Timeline/Model/BatchInputTimelineEvent.php +++ b/codegen/Crm/Timeline/Model/BatchInputTimelineEvent.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponse.php b/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponse.php index df993d03d..74cea9997 100644 --- a/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponse.php +++ b/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponse.php @@ -219,7 +219,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponseWithErrors.php b/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponseWithErrors.php index 61b19d550..7082d92a7 100644 --- a/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponseWithErrors.php +++ b/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponseWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Crm/Timeline/Model/CollectionResponseTimelineEventTemplateNoPaging.php b/codegen/Crm/Timeline/Model/CollectionResponseTimelineEventTemplateNoPaging.php index 0c9cd97da..ffdf16bb1 100644 --- a/codegen/Crm/Timeline/Model/CollectionResponseTimelineEventTemplateNoPaging.php +++ b/codegen/Crm/Timeline/Model/CollectionResponseTimelineEventTemplateNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Crm/Timeline/Model/Error.php b/codegen/Crm/Timeline/Model/Error.php index 87489eadb..ca19ab112 100644 --- a/codegen/Crm/Timeline/Model/Error.php +++ b/codegen/Crm/Timeline/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Crm/Timeline/Model/ErrorCategory.php b/codegen/Crm/Timeline/Model/ErrorCategory.php index a64c39fd9..d7cd69e12 100644 --- a/codegen/Crm/Timeline/Model/ErrorCategory.php +++ b/codegen/Crm/Timeline/Model/ErrorCategory.php @@ -314,7 +314,7 @@ public function getHttpStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['http_status'] = $data['http_status'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Crm/Timeline/Model/ErrorDetail.php b/codegen/Crm/Timeline/Model/ErrorDetail.php index 0c560a2bf..f944ae074 100644 --- a/codegen/Crm/Timeline/Model/ErrorDetail.php +++ b/codegen/Crm/Timeline/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Crm/Timeline/Model/EventDetail.php b/codegen/Crm/Timeline/Model/EventDetail.php index 5c6990b8f..136692f7d 100644 --- a/codegen/Crm/Timeline/Model/EventDetail.php +++ b/codegen/Crm/Timeline/Model/EventDetail.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['details'] = $data['details'] ?? null; } diff --git a/codegen/Crm/Timeline/Model/StandardError.php b/codegen/Crm/Timeline/Model/StandardError.php index abcc6d43f..166f52702 100644 --- a/codegen/Crm/Timeline/Model/StandardError.php +++ b/codegen/Crm/Timeline/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Crm/Timeline/Model/TimelineEvent.php b/codegen/Crm/Timeline/Model/TimelineEvent.php index 7b994f3c6..22aaf9035 100644 --- a/codegen/Crm/Timeline/Model/TimelineEvent.php +++ b/codegen/Crm/Timeline/Model/TimelineEvent.php @@ -220,7 +220,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['event_template_id'] = $data['event_template_id'] ?? null; $this->container['email'] = $data['email'] ?? null; diff --git a/codegen/Crm/Timeline/Model/TimelineEventIFrame.php b/codegen/Crm/Timeline/Model/TimelineEventIFrame.php index bae1d3a63..06986caf0 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventIFrame.php +++ b/codegen/Crm/Timeline/Model/TimelineEventIFrame.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['link_label'] = $data['link_label'] ?? null; $this->container['header_label'] = $data['header_label'] ?? null; diff --git a/codegen/Crm/Timeline/Model/TimelineEventResponse.php b/codegen/Crm/Timeline/Model/TimelineEventResponse.php index 3f487537f..de6ce975d 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventResponse.php +++ b/codegen/Crm/Timeline/Model/TimelineEventResponse.php @@ -230,7 +230,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['event_template_id'] = $data['event_template_id'] ?? null; diff --git a/codegen/Crm/Timeline/Model/TimelineEventTemplate.php b/codegen/Crm/Timeline/Model/TimelineEventTemplate.php index f402c5131..408fc20fd 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventTemplate.php +++ b/codegen/Crm/Timeline/Model/TimelineEventTemplate.php @@ -210,7 +210,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['header_template'] = $data['header_template'] ?? null; diff --git a/codegen/Crm/Timeline/Model/TimelineEventTemplateCreateRequest.php b/codegen/Crm/Timeline/Model/TimelineEventTemplateCreateRequest.php index 02b31054e..737804e5e 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventTemplateCreateRequest.php +++ b/codegen/Crm/Timeline/Model/TimelineEventTemplateCreateRequest.php @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['header_template'] = $data['header_template'] ?? null; diff --git a/codegen/Crm/Timeline/Model/TimelineEventTemplateToken.php b/codegen/Crm/Timeline/Model/TimelineEventTemplateToken.php index 17aa64715..223511f00 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventTemplateToken.php +++ b/codegen/Crm/Timeline/Model/TimelineEventTemplateToken.php @@ -224,7 +224,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['object_property_name'] = $data['object_property_name'] ?? null; diff --git a/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenOption.php b/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenOption.php index e0a75acdb..e9bd9d81e 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenOption.php +++ b/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenOption.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['value'] = $data['value'] ?? null; $this->container['label'] = $data['label'] ?? null; diff --git a/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenUpdateRequest.php b/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenUpdateRequest.php index 9bbdd256b..2b64511ff 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenUpdateRequest.php +++ b/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenUpdateRequest.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['object_property_name'] = $data['object_property_name'] ?? null; diff --git a/codegen/Crm/Timeline/Model/TimelineEventTemplateUpdateRequest.php b/codegen/Crm/Timeline/Model/TimelineEventTemplateUpdateRequest.php index cc9312ed6..a348ea5d1 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventTemplateUpdateRequest.php +++ b/codegen/Crm/Timeline/Model/TimelineEventTemplateUpdateRequest.php @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['header_template'] = $data['header_template'] ?? null; diff --git a/codegen/Events/Api/EventsApi.php b/codegen/Events/Api/EventsApi.php index 7a33d0626..467391655 100644 --- a/codegen/Events/Api/EventsApi.php +++ b/codegen/Events/Api/EventsApi.php @@ -76,9 +76,9 @@ class EventsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Events/Model/CollectionResponseExternalUnifiedEvent.php b/codegen/Events/Model/CollectionResponseExternalUnifiedEvent.php index 8bc9ee26d..0ac74c5e0 100644 --- a/codegen/Events/Model/CollectionResponseExternalUnifiedEvent.php +++ b/codegen/Events/Model/CollectionResponseExternalUnifiedEvent.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Events/Model/Error.php b/codegen/Events/Model/Error.php index f2e031ede..052814e34 100644 --- a/codegen/Events/Model/Error.php +++ b/codegen/Events/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Events/Model/ErrorDetail.php b/codegen/Events/Model/ErrorDetail.php index 14f928500..29154a82e 100644 --- a/codegen/Events/Model/ErrorDetail.php +++ b/codegen/Events/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Events/Model/ExternalUnifiedEvent.php b/codegen/Events/Model/ExternalUnifiedEvent.php index d353c17f1..4d8aab557 100644 --- a/codegen/Events/Model/ExternalUnifiedEvent.php +++ b/codegen/Events/Model/ExternalUnifiedEvent.php @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['object_type'] = $data['object_type'] ?? null; $this->container['object_id'] = $data['object_id'] ?? null; diff --git a/codegen/Events/Model/NextPage.php b/codegen/Events/Model/NextPage.php index 96bff86d7..13e63c678 100644 --- a/codegen/Events/Model/NextPage.php +++ b/codegen/Events/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Events/Model/Paging.php b/codegen/Events/Model/Paging.php index 0cd3072da..d8a4d68cf 100644 --- a/codegen/Events/Model/Paging.php +++ b/codegen/Events/Model/Paging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Events/Send/Api/BehavioralEventsTrackingApi.php b/codegen/Events/Send/Api/BehavioralEventsTrackingApi.php index 0a40c2775..d5ff30f3b 100644 --- a/codegen/Events/Send/Api/BehavioralEventsTrackingApi.php +++ b/codegen/Events/Send/Api/BehavioralEventsTrackingApi.php @@ -76,9 +76,9 @@ class BehavioralEventsTrackingApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Events/Send/Model/BehavioralEventHttpCompletionRequest.php b/codegen/Events/Send/Model/BehavioralEventHttpCompletionRequest.php index 75aa4548b..00808484a 100644 --- a/codegen/Events/Send/Model/BehavioralEventHttpCompletionRequest.php +++ b/codegen/Events/Send/Model/BehavioralEventHttpCompletionRequest.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['occurred_at'] = $data['occurred_at'] ?? null; $this->container['event_name'] = $data['event_name'] ?? null; diff --git a/codegen/Events/Send/Model/Error.php b/codegen/Events/Send/Model/Error.php index 97356251c..aea8a27f8 100644 --- a/codegen/Events/Send/Model/Error.php +++ b/codegen/Events/Send/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Events/Send/Model/ErrorDetail.php b/codegen/Events/Send/Model/ErrorDetail.php index 644c1c0c2..caa5af522 100644 --- a/codegen/Events/Send/Model/ErrorDetail.php +++ b/codegen/Events/Send/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['code'] = $data['code'] ?? null; diff --git a/codegen/Files/Api/FilesApi.php b/codegen/Files/Api/FilesApi.php index 8e8d9f228..22aad7fc3 100644 --- a/codegen/Files/Api/FilesApi.php +++ b/codegen/Files/Api/FilesApi.php @@ -76,9 +76,9 @@ class FilesApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Files/Api/FoldersApi.php b/codegen/Files/Api/FoldersApi.php index 296319945..a83ddf138 100644 --- a/codegen/Files/Api/FoldersApi.php +++ b/codegen/Files/Api/FoldersApi.php @@ -76,9 +76,9 @@ class FoldersApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Files/Model/CollectionResponseFile.php b/codegen/Files/Model/CollectionResponseFile.php index bf1c2d6d8..11131bc70 100644 --- a/codegen/Files/Model/CollectionResponseFile.php +++ b/codegen/Files/Model/CollectionResponseFile.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Files/Model/CollectionResponseFolder.php b/codegen/Files/Model/CollectionResponseFolder.php index d02d457be..0d796cc68 100644 --- a/codegen/Files/Model/CollectionResponseFolder.php +++ b/codegen/Files/Model/CollectionResponseFolder.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Files/Model/Error.php b/codegen/Files/Model/Error.php index 4cbcea63d..b15eb4e22 100644 --- a/codegen/Files/Model/Error.php +++ b/codegen/Files/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Files/Model/ErrorCategory.php b/codegen/Files/Model/ErrorCategory.php index 4587fc3c8..216707b19 100644 --- a/codegen/Files/Model/ErrorCategory.php +++ b/codegen/Files/Model/ErrorCategory.php @@ -312,7 +312,7 @@ public function getHttpStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['http_status'] = $data['http_status'] ?? null; diff --git a/codegen/Files/Model/ErrorDetail.php b/codegen/Files/Model/ErrorDetail.php index 346a726f7..843a0673c 100644 --- a/codegen/Files/Model/ErrorDetail.php +++ b/codegen/Files/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Files/Model/File.php b/codegen/Files/Model/File.php index 810386101..f25795f80 100644 --- a/codegen/Files/Model/File.php +++ b/codegen/Files/Model/File.php @@ -283,7 +283,7 @@ public function getAccessAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; diff --git a/codegen/Files/Model/FileActionResponse.php b/codegen/Files/Model/FileActionResponse.php index d9923f828..1f169d5c9 100644 --- a/codegen/Files/Model/FileActionResponse.php +++ b/codegen/Files/Model/FileActionResponse.php @@ -233,7 +233,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['result'] = $data['result'] ?? null; diff --git a/codegen/Files/Model/FileUpdateInput.php b/codegen/Files/Model/FileUpdateInput.php index 59d64e00b..63cd6f4c2 100644 --- a/codegen/Files/Model/FileUpdateInput.php +++ b/codegen/Files/Model/FileUpdateInput.php @@ -218,7 +218,7 @@ public function getAccessAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['parent_folder_id'] = $data['parent_folder_id'] ?? null; diff --git a/codegen/Files/Model/Folder.php b/codegen/Files/Model/Folder.php index 15fb079df..1085bae55 100644 --- a/codegen/Files/Model/Folder.php +++ b/codegen/Files/Model/Folder.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; diff --git a/codegen/Files/Model/FolderActionResponse.php b/codegen/Files/Model/FolderActionResponse.php index e456aa5d5..2e13f1c2f 100644 --- a/codegen/Files/Model/FolderActionResponse.php +++ b/codegen/Files/Model/FolderActionResponse.php @@ -233,7 +233,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['result'] = $data['result'] ?? null; diff --git a/codegen/Files/Model/FolderInput.php b/codegen/Files/Model/FolderInput.php index f52889fe9..85c65e6a5 100644 --- a/codegen/Files/Model/FolderInput.php +++ b/codegen/Files/Model/FolderInput.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['parent_folder_id'] = $data['parent_folder_id'] ?? null; diff --git a/codegen/Files/Model/FolderUpdateInput.php b/codegen/Files/Model/FolderUpdateInput.php index 99a85171d..858329721 100644 --- a/codegen/Files/Model/FolderUpdateInput.php +++ b/codegen/Files/Model/FolderUpdateInput.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Files/Model/FolderUpdateTaskLocator.php b/codegen/Files/Model/FolderUpdateTaskLocator.php index 1d3475ff4..0e1830b36 100644 --- a/codegen/Files/Model/FolderUpdateTaskLocator.php +++ b/codegen/Files/Model/FolderUpdateTaskLocator.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['links'] = $data['links'] ?? null; diff --git a/codegen/Files/Model/ImportFromUrlInput.php b/codegen/Files/Model/ImportFromUrlInput.php index 9091f6aab..561d47dad 100644 --- a/codegen/Files/Model/ImportFromUrlInput.php +++ b/codegen/Files/Model/ImportFromUrlInput.php @@ -269,7 +269,7 @@ public function getDuplicateValidationScopeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['access'] = $data['access'] ?? null; $this->container['ttl'] = $data['ttl'] ?? null; diff --git a/codegen/Files/Model/ImportFromUrlTaskLocator.php b/codegen/Files/Model/ImportFromUrlTaskLocator.php index 44ab19307..472726dd2 100644 --- a/codegen/Files/Model/ImportFromUrlTaskLocator.php +++ b/codegen/Files/Model/ImportFromUrlTaskLocator.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['links'] = $data['links'] ?? null; diff --git a/codegen/Files/Model/NextPage.php b/codegen/Files/Model/NextPage.php index ab9b9605e..eeeae90c2 100644 --- a/codegen/Files/Model/NextPage.php +++ b/codegen/Files/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Files/Model/Paging.php b/codegen/Files/Model/Paging.php index 28e8ae815..04f00acef 100644 --- a/codegen/Files/Model/Paging.php +++ b/codegen/Files/Model/Paging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; $this->container['prev'] = $data['prev'] ?? null; diff --git a/codegen/Files/Model/PreviousPage.php b/codegen/Files/Model/PreviousPage.php index 11516daea..e73958573 100644 --- a/codegen/Files/Model/PreviousPage.php +++ b/codegen/Files/Model/PreviousPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['before'] = $data['before'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Files/Model/SignedUrl.php b/codegen/Files/Model/SignedUrl.php index d30d0896b..9eba805a5 100644 --- a/codegen/Files/Model/SignedUrl.php +++ b/codegen/Files/Model/SignedUrl.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['expires_at'] = $data['expires_at'] ?? null; $this->container['url'] = $data['url'] ?? null; diff --git a/codegen/Files/Model/StandardError.php b/codegen/Files/Model/StandardError.php index ad10f9784..f534c9eda 100644 --- a/codegen/Files/Model/StandardError.php +++ b/codegen/Files/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Marketing/Events/Api/AttendanceSubscriberStateChangesApi.php b/codegen/Marketing/Events/Api/AttendanceSubscriberStateChangesApi.php index b4624230f..4f34beb94 100644 --- a/codegen/Marketing/Events/Api/AttendanceSubscriberStateChangesApi.php +++ b/codegen/Marketing/Events/Api/AttendanceSubscriberStateChangesApi.php @@ -76,9 +76,9 @@ class AttendanceSubscriberStateChangesApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Events/Api/MarketingEventsExternalApi.php b/codegen/Marketing/Events/Api/MarketingEventsExternalApi.php index 0332d6319..945cf897a 100644 --- a/codegen/Marketing/Events/Api/MarketingEventsExternalApi.php +++ b/codegen/Marketing/Events/Api/MarketingEventsExternalApi.php @@ -76,9 +76,9 @@ class MarketingEventsExternalApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Events/Api/SearchApi.php b/codegen/Marketing/Events/Api/SearchApi.php index b2ae01971..39cb480ee 100644 --- a/codegen/Marketing/Events/Api/SearchApi.php +++ b/codegen/Marketing/Events/Api/SearchApi.php @@ -76,9 +76,9 @@ class SearchApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Events/Api/SettingsExternalApi.php b/codegen/Marketing/Events/Api/SettingsExternalApi.php index 3a134d1de..98bfd4df7 100644 --- a/codegen/Marketing/Events/Api/SettingsExternalApi.php +++ b/codegen/Marketing/Events/Api/SettingsExternalApi.php @@ -76,9 +76,9 @@ class SettingsExternalApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Events/Model/BatchInputMarketingEventCreateRequestParams.php b/codegen/Marketing/Events/Model/BatchInputMarketingEventCreateRequestParams.php index fe3246e41..50cd2a43a 100644 --- a/codegen/Marketing/Events/Model/BatchInputMarketingEventCreateRequestParams.php +++ b/codegen/Marketing/Events/Model/BatchInputMarketingEventCreateRequestParams.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Marketing/Events/Model/BatchInputMarketingEventEmailSubscriber.php b/codegen/Marketing/Events/Model/BatchInputMarketingEventEmailSubscriber.php index b1c4d715c..5e5ca859c 100644 --- a/codegen/Marketing/Events/Model/BatchInputMarketingEventEmailSubscriber.php +++ b/codegen/Marketing/Events/Model/BatchInputMarketingEventEmailSubscriber.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Marketing/Events/Model/BatchInputMarketingEventExternalUniqueIdentifier.php b/codegen/Marketing/Events/Model/BatchInputMarketingEventExternalUniqueIdentifier.php index 4e1a33b0a..52c4b668d 100644 --- a/codegen/Marketing/Events/Model/BatchInputMarketingEventExternalUniqueIdentifier.php +++ b/codegen/Marketing/Events/Model/BatchInputMarketingEventExternalUniqueIdentifier.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Marketing/Events/Model/BatchInputMarketingEventSubscriber.php b/codegen/Marketing/Events/Model/BatchInputMarketingEventSubscriber.php index aac30e63b..75290a3ff 100644 --- a/codegen/Marketing/Events/Model/BatchInputMarketingEventSubscriber.php +++ b/codegen/Marketing/Events/Model/BatchInputMarketingEventSubscriber.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Marketing/Events/Model/BatchResponseMarketingEventPublicDefaultResponse.php b/codegen/Marketing/Events/Model/BatchResponseMarketingEventPublicDefaultResponse.php index 9ac568a3a..8b520c0bf 100644 --- a/codegen/Marketing/Events/Model/BatchResponseMarketingEventPublicDefaultResponse.php +++ b/codegen/Marketing/Events/Model/BatchResponseMarketingEventPublicDefaultResponse.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Marketing/Events/Model/BatchResponseSubscriberEmailResponse.php b/codegen/Marketing/Events/Model/BatchResponseSubscriberEmailResponse.php index 96cc907bb..f5aa9a405 100644 --- a/codegen/Marketing/Events/Model/BatchResponseSubscriberEmailResponse.php +++ b/codegen/Marketing/Events/Model/BatchResponseSubscriberEmailResponse.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Marketing/Events/Model/BatchResponseSubscriberVidResponse.php b/codegen/Marketing/Events/Model/BatchResponseSubscriberVidResponse.php index f16224be0..0f61b5944 100644 --- a/codegen/Marketing/Events/Model/BatchResponseSubscriberVidResponse.php +++ b/codegen/Marketing/Events/Model/BatchResponseSubscriberVidResponse.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Marketing/Events/Model/CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging.php b/codegen/Marketing/Events/Model/CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging.php index 16853ebe8..70e9fb5ce 100644 --- a/codegen/Marketing/Events/Model/CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging.php +++ b/codegen/Marketing/Events/Model/CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Marketing/Events/Model/Error.php b/codegen/Marketing/Events/Model/Error.php index 2c769113e..7ef81a6d8 100644 --- a/codegen/Marketing/Events/Model/Error.php +++ b/codegen/Marketing/Events/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Marketing/Events/Model/ErrorCategory.php b/codegen/Marketing/Events/Model/ErrorCategory.php index 50cd93691..846fa3651 100644 --- a/codegen/Marketing/Events/Model/ErrorCategory.php +++ b/codegen/Marketing/Events/Model/ErrorCategory.php @@ -314,7 +314,7 @@ public function getHttpStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['http_status'] = $data['http_status'] ?? null; diff --git a/codegen/Marketing/Events/Model/ErrorDetail.php b/codegen/Marketing/Events/Model/ErrorDetail.php index 49b8e5f18..86a33ee20 100644 --- a/codegen/Marketing/Events/Model/ErrorDetail.php +++ b/codegen/Marketing/Events/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Marketing/Events/Model/EventDetailSettings.php b/codegen/Marketing/Events/Model/EventDetailSettings.php index 4a4604184..287639889 100644 --- a/codegen/Marketing/Events/Model/EventDetailSettings.php +++ b/codegen/Marketing/Events/Model/EventDetailSettings.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['app_id'] = $data['app_id'] ?? null; $this->container['event_details_url'] = $data['event_details_url'] ?? null; diff --git a/codegen/Marketing/Events/Model/EventDetailSettingsUrl.php b/codegen/Marketing/Events/Model/EventDetailSettingsUrl.php index a6110ba8c..c7cec5398 100644 --- a/codegen/Marketing/Events/Model/EventDetailSettingsUrl.php +++ b/codegen/Marketing/Events/Model/EventDetailSettingsUrl.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['event_details_url'] = $data['event_details_url'] ?? null; } diff --git a/codegen/Marketing/Events/Model/MarketingEventCompleteRequestParams.php b/codegen/Marketing/Events/Model/MarketingEventCompleteRequestParams.php index fb3ba618a..a1978defa 100644 --- a/codegen/Marketing/Events/Model/MarketingEventCompleteRequestParams.php +++ b/codegen/Marketing/Events/Model/MarketingEventCompleteRequestParams.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['start_date_time'] = $data['start_date_time'] ?? null; $this->container['end_date_time'] = $data['end_date_time'] ?? null; diff --git a/codegen/Marketing/Events/Model/MarketingEventCreateRequestParams.php b/codegen/Marketing/Events/Model/MarketingEventCreateRequestParams.php index bed09dbbc..309da4f8e 100644 --- a/codegen/Marketing/Events/Model/MarketingEventCreateRequestParams.php +++ b/codegen/Marketing/Events/Model/MarketingEventCreateRequestParams.php @@ -224,7 +224,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['event_name'] = $data['event_name'] ?? null; $this->container['event_type'] = $data['event_type'] ?? null; diff --git a/codegen/Marketing/Events/Model/MarketingEventDefaultResponse.php b/codegen/Marketing/Events/Model/MarketingEventDefaultResponse.php index d13306e0d..f0f6df66e 100644 --- a/codegen/Marketing/Events/Model/MarketingEventDefaultResponse.php +++ b/codegen/Marketing/Events/Model/MarketingEventDefaultResponse.php @@ -214,7 +214,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['event_name'] = $data['event_name'] ?? null; $this->container['event_type'] = $data['event_type'] ?? null; diff --git a/codegen/Marketing/Events/Model/MarketingEventEmailSubscriber.php b/codegen/Marketing/Events/Model/MarketingEventEmailSubscriber.php index 636d722ea..a26bfb665 100644 --- a/codegen/Marketing/Events/Model/MarketingEventEmailSubscriber.php +++ b/codegen/Marketing/Events/Model/MarketingEventEmailSubscriber.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['interaction_date_time'] = $data['interaction_date_time'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Marketing/Events/Model/MarketingEventExternalUniqueIdentifier.php b/codegen/Marketing/Events/Model/MarketingEventExternalUniqueIdentifier.php index 825767e0e..0ad6d3a13 100644 --- a/codegen/Marketing/Events/Model/MarketingEventExternalUniqueIdentifier.php +++ b/codegen/Marketing/Events/Model/MarketingEventExternalUniqueIdentifier.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['app_id'] = $data['app_id'] ?? null; $this->container['external_account_id'] = $data['external_account_id'] ?? null; diff --git a/codegen/Marketing/Events/Model/MarketingEventPublicDefaultResponse.php b/codegen/Marketing/Events/Model/MarketingEventPublicDefaultResponse.php index 25e5c49e8..b38747ac8 100644 --- a/codegen/Marketing/Events/Model/MarketingEventPublicDefaultResponse.php +++ b/codegen/Marketing/Events/Model/MarketingEventPublicDefaultResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['event_name'] = $data['event_name'] ?? null; $this->container['event_type'] = $data['event_type'] ?? null; diff --git a/codegen/Marketing/Events/Model/MarketingEventPublicReadResponse.php b/codegen/Marketing/Events/Model/MarketingEventPublicReadResponse.php index 96f17c140..1cec02aa8 100644 --- a/codegen/Marketing/Events/Model/MarketingEventPublicReadResponse.php +++ b/codegen/Marketing/Events/Model/MarketingEventPublicReadResponse.php @@ -254,7 +254,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['event_name'] = $data['event_name'] ?? null; $this->container['event_type'] = $data['event_type'] ?? null; diff --git a/codegen/Marketing/Events/Model/MarketingEventSubscriber.php b/codegen/Marketing/Events/Model/MarketingEventSubscriber.php index f67130e57..e12e5d649 100644 --- a/codegen/Marketing/Events/Model/MarketingEventSubscriber.php +++ b/codegen/Marketing/Events/Model/MarketingEventSubscriber.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['interaction_date_time'] = $data['interaction_date_time'] ?? null; $this->container['properties'] = $data['properties'] ?? null; diff --git a/codegen/Marketing/Events/Model/MarketingEventUpdateRequestParams.php b/codegen/Marketing/Events/Model/MarketingEventUpdateRequestParams.php index dbb16bcae..e658798ec 100644 --- a/codegen/Marketing/Events/Model/MarketingEventUpdateRequestParams.php +++ b/codegen/Marketing/Events/Model/MarketingEventUpdateRequestParams.php @@ -214,7 +214,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['event_name'] = $data['event_name'] ?? null; $this->container['event_type'] = $data['event_type'] ?? null; diff --git a/codegen/Marketing/Events/Model/PropertyValue.php b/codegen/Marketing/Events/Model/PropertyValue.php index 6903b24db..1890bd826 100644 --- a/codegen/Marketing/Events/Model/PropertyValue.php +++ b/codegen/Marketing/Events/Model/PropertyValue.php @@ -408,7 +408,7 @@ public function getSourceAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/codegen/Marketing/Events/Model/StandardError.php b/codegen/Marketing/Events/Model/StandardError.php index b056cca6c..df538da75 100644 --- a/codegen/Marketing/Events/Model/StandardError.php +++ b/codegen/Marketing/Events/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Marketing/Events/Model/SubscriberEmailResponse.php b/codegen/Marketing/Events/Model/SubscriberEmailResponse.php index c92838276..26ca549fe 100644 --- a/codegen/Marketing/Events/Model/SubscriberEmailResponse.php +++ b/codegen/Marketing/Events/Model/SubscriberEmailResponse.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['vid'] = $data['vid'] ?? null; $this->container['email'] = $data['email'] ?? null; diff --git a/codegen/Marketing/Events/Model/SubscriberVidResponse.php b/codegen/Marketing/Events/Model/SubscriberVidResponse.php index 375a2b74f..952535dd1 100644 --- a/codegen/Marketing/Events/Model/SubscriberVidResponse.php +++ b/codegen/Marketing/Events/Model/SubscriberVidResponse.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['vid'] = $data['vid'] ?? null; } diff --git a/codegen/Marketing/Forms/Api/FormsApi.php b/codegen/Marketing/Forms/Api/FormsApi.php index e50321b3b..7a2a04ea1 100644 --- a/codegen/Marketing/Forms/Api/FormsApi.php +++ b/codegen/Marketing/Forms/Api/FormsApi.php @@ -76,9 +76,9 @@ class FormsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPaging.php b/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPaging.php index 2382d8fb7..953cadca9 100644 --- a/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPaging.php +++ b/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['paging'] = $data['paging'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPagingResultsInner.php b/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPagingResultsInner.php index 5a17b4c37..7bae44ecf 100644 --- a/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPagingResultsInner.php +++ b/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPagingResultsInner.php @@ -237,7 +237,7 @@ public function getFormTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['form_type'] = $data['form_type'] ?? 'hubspot'; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/DatepickerField.php b/codegen/Marketing/Forms/Model/DatepickerField.php index 638364ae3..c2839154c 100644 --- a/codegen/Marketing/Forms/Model/DatepickerField.php +++ b/codegen/Marketing/Forms/Model/DatepickerField.php @@ -233,7 +233,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'datepicker'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/DependentField.php b/codegen/Marketing/Forms/Model/DependentField.php index 8d1e994fc..6f372dcc2 100644 --- a/codegen/Marketing/Forms/Model/DependentField.php +++ b/codegen/Marketing/Forms/Model/DependentField.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['dependent_condition'] = $data['dependent_condition'] ?? null; $this->container['dependent_field'] = $data['dependent_field'] ?? null; diff --git a/codegen/Marketing/Forms/Model/DependentFieldDependentField.php b/codegen/Marketing/Forms/Model/DependentFieldDependentField.php index 9059050e6..5b4141909 100644 --- a/codegen/Marketing/Forms/Model/DependentFieldDependentField.php +++ b/codegen/Marketing/Forms/Model/DependentFieldDependentField.php @@ -257,7 +257,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'payment_link_radio'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/DependentFieldFilter.php b/codegen/Marketing/Forms/Model/DependentFieldFilter.php index fb47dfbc1..51aefaad2 100644 --- a/codegen/Marketing/Forms/Model/DependentFieldFilter.php +++ b/codegen/Marketing/Forms/Model/DependentFieldFilter.php @@ -248,7 +248,7 @@ public function getOperatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['operator'] = $data['operator'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/codegen/Marketing/Forms/Model/DropdownField.php b/codegen/Marketing/Forms/Model/DropdownField.php index 2969a6f22..49a5a51de 100644 --- a/codegen/Marketing/Forms/Model/DropdownField.php +++ b/codegen/Marketing/Forms/Model/DropdownField.php @@ -238,7 +238,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'dropdown'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/EmailField.php b/codegen/Marketing/Forms/Model/EmailField.php index 35885a96b..1ab83cb21 100644 --- a/codegen/Marketing/Forms/Model/EmailField.php +++ b/codegen/Marketing/Forms/Model/EmailField.php @@ -238,7 +238,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'email'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/EmailFieldValidation.php b/codegen/Marketing/Forms/Model/EmailFieldValidation.php index ed1bdbd52..f237f7daf 100644 --- a/codegen/Marketing/Forms/Model/EmailFieldValidation.php +++ b/codegen/Marketing/Forms/Model/EmailFieldValidation.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['blocked_email_domains'] = $data['blocked_email_domains'] ?? null; $this->container['use_default_block_list'] = $data['use_default_block_list'] ?? null; diff --git a/codegen/Marketing/Forms/Model/EnumeratedFieldOption.php b/codegen/Marketing/Forms/Model/EnumeratedFieldOption.php index 4abd759b2..9842c72d1 100644 --- a/codegen/Marketing/Forms/Model/EnumeratedFieldOption.php +++ b/codegen/Marketing/Forms/Model/EnumeratedFieldOption.php @@ -189,7 +189,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label'] = $data['label'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/codegen/Marketing/Forms/Model/Error.php b/codegen/Marketing/Forms/Model/Error.php index aaaf892d4..49e75dc1f 100644 --- a/codegen/Marketing/Forms/Model/Error.php +++ b/codegen/Marketing/Forms/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Marketing/Forms/Model/ErrorDetail.php b/codegen/Marketing/Forms/Model/ErrorDetail.php index b88312948..9f6ee69aa 100644 --- a/codegen/Marketing/Forms/Model/ErrorDetail.php +++ b/codegen/Marketing/Forms/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['code'] = $data['code'] ?? null; diff --git a/codegen/Marketing/Forms/Model/FieldGroup.php b/codegen/Marketing/Forms/Model/FieldGroup.php index fd835bc55..29a46b655 100644 --- a/codegen/Marketing/Forms/Model/FieldGroup.php +++ b/codegen/Marketing/Forms/Model/FieldGroup.php @@ -222,7 +222,7 @@ public function getRichTextTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['group_type'] = $data['group_type'] ?? null; $this->container['rich_text_type'] = $data['rich_text_type'] ?? null; @@ -294,7 +294,7 @@ public function getGroupType() /** * Sets group_type * - * @param string $group_type + * @param string $group_type * * @return self */ diff --git a/codegen/Marketing/Forms/Model/FileField.php b/codegen/Marketing/Forms/Model/FileField.php index 2d83a4b4a..0a8c889c6 100644 --- a/codegen/Marketing/Forms/Model/FileField.php +++ b/codegen/Marketing/Forms/Model/FileField.php @@ -238,7 +238,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'file'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/FormDefinitionBase.php b/codegen/Marketing/Forms/Model/FormDefinitionBase.php index f4dbd9465..99ca287b3 100644 --- a/codegen/Marketing/Forms/Model/FormDefinitionBase.php +++ b/codegen/Marketing/Forms/Model/FormDefinitionBase.php @@ -237,7 +237,7 @@ public function getFormTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['form_type'] = $data['form_type'] ?? 'hubspot'; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/FormDefinitionCreateRequestBase.php b/codegen/Marketing/Forms/Model/FormDefinitionCreateRequestBase.php index ffb840f62..11769cef4 100644 --- a/codegen/Marketing/Forms/Model/FormDefinitionCreateRequestBase.php +++ b/codegen/Marketing/Forms/Model/FormDefinitionCreateRequestBase.php @@ -232,7 +232,7 @@ public function getFormTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['form_type'] = $data['form_type'] ?? 'hubspot'; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Marketing/Forms/Model/FormDisplayOptions.php b/codegen/Marketing/Forms/Model/FormDisplayOptions.php index 8e0508464..9a66441a1 100644 --- a/codegen/Marketing/Forms/Model/FormDisplayOptions.php +++ b/codegen/Marketing/Forms/Model/FormDisplayOptions.php @@ -218,7 +218,7 @@ public function getThemeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['render_raw_html'] = $data['render_raw_html'] ?? null; $this->container['css_class'] = $data['css_class'] ?? null; @@ -309,7 +309,7 @@ public function getCssClass() /** * Sets css_class * - * @param string|null $css_class + * @param string|null $css_class * * @return self */ diff --git a/codegen/Marketing/Forms/Model/FormPostSubmitAction.php b/codegen/Marketing/Forms/Model/FormPostSubmitAction.php index f3a0aa4ae..98b34bc0c 100644 --- a/codegen/Marketing/Forms/Model/FormPostSubmitAction.php +++ b/codegen/Marketing/Forms/Model/FormPostSubmitAction.php @@ -195,7 +195,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? null; $this->container['value'] = $data['value'] ?? null; diff --git a/codegen/Marketing/Forms/Model/FormStyle.php b/codegen/Marketing/Forms/Model/FormStyle.php index 47e4a02d3..2d2bc58e7 100644 --- a/codegen/Marketing/Forms/Model/FormStyle.php +++ b/codegen/Marketing/Forms/Model/FormStyle.php @@ -247,7 +247,7 @@ public function getSubmitAlignmentAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['label_text_size'] = $data['label_text_size'] ?? null; $this->container['legal_consent_text_color'] = $data['legal_consent_text_color'] ?? null; @@ -345,7 +345,7 @@ public function getLabelTextSize() /** * Sets label_text_size * - * @param string $label_text_size + * @param string $label_text_size * * @return self */ @@ -369,7 +369,7 @@ public function getLegalConsentTextColor() /** * Sets legal_consent_text_color * - * @param string $legal_consent_text_color + * @param string $legal_consent_text_color * * @return self */ @@ -393,7 +393,7 @@ public function getFontFamily() /** * Sets font_family * - * @param string $font_family + * @param string $font_family * * @return self */ @@ -417,7 +417,7 @@ public function getLegalConsentTextSize() /** * Sets legal_consent_text_size * - * @param string $legal_consent_text_size + * @param string $legal_consent_text_size * * @return self */ @@ -441,7 +441,7 @@ public function getBackgroundWidth() /** * Sets background_width * - * @param string $background_width + * @param string $background_width * * @return self */ @@ -465,7 +465,7 @@ public function getHelpTextSize() /** * Sets help_text_size * - * @param string $help_text_size + * @param string $help_text_size * * @return self */ @@ -489,7 +489,7 @@ public function getSubmitFontColor() /** * Sets submit_font_color * - * @param string $submit_font_color + * @param string $submit_font_color * * @return self */ @@ -513,7 +513,7 @@ public function getLabelTextColor() /** * Sets label_text_color * - * @param string $label_text_color + * @param string $label_text_color * * @return self */ @@ -537,7 +537,7 @@ public function getSubmitAlignment() /** * Sets submit_alignment * - * @param string $submit_alignment + * @param string $submit_alignment * * @return self */ @@ -571,7 +571,7 @@ public function getSubmitSize() /** * Sets submit_size * - * @param string $submit_size + * @param string $submit_size * * @return self */ @@ -595,7 +595,7 @@ public function getHelpTextColor() /** * Sets help_text_color * - * @param string $help_text_color + * @param string $help_text_color * * @return self */ @@ -619,7 +619,7 @@ public function getSubmitColor() /** * Sets submit_color * - * @param string $submit_color + * @param string $submit_color * * @return self */ diff --git a/codegen/Marketing/Forms/Model/ForwardPaging.php b/codegen/Marketing/Forms/Model/ForwardPaging.php index eb5c35719..fe1559707 100644 --- a/codegen/Marketing/Forms/Model/ForwardPaging.php +++ b/codegen/Marketing/Forms/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Marketing/Forms/Model/HubSpotFormConfiguration.php b/codegen/Marketing/Forms/Model/HubSpotFormConfiguration.php index 2afc8f3e6..46d68407d 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormConfiguration.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormConfiguration.php @@ -319,7 +319,7 @@ public function getLanguageAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['create_new_contact_for_new_email'] = $data['create_new_contact_for_new_email'] ?? null; $this->container['editable'] = $data['editable'] ?? null; diff --git a/codegen/Marketing/Forms/Model/HubSpotFormDefinition.php b/codegen/Marketing/Forms/Model/HubSpotFormDefinition.php index 6bdbb2c5b..9271c39be 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormDefinition.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormDefinition.php @@ -237,7 +237,7 @@ public function getFormTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['form_type'] = $data['form_type'] ?? 'hubspot'; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionAllOf.php b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionAllOf.php index 0a230c43f..218cda79d 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionAllOf.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionAllOf.php @@ -237,7 +237,7 @@ public function getFormTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['form_type'] = $data['form_type'] ?? 'hubspot'; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequest.php b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequest.php index b51804086..d6159c9ed 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequest.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequest.php @@ -232,7 +232,7 @@ public function getFormTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['form_type'] = $data['form_type'] ?? 'hubspot'; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequestAllOf.php b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequestAllOf.php index 766f2bb96..b23407c20 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequestAllOf.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequestAllOf.php @@ -232,7 +232,7 @@ public function getFormTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['form_type'] = $data['form_type'] ?? 'hubspot'; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionPatchRequest.php b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionPatchRequest.php index 70fe34827..3893c8eb5 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionPatchRequest.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionPatchRequest.php @@ -199,7 +199,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_groups'] = $data['field_groups'] ?? null; $this->container['archived'] = $data['archived'] ?? null; diff --git a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionPatchRequestLegalConsentOptions.php b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionPatchRequestLegalConsentOptions.php index 6f3dec7e1..2053ecb78 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionPatchRequestLegalConsentOptions.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionPatchRequestLegalConsentOptions.php @@ -244,7 +244,7 @@ public function getLawfulBasisAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'implicit_consent_to_process'; $this->container['subscription_type_ids'] = $data['subscription_type_ids'] ?? null; diff --git a/codegen/Marketing/Forms/Model/LegalConsentCheckbox.php b/codegen/Marketing/Forms/Model/LegalConsentCheckbox.php index b5aaec115..4384fb577 100644 --- a/codegen/Marketing/Forms/Model/LegalConsentCheckbox.php +++ b/codegen/Marketing/Forms/Model/LegalConsentCheckbox.php @@ -184,7 +184,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['required'] = $data['required'] ?? null; $this->container['subscription_type_id'] = $data['subscription_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/LegalConsentOptionsExplicitConsentToProcess.php b/codegen/Marketing/Forms/Model/LegalConsentOptionsExplicitConsentToProcess.php index 6b886dd49..8cac28f3c 100644 --- a/codegen/Marketing/Forms/Model/LegalConsentOptionsExplicitConsentToProcess.php +++ b/codegen/Marketing/Forms/Model/LegalConsentOptionsExplicitConsentToProcess.php @@ -217,7 +217,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'explicit_consent_to_process'; $this->container['communication_consent_text'] = $data['communication_consent_text'] ?? null; diff --git a/codegen/Marketing/Forms/Model/LegalConsentOptionsImplicitConsentToProcess.php b/codegen/Marketing/Forms/Model/LegalConsentOptionsImplicitConsentToProcess.php index 3afda310b..d9ab3e8bc 100644 --- a/codegen/Marketing/Forms/Model/LegalConsentOptionsImplicitConsentToProcess.php +++ b/codegen/Marketing/Forms/Model/LegalConsentOptionsImplicitConsentToProcess.php @@ -207,7 +207,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'implicit_consent_to_process'; $this->container['communication_consent_text'] = $data['communication_consent_text'] ?? null; diff --git a/codegen/Marketing/Forms/Model/LegalConsentOptionsLegitimateInterest.php b/codegen/Marketing/Forms/Model/LegalConsentOptionsLegitimateInterest.php index de83e6e52..d34e7e183 100644 --- a/codegen/Marketing/Forms/Model/LegalConsentOptionsLegitimateInterest.php +++ b/codegen/Marketing/Forms/Model/LegalConsentOptionsLegitimateInterest.php @@ -219,7 +219,7 @@ public function getLawfulBasisAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'legitimate_interest'; $this->container['subscription_type_ids'] = $data['subscription_type_ids'] ?? null; diff --git a/codegen/Marketing/Forms/Model/LegalConsentOptionsNone.php b/codegen/Marketing/Forms/Model/LegalConsentOptionsNone.php index c1cd233f9..2754e3b6d 100644 --- a/codegen/Marketing/Forms/Model/LegalConsentOptionsNone.php +++ b/codegen/Marketing/Forms/Model/LegalConsentOptionsNone.php @@ -187,7 +187,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['type'] = $data['type'] ?? 'none'; } diff --git a/codegen/Marketing/Forms/Model/MobilePhoneField.php b/codegen/Marketing/Forms/Model/MobilePhoneField.php index f39932949..5f8da9d33 100644 --- a/codegen/Marketing/Forms/Model/MobilePhoneField.php +++ b/codegen/Marketing/Forms/Model/MobilePhoneField.php @@ -238,7 +238,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'mobile_phone'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/MultiLineTextField.php b/codegen/Marketing/Forms/Model/MultiLineTextField.php index a46aad018..b7e88a2d9 100644 --- a/codegen/Marketing/Forms/Model/MultiLineTextField.php +++ b/codegen/Marketing/Forms/Model/MultiLineTextField.php @@ -233,7 +233,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'multi_line_text'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/MultipleCheckboxesField.php b/codegen/Marketing/Forms/Model/MultipleCheckboxesField.php index 26be7a58d..8e7222ada 100644 --- a/codegen/Marketing/Forms/Model/MultipleCheckboxesField.php +++ b/codegen/Marketing/Forms/Model/MultipleCheckboxesField.php @@ -233,7 +233,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'multiple_checkboxes'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/NextPage.php b/codegen/Marketing/Forms/Model/NextPage.php index 941333a1c..2126488de 100644 --- a/codegen/Marketing/Forms/Model/NextPage.php +++ b/codegen/Marketing/Forms/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['link'] = $data['link'] ?? null; $this->container['after'] = $data['after'] ?? null; diff --git a/codegen/Marketing/Forms/Model/NumberField.php b/codegen/Marketing/Forms/Model/NumberField.php index e3875bb8e..70f4f2b4e 100644 --- a/codegen/Marketing/Forms/Model/NumberField.php +++ b/codegen/Marketing/Forms/Model/NumberField.php @@ -238,7 +238,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'number'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/NumberFieldValidation.php b/codegen/Marketing/Forms/Model/NumberFieldValidation.php index 87f44c9aa..07a67fc57 100644 --- a/codegen/Marketing/Forms/Model/NumberFieldValidation.php +++ b/codegen/Marketing/Forms/Model/NumberFieldValidation.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['min_allowed_digits'] = $data['min_allowed_digits'] ?? null; $this->container['max_allowed_digits'] = $data['max_allowed_digits'] ?? null; diff --git a/codegen/Marketing/Forms/Model/PaymentLinkRadioField.php b/codegen/Marketing/Forms/Model/PaymentLinkRadioField.php index ba118dacf..c59fdac18 100644 --- a/codegen/Marketing/Forms/Model/PaymentLinkRadioField.php +++ b/codegen/Marketing/Forms/Model/PaymentLinkRadioField.php @@ -232,7 +232,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'payment_link_radio'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/PhoneField.php b/codegen/Marketing/Forms/Model/PhoneField.php index 3ee964f9d..2a256d646 100644 --- a/codegen/Marketing/Forms/Model/PhoneField.php +++ b/codegen/Marketing/Forms/Model/PhoneField.php @@ -243,7 +243,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'phone'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/PhoneFieldValidation.php b/codegen/Marketing/Forms/Model/PhoneFieldValidation.php index 9e6aa13ac..18e69aa37 100644 --- a/codegen/Marketing/Forms/Model/PhoneFieldValidation.php +++ b/codegen/Marketing/Forms/Model/PhoneFieldValidation.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['min_allowed_digits'] = $data['min_allowed_digits'] ?? null; $this->container['max_allowed_digits'] = $data['max_allowed_digits'] ?? null; diff --git a/codegen/Marketing/Forms/Model/RadioField.php b/codegen/Marketing/Forms/Model/RadioField.php index 5d05556eb..e82226afe 100644 --- a/codegen/Marketing/Forms/Model/RadioField.php +++ b/codegen/Marketing/Forms/Model/RadioField.php @@ -238,7 +238,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'radio'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/SingleCheckboxField.php b/codegen/Marketing/Forms/Model/SingleCheckboxField.php index a8c099933..bae4b37da 100644 --- a/codegen/Marketing/Forms/Model/SingleCheckboxField.php +++ b/codegen/Marketing/Forms/Model/SingleCheckboxField.php @@ -228,7 +228,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'single_checkbox'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Forms/Model/SingleLineTextField.php b/codegen/Marketing/Forms/Model/SingleLineTextField.php index 6ec87151f..fd0bdd2e3 100644 --- a/codegen/Marketing/Forms/Model/SingleLineTextField.php +++ b/codegen/Marketing/Forms/Model/SingleLineTextField.php @@ -233,7 +233,7 @@ public function getFieldTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['field_type'] = $data['field_type'] ?? 'single_line_text'; $this->container['object_type_id'] = $data['object_type_id'] ?? null; diff --git a/codegen/Marketing/Transactional/Api/PublicSmtpTokensApi.php b/codegen/Marketing/Transactional/Api/PublicSmtpTokensApi.php index e0cb1cdae..65e9d0d91 100644 --- a/codegen/Marketing/Transactional/Api/PublicSmtpTokensApi.php +++ b/codegen/Marketing/Transactional/Api/PublicSmtpTokensApi.php @@ -76,9 +76,9 @@ class PublicSmtpTokensApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Transactional/Api/SingleSendApi.php b/codegen/Marketing/Transactional/Api/SingleSendApi.php index 6a2fe2090..6e76c190a 100644 --- a/codegen/Marketing/Transactional/Api/SingleSendApi.php +++ b/codegen/Marketing/Transactional/Api/SingleSendApi.php @@ -76,9 +76,9 @@ class SingleSendApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Transactional/Model/CollectionResponseSmtpApiTokenViewForwardPaging.php b/codegen/Marketing/Transactional/Model/CollectionResponseSmtpApiTokenViewForwardPaging.php index 75aac2c4f..7af29e1a3 100644 --- a/codegen/Marketing/Transactional/Model/CollectionResponseSmtpApiTokenViewForwardPaging.php +++ b/codegen/Marketing/Transactional/Model/CollectionResponseSmtpApiTokenViewForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Marketing/Transactional/Model/EmailSendStatusView.php b/codegen/Marketing/Transactional/Model/EmailSendStatusView.php index e2e6ccf17..6ef821ebc 100644 --- a/codegen/Marketing/Transactional/Model/EmailSendStatusView.php +++ b/codegen/Marketing/Transactional/Model/EmailSendStatusView.php @@ -319,7 +319,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status_id'] = $data['status_id'] ?? null; $this->container['send_result'] = $data['send_result'] ?? null; diff --git a/codegen/Marketing/Transactional/Model/Error.php b/codegen/Marketing/Transactional/Model/Error.php index 060a99e3d..fe14380e2 100644 --- a/codegen/Marketing/Transactional/Model/Error.php +++ b/codegen/Marketing/Transactional/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Marketing/Transactional/Model/ErrorDetail.php b/codegen/Marketing/Transactional/Model/ErrorDetail.php index 49a17eb84..2c486d30b 100644 --- a/codegen/Marketing/Transactional/Model/ErrorDetail.php +++ b/codegen/Marketing/Transactional/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Marketing/Transactional/Model/EventIdView.php b/codegen/Marketing/Transactional/Model/EventIdView.php index c30489013..5191c5d48 100644 --- a/codegen/Marketing/Transactional/Model/EventIdView.php +++ b/codegen/Marketing/Transactional/Model/EventIdView.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['created'] = $data['created'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Marketing/Transactional/Model/ForwardPaging.php b/codegen/Marketing/Transactional/Model/ForwardPaging.php index 986ace9ca..540d299ba 100644 --- a/codegen/Marketing/Transactional/Model/ForwardPaging.php +++ b/codegen/Marketing/Transactional/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Marketing/Transactional/Model/NextPage.php b/codegen/Marketing/Transactional/Model/NextPage.php index 09660f8c7..fb8e4a56a 100644 --- a/codegen/Marketing/Transactional/Model/NextPage.php +++ b/codegen/Marketing/Transactional/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Marketing/Transactional/Model/PublicSingleSendEmail.php b/codegen/Marketing/Transactional/Model/PublicSingleSendEmail.php index 0ce92e7b3..dccfe6674 100644 --- a/codegen/Marketing/Transactional/Model/PublicSingleSendEmail.php +++ b/codegen/Marketing/Transactional/Model/PublicSingleSendEmail.php @@ -200,7 +200,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['from'] = $data['from'] ?? null; $this->container['to'] = $data['to'] ?? null; diff --git a/codegen/Marketing/Transactional/Model/PublicSingleSendRequestEgg.php b/codegen/Marketing/Transactional/Model/PublicSingleSendRequestEgg.php index 906d7415b..29529d940 100644 --- a/codegen/Marketing/Transactional/Model/PublicSingleSendRequestEgg.php +++ b/codegen/Marketing/Transactional/Model/PublicSingleSendRequestEgg.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email_id'] = $data['email_id'] ?? null; $this->container['message'] = $data['message'] ?? null; diff --git a/codegen/Marketing/Transactional/Model/SmtpApiTokenRequestEgg.php b/codegen/Marketing/Transactional/Model/SmtpApiTokenRequestEgg.php index 73ade05f3..e1eed5ca3 100644 --- a/codegen/Marketing/Transactional/Model/SmtpApiTokenRequestEgg.php +++ b/codegen/Marketing/Transactional/Model/SmtpApiTokenRequestEgg.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['create_contact'] = $data['create_contact'] ?? null; $this->container['campaign_name'] = $data['campaign_name'] ?? null; diff --git a/codegen/Marketing/Transactional/Model/SmtpApiTokenView.php b/codegen/Marketing/Transactional/Model/SmtpApiTokenView.php index 0b550c448..ff63ec9e9 100644 --- a/codegen/Marketing/Transactional/Model/SmtpApiTokenView.php +++ b/codegen/Marketing/Transactional/Model/SmtpApiTokenView.php @@ -205,7 +205,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['created_by'] = $data['created_by'] ?? null; diff --git a/codegen/Settings/BusinessUnits/Api/BusinessUnitApi.php b/codegen/Settings/BusinessUnits/Api/BusinessUnitApi.php index 01ac5544d..401da016b 100644 --- a/codegen/Settings/BusinessUnits/Api/BusinessUnitApi.php +++ b/codegen/Settings/BusinessUnits/Api/BusinessUnitApi.php @@ -76,9 +76,9 @@ class BusinessUnitApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Settings/BusinessUnits/Model/CollectionResponsePublicBusinessUnitNoPaging.php b/codegen/Settings/BusinessUnits/Model/CollectionResponsePublicBusinessUnitNoPaging.php index d877b3bc2..7f23f6261 100644 --- a/codegen/Settings/BusinessUnits/Model/CollectionResponsePublicBusinessUnitNoPaging.php +++ b/codegen/Settings/BusinessUnits/Model/CollectionResponsePublicBusinessUnitNoPaging.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Settings/BusinessUnits/Model/Error.php b/codegen/Settings/BusinessUnits/Model/Error.php index 7f70550e6..56e2200af 100644 --- a/codegen/Settings/BusinessUnits/Model/Error.php +++ b/codegen/Settings/BusinessUnits/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['context'] = $data['context'] ?? null; diff --git a/codegen/Settings/BusinessUnits/Model/ErrorDetail.php b/codegen/Settings/BusinessUnits/Model/ErrorDetail.php index 8a0da11f2..56745b118 100644 --- a/codegen/Settings/BusinessUnits/Model/ErrorDetail.php +++ b/codegen/Settings/BusinessUnits/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['sub_category'] = $data['sub_category'] ?? null; $this->container['code'] = $data['code'] ?? null; diff --git a/codegen/Settings/BusinessUnits/Model/PublicBusinessUnit.php b/codegen/Settings/BusinessUnits/Model/PublicBusinessUnit.php index 0152da37f..7bfb86626 100644 --- a/codegen/Settings/BusinessUnits/Model/PublicBusinessUnit.php +++ b/codegen/Settings/BusinessUnits/Model/PublicBusinessUnit.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['logo_metadata'] = $data['logo_metadata'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Settings/BusinessUnits/Model/PublicBusinessUnitLogoMetadata.php b/codegen/Settings/BusinessUnits/Model/PublicBusinessUnitLogoMetadata.php index e73c5bbf7..0280acf6e 100644 --- a/codegen/Settings/BusinessUnits/Model/PublicBusinessUnitLogoMetadata.php +++ b/codegen/Settings/BusinessUnits/Model/PublicBusinessUnitLogoMetadata.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['logo_alt_text'] = $data['logo_alt_text'] ?? null; $this->container['resized_url'] = $data['resized_url'] ?? null; diff --git a/codegen/Settings/Users/Api/RolesApi.php b/codegen/Settings/Users/Api/RolesApi.php index d94aeb05e..511050f36 100644 --- a/codegen/Settings/Users/Api/RolesApi.php +++ b/codegen/Settings/Users/Api/RolesApi.php @@ -76,9 +76,9 @@ class RolesApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Settings/Users/Api/TeamsApi.php b/codegen/Settings/Users/Api/TeamsApi.php index 6c92f5113..4ee131c11 100644 --- a/codegen/Settings/Users/Api/TeamsApi.php +++ b/codegen/Settings/Users/Api/TeamsApi.php @@ -76,9 +76,9 @@ class TeamsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Settings/Users/Api/UsersApi.php b/codegen/Settings/Users/Api/UsersApi.php index 562025844..577bb5320 100644 --- a/codegen/Settings/Users/Api/UsersApi.php +++ b/codegen/Settings/Users/Api/UsersApi.php @@ -76,9 +76,9 @@ class UsersApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Settings/Users/Model/CollectionResponsePublicPermissionSetNoPaging.php b/codegen/Settings/Users/Model/CollectionResponsePublicPermissionSetNoPaging.php index 321427edc..be5c3bb6d 100644 --- a/codegen/Settings/Users/Model/CollectionResponsePublicPermissionSetNoPaging.php +++ b/codegen/Settings/Users/Model/CollectionResponsePublicPermissionSetNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Settings/Users/Model/CollectionResponsePublicTeamNoPaging.php b/codegen/Settings/Users/Model/CollectionResponsePublicTeamNoPaging.php index 641584c48..4ce394964 100644 --- a/codegen/Settings/Users/Model/CollectionResponsePublicTeamNoPaging.php +++ b/codegen/Settings/Users/Model/CollectionResponsePublicTeamNoPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Settings/Users/Model/CollectionResponsePublicUserForwardPaging.php b/codegen/Settings/Users/Model/CollectionResponsePublicUserForwardPaging.php index 045726a85..8422d04a4 100644 --- a/codegen/Settings/Users/Model/CollectionResponsePublicUserForwardPaging.php +++ b/codegen/Settings/Users/Model/CollectionResponsePublicUserForwardPaging.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; $this->container['paging'] = $data['paging'] ?? null; diff --git a/codegen/Settings/Users/Model/Error.php b/codegen/Settings/Users/Model/Error.php index eae4e46d4..eb9050657 100644 --- a/codegen/Settings/Users/Model/Error.php +++ b/codegen/Settings/Users/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Settings/Users/Model/ErrorDetail.php b/codegen/Settings/Users/Model/ErrorDetail.php index 1356dcb7f..94f15e909 100644 --- a/codegen/Settings/Users/Model/ErrorDetail.php +++ b/codegen/Settings/Users/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Settings/Users/Model/ForwardPaging.php b/codegen/Settings/Users/Model/ForwardPaging.php index e66a2cd24..bafdb01c1 100644 --- a/codegen/Settings/Users/Model/ForwardPaging.php +++ b/codegen/Settings/Users/Model/ForwardPaging.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['next'] = $data['next'] ?? null; } diff --git a/codegen/Settings/Users/Model/NextPage.php b/codegen/Settings/Users/Model/NextPage.php index 83593bf4d..de4525824 100644 --- a/codegen/Settings/Users/Model/NextPage.php +++ b/codegen/Settings/Users/Model/NextPage.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['after'] = $data['after'] ?? null; $this->container['link'] = $data['link'] ?? null; diff --git a/codegen/Settings/Users/Model/PublicPermissionSet.php b/codegen/Settings/Users/Model/PublicPermissionSet.php index f1ce7e41b..a547534ac 100644 --- a/codegen/Settings/Users/Model/PublicPermissionSet.php +++ b/codegen/Settings/Users/Model/PublicPermissionSet.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Settings/Users/Model/PublicTeam.php b/codegen/Settings/Users/Model/PublicTeam.php index eedda21da..6de3c08d7 100644 --- a/codegen/Settings/Users/Model/PublicTeam.php +++ b/codegen/Settings/Users/Model/PublicTeam.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['name'] = $data['name'] ?? null; diff --git a/codegen/Settings/Users/Model/PublicUser.php b/codegen/Settings/Users/Model/PublicUser.php index 185908fd7..984a068a6 100644 --- a/codegen/Settings/Users/Model/PublicUser.php +++ b/codegen/Settings/Users/Model/PublicUser.php @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['email'] = $data['email'] ?? null; diff --git a/codegen/Settings/Users/Model/PublicUserUpdate.php b/codegen/Settings/Users/Model/PublicUserUpdate.php index d36ab3df4..673a1ea6f 100644 --- a/codegen/Settings/Users/Model/PublicUserUpdate.php +++ b/codegen/Settings/Users/Model/PublicUserUpdate.php @@ -185,7 +185,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['role_id'] = $data['role_id'] ?? null; $this->container['primary_team_id'] = $data['primary_team_id'] ?? null; diff --git a/codegen/Settings/Users/Model/UserProvisionRequest.php b/codegen/Settings/Users/Model/UserProvisionRequest.php index 1d64f7fb9..bac9b412e 100644 --- a/codegen/Settings/Users/Model/UserProvisionRequest.php +++ b/codegen/Settings/Users/Model/UserProvisionRequest.php @@ -195,7 +195,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['email'] = $data['email'] ?? null; $this->container['role_id'] = $data['role_id'] ?? null; diff --git a/codegen/Webhooks/Api/SettingsApi.php b/codegen/Webhooks/Api/SettingsApi.php index 21d339cf4..d43e25032 100644 --- a/codegen/Webhooks/Api/SettingsApi.php +++ b/codegen/Webhooks/Api/SettingsApi.php @@ -76,9 +76,9 @@ class SettingsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Webhooks/Api/SubscriptionsApi.php b/codegen/Webhooks/Api/SubscriptionsApi.php index 8ccea0e41..6f095197f 100644 --- a/codegen/Webhooks/Api/SubscriptionsApi.php +++ b/codegen/Webhooks/Api/SubscriptionsApi.php @@ -76,9 +76,9 @@ class SubscriptionsApi * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Webhooks/Model/BatchInputSubscriptionBatchUpdateRequest.php b/codegen/Webhooks/Model/BatchInputSubscriptionBatchUpdateRequest.php index 43b18153b..ffdc1e2f7 100644 --- a/codegen/Webhooks/Model/BatchInputSubscriptionBatchUpdateRequest.php +++ b/codegen/Webhooks/Model/BatchInputSubscriptionBatchUpdateRequest.php @@ -174,7 +174,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['inputs'] = $data['inputs'] ?? null; } diff --git a/codegen/Webhooks/Model/BatchResponseSubscriptionResponse.php b/codegen/Webhooks/Model/BatchResponseSubscriptionResponse.php index b3704514c..cb9b2dcb3 100644 --- a/codegen/Webhooks/Model/BatchResponseSubscriptionResponse.php +++ b/codegen/Webhooks/Model/BatchResponseSubscriptionResponse.php @@ -218,7 +218,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Webhooks/Model/BatchResponseSubscriptionResponseWithErrors.php b/codegen/Webhooks/Model/BatchResponseSubscriptionResponseWithErrors.php index defc73521..4f7955716 100644 --- a/codegen/Webhooks/Model/BatchResponseSubscriptionResponseWithErrors.php +++ b/codegen/Webhooks/Model/BatchResponseSubscriptionResponseWithErrors.php @@ -228,7 +228,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['results'] = $data['results'] ?? null; diff --git a/codegen/Webhooks/Model/Error.php b/codegen/Webhooks/Model/Error.php index e2538faaa..461d53fef 100644 --- a/codegen/Webhooks/Model/Error.php +++ b/codegen/Webhooks/Model/Error.php @@ -204,7 +204,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['correlation_id'] = $data['correlation_id'] ?? null; diff --git a/codegen/Webhooks/Model/ErrorDetail.php b/codegen/Webhooks/Model/ErrorDetail.php index 314e076ec..726ba6781 100644 --- a/codegen/Webhooks/Model/ErrorDetail.php +++ b/codegen/Webhooks/Model/ErrorDetail.php @@ -194,7 +194,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['message'] = $data['message'] ?? null; $this->container['in'] = $data['in'] ?? null; diff --git a/codegen/Webhooks/Model/SettingsChangeRequest.php b/codegen/Webhooks/Model/SettingsChangeRequest.php index c893b6f82..d01d26c45 100644 --- a/codegen/Webhooks/Model/SettingsChangeRequest.php +++ b/codegen/Webhooks/Model/SettingsChangeRequest.php @@ -180,7 +180,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['target_url'] = $data['target_url'] ?? null; $this->container['throttling'] = $data['throttling'] ?? null; diff --git a/codegen/Webhooks/Model/SettingsResponse.php b/codegen/Webhooks/Model/SettingsResponse.php index a4d87a3d2..637d449d0 100644 --- a/codegen/Webhooks/Model/SettingsResponse.php +++ b/codegen/Webhooks/Model/SettingsResponse.php @@ -190,7 +190,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['target_url'] = $data['target_url'] ?? null; $this->container['throttling'] = $data['throttling'] ?? null; diff --git a/codegen/Webhooks/Model/StandardError.php b/codegen/Webhooks/Model/StandardError.php index 6c4cd5ed1..87a667040 100644 --- a/codegen/Webhooks/Model/StandardError.php +++ b/codegen/Webhooks/Model/StandardError.php @@ -209,7 +209,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['status'] = $data['status'] ?? null; $this->container['id'] = $data['id'] ?? null; diff --git a/codegen/Webhooks/Model/SubscriptionBatchUpdateRequest.php b/codegen/Webhooks/Model/SubscriptionBatchUpdateRequest.php index 085ac38e5..5eeb497d3 100644 --- a/codegen/Webhooks/Model/SubscriptionBatchUpdateRequest.php +++ b/codegen/Webhooks/Model/SubscriptionBatchUpdateRequest.php @@ -179,7 +179,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['id'] = $data['id'] ?? null; $this->container['active'] = $data['active'] ?? null; diff --git a/codegen/Webhooks/Model/SubscriptionCreateRequest.php b/codegen/Webhooks/Model/SubscriptionCreateRequest.php index e51b30563..fc9353602 100644 --- a/codegen/Webhooks/Model/SubscriptionCreateRequest.php +++ b/codegen/Webhooks/Model/SubscriptionCreateRequest.php @@ -278,7 +278,7 @@ public function getEventTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['event_type'] = $data['event_type'] ?? null; $this->container['property_name'] = $data['property_name'] ?? null; diff --git a/codegen/Webhooks/Model/SubscriptionListResponse.php b/codegen/Webhooks/Model/SubscriptionListResponse.php index 4363da84a..84b0fa7d5 100644 --- a/codegen/Webhooks/Model/SubscriptionListResponse.php +++ b/codegen/Webhooks/Model/SubscriptionListResponse.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['results'] = $data['results'] ?? null; } diff --git a/codegen/Webhooks/Model/SubscriptionPatchRequest.php b/codegen/Webhooks/Model/SubscriptionPatchRequest.php index 530cc1a94..8c0735f46 100644 --- a/codegen/Webhooks/Model/SubscriptionPatchRequest.php +++ b/codegen/Webhooks/Model/SubscriptionPatchRequest.php @@ -175,7 +175,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['active'] = $data['active'] ?? null; } diff --git a/codegen/Webhooks/Model/SubscriptionResponse.php b/codegen/Webhooks/Model/SubscriptionResponse.php index 9b92f80d7..1829e327a 100644 --- a/codegen/Webhooks/Model/SubscriptionResponse.php +++ b/codegen/Webhooks/Model/SubscriptionResponse.php @@ -293,7 +293,7 @@ public function getEventTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['event_type'] = $data['event_type'] ?? null; $this->container['property_name'] = $data['property_name'] ?? null; diff --git a/codegen/Webhooks/Model/ThrottlingSettings.php b/codegen/Webhooks/Model/ThrottlingSettings.php index 70df609f8..356816c65 100644 --- a/codegen/Webhooks/Model/ThrottlingSettings.php +++ b/codegen/Webhooks/Model/ThrottlingSettings.php @@ -195,7 +195,7 @@ public function getPeriodAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->container['max_concurrent_requests'] = $data['max_concurrent_requests'] ?? null; $this->container['period'] = $data['period'] ?? null; diff --git a/lib/Factory.php b/lib/Factory.php index 18155f919..4b2055cfe 100644 --- a/lib/Factory.php +++ b/lib/Factory.php @@ -11,12 +11,12 @@ */ class Factory { - public static function create(ClientInterface $client = null, Config $config = null): Discovery + public static function create(?ClientInterface $client = null, ?Config $config = null): Discovery { return new Discovery($client ?: new Client(), $config ?: new Config()); } - public static function createWithApiKey(string $apiKey, ClientInterface $client = null): Discovery + public static function createWithApiKey(string $apiKey, ?ClientInterface $client = null): Discovery { $config = new Config(); $config->setApiKey($apiKey); @@ -24,7 +24,7 @@ public static function createWithApiKey(string $apiKey, ClientInterface $client return static::create($client, $config); } - public static function createWithDeveloperApiKey(string $apiKey, ClientInterface $client = null): Discovery + public static function createWithDeveloperApiKey(string $apiKey, ?ClientInterface $client = null): Discovery { $config = new Config(); $config->setDeveloperApiKey($apiKey); @@ -32,7 +32,7 @@ public static function createWithDeveloperApiKey(string $apiKey, ClientInterface return static::create($client, $config); } - public static function createWithAccessToken(string $accessToken, ClientInterface $client = null): Discovery + public static function createWithAccessToken(string $accessToken, ?ClientInterface $client = null): Discovery { $config = new Config(); $config->setAccessToken($accessToken); diff --git a/lib/RetryMiddlewareFactory.php b/lib/RetryMiddlewareFactory.php index 519c47135..f063d475e 100644 --- a/lib/RetryMiddlewareFactory.php +++ b/lib/RetryMiddlewareFactory.php @@ -9,14 +9,14 @@ class RetryMiddlewareFactory { public static function createInternalErrorsMiddleware( - callable $delayFunction = null, + ?callable $delayFunction = null, int $maxRetries = 5 ) { return static::createMiddlewareByHttpCodeRange(500, 504, $delayFunction, $maxRetries); } public static function createRateLimitMiddleware( - callable $delayFunction = null, + ?callable $delayFunction = null, int $maxRetries = 5 ) { return static::createMiddlewareByHttpCodes([429], $delayFunction, $maxRetries); @@ -53,7 +53,7 @@ public static function getRetryFunctionByRange( return function ( $retries, Request $request, - Response $response = null + ?Response $response = null ) use ($from, $to, $maxRetries) { if ($retries >= $maxRetries) { return false; @@ -74,7 +74,7 @@ public static function getRetryFunction(array $codes, int $maxRetries = 5) return function ( $retries, Request $request, - Response $response = null + ?Response $response = null ) use ($codes, $maxRetries) { if ($retries >= $maxRetries) { return false; diff --git a/tests/Unit/Utils/SignatureTest.php b/tests/Unit/Utils/SignatureTest.php index d25416e7a..359a9e5c0 100644 --- a/tests/Unit/Utils/SignatureTest.php +++ b/tests/Unit/Utils/SignatureTest.php @@ -87,9 +87,9 @@ public function unexpectedValueExceptionTimestampTest(): void public static function generateHubspotSignatureV3( string $secret, string $requestBody, - string $httpUri = null, + ?string $httpUri = null, string $httpMethod = 'POST', - int $timestamp = null + ?int $timestamp = null ): string { $sourceString = $httpMethod.$httpUri.$requestBody.$timestamp;