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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions codegen/Auth/OAuth/Api/AccessTokensApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
6 changes: 3 additions & 3 deletions codegen/Auth/OAuth/Api/RefreshTokensApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
6 changes: 3 additions & 3 deletions codegen/Auth/OAuth/Api/TokensApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion codegen/Auth/OAuth/Model/AccessTokenInfoResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Auth/OAuth/Model/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Auth/OAuth/Model/ErrorDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Auth/OAuth/Model/RefreshTokenInfoResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Auth/OAuth/Model/TokenResponseIF.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions codegen/Automation/Actions/Api/CallbacksApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
6 changes: 3 additions & 3 deletions codegen/Automation/Actions/Api/DefinitionsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
6 changes: 3 additions & 3 deletions codegen/Automation/Actions/Api/FunctionsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
6 changes: 3 additions & 3 deletions codegen/Automation/Actions/Api/RevisionsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/Model/ActionFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/Model/ActionLabels.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/Model/ActionRevision.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public function getModelName()
* @param 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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public function getModelName()
* @param 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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/Model/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/Model/ErrorDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/Model/FieldTypeDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/Model/ForwardPaging.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/Model/InputFieldDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/Model/NextPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public function getModelName()
* @param 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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/Model/ObjectRequestOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/Model/Option.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/Model/SingleFieldDependency.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions codegen/Cms/AuditLogs/Api/AuditLogsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Cms/AuditLogs/Model/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion codegen/Cms/AuditLogs/Model/ErrorDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading