From c5b1f1d432c0cc56350dabc1685f09503ddd783b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Jul 2024 13:45:25 +0000 Subject: [PATCH 1/2] build(deps): update jane-php/open-api-runtime requirement Updates the requirements on [jane-php/open-api-runtime](https://github.com/janephp/open-api-runtime) to permit the latest version. - [Release notes](https://github.com/janephp/open-api-runtime/releases) - [Commits](https://github.com/janephp/open-api-runtime/compare/v7.7.0...v7.8.0) --- updated-dependencies: - dependency-name: jane-php/open-api-runtime dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c598bf0..4ba9a23 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } ], "require": { - "jane-php/open-api-runtime": "7.7.0", + "jane-php/open-api-runtime": "7.8.0", "php": ">=8.0" }, "require-dev": { From 3612123ab1f8b83584072bd4228ba6504b20aeb7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Thu, 4 Jul 2024 13:49:23 +0000 Subject: [PATCH 2/2] refactor(lib): get fully qualified name with `::class` Release-As: 2.1.1 --- ...heduleCreatePostBodyAudienceNormalizer.php | 12 +- ...riggerScheduleCreatePostBodyNormalizer.php | 24 +- ...CreatePostBodyRecipientsItemNormalizer.php | 12 +- ...heduleCreatePostBodyScheduleNormalizer.php | 12 +- ...riggerScheduleDeletePostBodyNormalizer.php | 12 +- ...riggerScheduleUpdatePostBodyNormalizer.php | 16 +- ...heduleUpdatePostBodyScheduleNormalizer.php | 12 +- ...sTriggerSendPostBodyAudienceNormalizer.php | 12 +- ...CampaignsTriggerSendPostBodyNormalizer.php | 20 +- ...BodyRecipientsItemAttributesNormalizer.php | 12 +- ...erSendPostBodyRecipientsItemNormalizer.php | 20 +- ...tBodyRecipientsItemUserAliasNormalizer.php | 12 +- ...heduleCreatePostBodyAudienceNormalizer.php | 12 +- ...riggerScheduleCreatePostBodyNormalizer.php | 24 +- ...CreatePostBodyRecipientsItemNormalizer.php | 12 +- ...heduleCreatePostBodyScheduleNormalizer.php | 12 +- ...riggerScheduleDeletePostBodyNormalizer.php | 12 +- ...riggerScheduleUpdatePostBodyNormalizer.php | 16 +- ...heduleUpdatePostBodyScheduleNormalizer.php | 12 +- ...sTriggerSendPostBodyAudienceNormalizer.php | 12 +- ...ostBodyCanvasEntryPropertiesNormalizer.php | 12 +- .../CanvasTriggerSendPostBodyNormalizer.php | 24 +- ...BodyRecipientsItemAttributesNormalizer.php | 12 +- ...erSendPostBodyRecipientsItemNormalizer.php | 20 +- ...tBodyRecipientsItemUserAliasNormalizer.php | 12 +- ...alogNameItemsItemIdPatchBodyNormalizer.php | 12 +- ...talogNameItemsItemIdPostBodyNormalizer.php | 12 +- ...atalogNameItemsItemIdPutBodyNormalizer.php | 12 +- ...gNameItemsPatchBodyItemsItemNormalizer.php | 12 +- ...ogsCatalogNameItemsPatchBodyNormalizer.php | 16 +- ...logsCatalogNameItemsPostBodyNormalizer.php | 12 +- ...alogsCatalogNameItemsPutBodyNormalizer.php | 12 +- ...stBodyCatalogsItemFieldsItemNormalizer.php | 12 +- ...CatalogsPostBodyCatalogsItemNormalizer.php | 16 +- lib/Normalizer/CatalogsPostBodyNormalizer.php | 16 +- .../ContentBlocksCreatePostBodyNormalizer.php | 12 +- .../ContentBlocksUpdatePostBodyNormalizer.php | 12 +- .../EmailBlacklistPostBodyNormalizer.php | 12 +- .../EmailBlocklistPostBodyNormalizer.php | 12 +- .../EmailBounceRemovePostBodyNormalizer.php | 12 +- .../EmailSpamRemovePostBodyNormalizer.php | 12 +- .../EmailStatusPostBodyNormalizer.php | 12 +- lib/Normalizer/ErrorNormalizer.php | 12 +- lib/Normalizer/JaneObjectNormalizer.php | 644 ++++++++++++------ ...tyUpdatePostBodyContentStateNormalizer.php | 12 +- ...esLiveActivityUpdatePostBodyNormalizer.php | 20 +- ...atePostBodyNotificationAlertNormalizer.php | 12 +- ...tyUpdatePostBodyNotificationNormalizer.php | 16 +- ...heduleCreatePostBodyAudienceNormalizer.php | 12 +- ...heduleCreatePostBodyMessagesNormalizer.php | 12 +- ...ssagesScheduleCreatePostBodyNormalizer.php | 28 +- ...heduleCreatePostBodyScheduleNormalizer.php | 12 +- ...uleCreatePostBodyUserAliasesNormalizer.php | 12 +- ...ssagesScheduleDeletePostBodyNormalizer.php | 12 +- ...ePostBodyMessagesAndroidPushNormalizer.php | 12 +- ...atePostBodyMessagesApplePushNormalizer.php | 12 +- ...heduleUpdatePostBodyMessagesNormalizer.php | 24 +- ...uleUpdatePostBodyMessagesSmsNormalizer.php | 12 +- ...ssagesScheduleUpdatePostBodyNormalizer.php | 20 +- ...heduleUpdatePostBodyScheduleNormalizer.php | 12 +- ...MessagesSendPostBodyAudienceNormalizer.php | 12 +- ...MessagesSendPostBodyMessagesNormalizer.php | 12 +- .../MessagesSendPostBodyNormalizer.php | 24 +- ...sagesSendPostBodyUserAliasesNormalizer.php | 12 +- .../PreferenceCenterV1PostBodyNormalizer.php | 16 +- ...renceCenterV1PostBodyOptionsNormalizer.php | 12 +- ...renceCenterExternalIDPutBodyNormalizer.php | 20 +- ...ternalIDPutBodyRecipientItemNormalizer.php | 12 +- ...alIDPutBodyTriggerPropertiesNormalizer.php | 12 +- .../ScimV2UsersIdPutBodyNameNormalizer.php | 12 +- .../ScimV2UsersIdPutBodyNormalizer.php | 20 +- ...tBodyPermissionsAppGroupItemNormalizer.php | 16 +- ...missionsAppGroupItemTeamItemNormalizer.php | 12 +- ...mV2UsersIdPutBodyPermissionsNormalizer.php | 16 +- .../ScimV2UsersPostBodyNameNormalizer.php | 12 +- .../ScimV2UsersPostBodyNormalizer.php | 20 +- ...tBodyPermissionsAppGroupItemNormalizer.php | 16 +- ...missionsAppGroupItemTeamItemNormalizer.php | 12 +- ...imV2UsersPostBodyPermissionsNormalizer.php | 16 +- .../SendsIdCreatePostBodyNormalizer.php | 12 +- ...idPhoneNumbersRemovePostBodyNormalizer.php | 12 +- ...ubscriptionStatusSetPostBodyNormalizer.php | 12 +- ...TemplatesEmailCreatePostBodyNormalizer.php | 12 +- ...TemplatesEmailUpdatePostBodyNormalizer.php | 12 +- ...paignsCampaignIdSendPostBodyNormalizer.php | 20 +- ...nIdSendPostBodyRecipientItemNormalizer.php | 12 +- ...endPostBodyTriggerPropertiesNormalizer.php | 12 +- .../UsersAliasNewPostBodyNormalizer.php | 16 +- ...asNewPostBodyUserAliasesItemNormalizer.php | 12 +- ...datePostBodyAliasUpdatesItemNormalizer.php | 12 +- .../UsersAliasUpdatePostBodyNormalizer.php | 16 +- .../UsersDeletePostBodyNormalizer.php | 16 +- ...eletePostBodyUserAliasesItemNormalizer.php | 12 +- ...rtGlobalControlGroupPostBodyNormalizer.php | 12 +- .../UsersExportIdsPostBodyNormalizer.php | 16 +- ...rtIdsPostBodyUserAliasesItemNormalizer.php | 12 +- .../UsersExportSegmentPostBodyNormalizer.php | 12 +- ...ersExternalIdsRemovePostBodyNormalizer.php | 12 +- ...ostBodyExternalIdRenamesItemNormalizer.php | 12 +- ...ersExternalIdsRenamePostBodyNormalizer.php | 16 +- ...ostBodyAliasesToIdentifyItemNormalizer.php | 16 +- ...iasesToIdentifyItemUserAliasNormalizer.php | 12 +- .../UsersIdentifyPostBodyNormalizer.php | 16 +- .../UsersMergePostBodyNormalizer.php | 12 +- .../UsersTrackPostBodyNormalizer.php | 12 +- ...ubscriptionStatusSetPostBodyNormalizer.php | 16 +- ...stBodySubscriptionGroupsItemNormalizer.php | 12 +- 107 files changed, 1176 insertions(+), 964 deletions(-) diff --git a/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer.php b/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer.php index 21830d7..f67b79a 100644 --- a/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer.php +++ b/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer.php @@ -31,12 +31,12 @@ class CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyAudience'; + return $type === \Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyAudience'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyAudience' => false]; + return [\Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class => false]; } } } else { @@ -102,12 +102,12 @@ class CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyAudience'; + return $type === \Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyAudience'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyAudience' => false]; + return [\Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class => false]; } } } diff --git a/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyNormalizer.php b/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyNormalizer.php index ddad19f..52041d6 100644 --- a/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyNormalizer.php +++ b/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class CampaignsTriggerScheduleCreatePostBodyNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBody'; + return $type === \Braze\Model\CampaignsTriggerScheduleCreatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -62,13 +62,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('recipients', $data)) { $values = []; foreach ($data['recipients'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyRecipientsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class, 'json', $context); } $object->setRecipients($values); unset($data['recipients']); } if (\array_key_exists('audience', $data)) { - $object->setAudience($this->denormalizer->denormalize($data['audience'], 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyAudience', 'json', $context)); + $object->setAudience($this->denormalizer->denormalize($data['audience'], \Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class, 'json', $context)); unset($data['audience']); } if (\array_key_exists('broadcast', $data)) { @@ -84,7 +84,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['trigger_properties']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodySchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key_1 => $value_2) { @@ -139,7 +139,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleCreatePostBody' => false]; + return [\Braze\Model\CampaignsTriggerScheduleCreatePostBody::class => false]; } } } else { @@ -152,12 +152,12 @@ class CampaignsTriggerScheduleCreatePostBodyNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBody'; + return $type === \Braze\Model\CampaignsTriggerScheduleCreatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -183,13 +183,13 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('recipients', $data)) { $values = []; foreach ($data['recipients'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyRecipientsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class, 'json', $context); } $object->setRecipients($values); unset($data['recipients']); } if (\array_key_exists('audience', $data)) { - $object->setAudience($this->denormalizer->denormalize($data['audience'], 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyAudience', 'json', $context)); + $object->setAudience($this->denormalizer->denormalize($data['audience'], \Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class, 'json', $context)); unset($data['audience']); } if (\array_key_exists('broadcast', $data)) { @@ -205,7 +205,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['trigger_properties']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodySchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key_1 => $value_2) { @@ -263,7 +263,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleCreatePostBody' => false]; + return [\Braze\Model\CampaignsTriggerScheduleCreatePostBody::class => false]; } } } diff --git a/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php b/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php index 6177b52..99f1cf5 100644 --- a/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php +++ b/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php @@ -31,12 +31,12 @@ class CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyRecipientsItem'; + return $type === \Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyRecipientsItem'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyRecipientsItem' => false]; + return [\Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class => false]; } } } else { @@ -116,12 +116,12 @@ class CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyRecipientsItem'; + return $type === \Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyRecipientsItem'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyRecipientsItem' => false]; + return [\Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class => false]; } } } diff --git a/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer.php b/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer.php index b0082e1..cc2d034 100644 --- a/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer.php +++ b/lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer.php @@ -31,12 +31,12 @@ class CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodySchedule'; + return $type === \Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodySchedule'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleCreatePostBodySchedule' => false]; + return [\Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class => false]; } } } else { @@ -108,12 +108,12 @@ class CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodySchedule'; + return $type === \Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodySchedule'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleCreatePostBodySchedule' => false]; + return [\Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class => false]; } } } diff --git a/lib/Normalizer/CampaignsTriggerScheduleDeletePostBodyNormalizer.php b/lib/Normalizer/CampaignsTriggerScheduleDeletePostBodyNormalizer.php index f3582af..2a5a7b8 100644 --- a/lib/Normalizer/CampaignsTriggerScheduleDeletePostBodyNormalizer.php +++ b/lib/Normalizer/CampaignsTriggerScheduleDeletePostBodyNormalizer.php @@ -31,12 +31,12 @@ class CampaignsTriggerScheduleDeletePostBodyNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleDeletePostBody'; + return $type === \Braze\Model\CampaignsTriggerScheduleDeletePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleDeletePostBody'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleDeletePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleDeletePostBody' => false]; + return [\Braze\Model\CampaignsTriggerScheduleDeletePostBody::class => false]; } } } else { @@ -101,12 +101,12 @@ class CampaignsTriggerScheduleDeletePostBodyNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleDeletePostBody'; + return $type === \Braze\Model\CampaignsTriggerScheduleDeletePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleDeletePostBody'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleDeletePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleDeletePostBody' => false]; + return [\Braze\Model\CampaignsTriggerScheduleDeletePostBody::class => false]; } } } diff --git a/lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyNormalizer.php b/lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyNormalizer.php index abe181a..9427ebe 100644 --- a/lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyNormalizer.php +++ b/lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class CampaignsTriggerScheduleUpdatePostBodyNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBody'; + return $type === \Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['schedule_id']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBodySchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleUpdatePostBody' => false]; + return [\Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class => false]; } } } else { @@ -108,12 +108,12 @@ class CampaignsTriggerScheduleUpdatePostBodyNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBody'; + return $type === \Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['schedule_id']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBodySchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleUpdatePostBody' => false]; + return [\Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class => false]; } } } diff --git a/lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer.php b/lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer.php index 67a40b6..5fbefa9 100644 --- a/lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer.php +++ b/lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer.php @@ -31,12 +31,12 @@ class CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBodySchedule'; + return $type === \Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBodySchedule'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleUpdatePostBodySchedule' => false]; + return [\Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class => false]; } } } else { @@ -101,12 +101,12 @@ class CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBodySchedule'; + return $type === \Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBodySchedule'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerScheduleUpdatePostBodySchedule' => false]; + return [\Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class => false]; } } } diff --git a/lib/Normalizer/CampaignsTriggerSendPostBodyAudienceNormalizer.php b/lib/Normalizer/CampaignsTriggerSendPostBodyAudienceNormalizer.php index 4dca166..d3273f7 100644 --- a/lib/Normalizer/CampaignsTriggerSendPostBodyAudienceNormalizer.php +++ b/lib/Normalizer/CampaignsTriggerSendPostBodyAudienceNormalizer.php @@ -31,12 +31,12 @@ class CampaignsTriggerSendPostBodyAudienceNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerSendPostBodyAudience'; + return $type === \Braze\Model\CampaignsTriggerSendPostBodyAudience::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerSendPostBodyAudience'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyAudience::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerSendPostBodyAudience' => false]; + return [\Braze\Model\CampaignsTriggerSendPostBodyAudience::class => false]; } } } else { @@ -102,12 +102,12 @@ class CampaignsTriggerSendPostBodyAudienceNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerSendPostBodyAudience'; + return $type === \Braze\Model\CampaignsTriggerSendPostBodyAudience::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerSendPostBodyAudience'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyAudience::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerSendPostBodyAudience' => false]; + return [\Braze\Model\CampaignsTriggerSendPostBodyAudience::class => false]; } } } diff --git a/lib/Normalizer/CampaignsTriggerSendPostBodyNormalizer.php b/lib/Normalizer/CampaignsTriggerSendPostBodyNormalizer.php index 84bcb86..c3d10e9 100644 --- a/lib/Normalizer/CampaignsTriggerSendPostBodyNormalizer.php +++ b/lib/Normalizer/CampaignsTriggerSendPostBodyNormalizer.php @@ -31,12 +31,12 @@ class CampaignsTriggerSendPostBodyNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerSendPostBody'; + return $type === \Braze\Model\CampaignsTriggerSendPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerSendPostBody'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,13 +72,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['broadcast']); } if (\array_key_exists('audience', $data)) { - $object->setAudience($this->denormalizer->denormalize($data['audience'], 'Braze\\Model\\CampaignsTriggerSendPostBodyAudience', 'json', $context)); + $object->setAudience($this->denormalizer->denormalize($data['audience'], \Braze\Model\CampaignsTriggerSendPostBodyAudience::class, 'json', $context)); unset($data['audience']); } if (\array_key_exists('recipients', $data)) { $values_1 = []; foreach ($data['recipients'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItem', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class, 'json', $context); } $object->setRecipients($values_1); unset($data['recipients']); @@ -132,7 +132,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerSendPostBody' => false]; + return [\Braze\Model\CampaignsTriggerSendPostBody::class => false]; } } } else { @@ -145,12 +145,12 @@ class CampaignsTriggerSendPostBodyNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerSendPostBody'; + return $type === \Braze\Model\CampaignsTriggerSendPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerSendPostBody'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -186,13 +186,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['broadcast']); } if (\array_key_exists('audience', $data)) { - $object->setAudience($this->denormalizer->denormalize($data['audience'], 'Braze\\Model\\CampaignsTriggerSendPostBodyAudience', 'json', $context)); + $object->setAudience($this->denormalizer->denormalize($data['audience'], \Braze\Model\CampaignsTriggerSendPostBodyAudience::class, 'json', $context)); unset($data['audience']); } if (\array_key_exists('recipients', $data)) { $values_1 = []; foreach ($data['recipients'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItem', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class, 'json', $context); } $object->setRecipients($values_1); unset($data['recipients']); @@ -249,7 +249,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerSendPostBody' => false]; + return [\Braze\Model\CampaignsTriggerSendPostBody::class => false]; } } } diff --git a/lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer.php b/lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer.php index 1060b00..d54601c 100644 --- a/lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer.php +++ b/lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer.php @@ -31,12 +31,12 @@ class CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemAttributes'; + return $type === \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemAttributes'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemAttributes' => false]; + return [\Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class => false]; } } } else { @@ -94,12 +94,12 @@ class CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemAttributes'; + return $type === \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemAttributes'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemAttributes' => false]; + return [\Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class => false]; } } } diff --git a/lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemNormalizer.php b/lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemNormalizer.php index 3e8a266..f6c28d6 100644 --- a/lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemNormalizer.php +++ b/lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemNormalizer.php @@ -31,12 +31,12 @@ class CampaignsTriggerSendPostBodyRecipientsItemNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItem'; + return $type === \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItem'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('user_alias', $data)) { - $object->setUserAlias($this->denormalizer->denormalize($data['user_alias'], 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemUserAlias', 'json', $context)); + $object->setUserAlias($this->denormalizer->denormalize($data['user_alias'], \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class, 'json', $context)); unset($data['user_alias']); } if (\array_key_exists('external_user_id', $data)) { @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['send_to_existing_only']); } if (\array_key_exists('attributes', $data)) { - $object->setAttributes($this->denormalizer->denormalize($data['attributes'], 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemAttributes', 'json', $context)); + $object->setAttributes($this->denormalizer->denormalize($data['attributes'], \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class, 'json', $context)); unset($data['attributes']); } foreach ($data as $key_1 => $value_1) { @@ -117,7 +117,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItem' => false]; + return [\Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class => false]; } } } else { @@ -130,12 +130,12 @@ class CampaignsTriggerSendPostBodyRecipientsItemNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItem'; + return $type === \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItem'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('user_alias', $data)) { - $object->setUserAlias($this->denormalizer->denormalize($data['user_alias'], 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemUserAlias', 'json', $context)); + $object->setUserAlias($this->denormalizer->denormalize($data['user_alias'], \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class, 'json', $context)); unset($data['user_alias']); } if (\array_key_exists('external_user_id', $data)) { @@ -171,7 +171,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['send_to_existing_only']); } if (\array_key_exists('attributes', $data)) { - $object->setAttributes($this->denormalizer->denormalize($data['attributes'], 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemAttributes', 'json', $context)); + $object->setAttributes($this->denormalizer->denormalize($data['attributes'], \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class, 'json', $context)); unset($data['attributes']); } foreach ($data as $key_1 => $value_1) { @@ -219,7 +219,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItem' => false]; + return [\Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class => false]; } } } diff --git a/lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer.php b/lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer.php index 8fb2917..7f83cb5 100644 --- a/lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer.php +++ b/lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer.php @@ -31,12 +31,12 @@ class CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemUserAlias'; + return $type === \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemUserAlias'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemUserAlias' => false]; + return [\Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class => false]; } } } else { @@ -101,12 +101,12 @@ class CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemUserAlias'; + return $type === \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemUserAlias'; + return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemUserAlias' => false]; + return [\Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyAudienceNormalizer.php b/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyAudienceNormalizer.php index 5dcf05c..96b4810 100644 --- a/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyAudienceNormalizer.php +++ b/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyAudienceNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerScheduleCreatePostBodyAudienceNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyAudience'; + return $type === \Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyAudience'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleCreatePostBodyAudience' => false]; + return [\Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class => false]; } } } else { @@ -102,12 +102,12 @@ class CanvasTriggerScheduleCreatePostBodyAudienceNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyAudience'; + return $type === \Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyAudience'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleCreatePostBodyAudience' => false]; + return [\Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyNormalizer.php b/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyNormalizer.php index 5789867..de51380 100644 --- a/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyNormalizer.php +++ b/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerScheduleCreatePostBodyNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBody'; + return $type === \Braze\Model\CanvasTriggerScheduleCreatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -58,13 +58,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('recipients', $data)) { $values = []; foreach ($data['recipients'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyRecipientsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class, 'json', $context); } $object->setRecipients($values); unset($data['recipients']); } if (\array_key_exists('audience', $data)) { - $object->setAudience($this->denormalizer->denormalize($data['audience'], 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyAudience', 'json', $context)); + $object->setAudience($this->denormalizer->denormalize($data['audience'], \Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class, 'json', $context)); unset($data['audience']); } if (\array_key_exists('broadcast', $data)) { @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['canvas_entry_properties']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodySchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key_1 => $value_2) { @@ -132,7 +132,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleCreatePostBody' => false]; + return [\Braze\Model\CanvasTriggerScheduleCreatePostBody::class => false]; } } } else { @@ -145,12 +145,12 @@ class CanvasTriggerScheduleCreatePostBodyNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBody'; + return $type === \Braze\Model\CanvasTriggerScheduleCreatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -172,13 +172,13 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('recipients', $data)) { $values = []; foreach ($data['recipients'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyRecipientsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class, 'json', $context); } $object->setRecipients($values); unset($data['recipients']); } if (\array_key_exists('audience', $data)) { - $object->setAudience($this->denormalizer->denormalize($data['audience'], 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyAudience', 'json', $context)); + $object->setAudience($this->denormalizer->denormalize($data['audience'], \Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class, 'json', $context)); unset($data['audience']); } if (\array_key_exists('broadcast', $data)) { @@ -194,7 +194,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['canvas_entry_properties']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodySchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key_1 => $value_2) { @@ -249,7 +249,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleCreatePostBody' => false]; + return [\Braze\Model\CanvasTriggerScheduleCreatePostBody::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php b/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php index 78ba99d..5a21a9e 100644 --- a/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php +++ b/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyRecipientsItem'; + return $type === \Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyRecipientsItem'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -118,7 +118,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleCreatePostBodyRecipientsItem' => false]; + return [\Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class => false]; } } } else { @@ -131,12 +131,12 @@ class CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyRecipientsItem'; + return $type === \Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyRecipientsItem'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -221,7 +221,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleCreatePostBodyRecipientsItem' => false]; + return [\Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyScheduleNormalizer.php b/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyScheduleNormalizer.php index 9e9d2b4..8ca5e57 100644 --- a/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyScheduleNormalizer.php +++ b/lib/Normalizer/CanvasTriggerScheduleCreatePostBodyScheduleNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerScheduleCreatePostBodyScheduleNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodySchedule'; + return $type === \Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodySchedule'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleCreatePostBodySchedule' => false]; + return [\Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class => false]; } } } else { @@ -108,12 +108,12 @@ class CanvasTriggerScheduleCreatePostBodyScheduleNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodySchedule'; + return $type === \Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodySchedule'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleCreatePostBodySchedule' => false]; + return [\Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerScheduleDeletePostBodyNormalizer.php b/lib/Normalizer/CanvasTriggerScheduleDeletePostBodyNormalizer.php index 1cb8f25..130bbcb 100644 --- a/lib/Normalizer/CanvasTriggerScheduleDeletePostBodyNormalizer.php +++ b/lib/Normalizer/CanvasTriggerScheduleDeletePostBodyNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerScheduleDeletePostBodyNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleDeletePostBody'; + return $type === \Braze\Model\CanvasTriggerScheduleDeletePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleDeletePostBody'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleDeletePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleDeletePostBody' => false]; + return [\Braze\Model\CanvasTriggerScheduleDeletePostBody::class => false]; } } } else { @@ -101,12 +101,12 @@ class CanvasTriggerScheduleDeletePostBodyNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleDeletePostBody'; + return $type === \Braze\Model\CanvasTriggerScheduleDeletePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleDeletePostBody'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleDeletePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleDeletePostBody' => false]; + return [\Braze\Model\CanvasTriggerScheduleDeletePostBody::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerScheduleUpdatePostBodyNormalizer.php b/lib/Normalizer/CanvasTriggerScheduleUpdatePostBodyNormalizer.php index 03d2cb4..1dfc357 100644 --- a/lib/Normalizer/CanvasTriggerScheduleUpdatePostBodyNormalizer.php +++ b/lib/Normalizer/CanvasTriggerScheduleUpdatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerScheduleUpdatePostBodyNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBody'; + return $type === \Braze\Model\CanvasTriggerScheduleUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleUpdatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['schedule_id']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBodySchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \Braze\Model\CanvasTriggerScheduleUpdatePostBodySchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleUpdatePostBody' => false]; + return [\Braze\Model\CanvasTriggerScheduleUpdatePostBody::class => false]; } } } else { @@ -108,12 +108,12 @@ class CanvasTriggerScheduleUpdatePostBodyNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBody'; + return $type === \Braze\Model\CanvasTriggerScheduleUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleUpdatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['schedule_id']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBodySchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \Braze\Model\CanvasTriggerScheduleUpdatePostBodySchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleUpdatePostBody' => false]; + return [\Braze\Model\CanvasTriggerScheduleUpdatePostBody::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerScheduleUpdatePostBodyScheduleNormalizer.php b/lib/Normalizer/CanvasTriggerScheduleUpdatePostBodyScheduleNormalizer.php index 1538697..37c3df4 100644 --- a/lib/Normalizer/CanvasTriggerScheduleUpdatePostBodyScheduleNormalizer.php +++ b/lib/Normalizer/CanvasTriggerScheduleUpdatePostBodyScheduleNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerScheduleUpdatePostBodyScheduleNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBodySchedule'; + return $type === \Braze\Model\CanvasTriggerScheduleUpdatePostBodySchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBodySchedule'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleUpdatePostBodySchedule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleUpdatePostBodySchedule' => false]; + return [\Braze\Model\CanvasTriggerScheduleUpdatePostBodySchedule::class => false]; } } } else { @@ -101,12 +101,12 @@ class CanvasTriggerScheduleUpdatePostBodyScheduleNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBodySchedule'; + return $type === \Braze\Model\CanvasTriggerScheduleUpdatePostBodySchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBodySchedule'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleUpdatePostBodySchedule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerScheduleUpdatePostBodySchedule' => false]; + return [\Braze\Model\CanvasTriggerScheduleUpdatePostBodySchedule::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerSendPostBodyAudienceNormalizer.php b/lib/Normalizer/CanvasTriggerSendPostBodyAudienceNormalizer.php index ae19168..6e18adc 100644 --- a/lib/Normalizer/CanvasTriggerSendPostBodyAudienceNormalizer.php +++ b/lib/Normalizer/CanvasTriggerSendPostBodyAudienceNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerSendPostBodyAudienceNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerSendPostBodyAudience'; + return $type === \Braze\Model\CanvasTriggerSendPostBodyAudience::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerSendPostBodyAudience'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerSendPostBodyAudience::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerSendPostBodyAudience' => false]; + return [\Braze\Model\CanvasTriggerSendPostBodyAudience::class => false]; } } } else { @@ -102,12 +102,12 @@ class CanvasTriggerSendPostBodyAudienceNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerSendPostBodyAudience'; + return $type === \Braze\Model\CanvasTriggerSendPostBodyAudience::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerSendPostBodyAudience'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerSendPostBodyAudience::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerSendPostBodyAudience' => false]; + return [\Braze\Model\CanvasTriggerSendPostBodyAudience::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerSendPostBodyCanvasEntryPropertiesNormalizer.php b/lib/Normalizer/CanvasTriggerSendPostBodyCanvasEntryPropertiesNormalizer.php index c0f46a6..6562b58 100644 --- a/lib/Normalizer/CanvasTriggerSendPostBodyCanvasEntryPropertiesNormalizer.php +++ b/lib/Normalizer/CanvasTriggerSendPostBodyCanvasEntryPropertiesNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerSendPostBodyCanvasEntryPropertiesNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerSendPostBodyCanvasEntryProperties'; + return $type === \Braze\Model\CanvasTriggerSendPostBodyCanvasEntryProperties::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerSendPostBodyCanvasEntryProperties'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerSendPostBodyCanvasEntryProperties::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -91,7 +91,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerSendPostBodyCanvasEntryProperties' => false]; + return [\Braze\Model\CanvasTriggerSendPostBodyCanvasEntryProperties::class => false]; } } } else { @@ -104,12 +104,12 @@ class CanvasTriggerSendPostBodyCanvasEntryPropertiesNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerSendPostBodyCanvasEntryProperties'; + return $type === \Braze\Model\CanvasTriggerSendPostBodyCanvasEntryProperties::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerSendPostBodyCanvasEntryProperties'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerSendPostBodyCanvasEntryProperties::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -167,7 +167,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerSendPostBodyCanvasEntryProperties' => false]; + return [\Braze\Model\CanvasTriggerSendPostBodyCanvasEntryProperties::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerSendPostBodyNormalizer.php b/lib/Normalizer/CanvasTriggerSendPostBodyNormalizer.php index 3dbc6e8..35354ed 100644 --- a/lib/Normalizer/CanvasTriggerSendPostBodyNormalizer.php +++ b/lib/Normalizer/CanvasTriggerSendPostBodyNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerSendPostBodyNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerSendPostBody'; + return $type === \Braze\Model\CanvasTriggerSendPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerSendPostBody'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerSendPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['canvas_id']); } if (\array_key_exists('canvas_entry_properties', $data)) { - $object->setCanvasEntryProperties($this->denormalizer->denormalize($data['canvas_entry_properties'], 'Braze\\Model\\CanvasTriggerSendPostBodyCanvasEntryProperties', 'json', $context)); + $object->setCanvasEntryProperties($this->denormalizer->denormalize($data['canvas_entry_properties'], \Braze\Model\CanvasTriggerSendPostBodyCanvasEntryProperties::class, 'json', $context)); unset($data['canvas_entry_properties']); } if (\array_key_exists('broadcast', $data)) { @@ -64,13 +64,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['broadcast']); } if (\array_key_exists('audience', $data)) { - $object->setAudience($this->denormalizer->denormalize($data['audience'], 'Braze\\Model\\CanvasTriggerSendPostBodyAudience', 'json', $context)); + $object->setAudience($this->denormalizer->denormalize($data['audience'], \Braze\Model\CanvasTriggerSendPostBodyAudience::class, 'json', $context)); unset($data['audience']); } if (\array_key_exists('recipients', $data)) { $values = []; foreach ($data['recipients'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\CanvasTriggerSendPostBodyRecipientsItem::class, 'json', $context); } $object->setRecipients($values); unset($data['recipients']); @@ -117,7 +117,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerSendPostBody' => false]; + return [\Braze\Model\CanvasTriggerSendPostBody::class => false]; } } } else { @@ -130,12 +130,12 @@ class CanvasTriggerSendPostBodyNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerSendPostBody'; + return $type === \Braze\Model\CanvasTriggerSendPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerSendPostBody'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerSendPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -155,7 +155,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['canvas_id']); } if (\array_key_exists('canvas_entry_properties', $data)) { - $object->setCanvasEntryProperties($this->denormalizer->denormalize($data['canvas_entry_properties'], 'Braze\\Model\\CanvasTriggerSendPostBodyCanvasEntryProperties', 'json', $context)); + $object->setCanvasEntryProperties($this->denormalizer->denormalize($data['canvas_entry_properties'], \Braze\Model\CanvasTriggerSendPostBodyCanvasEntryProperties::class, 'json', $context)); unset($data['canvas_entry_properties']); } if (\array_key_exists('broadcast', $data)) { @@ -163,13 +163,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['broadcast']); } if (\array_key_exists('audience', $data)) { - $object->setAudience($this->denormalizer->denormalize($data['audience'], 'Braze\\Model\\CanvasTriggerSendPostBodyAudience', 'json', $context)); + $object->setAudience($this->denormalizer->denormalize($data['audience'], \Braze\Model\CanvasTriggerSendPostBodyAudience::class, 'json', $context)); unset($data['audience']); } if (\array_key_exists('recipients', $data)) { $values = []; foreach ($data['recipients'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\CanvasTriggerSendPostBodyRecipientsItem::class, 'json', $context); } $object->setRecipients($values); unset($data['recipients']); @@ -219,7 +219,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerSendPostBody' => false]; + return [\Braze\Model\CanvasTriggerSendPostBody::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerSendPostBodyRecipientsItemAttributesNormalizer.php b/lib/Normalizer/CanvasTriggerSendPostBodyRecipientsItemAttributesNormalizer.php index 4410d2a..ef42839 100644 --- a/lib/Normalizer/CanvasTriggerSendPostBodyRecipientsItemAttributesNormalizer.php +++ b/lib/Normalizer/CanvasTriggerSendPostBodyRecipientsItemAttributesNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerSendPostBodyRecipientsItemAttributesNormalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemAttributes'; + return $type === \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemAttributes::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemAttributes'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerSendPostBodyRecipientsItemAttributes::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemAttributes' => false]; + return [\Braze\Model\CanvasTriggerSendPostBodyRecipientsItemAttributes::class => false]; } } } else { @@ -94,12 +94,12 @@ class CanvasTriggerSendPostBodyRecipientsItemAttributesNormalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemAttributes'; + return $type === \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemAttributes::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemAttributes'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerSendPostBodyRecipientsItemAttributes::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemAttributes' => false]; + return [\Braze\Model\CanvasTriggerSendPostBodyRecipientsItemAttributes::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerSendPostBodyRecipientsItemNormalizer.php b/lib/Normalizer/CanvasTriggerSendPostBodyRecipientsItemNormalizer.php index b574947..495dbdb 100644 --- a/lib/Normalizer/CanvasTriggerSendPostBodyRecipientsItemNormalizer.php +++ b/lib/Normalizer/CanvasTriggerSendPostBodyRecipientsItemNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerSendPostBodyRecipientsItemNormalizer implements DenormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItem'; + return $type === \Braze\Model\CanvasTriggerSendPostBodyRecipientsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItem'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerSendPostBodyRecipientsItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('user_alias', $data)) { - $object->setUserAlias($this->denormalizer->denormalize($data['user_alias'], 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemUserAlias', 'json', $context)); + $object->setUserAlias($this->denormalizer->denormalize($data['user_alias'], \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemUserAlias::class, 'json', $context)); unset($data['user_alias']); } if (\array_key_exists('external_user_id', $data)) { @@ -76,7 +76,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['send_to_existing_only']); } if (\array_key_exists('attributes', $data)) { - $object->setAttributes($this->denormalizer->denormalize($data['attributes'], 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemAttributes', 'json', $context)); + $object->setAttributes($this->denormalizer->denormalize($data['attributes'], \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemAttributes::class, 'json', $context)); unset($data['attributes']); } foreach ($data as $key_1 => $value_1) { @@ -124,7 +124,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItem' => false]; + return [\Braze\Model\CanvasTriggerSendPostBodyRecipientsItem::class => false]; } } } else { @@ -137,12 +137,12 @@ class CanvasTriggerSendPostBodyRecipientsItemNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItem'; + return $type === \Braze\Model\CanvasTriggerSendPostBodyRecipientsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItem'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerSendPostBodyRecipientsItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -158,7 +158,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('user_alias', $data)) { - $object->setUserAlias($this->denormalizer->denormalize($data['user_alias'], 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemUserAlias', 'json', $context)); + $object->setUserAlias($this->denormalizer->denormalize($data['user_alias'], \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemUserAlias::class, 'json', $context)); unset($data['user_alias']); } if (\array_key_exists('external_user_id', $data)) { @@ -182,7 +182,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['send_to_existing_only']); } if (\array_key_exists('attributes', $data)) { - $object->setAttributes($this->denormalizer->denormalize($data['attributes'], 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemAttributes', 'json', $context)); + $object->setAttributes($this->denormalizer->denormalize($data['attributes'], \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemAttributes::class, 'json', $context)); unset($data['attributes']); } foreach ($data as $key_1 => $value_1) { @@ -233,7 +233,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItem' => false]; + return [\Braze\Model\CanvasTriggerSendPostBodyRecipientsItem::class => false]; } } } diff --git a/lib/Normalizer/CanvasTriggerSendPostBodyRecipientsItemUserAliasNormalizer.php b/lib/Normalizer/CanvasTriggerSendPostBodyRecipientsItemUserAliasNormalizer.php index 97c9e72..076ea02 100644 --- a/lib/Normalizer/CanvasTriggerSendPostBodyRecipientsItemUserAliasNormalizer.php +++ b/lib/Normalizer/CanvasTriggerSendPostBodyRecipientsItemUserAliasNormalizer.php @@ -31,12 +31,12 @@ class CanvasTriggerSendPostBodyRecipientsItemUserAliasNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemUserAlias'; + return $type === \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemUserAlias::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemUserAlias'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerSendPostBodyRecipientsItemUserAlias::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemUserAlias' => false]; + return [\Braze\Model\CanvasTriggerSendPostBodyRecipientsItemUserAlias::class => false]; } } } else { @@ -101,12 +101,12 @@ class CanvasTriggerSendPostBodyRecipientsItemUserAliasNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemUserAlias'; + return $type === \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemUserAlias::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemUserAlias'; + return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerSendPostBodyRecipientsItemUserAlias::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemUserAlias' => false]; + return [\Braze\Model\CanvasTriggerSendPostBodyRecipientsItemUserAlias::class => false]; } } } diff --git a/lib/Normalizer/CatalogsCatalogNameItemsItemIdPatchBodyNormalizer.php b/lib/Normalizer/CatalogsCatalogNameItemsItemIdPatchBodyNormalizer.php index 9d02d53..da145ba 100644 --- a/lib/Normalizer/CatalogsCatalogNameItemsItemIdPatchBodyNormalizer.php +++ b/lib/Normalizer/CatalogsCatalogNameItemsItemIdPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class CatalogsCatalogNameItemsItemIdPatchBodyNormalizer implements DenormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPatchBody'; + return $type === \Braze\Model\CatalogsCatalogNameItemsItemIdPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPatchBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsItemIdPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsItemIdPatchBody' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsItemIdPatchBody::class => false]; } } } else { @@ -110,12 +110,12 @@ class CatalogsCatalogNameItemsItemIdPatchBodyNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPatchBody'; + return $type === \Braze\Model\CatalogsCatalogNameItemsItemIdPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPatchBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsItemIdPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsItemIdPatchBody' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsItemIdPatchBody::class => false]; } } } diff --git a/lib/Normalizer/CatalogsCatalogNameItemsItemIdPostBodyNormalizer.php b/lib/Normalizer/CatalogsCatalogNameItemsItemIdPostBodyNormalizer.php index 016ed6b..acab221 100644 --- a/lib/Normalizer/CatalogsCatalogNameItemsItemIdPostBodyNormalizer.php +++ b/lib/Normalizer/CatalogsCatalogNameItemsItemIdPostBodyNormalizer.php @@ -31,12 +31,12 @@ class CatalogsCatalogNameItemsItemIdPostBodyNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPostBody'; + return $type === \Braze\Model\CatalogsCatalogNameItemsItemIdPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPostBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsItemIdPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsItemIdPostBody' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsItemIdPostBody::class => false]; } } } else { @@ -110,12 +110,12 @@ class CatalogsCatalogNameItemsItemIdPostBodyNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPostBody'; + return $type === \Braze\Model\CatalogsCatalogNameItemsItemIdPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPostBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsItemIdPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsItemIdPostBody' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsItemIdPostBody::class => false]; } } } diff --git a/lib/Normalizer/CatalogsCatalogNameItemsItemIdPutBodyNormalizer.php b/lib/Normalizer/CatalogsCatalogNameItemsItemIdPutBodyNormalizer.php index a0f6129..0a1c602 100644 --- a/lib/Normalizer/CatalogsCatalogNameItemsItemIdPutBodyNormalizer.php +++ b/lib/Normalizer/CatalogsCatalogNameItemsItemIdPutBodyNormalizer.php @@ -31,12 +31,12 @@ class CatalogsCatalogNameItemsItemIdPutBodyNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPutBody'; + return $type === \Braze\Model\CatalogsCatalogNameItemsItemIdPutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPutBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsItemIdPutBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsItemIdPutBody' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsItemIdPutBody::class => false]; } } } else { @@ -110,12 +110,12 @@ class CatalogsCatalogNameItemsItemIdPutBodyNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPutBody'; + return $type === \Braze\Model\CatalogsCatalogNameItemsItemIdPutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPutBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsItemIdPutBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsItemIdPutBody' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsItemIdPutBody::class => false]; } } } diff --git a/lib/Normalizer/CatalogsCatalogNameItemsPatchBodyItemsItemNormalizer.php b/lib/Normalizer/CatalogsCatalogNameItemsPatchBodyItemsItemNormalizer.php index a3e7426..c4750aa 100644 --- a/lib/Normalizer/CatalogsCatalogNameItemsPatchBodyItemsItemNormalizer.php +++ b/lib/Normalizer/CatalogsCatalogNameItemsPatchBodyItemsItemNormalizer.php @@ -31,12 +31,12 @@ class CatalogsCatalogNameItemsPatchBodyItemsItemNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsPatchBodyItemsItem'; + return $type === \Braze\Model\CatalogsCatalogNameItemsPatchBodyItemsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsPatchBodyItemsItem'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsPatchBodyItemsItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsPatchBodyItemsItem' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsPatchBodyItemsItem::class => false]; } } } else { @@ -94,12 +94,12 @@ class CatalogsCatalogNameItemsPatchBodyItemsItemNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsPatchBodyItemsItem'; + return $type === \Braze\Model\CatalogsCatalogNameItemsPatchBodyItemsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsPatchBodyItemsItem'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsPatchBodyItemsItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsPatchBodyItemsItem' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsPatchBodyItemsItem::class => false]; } } } diff --git a/lib/Normalizer/CatalogsCatalogNameItemsPatchBodyNormalizer.php b/lib/Normalizer/CatalogsCatalogNameItemsPatchBodyNormalizer.php index c50b685..fd5e2dc 100644 --- a/lib/Normalizer/CatalogsCatalogNameItemsPatchBodyNormalizer.php +++ b/lib/Normalizer/CatalogsCatalogNameItemsPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class CatalogsCatalogNameItemsPatchBodyNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsPatchBody'; + return $type === \Braze\Model\CatalogsCatalogNameItemsPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsPatchBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('items', $data)) { $values = []; foreach ($data['items'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\CatalogsCatalogNameItemsPatchBodyItemsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\CatalogsCatalogNameItemsPatchBodyItemsItem::class, 'json', $context); } $object->setItems($values); unset($data['items']); @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsPatchBody' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsPatchBody::class => false]; } } } else { @@ -102,12 +102,12 @@ class CatalogsCatalogNameItemsPatchBodyNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsPatchBody'; + return $type === \Braze\Model\CatalogsCatalogNameItemsPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsPatchBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -125,7 +125,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('items', $data)) { $values = []; foreach ($data['items'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\CatalogsCatalogNameItemsPatchBodyItemsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\CatalogsCatalogNameItemsPatchBodyItemsItem::class, 'json', $context); } $object->setItems($values); unset($data['items']); @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsPatchBody' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsPatchBody::class => false]; } } } diff --git a/lib/Normalizer/CatalogsCatalogNameItemsPostBodyNormalizer.php b/lib/Normalizer/CatalogsCatalogNameItemsPostBodyNormalizer.php index 49a72c8..0058b11 100644 --- a/lib/Normalizer/CatalogsCatalogNameItemsPostBodyNormalizer.php +++ b/lib/Normalizer/CatalogsCatalogNameItemsPostBodyNormalizer.php @@ -31,12 +31,12 @@ class CatalogsCatalogNameItemsPostBodyNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsPostBody'; + return $type === \Braze\Model\CatalogsCatalogNameItemsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsPostBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsPostBody' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsPostBody::class => false]; } } } else { @@ -110,12 +110,12 @@ class CatalogsCatalogNameItemsPostBodyNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsPostBody'; + return $type === \Braze\Model\CatalogsCatalogNameItemsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsPostBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsPostBody' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsPostBody::class => false]; } } } diff --git a/lib/Normalizer/CatalogsCatalogNameItemsPutBodyNormalizer.php b/lib/Normalizer/CatalogsCatalogNameItemsPutBodyNormalizer.php index df149d9..8fbb8c1 100644 --- a/lib/Normalizer/CatalogsCatalogNameItemsPutBodyNormalizer.php +++ b/lib/Normalizer/CatalogsCatalogNameItemsPutBodyNormalizer.php @@ -31,12 +31,12 @@ class CatalogsCatalogNameItemsPutBodyNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsPutBody'; + return $type === \Braze\Model\CatalogsCatalogNameItemsPutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsPutBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsPutBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsPutBody' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsPutBody::class => false]; } } } else { @@ -110,12 +110,12 @@ class CatalogsCatalogNameItemsPutBodyNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsCatalogNameItemsPutBody'; + return $type === \Braze\Model\CatalogsCatalogNameItemsPutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsCatalogNameItemsPutBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsCatalogNameItemsPutBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsCatalogNameItemsPutBody' => false]; + return [\Braze\Model\CatalogsCatalogNameItemsPutBody::class => false]; } } } diff --git a/lib/Normalizer/CatalogsPostBodyCatalogsItemFieldsItemNormalizer.php b/lib/Normalizer/CatalogsPostBodyCatalogsItemFieldsItemNormalizer.php index b6381bd..950ee19 100644 --- a/lib/Normalizer/CatalogsPostBodyCatalogsItemFieldsItemNormalizer.php +++ b/lib/Normalizer/CatalogsPostBodyCatalogsItemFieldsItemNormalizer.php @@ -31,12 +31,12 @@ class CatalogsPostBodyCatalogsItemFieldsItemNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsPostBodyCatalogsItemFieldsItem'; + return $type === \Braze\Model\CatalogsPostBodyCatalogsItemFieldsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsPostBodyCatalogsItemFieldsItem'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsPostBodyCatalogsItemFieldsItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsPostBodyCatalogsItemFieldsItem' => false]; + return [\Braze\Model\CatalogsPostBodyCatalogsItemFieldsItem::class => false]; } } } else { @@ -101,12 +101,12 @@ class CatalogsPostBodyCatalogsItemFieldsItemNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsPostBodyCatalogsItemFieldsItem'; + return $type === \Braze\Model\CatalogsPostBodyCatalogsItemFieldsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsPostBodyCatalogsItemFieldsItem'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsPostBodyCatalogsItemFieldsItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsPostBodyCatalogsItemFieldsItem' => false]; + return [\Braze\Model\CatalogsPostBodyCatalogsItemFieldsItem::class => false]; } } } diff --git a/lib/Normalizer/CatalogsPostBodyCatalogsItemNormalizer.php b/lib/Normalizer/CatalogsPostBodyCatalogsItemNormalizer.php index 7bd31f5..85b83ce 100644 --- a/lib/Normalizer/CatalogsPostBodyCatalogsItemNormalizer.php +++ b/lib/Normalizer/CatalogsPostBodyCatalogsItemNormalizer.php @@ -31,12 +31,12 @@ class CatalogsPostBodyCatalogsItemNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsPostBodyCatalogsItem'; + return $type === \Braze\Model\CatalogsPostBodyCatalogsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsPostBodyCatalogsItem'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsPostBodyCatalogsItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -62,7 +62,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('fields', $data)) { $values = []; foreach ($data['fields'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\CatalogsPostBodyCatalogsItemFieldsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\CatalogsPostBodyCatalogsItemFieldsItem::class, 'json', $context); } $object->setFields($values); unset($data['fields']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsPostBodyCatalogsItem' => false]; + return [\Braze\Model\CatalogsPostBodyCatalogsItem::class => false]; } } } else { @@ -116,12 +116,12 @@ class CatalogsPostBodyCatalogsItemNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsPostBodyCatalogsItem'; + return $type === \Braze\Model\CatalogsPostBodyCatalogsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsPostBodyCatalogsItem'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsPostBodyCatalogsItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('fields', $data)) { $values = []; foreach ($data['fields'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\CatalogsPostBodyCatalogsItemFieldsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\CatalogsPostBodyCatalogsItemFieldsItem::class, 'json', $context); } $object->setFields($values); unset($data['fields']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsPostBodyCatalogsItem' => false]; + return [\Braze\Model\CatalogsPostBodyCatalogsItem::class => false]; } } } diff --git a/lib/Normalizer/CatalogsPostBodyNormalizer.php b/lib/Normalizer/CatalogsPostBodyNormalizer.php index cbd7754..db72657 100644 --- a/lib/Normalizer/CatalogsPostBodyNormalizer.php +++ b/lib/Normalizer/CatalogsPostBodyNormalizer.php @@ -31,12 +31,12 @@ class CatalogsPostBodyNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsPostBody'; + return $type === \Braze\Model\CatalogsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsPostBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('catalogs', $data)) { $values = []; foreach ($data['catalogs'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\CatalogsPostBodyCatalogsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\CatalogsPostBodyCatalogsItem::class, 'json', $context); } $object->setCatalogs($values); unset($data['catalogs']); @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsPostBody' => false]; + return [\Braze\Model\CatalogsPostBody::class => false]; } } } else { @@ -102,12 +102,12 @@ class CatalogsPostBodyNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\CatalogsPostBody'; + return $type === \Braze\Model\CatalogsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\CatalogsPostBody'; + return is_object($data) && get_class($data) === Braze\Model\CatalogsPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -125,7 +125,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('catalogs', $data)) { $values = []; foreach ($data['catalogs'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\CatalogsPostBodyCatalogsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\CatalogsPostBodyCatalogsItem::class, 'json', $context); } $object->setCatalogs($values); unset($data['catalogs']); @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\CatalogsPostBody' => false]; + return [\Braze\Model\CatalogsPostBody::class => false]; } } } diff --git a/lib/Normalizer/ContentBlocksCreatePostBodyNormalizer.php b/lib/Normalizer/ContentBlocksCreatePostBodyNormalizer.php index 083d2a8..ce9e430 100644 --- a/lib/Normalizer/ContentBlocksCreatePostBodyNormalizer.php +++ b/lib/Normalizer/ContentBlocksCreatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class ContentBlocksCreatePostBodyNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ContentBlocksCreatePostBody'; + return $type === \Braze\Model\ContentBlocksCreatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ContentBlocksCreatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\ContentBlocksCreatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -117,7 +117,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ContentBlocksCreatePostBody' => false]; + return [\Braze\Model\ContentBlocksCreatePostBody::class => false]; } } } else { @@ -130,12 +130,12 @@ class ContentBlocksCreatePostBodyNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ContentBlocksCreatePostBody'; + return $type === \Braze\Model\ContentBlocksCreatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ContentBlocksCreatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\ContentBlocksCreatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -219,7 +219,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ContentBlocksCreatePostBody' => false]; + return [\Braze\Model\ContentBlocksCreatePostBody::class => false]; } } } diff --git a/lib/Normalizer/ContentBlocksUpdatePostBodyNormalizer.php b/lib/Normalizer/ContentBlocksUpdatePostBodyNormalizer.php index aec71f3..e15fbff 100644 --- a/lib/Normalizer/ContentBlocksUpdatePostBodyNormalizer.php +++ b/lib/Normalizer/ContentBlocksUpdatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class ContentBlocksUpdatePostBodyNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ContentBlocksUpdatePostBody'; + return $type === \Braze\Model\ContentBlocksUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ContentBlocksUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\ContentBlocksUpdatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -124,7 +124,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ContentBlocksUpdatePostBody' => false]; + return [\Braze\Model\ContentBlocksUpdatePostBody::class => false]; } } } else { @@ -137,12 +137,12 @@ class ContentBlocksUpdatePostBodyNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ContentBlocksUpdatePostBody'; + return $type === \Braze\Model\ContentBlocksUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ContentBlocksUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\ContentBlocksUpdatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -233,7 +233,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ContentBlocksUpdatePostBody' => false]; + return [\Braze\Model\ContentBlocksUpdatePostBody::class => false]; } } } diff --git a/lib/Normalizer/EmailBlacklistPostBodyNormalizer.php b/lib/Normalizer/EmailBlacklistPostBodyNormalizer.php index 3d4052e..87e165b 100644 --- a/lib/Normalizer/EmailBlacklistPostBodyNormalizer.php +++ b/lib/Normalizer/EmailBlacklistPostBodyNormalizer.php @@ -31,12 +31,12 @@ class EmailBlacklistPostBodyNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\EmailBlacklistPostBody'; + return $type === \Braze\Model\EmailBlacklistPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\EmailBlacklistPostBody'; + return is_object($data) && get_class($data) === Braze\Model\EmailBlacklistPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\EmailBlacklistPostBody' => false]; + return [\Braze\Model\EmailBlacklistPostBody::class => false]; } } } else { @@ -102,12 +102,12 @@ class EmailBlacklistPostBodyNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\EmailBlacklistPostBody'; + return $type === \Braze\Model\EmailBlacklistPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\EmailBlacklistPostBody'; + return is_object($data) && get_class($data) === Braze\Model\EmailBlacklistPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\EmailBlacklistPostBody' => false]; + return [\Braze\Model\EmailBlacklistPostBody::class => false]; } } } diff --git a/lib/Normalizer/EmailBlocklistPostBodyNormalizer.php b/lib/Normalizer/EmailBlocklistPostBodyNormalizer.php index 2275dfd..262e70d 100644 --- a/lib/Normalizer/EmailBlocklistPostBodyNormalizer.php +++ b/lib/Normalizer/EmailBlocklistPostBodyNormalizer.php @@ -31,12 +31,12 @@ class EmailBlocklistPostBodyNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\EmailBlocklistPostBody'; + return $type === \Braze\Model\EmailBlocklistPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\EmailBlocklistPostBody'; + return is_object($data) && get_class($data) === Braze\Model\EmailBlocklistPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\EmailBlocklistPostBody' => false]; + return [\Braze\Model\EmailBlocklistPostBody::class => false]; } } } else { @@ -102,12 +102,12 @@ class EmailBlocklistPostBodyNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\EmailBlocklistPostBody'; + return $type === \Braze\Model\EmailBlocklistPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\EmailBlocklistPostBody'; + return is_object($data) && get_class($data) === Braze\Model\EmailBlocklistPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\EmailBlocklistPostBody' => false]; + return [\Braze\Model\EmailBlocklistPostBody::class => false]; } } } diff --git a/lib/Normalizer/EmailBounceRemovePostBodyNormalizer.php b/lib/Normalizer/EmailBounceRemovePostBodyNormalizer.php index 9f8e559..27ea157 100644 --- a/lib/Normalizer/EmailBounceRemovePostBodyNormalizer.php +++ b/lib/Normalizer/EmailBounceRemovePostBodyNormalizer.php @@ -31,12 +31,12 @@ class EmailBounceRemovePostBodyNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\EmailBounceRemovePostBody'; + return $type === \Braze\Model\EmailBounceRemovePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\EmailBounceRemovePostBody'; + return is_object($data) && get_class($data) === Braze\Model\EmailBounceRemovePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\EmailBounceRemovePostBody' => false]; + return [\Braze\Model\EmailBounceRemovePostBody::class => false]; } } } else { @@ -94,12 +94,12 @@ class EmailBounceRemovePostBodyNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\EmailBounceRemovePostBody'; + return $type === \Braze\Model\EmailBounceRemovePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\EmailBounceRemovePostBody'; + return is_object($data) && get_class($data) === Braze\Model\EmailBounceRemovePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\EmailBounceRemovePostBody' => false]; + return [\Braze\Model\EmailBounceRemovePostBody::class => false]; } } } diff --git a/lib/Normalizer/EmailSpamRemovePostBodyNormalizer.php b/lib/Normalizer/EmailSpamRemovePostBodyNormalizer.php index ce1559a..e578913 100644 --- a/lib/Normalizer/EmailSpamRemovePostBodyNormalizer.php +++ b/lib/Normalizer/EmailSpamRemovePostBodyNormalizer.php @@ -31,12 +31,12 @@ class EmailSpamRemovePostBodyNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\EmailSpamRemovePostBody'; + return $type === \Braze\Model\EmailSpamRemovePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\EmailSpamRemovePostBody'; + return is_object($data) && get_class($data) === Braze\Model\EmailSpamRemovePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\EmailSpamRemovePostBody' => false]; + return [\Braze\Model\EmailSpamRemovePostBody::class => false]; } } } else { @@ -94,12 +94,12 @@ class EmailSpamRemovePostBodyNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\EmailSpamRemovePostBody'; + return $type === \Braze\Model\EmailSpamRemovePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\EmailSpamRemovePostBody'; + return is_object($data) && get_class($data) === Braze\Model\EmailSpamRemovePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\EmailSpamRemovePostBody' => false]; + return [\Braze\Model\EmailSpamRemovePostBody::class => false]; } } } diff --git a/lib/Normalizer/EmailStatusPostBodyNormalizer.php b/lib/Normalizer/EmailStatusPostBodyNormalizer.php index cdb9e44..28c08de 100644 --- a/lib/Normalizer/EmailStatusPostBodyNormalizer.php +++ b/lib/Normalizer/EmailStatusPostBodyNormalizer.php @@ -31,12 +31,12 @@ class EmailStatusPostBodyNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\EmailStatusPostBody'; + return $type === \Braze\Model\EmailStatusPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\EmailStatusPostBody'; + return is_object($data) && get_class($data) === Braze\Model\EmailStatusPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\EmailStatusPostBody' => false]; + return [\Braze\Model\EmailStatusPostBody::class => false]; } } } else { @@ -101,12 +101,12 @@ class EmailStatusPostBodyNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\EmailStatusPostBody'; + return $type === \Braze\Model\EmailStatusPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\EmailStatusPostBody'; + return is_object($data) && get_class($data) === Braze\Model\EmailStatusPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\EmailStatusPostBody' => false]; + return [\Braze\Model\EmailStatusPostBody::class => false]; } } } diff --git a/lib/Normalizer/ErrorNormalizer.php b/lib/Normalizer/ErrorNormalizer.php index 209c1b7..9527c62 100644 --- a/lib/Normalizer/ErrorNormalizer.php +++ b/lib/Normalizer/ErrorNormalizer.php @@ -31,12 +31,12 @@ class ErrorNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\Error'; + return $type === \Braze\Model\Error::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\Error'; + return is_object($data) && get_class($data) === Braze\Model\Error::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -96,7 +96,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\Error' => false]; + return [\Braze\Model\Error::class => false]; } } } else { @@ -109,12 +109,12 @@ class ErrorNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\Error'; + return $type === \Braze\Model\Error::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\Error'; + return is_object($data) && get_class($data) === Braze\Model\Error::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -177,7 +177,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\Error' => false]; + return [\Braze\Model\Error::class => false]; } } } diff --git a/lib/Normalizer/JaneObjectNormalizer.php b/lib/Normalizer/JaneObjectNormalizer.php index 2489eb3..878c6fd 100644 --- a/lib/Normalizer/JaneObjectNormalizer.php +++ b/lib/Normalizer/JaneObjectNormalizer.php @@ -28,113 +28,219 @@ class JaneObjectNormalizer implements DenormalizerInterface, NormalizerInterface use CheckArray; use ValidatorTrait; protected $normalizers = [ - 'Braze\\Model\\Error' => 'Braze\\Normalizer\\ErrorNormalizer', - 'Braze\\Model\\TemplatesEmailUpdatePostBody' => 'Braze\\Normalizer\\TemplatesEmailUpdatePostBodyNormalizer', - 'Braze\\Model\\UsersTrackPostBody' => 'Braze\\Normalizer\\UsersTrackPostBodyNormalizer', - 'Braze\\Model\\CatalogsPostBody' => 'Braze\\Normalizer\\CatalogsPostBodyNormalizer', - 'Braze\\Model\\CatalogsPostBodyCatalogsItem' => 'Braze\\Normalizer\\CatalogsPostBodyCatalogsItemNormalizer', - 'Braze\\Model\\CatalogsPostBodyCatalogsItemFieldsItem' => 'Braze\\Normalizer\\CatalogsPostBodyCatalogsItemFieldsItemNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsPatchBody' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsPatchBodyNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsPatchBodyItemsItem' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsPatchBodyItemsItemNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsPostBody' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsPostBodyNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsPutBody' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsPutBodyNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPatchBody' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsItemIdPatchBodyNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPostBody' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsItemIdPostBodyNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPutBody' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsItemIdPutBodyNormalizer', - 'Braze\\Model\\EmailStatusPostBody' => 'Braze\\Normalizer\\EmailStatusPostBodyNormalizer', - 'Braze\\Model\\EmailBounceRemovePostBody' => 'Braze\\Normalizer\\EmailBounceRemovePostBodyNormalizer', - 'Braze\\Model\\EmailSpamRemovePostBody' => 'Braze\\Normalizer\\EmailSpamRemovePostBodyNormalizer', - 'Braze\\Model\\EmailBlocklistPostBody' => 'Braze\\Normalizer\\EmailBlocklistPostBodyNormalizer', - 'Braze\\Model\\EmailBlacklistPostBody' => 'Braze\\Normalizer\\EmailBlacklistPostBodyNormalizer', - 'Braze\\Model\\UsersExportIdsPostBody' => 'Braze\\Normalizer\\UsersExportIdsPostBodyNormalizer', - 'Braze\\Model\\UsersExportIdsPostBodyUserAliasesItem' => 'Braze\\Normalizer\\UsersExportIdsPostBodyUserAliasesItemNormalizer', - 'Braze\\Model\\UsersExportSegmentPostBody' => 'Braze\\Normalizer\\UsersExportSegmentPostBodyNormalizer', - 'Braze\\Model\\UsersExportGlobalControlGroupPostBody' => 'Braze\\Normalizer\\UsersExportGlobalControlGroupPostBodyNormalizer', - 'Braze\\Model\\MessagesLiveActivityUpdatePostBody' => 'Braze\\Normalizer\\MessagesLiveActivityUpdatePostBodyNormalizer', - 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyContentState' => 'Braze\\Normalizer\\MessagesLiveActivityUpdatePostBodyContentStateNormalizer', - 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotification' => 'Braze\\Normalizer\\MessagesLiveActivityUpdatePostBodyNotificationNormalizer', - 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotificationAlert' => 'Braze\\Normalizer\\MessagesLiveActivityUpdatePostBodyNotificationAlertNormalizer', - 'Braze\\Model\\MessagesScheduleDeletePostBody' => 'Braze\\Normalizer\\MessagesScheduleDeletePostBodyNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleDeletePostBody' => 'Braze\\Normalizer\\CanvasTriggerScheduleDeletePostBodyNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleDeletePostBody' => 'Braze\\Normalizer\\CampaignsTriggerScheduleDeletePostBodyNormalizer', - 'Braze\\Model\\MessagesScheduleCreatePostBody' => 'Braze\\Normalizer\\MessagesScheduleCreatePostBodyNormalizer', - 'Braze\\Model\\MessagesScheduleCreatePostBodyUserAliases' => 'Braze\\Normalizer\\MessagesScheduleCreatePostBodyUserAliasesNormalizer', - 'Braze\\Model\\MessagesScheduleCreatePostBodyAudience' => 'Braze\\Normalizer\\MessagesScheduleCreatePostBodyAudienceNormalizer', - 'Braze\\Model\\MessagesScheduleCreatePostBodySchedule' => 'Braze\\Normalizer\\MessagesScheduleCreatePostBodyScheduleNormalizer', - 'Braze\\Model\\MessagesScheduleCreatePostBodyMessages' => 'Braze\\Normalizer\\MessagesScheduleCreatePostBodyMessagesNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBody' => 'Braze\\Normalizer\\CampaignsTriggerScheduleCreatePostBodyNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyRecipientsItem' => 'Braze\\Normalizer\\CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyAudience' => 'Braze\\Normalizer\\CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodySchedule' => 'Braze\\Normalizer\\CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleCreatePostBody' => 'Braze\\Normalizer\\CanvasTriggerScheduleCreatePostBodyNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyRecipientsItem' => 'Braze\\Normalizer\\CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyAudience' => 'Braze\\Normalizer\\CanvasTriggerScheduleCreatePostBodyAudienceNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodySchedule' => 'Braze\\Normalizer\\CanvasTriggerScheduleCreatePostBodyScheduleNormalizer', - 'Braze\\Model\\MessagesScheduleUpdatePostBody' => 'Braze\\Normalizer\\MessagesScheduleUpdatePostBodyNormalizer', - 'Braze\\Model\\MessagesScheduleUpdatePostBodySchedule' => 'Braze\\Normalizer\\MessagesScheduleUpdatePostBodyScheduleNormalizer', - 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessages' => 'Braze\\Normalizer\\MessagesScheduleUpdatePostBodyMessagesNormalizer', - 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesApplePush' => 'Braze\\Normalizer\\MessagesScheduleUpdatePostBodyMessagesApplePushNormalizer', - 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesAndroidPush' => 'Braze\\Normalizer\\MessagesScheduleUpdatePostBodyMessagesAndroidPushNormalizer', - 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesSms' => 'Braze\\Normalizer\\MessagesScheduleUpdatePostBodyMessagesSmsNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBody' => 'Braze\\Normalizer\\CampaignsTriggerScheduleUpdatePostBodyNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBodySchedule' => 'Braze\\Normalizer\\CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBody' => 'Braze\\Normalizer\\CanvasTriggerScheduleUpdatePostBodyNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBodySchedule' => 'Braze\\Normalizer\\CanvasTriggerScheduleUpdatePostBodyScheduleNormalizer', - 'Braze\\Model\\SendsIdCreatePostBody' => 'Braze\\Normalizer\\SendsIdCreatePostBodyNormalizer', - 'Braze\\Model\\MessagesSendPostBody' => 'Braze\\Normalizer\\MessagesSendPostBodyNormalizer', - 'Braze\\Model\\MessagesSendPostBodyUserAliases' => 'Braze\\Normalizer\\MessagesSendPostBodyUserAliasesNormalizer', - 'Braze\\Model\\MessagesSendPostBodyAudience' => 'Braze\\Normalizer\\MessagesSendPostBodyAudienceNormalizer', - 'Braze\\Model\\MessagesSendPostBodyMessages' => 'Braze\\Normalizer\\MessagesSendPostBodyMessagesNormalizer', - 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBody' => 'Braze\\Normalizer\\TransactionalV1CampaignsCampaignIdSendPostBodyNormalizer', - 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties' => 'Braze\\Normalizer\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerPropertiesNormalizer', - 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem' => 'Braze\\Normalizer\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItemNormalizer', - 'Braze\\Model\\CampaignsTriggerSendPostBody' => 'Braze\\Normalizer\\CampaignsTriggerSendPostBodyNormalizer', - 'Braze\\Model\\CampaignsTriggerSendPostBodyAudience' => 'Braze\\Normalizer\\CampaignsTriggerSendPostBodyAudienceNormalizer', - 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItem' => 'Braze\\Normalizer\\CampaignsTriggerSendPostBodyRecipientsItemNormalizer', - 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemUserAlias' => 'Braze\\Normalizer\\CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer', - 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemAttributes' => 'Braze\\Normalizer\\CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer', - 'Braze\\Model\\CanvasTriggerSendPostBody' => 'Braze\\Normalizer\\CanvasTriggerSendPostBodyNormalizer', - 'Braze\\Model\\CanvasTriggerSendPostBodyCanvasEntryProperties' => 'Braze\\Normalizer\\CanvasTriggerSendPostBodyCanvasEntryPropertiesNormalizer', - 'Braze\\Model\\CanvasTriggerSendPostBodyAudience' => 'Braze\\Normalizer\\CanvasTriggerSendPostBodyAudienceNormalizer', - 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItem' => 'Braze\\Normalizer\\CanvasTriggerSendPostBodyRecipientsItemNormalizer', - 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemUserAlias' => 'Braze\\Normalizer\\CanvasTriggerSendPostBodyRecipientsItemUserAliasNormalizer', - 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemAttributes' => 'Braze\\Normalizer\\CanvasTriggerSendPostBodyRecipientsItemAttributesNormalizer', - 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBody' => 'Braze\\Normalizer\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyNormalizer', - 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties' => 'Braze\\Normalizer\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerPropertiesNormalizer', - 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem' => 'Braze\\Normalizer\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItemNormalizer', - 'Braze\\Model\\PreferenceCenterV1PostBody' => 'Braze\\Normalizer\\PreferenceCenterV1PostBodyNormalizer', - 'Braze\\Model\\PreferenceCenterV1PostBodyOptions' => 'Braze\\Normalizer\\PreferenceCenterV1PostBodyOptionsNormalizer', - 'Braze\\Model\\ScimV2UsersIdPutBody' => 'Braze\\Normalizer\\ScimV2UsersIdPutBodyNormalizer', - 'Braze\\Model\\ScimV2UsersIdPutBodyName' => 'Braze\\Normalizer\\ScimV2UsersIdPutBodyNameNormalizer', - 'Braze\\Model\\ScimV2UsersIdPutBodyPermissions' => 'Braze\\Normalizer\\ScimV2UsersIdPutBodyPermissionsNormalizer', - 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItem' => 'Braze\\Normalizer\\ScimV2UsersIdPutBodyPermissionsAppGroupItemNormalizer', - 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem' => 'Braze\\Normalizer\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItemNormalizer', - 'Braze\\Model\\ScimV2UsersPostBody' => 'Braze\\Normalizer\\ScimV2UsersPostBodyNormalizer', - 'Braze\\Model\\ScimV2UsersPostBodyName' => 'Braze\\Normalizer\\ScimV2UsersPostBodyNameNormalizer', - 'Braze\\Model\\ScimV2UsersPostBodyPermissions' => 'Braze\\Normalizer\\ScimV2UsersPostBodyPermissionsNormalizer', - 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItem' => 'Braze\\Normalizer\\ScimV2UsersPostBodyPermissionsAppGroupItemNormalizer', - 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem' => 'Braze\\Normalizer\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItemNormalizer', - 'Braze\\Model\\SmsInvalidPhoneNumbersRemovePostBody' => 'Braze\\Normalizer\\SmsInvalidPhoneNumbersRemovePostBodyNormalizer', - 'Braze\\Model\\SubscriptionStatusSetPostBody' => 'Braze\\Normalizer\\SubscriptionStatusSetPostBodyNormalizer', - 'Braze\\Model\\V2SubscriptionStatusSetPostBody' => 'Braze\\Normalizer\\V2SubscriptionStatusSetPostBodyNormalizer', - 'Braze\\Model\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem' => 'Braze\\Normalizer\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItemNormalizer', - 'Braze\\Model\\ContentBlocksCreatePostBody' => 'Braze\\Normalizer\\ContentBlocksCreatePostBodyNormalizer', - 'Braze\\Model\\ContentBlocksUpdatePostBody' => 'Braze\\Normalizer\\ContentBlocksUpdatePostBodyNormalizer', - 'Braze\\Model\\TemplatesEmailCreatePostBody' => 'Braze\\Normalizer\\TemplatesEmailCreatePostBodyNormalizer', - 'Braze\\Model\\UsersExternalIdsRenamePostBody' => 'Braze\\Normalizer\\UsersExternalIdsRenamePostBodyNormalizer', - 'Braze\\Model\\UsersExternalIdsRenamePostBodyExternalIdRenamesItem' => 'Braze\\Normalizer\\UsersExternalIdsRenamePostBodyExternalIdRenamesItemNormalizer', - 'Braze\\Model\\UsersExternalIdsRemovePostBody' => 'Braze\\Normalizer\\UsersExternalIdsRemovePostBodyNormalizer', - 'Braze\\Model\\UsersAliasUpdatePostBody' => 'Braze\\Normalizer\\UsersAliasUpdatePostBodyNormalizer', - 'Braze\\Model\\UsersAliasUpdatePostBodyAliasUpdatesItem' => 'Braze\\Normalizer\\UsersAliasUpdatePostBodyAliasUpdatesItemNormalizer', - 'Braze\\Model\\UsersAliasNewPostBody' => 'Braze\\Normalizer\\UsersAliasNewPostBodyNormalizer', - 'Braze\\Model\\UsersAliasNewPostBodyUserAliasesItem' => 'Braze\\Normalizer\\UsersAliasNewPostBodyUserAliasesItemNormalizer', - 'Braze\\Model\\UsersDeletePostBody' => 'Braze\\Normalizer\\UsersDeletePostBodyNormalizer', - 'Braze\\Model\\UsersDeletePostBodyUserAliasesItem' => 'Braze\\Normalizer\\UsersDeletePostBodyUserAliasesItemNormalizer', - 'Braze\\Model\\UsersIdentifyPostBody' => 'Braze\\Normalizer\\UsersIdentifyPostBodyNormalizer', - 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItem' => 'Braze\\Normalizer\\UsersIdentifyPostBodyAliasesToIdentifyItemNormalizer', - 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias' => 'Braze\\Normalizer\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAliasNormalizer', - 'Braze\\Model\\UsersMergePostBody' => 'Braze\\Normalizer\\UsersMergePostBodyNormalizer', - '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\Braze\\Runtime\\Normalizer\\ReferenceNormalizer', + \Braze\Model\Error::class => ErrorNormalizer::class, + + \Braze\Model\TemplatesEmailUpdatePostBody::class => TemplatesEmailUpdatePostBodyNormalizer::class, + + \Braze\Model\UsersTrackPostBody::class => UsersTrackPostBodyNormalizer::class, + + \Braze\Model\CatalogsPostBody::class => CatalogsPostBodyNormalizer::class, + + \Braze\Model\CatalogsPostBodyCatalogsItem::class => CatalogsPostBodyCatalogsItemNormalizer::class, + + \Braze\Model\CatalogsPostBodyCatalogsItemFieldsItem::class => CatalogsPostBodyCatalogsItemFieldsItemNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsPatchBody::class => CatalogsCatalogNameItemsPatchBodyNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsPatchBodyItemsItem::class => CatalogsCatalogNameItemsPatchBodyItemsItemNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsPostBody::class => CatalogsCatalogNameItemsPostBodyNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsPutBody::class => CatalogsCatalogNameItemsPutBodyNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsItemIdPatchBody::class => CatalogsCatalogNameItemsItemIdPatchBodyNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsItemIdPostBody::class => CatalogsCatalogNameItemsItemIdPostBodyNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsItemIdPutBody::class => CatalogsCatalogNameItemsItemIdPutBodyNormalizer::class, + + \Braze\Model\EmailStatusPostBody::class => EmailStatusPostBodyNormalizer::class, + + \Braze\Model\EmailBounceRemovePostBody::class => EmailBounceRemovePostBodyNormalizer::class, + + \Braze\Model\EmailSpamRemovePostBody::class => EmailSpamRemovePostBodyNormalizer::class, + + \Braze\Model\EmailBlocklistPostBody::class => EmailBlocklistPostBodyNormalizer::class, + + \Braze\Model\EmailBlacklistPostBody::class => EmailBlacklistPostBodyNormalizer::class, + + \Braze\Model\UsersExportIdsPostBody::class => UsersExportIdsPostBodyNormalizer::class, + + \Braze\Model\UsersExportIdsPostBodyUserAliasesItem::class => UsersExportIdsPostBodyUserAliasesItemNormalizer::class, + + \Braze\Model\UsersExportSegmentPostBody::class => UsersExportSegmentPostBodyNormalizer::class, + + \Braze\Model\UsersExportGlobalControlGroupPostBody::class => UsersExportGlobalControlGroupPostBodyNormalizer::class, + + \Braze\Model\MessagesLiveActivityUpdatePostBody::class => MessagesLiveActivityUpdatePostBodyNormalizer::class, + + \Braze\Model\MessagesLiveActivityUpdatePostBodyContentState::class => MessagesLiveActivityUpdatePostBodyContentStateNormalizer::class, + + \Braze\Model\MessagesLiveActivityUpdatePostBodyNotification::class => MessagesLiveActivityUpdatePostBodyNotificationNormalizer::class, + + \Braze\Model\MessagesLiveActivityUpdatePostBodyNotificationAlert::class => MessagesLiveActivityUpdatePostBodyNotificationAlertNormalizer::class, + + \Braze\Model\MessagesScheduleDeletePostBody::class => MessagesScheduleDeletePostBodyNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleDeletePostBody::class => CanvasTriggerScheduleDeletePostBodyNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleDeletePostBody::class => CampaignsTriggerScheduleDeletePostBodyNormalizer::class, + + \Braze\Model\MessagesScheduleCreatePostBody::class => MessagesScheduleCreatePostBodyNormalizer::class, + + \Braze\Model\MessagesScheduleCreatePostBodyUserAliases::class => MessagesScheduleCreatePostBodyUserAliasesNormalizer::class, + + \Braze\Model\MessagesScheduleCreatePostBodyAudience::class => MessagesScheduleCreatePostBodyAudienceNormalizer::class, + + \Braze\Model\MessagesScheduleCreatePostBodySchedule::class => MessagesScheduleCreatePostBodyScheduleNormalizer::class, + + \Braze\Model\MessagesScheduleCreatePostBodyMessages::class => MessagesScheduleCreatePostBodyMessagesNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleCreatePostBody::class => CampaignsTriggerScheduleCreatePostBodyNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class => CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class => CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class => CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleCreatePostBody::class => CanvasTriggerScheduleCreatePostBodyNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class => CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class => CanvasTriggerScheduleCreatePostBodyAudienceNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class => CanvasTriggerScheduleCreatePostBodyScheduleNormalizer::class, + + \Braze\Model\MessagesScheduleUpdatePostBody::class => MessagesScheduleUpdatePostBodyNormalizer::class, + + \Braze\Model\MessagesScheduleUpdatePostBodySchedule::class => MessagesScheduleUpdatePostBodyScheduleNormalizer::class, + + \Braze\Model\MessagesScheduleUpdatePostBodyMessages::class => MessagesScheduleUpdatePostBodyMessagesNormalizer::class, + + \Braze\Model\MessagesScheduleUpdatePostBodyMessagesApplePush::class => MessagesScheduleUpdatePostBodyMessagesApplePushNormalizer::class, + + \Braze\Model\MessagesScheduleUpdatePostBodyMessagesAndroidPush::class => MessagesScheduleUpdatePostBodyMessagesAndroidPushNormalizer::class, + + \Braze\Model\MessagesScheduleUpdatePostBodyMessagesSms::class => MessagesScheduleUpdatePostBodyMessagesSmsNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class => CampaignsTriggerScheduleUpdatePostBodyNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class => CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleUpdatePostBody::class => CanvasTriggerScheduleUpdatePostBodyNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleUpdatePostBodySchedule::class => CanvasTriggerScheduleUpdatePostBodyScheduleNormalizer::class, + + \Braze\Model\SendsIdCreatePostBody::class => SendsIdCreatePostBodyNormalizer::class, + + \Braze\Model\MessagesSendPostBody::class => MessagesSendPostBodyNormalizer::class, + + \Braze\Model\MessagesSendPostBodyUserAliases::class => MessagesSendPostBodyUserAliasesNormalizer::class, + + \Braze\Model\MessagesSendPostBodyAudience::class => MessagesSendPostBodyAudienceNormalizer::class, + + \Braze\Model\MessagesSendPostBodyMessages::class => MessagesSendPostBodyMessagesNormalizer::class, + + \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBody::class => TransactionalV1CampaignsCampaignIdSendPostBodyNormalizer::class, + + \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties::class => TransactionalV1CampaignsCampaignIdSendPostBodyTriggerPropertiesNormalizer::class, + + \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem::class => TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItemNormalizer::class, + + \Braze\Model\CampaignsTriggerSendPostBody::class => CampaignsTriggerSendPostBodyNormalizer::class, + + \Braze\Model\CampaignsTriggerSendPostBodyAudience::class => CampaignsTriggerSendPostBodyAudienceNormalizer::class, + + \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class => CampaignsTriggerSendPostBodyRecipientsItemNormalizer::class, + + \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class => CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer::class, + + \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class => CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer::class, + + \Braze\Model\CanvasTriggerSendPostBody::class => CanvasTriggerSendPostBodyNormalizer::class, + + \Braze\Model\CanvasTriggerSendPostBodyCanvasEntryProperties::class => CanvasTriggerSendPostBodyCanvasEntryPropertiesNormalizer::class, + + \Braze\Model\CanvasTriggerSendPostBodyAudience::class => CanvasTriggerSendPostBodyAudienceNormalizer::class, + + \Braze\Model\CanvasTriggerSendPostBodyRecipientsItem::class => CanvasTriggerSendPostBodyRecipientsItemNormalizer::class, + + \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemUserAlias::class => CanvasTriggerSendPostBodyRecipientsItemUserAliasNormalizer::class, + + \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemAttributes::class => CanvasTriggerSendPostBodyRecipientsItemAttributesNormalizer::class, + + \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBody::class => PreferenceCenterV1PreferenceCenterExternalIDPutBodyNormalizer::class, + + \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties::class => PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerPropertiesNormalizer::class, + + \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem::class => PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItemNormalizer::class, + + \Braze\Model\PreferenceCenterV1PostBody::class => PreferenceCenterV1PostBodyNormalizer::class, + + \Braze\Model\PreferenceCenterV1PostBodyOptions::class => PreferenceCenterV1PostBodyOptionsNormalizer::class, + + \Braze\Model\ScimV2UsersIdPutBody::class => ScimV2UsersIdPutBodyNormalizer::class, + + \Braze\Model\ScimV2UsersIdPutBodyName::class => ScimV2UsersIdPutBodyNameNormalizer::class, + + \Braze\Model\ScimV2UsersIdPutBodyPermissions::class => ScimV2UsersIdPutBodyPermissionsNormalizer::class, + + \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItem::class => ScimV2UsersIdPutBodyPermissionsAppGroupItemNormalizer::class, + + \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem::class => ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItemNormalizer::class, + + \Braze\Model\ScimV2UsersPostBody::class => ScimV2UsersPostBodyNormalizer::class, + + \Braze\Model\ScimV2UsersPostBodyName::class => ScimV2UsersPostBodyNameNormalizer::class, + + \Braze\Model\ScimV2UsersPostBodyPermissions::class => ScimV2UsersPostBodyPermissionsNormalizer::class, + + \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItem::class => ScimV2UsersPostBodyPermissionsAppGroupItemNormalizer::class, + + \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem::class => ScimV2UsersPostBodyPermissionsAppGroupItemTeamItemNormalizer::class, + + \Braze\Model\SmsInvalidPhoneNumbersRemovePostBody::class => SmsInvalidPhoneNumbersRemovePostBodyNormalizer::class, + + \Braze\Model\SubscriptionStatusSetPostBody::class => SubscriptionStatusSetPostBodyNormalizer::class, + + \Braze\Model\V2SubscriptionStatusSetPostBody::class => V2SubscriptionStatusSetPostBodyNormalizer::class, + + \Braze\Model\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem::class => V2SubscriptionStatusSetPostBodySubscriptionGroupsItemNormalizer::class, + + \Braze\Model\ContentBlocksCreatePostBody::class => ContentBlocksCreatePostBodyNormalizer::class, + + \Braze\Model\ContentBlocksUpdatePostBody::class => ContentBlocksUpdatePostBodyNormalizer::class, + + \Braze\Model\TemplatesEmailCreatePostBody::class => TemplatesEmailCreatePostBodyNormalizer::class, + + \Braze\Model\UsersExternalIdsRenamePostBody::class => UsersExternalIdsRenamePostBodyNormalizer::class, + + \Braze\Model\UsersExternalIdsRenamePostBodyExternalIdRenamesItem::class => UsersExternalIdsRenamePostBodyExternalIdRenamesItemNormalizer::class, + + \Braze\Model\UsersExternalIdsRemovePostBody::class => UsersExternalIdsRemovePostBodyNormalizer::class, + + \Braze\Model\UsersAliasUpdatePostBody::class => UsersAliasUpdatePostBodyNormalizer::class, + + \Braze\Model\UsersAliasUpdatePostBodyAliasUpdatesItem::class => UsersAliasUpdatePostBodyAliasUpdatesItemNormalizer::class, + + \Braze\Model\UsersAliasNewPostBody::class => UsersAliasNewPostBodyNormalizer::class, + + \Braze\Model\UsersAliasNewPostBodyUserAliasesItem::class => UsersAliasNewPostBodyUserAliasesItemNormalizer::class, + + \Braze\Model\UsersDeletePostBody::class => UsersDeletePostBodyNormalizer::class, + + \Braze\Model\UsersDeletePostBodyUserAliasesItem::class => UsersDeletePostBodyUserAliasesItemNormalizer::class, + + \Braze\Model\UsersIdentifyPostBody::class => UsersIdentifyPostBodyNormalizer::class, + + \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItem::class => UsersIdentifyPostBodyAliasesToIdentifyItemNormalizer::class, + + \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias::class => UsersIdentifyPostBodyAliasesToIdentifyItemUserAliasNormalizer::class, + + \Braze\Model\UsersMergePostBody::class => UsersMergePostBodyNormalizer::class, + + \Jane\Component\JsonSchemaRuntime\Reference::class => \Braze\Runtime\Normalizer\ReferenceNormalizer::class, ]; protected $normalizersCache = []; @@ -181,7 +287,7 @@ private function initNormalizer(string $normalizerClass) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\Error' => false, 'Braze\\Model\\TemplatesEmailUpdatePostBody' => false, 'Braze\\Model\\UsersTrackPostBody' => false, 'Braze\\Model\\CatalogsPostBody' => false, 'Braze\\Model\\CatalogsPostBodyCatalogsItem' => false, 'Braze\\Model\\CatalogsPostBodyCatalogsItemFieldsItem' => false, 'Braze\\Model\\CatalogsCatalogNameItemsPatchBody' => false, 'Braze\\Model\\CatalogsCatalogNameItemsPatchBodyItemsItem' => false, 'Braze\\Model\\CatalogsCatalogNameItemsPostBody' => false, 'Braze\\Model\\CatalogsCatalogNameItemsPutBody' => false, 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPatchBody' => false, 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPostBody' => false, 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPutBody' => false, 'Braze\\Model\\EmailStatusPostBody' => false, 'Braze\\Model\\EmailBounceRemovePostBody' => false, 'Braze\\Model\\EmailSpamRemovePostBody' => false, 'Braze\\Model\\EmailBlocklistPostBody' => false, 'Braze\\Model\\EmailBlacklistPostBody' => false, 'Braze\\Model\\UsersExportIdsPostBody' => false, 'Braze\\Model\\UsersExportIdsPostBodyUserAliasesItem' => false, 'Braze\\Model\\UsersExportSegmentPostBody' => false, 'Braze\\Model\\UsersExportGlobalControlGroupPostBody' => false, 'Braze\\Model\\MessagesLiveActivityUpdatePostBody' => false, 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyContentState' => false, 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotification' => false, 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotificationAlert' => false, 'Braze\\Model\\MessagesScheduleDeletePostBody' => false, 'Braze\\Model\\CanvasTriggerScheduleDeletePostBody' => false, 'Braze\\Model\\CampaignsTriggerScheduleDeletePostBody' => false, 'Braze\\Model\\MessagesScheduleCreatePostBody' => false, 'Braze\\Model\\MessagesScheduleCreatePostBodyUserAliases' => false, 'Braze\\Model\\MessagesScheduleCreatePostBodyAudience' => false, 'Braze\\Model\\MessagesScheduleCreatePostBodySchedule' => false, 'Braze\\Model\\MessagesScheduleCreatePostBodyMessages' => false, 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBody' => false, 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyRecipientsItem' => false, 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyAudience' => false, 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodySchedule' => false, 'Braze\\Model\\CanvasTriggerScheduleCreatePostBody' => false, 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyRecipientsItem' => false, 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyAudience' => false, 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodySchedule' => false, 'Braze\\Model\\MessagesScheduleUpdatePostBody' => false, 'Braze\\Model\\MessagesScheduleUpdatePostBodySchedule' => false, 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessages' => false, 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesApplePush' => false, 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesAndroidPush' => false, 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesSms' => false, 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBody' => false, 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBodySchedule' => false, 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBody' => false, 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBodySchedule' => false, 'Braze\\Model\\SendsIdCreatePostBody' => false, 'Braze\\Model\\MessagesSendPostBody' => false, 'Braze\\Model\\MessagesSendPostBodyUserAliases' => false, 'Braze\\Model\\MessagesSendPostBodyAudience' => false, 'Braze\\Model\\MessagesSendPostBodyMessages' => false, 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBody' => false, 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties' => false, 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem' => false, 'Braze\\Model\\CampaignsTriggerSendPostBody' => false, 'Braze\\Model\\CampaignsTriggerSendPostBodyAudience' => false, 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItem' => false, 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemUserAlias' => false, 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemAttributes' => false, 'Braze\\Model\\CanvasTriggerSendPostBody' => false, 'Braze\\Model\\CanvasTriggerSendPostBodyCanvasEntryProperties' => false, 'Braze\\Model\\CanvasTriggerSendPostBodyAudience' => false, 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItem' => false, 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemUserAlias' => false, 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemAttributes' => false, 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBody' => false, 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties' => false, 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem' => false, 'Braze\\Model\\PreferenceCenterV1PostBody' => false, 'Braze\\Model\\PreferenceCenterV1PostBodyOptions' => false, 'Braze\\Model\\ScimV2UsersIdPutBody' => false, 'Braze\\Model\\ScimV2UsersIdPutBodyName' => false, 'Braze\\Model\\ScimV2UsersIdPutBodyPermissions' => false, 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItem' => false, 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem' => false, 'Braze\\Model\\ScimV2UsersPostBody' => false, 'Braze\\Model\\ScimV2UsersPostBodyName' => false, 'Braze\\Model\\ScimV2UsersPostBodyPermissions' => false, 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItem' => false, 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem' => false, 'Braze\\Model\\SmsInvalidPhoneNumbersRemovePostBody' => false, 'Braze\\Model\\SubscriptionStatusSetPostBody' => false, 'Braze\\Model\\V2SubscriptionStatusSetPostBody' => false, 'Braze\\Model\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem' => false, 'Braze\\Model\\ContentBlocksCreatePostBody' => false, 'Braze\\Model\\ContentBlocksUpdatePostBody' => false, 'Braze\\Model\\TemplatesEmailCreatePostBody' => false, 'Braze\\Model\\UsersExternalIdsRenamePostBody' => false, 'Braze\\Model\\UsersExternalIdsRenamePostBodyExternalIdRenamesItem' => false, 'Braze\\Model\\UsersExternalIdsRemovePostBody' => false, 'Braze\\Model\\UsersAliasUpdatePostBody' => false, 'Braze\\Model\\UsersAliasUpdatePostBodyAliasUpdatesItem' => false, 'Braze\\Model\\UsersAliasNewPostBody' => false, 'Braze\\Model\\UsersAliasNewPostBodyUserAliasesItem' => false, 'Braze\\Model\\UsersDeletePostBody' => false, 'Braze\\Model\\UsersDeletePostBodyUserAliasesItem' => false, 'Braze\\Model\\UsersIdentifyPostBody' => false, 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItem' => false, 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias' => false, 'Braze\\Model\\UsersMergePostBody' => false, '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => false]; + return [\Braze\Model\Error::class => false, \Braze\Model\TemplatesEmailUpdatePostBody::class => false, \Braze\Model\UsersTrackPostBody::class => false, \Braze\Model\CatalogsPostBody::class => false, \Braze\Model\CatalogsPostBodyCatalogsItem::class => false, \Braze\Model\CatalogsPostBodyCatalogsItemFieldsItem::class => false, \Braze\Model\CatalogsCatalogNameItemsPatchBody::class => false, \Braze\Model\CatalogsCatalogNameItemsPatchBodyItemsItem::class => false, \Braze\Model\CatalogsCatalogNameItemsPostBody::class => false, \Braze\Model\CatalogsCatalogNameItemsPutBody::class => false, \Braze\Model\CatalogsCatalogNameItemsItemIdPatchBody::class => false, \Braze\Model\CatalogsCatalogNameItemsItemIdPostBody::class => false, \Braze\Model\CatalogsCatalogNameItemsItemIdPutBody::class => false, \Braze\Model\EmailStatusPostBody::class => false, \Braze\Model\EmailBounceRemovePostBody::class => false, \Braze\Model\EmailSpamRemovePostBody::class => false, \Braze\Model\EmailBlocklistPostBody::class => false, \Braze\Model\EmailBlacklistPostBody::class => false, \Braze\Model\UsersExportIdsPostBody::class => false, \Braze\Model\UsersExportIdsPostBodyUserAliasesItem::class => false, \Braze\Model\UsersExportSegmentPostBody::class => false, \Braze\Model\UsersExportGlobalControlGroupPostBody::class => false, \Braze\Model\MessagesLiveActivityUpdatePostBody::class => false, \Braze\Model\MessagesLiveActivityUpdatePostBodyContentState::class => false, \Braze\Model\MessagesLiveActivityUpdatePostBodyNotification::class => false, \Braze\Model\MessagesLiveActivityUpdatePostBodyNotificationAlert::class => false, \Braze\Model\MessagesScheduleDeletePostBody::class => false, \Braze\Model\CanvasTriggerScheduleDeletePostBody::class => false, \Braze\Model\CampaignsTriggerScheduleDeletePostBody::class => false, \Braze\Model\MessagesScheduleCreatePostBody::class => false, \Braze\Model\MessagesScheduleCreatePostBodyUserAliases::class => false, \Braze\Model\MessagesScheduleCreatePostBodyAudience::class => false, \Braze\Model\MessagesScheduleCreatePostBodySchedule::class => false, \Braze\Model\MessagesScheduleCreatePostBodyMessages::class => false, \Braze\Model\CampaignsTriggerScheduleCreatePostBody::class => false, \Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class => false, \Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class => false, \Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class => false, \Braze\Model\CanvasTriggerScheduleCreatePostBody::class => false, \Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class => false, \Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class => false, \Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class => false, \Braze\Model\MessagesScheduleUpdatePostBody::class => false, \Braze\Model\MessagesScheduleUpdatePostBodySchedule::class => false, \Braze\Model\MessagesScheduleUpdatePostBodyMessages::class => false, \Braze\Model\MessagesScheduleUpdatePostBodyMessagesApplePush::class => false, \Braze\Model\MessagesScheduleUpdatePostBodyMessagesAndroidPush::class => false, \Braze\Model\MessagesScheduleUpdatePostBodyMessagesSms::class => false, \Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class => false, \Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class => false, \Braze\Model\CanvasTriggerScheduleUpdatePostBody::class => false, \Braze\Model\CanvasTriggerScheduleUpdatePostBodySchedule::class => false, \Braze\Model\SendsIdCreatePostBody::class => false, \Braze\Model\MessagesSendPostBody::class => false, \Braze\Model\MessagesSendPostBodyUserAliases::class => false, \Braze\Model\MessagesSendPostBodyAudience::class => false, \Braze\Model\MessagesSendPostBodyMessages::class => false, \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBody::class => false, \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties::class => false, \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem::class => false, \Braze\Model\CampaignsTriggerSendPostBody::class => false, \Braze\Model\CampaignsTriggerSendPostBodyAudience::class => false, \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class => false, \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class => false, \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class => false, \Braze\Model\CanvasTriggerSendPostBody::class => false, \Braze\Model\CanvasTriggerSendPostBodyCanvasEntryProperties::class => false, \Braze\Model\CanvasTriggerSendPostBodyAudience::class => false, \Braze\Model\CanvasTriggerSendPostBodyRecipientsItem::class => false, \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemUserAlias::class => false, \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemAttributes::class => false, \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBody::class => false, \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties::class => false, \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem::class => false, \Braze\Model\PreferenceCenterV1PostBody::class => false, \Braze\Model\PreferenceCenterV1PostBodyOptions::class => false, \Braze\Model\ScimV2UsersIdPutBody::class => false, \Braze\Model\ScimV2UsersIdPutBodyName::class => false, \Braze\Model\ScimV2UsersIdPutBodyPermissions::class => false, \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItem::class => false, \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem::class => false, \Braze\Model\ScimV2UsersPostBody::class => false, \Braze\Model\ScimV2UsersPostBodyName::class => false, \Braze\Model\ScimV2UsersPostBodyPermissions::class => false, \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItem::class => false, \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem::class => false, \Braze\Model\SmsInvalidPhoneNumbersRemovePostBody::class => false, \Braze\Model\SubscriptionStatusSetPostBody::class => false, \Braze\Model\V2SubscriptionStatusSetPostBody::class => false, \Braze\Model\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem::class => false, \Braze\Model\ContentBlocksCreatePostBody::class => false, \Braze\Model\ContentBlocksUpdatePostBody::class => false, \Braze\Model\TemplatesEmailCreatePostBody::class => false, \Braze\Model\UsersExternalIdsRenamePostBody::class => false, \Braze\Model\UsersExternalIdsRenamePostBodyExternalIdRenamesItem::class => false, \Braze\Model\UsersExternalIdsRemovePostBody::class => false, \Braze\Model\UsersAliasUpdatePostBody::class => false, \Braze\Model\UsersAliasUpdatePostBodyAliasUpdatesItem::class => false, \Braze\Model\UsersAliasNewPostBody::class => false, \Braze\Model\UsersAliasNewPostBodyUserAliasesItem::class => false, \Braze\Model\UsersDeletePostBody::class => false, \Braze\Model\UsersDeletePostBodyUserAliasesItem::class => false, \Braze\Model\UsersIdentifyPostBody::class => false, \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItem::class => false, \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias::class => false, \Braze\Model\UsersMergePostBody::class => false, \Jane\Component\JsonSchemaRuntime\Reference::class => false]; } } } else { @@ -192,113 +298,219 @@ class JaneObjectNormalizer implements DenormalizerInterface, NormalizerInterface use CheckArray; use ValidatorTrait; protected $normalizers = [ - 'Braze\\Model\\Error' => 'Braze\\Normalizer\\ErrorNormalizer', - 'Braze\\Model\\TemplatesEmailUpdatePostBody' => 'Braze\\Normalizer\\TemplatesEmailUpdatePostBodyNormalizer', - 'Braze\\Model\\UsersTrackPostBody' => 'Braze\\Normalizer\\UsersTrackPostBodyNormalizer', - 'Braze\\Model\\CatalogsPostBody' => 'Braze\\Normalizer\\CatalogsPostBodyNormalizer', - 'Braze\\Model\\CatalogsPostBodyCatalogsItem' => 'Braze\\Normalizer\\CatalogsPostBodyCatalogsItemNormalizer', - 'Braze\\Model\\CatalogsPostBodyCatalogsItemFieldsItem' => 'Braze\\Normalizer\\CatalogsPostBodyCatalogsItemFieldsItemNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsPatchBody' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsPatchBodyNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsPatchBodyItemsItem' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsPatchBodyItemsItemNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsPostBody' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsPostBodyNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsPutBody' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsPutBodyNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPatchBody' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsItemIdPatchBodyNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPostBody' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsItemIdPostBodyNormalizer', - 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPutBody' => 'Braze\\Normalizer\\CatalogsCatalogNameItemsItemIdPutBodyNormalizer', - 'Braze\\Model\\EmailStatusPostBody' => 'Braze\\Normalizer\\EmailStatusPostBodyNormalizer', - 'Braze\\Model\\EmailBounceRemovePostBody' => 'Braze\\Normalizer\\EmailBounceRemovePostBodyNormalizer', - 'Braze\\Model\\EmailSpamRemovePostBody' => 'Braze\\Normalizer\\EmailSpamRemovePostBodyNormalizer', - 'Braze\\Model\\EmailBlocklistPostBody' => 'Braze\\Normalizer\\EmailBlocklistPostBodyNormalizer', - 'Braze\\Model\\EmailBlacklistPostBody' => 'Braze\\Normalizer\\EmailBlacklistPostBodyNormalizer', - 'Braze\\Model\\UsersExportIdsPostBody' => 'Braze\\Normalizer\\UsersExportIdsPostBodyNormalizer', - 'Braze\\Model\\UsersExportIdsPostBodyUserAliasesItem' => 'Braze\\Normalizer\\UsersExportIdsPostBodyUserAliasesItemNormalizer', - 'Braze\\Model\\UsersExportSegmentPostBody' => 'Braze\\Normalizer\\UsersExportSegmentPostBodyNormalizer', - 'Braze\\Model\\UsersExportGlobalControlGroupPostBody' => 'Braze\\Normalizer\\UsersExportGlobalControlGroupPostBodyNormalizer', - 'Braze\\Model\\MessagesLiveActivityUpdatePostBody' => 'Braze\\Normalizer\\MessagesLiveActivityUpdatePostBodyNormalizer', - 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyContentState' => 'Braze\\Normalizer\\MessagesLiveActivityUpdatePostBodyContentStateNormalizer', - 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotification' => 'Braze\\Normalizer\\MessagesLiveActivityUpdatePostBodyNotificationNormalizer', - 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotificationAlert' => 'Braze\\Normalizer\\MessagesLiveActivityUpdatePostBodyNotificationAlertNormalizer', - 'Braze\\Model\\MessagesScheduleDeletePostBody' => 'Braze\\Normalizer\\MessagesScheduleDeletePostBodyNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleDeletePostBody' => 'Braze\\Normalizer\\CanvasTriggerScheduleDeletePostBodyNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleDeletePostBody' => 'Braze\\Normalizer\\CampaignsTriggerScheduleDeletePostBodyNormalizer', - 'Braze\\Model\\MessagesScheduleCreatePostBody' => 'Braze\\Normalizer\\MessagesScheduleCreatePostBodyNormalizer', - 'Braze\\Model\\MessagesScheduleCreatePostBodyUserAliases' => 'Braze\\Normalizer\\MessagesScheduleCreatePostBodyUserAliasesNormalizer', - 'Braze\\Model\\MessagesScheduleCreatePostBodyAudience' => 'Braze\\Normalizer\\MessagesScheduleCreatePostBodyAudienceNormalizer', - 'Braze\\Model\\MessagesScheduleCreatePostBodySchedule' => 'Braze\\Normalizer\\MessagesScheduleCreatePostBodyScheduleNormalizer', - 'Braze\\Model\\MessagesScheduleCreatePostBodyMessages' => 'Braze\\Normalizer\\MessagesScheduleCreatePostBodyMessagesNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBody' => 'Braze\\Normalizer\\CampaignsTriggerScheduleCreatePostBodyNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyRecipientsItem' => 'Braze\\Normalizer\\CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyAudience' => 'Braze\\Normalizer\\CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodySchedule' => 'Braze\\Normalizer\\CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleCreatePostBody' => 'Braze\\Normalizer\\CanvasTriggerScheduleCreatePostBodyNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyRecipientsItem' => 'Braze\\Normalizer\\CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyAudience' => 'Braze\\Normalizer\\CanvasTriggerScheduleCreatePostBodyAudienceNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodySchedule' => 'Braze\\Normalizer\\CanvasTriggerScheduleCreatePostBodyScheduleNormalizer', - 'Braze\\Model\\MessagesScheduleUpdatePostBody' => 'Braze\\Normalizer\\MessagesScheduleUpdatePostBodyNormalizer', - 'Braze\\Model\\MessagesScheduleUpdatePostBodySchedule' => 'Braze\\Normalizer\\MessagesScheduleUpdatePostBodyScheduleNormalizer', - 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessages' => 'Braze\\Normalizer\\MessagesScheduleUpdatePostBodyMessagesNormalizer', - 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesApplePush' => 'Braze\\Normalizer\\MessagesScheduleUpdatePostBodyMessagesApplePushNormalizer', - 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesAndroidPush' => 'Braze\\Normalizer\\MessagesScheduleUpdatePostBodyMessagesAndroidPushNormalizer', - 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesSms' => 'Braze\\Normalizer\\MessagesScheduleUpdatePostBodyMessagesSmsNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBody' => 'Braze\\Normalizer\\CampaignsTriggerScheduleUpdatePostBodyNormalizer', - 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBodySchedule' => 'Braze\\Normalizer\\CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBody' => 'Braze\\Normalizer\\CanvasTriggerScheduleUpdatePostBodyNormalizer', - 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBodySchedule' => 'Braze\\Normalizer\\CanvasTriggerScheduleUpdatePostBodyScheduleNormalizer', - 'Braze\\Model\\SendsIdCreatePostBody' => 'Braze\\Normalizer\\SendsIdCreatePostBodyNormalizer', - 'Braze\\Model\\MessagesSendPostBody' => 'Braze\\Normalizer\\MessagesSendPostBodyNormalizer', - 'Braze\\Model\\MessagesSendPostBodyUserAliases' => 'Braze\\Normalizer\\MessagesSendPostBodyUserAliasesNormalizer', - 'Braze\\Model\\MessagesSendPostBodyAudience' => 'Braze\\Normalizer\\MessagesSendPostBodyAudienceNormalizer', - 'Braze\\Model\\MessagesSendPostBodyMessages' => 'Braze\\Normalizer\\MessagesSendPostBodyMessagesNormalizer', - 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBody' => 'Braze\\Normalizer\\TransactionalV1CampaignsCampaignIdSendPostBodyNormalizer', - 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties' => 'Braze\\Normalizer\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerPropertiesNormalizer', - 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem' => 'Braze\\Normalizer\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItemNormalizer', - 'Braze\\Model\\CampaignsTriggerSendPostBody' => 'Braze\\Normalizer\\CampaignsTriggerSendPostBodyNormalizer', - 'Braze\\Model\\CampaignsTriggerSendPostBodyAudience' => 'Braze\\Normalizer\\CampaignsTriggerSendPostBodyAudienceNormalizer', - 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItem' => 'Braze\\Normalizer\\CampaignsTriggerSendPostBodyRecipientsItemNormalizer', - 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemUserAlias' => 'Braze\\Normalizer\\CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer', - 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemAttributes' => 'Braze\\Normalizer\\CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer', - 'Braze\\Model\\CanvasTriggerSendPostBody' => 'Braze\\Normalizer\\CanvasTriggerSendPostBodyNormalizer', - 'Braze\\Model\\CanvasTriggerSendPostBodyCanvasEntryProperties' => 'Braze\\Normalizer\\CanvasTriggerSendPostBodyCanvasEntryPropertiesNormalizer', - 'Braze\\Model\\CanvasTriggerSendPostBodyAudience' => 'Braze\\Normalizer\\CanvasTriggerSendPostBodyAudienceNormalizer', - 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItem' => 'Braze\\Normalizer\\CanvasTriggerSendPostBodyRecipientsItemNormalizer', - 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemUserAlias' => 'Braze\\Normalizer\\CanvasTriggerSendPostBodyRecipientsItemUserAliasNormalizer', - 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemAttributes' => 'Braze\\Normalizer\\CanvasTriggerSendPostBodyRecipientsItemAttributesNormalizer', - 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBody' => 'Braze\\Normalizer\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyNormalizer', - 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties' => 'Braze\\Normalizer\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerPropertiesNormalizer', - 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem' => 'Braze\\Normalizer\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItemNormalizer', - 'Braze\\Model\\PreferenceCenterV1PostBody' => 'Braze\\Normalizer\\PreferenceCenterV1PostBodyNormalizer', - 'Braze\\Model\\PreferenceCenterV1PostBodyOptions' => 'Braze\\Normalizer\\PreferenceCenterV1PostBodyOptionsNormalizer', - 'Braze\\Model\\ScimV2UsersIdPutBody' => 'Braze\\Normalizer\\ScimV2UsersIdPutBodyNormalizer', - 'Braze\\Model\\ScimV2UsersIdPutBodyName' => 'Braze\\Normalizer\\ScimV2UsersIdPutBodyNameNormalizer', - 'Braze\\Model\\ScimV2UsersIdPutBodyPermissions' => 'Braze\\Normalizer\\ScimV2UsersIdPutBodyPermissionsNormalizer', - 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItem' => 'Braze\\Normalizer\\ScimV2UsersIdPutBodyPermissionsAppGroupItemNormalizer', - 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem' => 'Braze\\Normalizer\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItemNormalizer', - 'Braze\\Model\\ScimV2UsersPostBody' => 'Braze\\Normalizer\\ScimV2UsersPostBodyNormalizer', - 'Braze\\Model\\ScimV2UsersPostBodyName' => 'Braze\\Normalizer\\ScimV2UsersPostBodyNameNormalizer', - 'Braze\\Model\\ScimV2UsersPostBodyPermissions' => 'Braze\\Normalizer\\ScimV2UsersPostBodyPermissionsNormalizer', - 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItem' => 'Braze\\Normalizer\\ScimV2UsersPostBodyPermissionsAppGroupItemNormalizer', - 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem' => 'Braze\\Normalizer\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItemNormalizer', - 'Braze\\Model\\SmsInvalidPhoneNumbersRemovePostBody' => 'Braze\\Normalizer\\SmsInvalidPhoneNumbersRemovePostBodyNormalizer', - 'Braze\\Model\\SubscriptionStatusSetPostBody' => 'Braze\\Normalizer\\SubscriptionStatusSetPostBodyNormalizer', - 'Braze\\Model\\V2SubscriptionStatusSetPostBody' => 'Braze\\Normalizer\\V2SubscriptionStatusSetPostBodyNormalizer', - 'Braze\\Model\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem' => 'Braze\\Normalizer\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItemNormalizer', - 'Braze\\Model\\ContentBlocksCreatePostBody' => 'Braze\\Normalizer\\ContentBlocksCreatePostBodyNormalizer', - 'Braze\\Model\\ContentBlocksUpdatePostBody' => 'Braze\\Normalizer\\ContentBlocksUpdatePostBodyNormalizer', - 'Braze\\Model\\TemplatesEmailCreatePostBody' => 'Braze\\Normalizer\\TemplatesEmailCreatePostBodyNormalizer', - 'Braze\\Model\\UsersExternalIdsRenamePostBody' => 'Braze\\Normalizer\\UsersExternalIdsRenamePostBodyNormalizer', - 'Braze\\Model\\UsersExternalIdsRenamePostBodyExternalIdRenamesItem' => 'Braze\\Normalizer\\UsersExternalIdsRenamePostBodyExternalIdRenamesItemNormalizer', - 'Braze\\Model\\UsersExternalIdsRemovePostBody' => 'Braze\\Normalizer\\UsersExternalIdsRemovePostBodyNormalizer', - 'Braze\\Model\\UsersAliasUpdatePostBody' => 'Braze\\Normalizer\\UsersAliasUpdatePostBodyNormalizer', - 'Braze\\Model\\UsersAliasUpdatePostBodyAliasUpdatesItem' => 'Braze\\Normalizer\\UsersAliasUpdatePostBodyAliasUpdatesItemNormalizer', - 'Braze\\Model\\UsersAliasNewPostBody' => 'Braze\\Normalizer\\UsersAliasNewPostBodyNormalizer', - 'Braze\\Model\\UsersAliasNewPostBodyUserAliasesItem' => 'Braze\\Normalizer\\UsersAliasNewPostBodyUserAliasesItemNormalizer', - 'Braze\\Model\\UsersDeletePostBody' => 'Braze\\Normalizer\\UsersDeletePostBodyNormalizer', - 'Braze\\Model\\UsersDeletePostBodyUserAliasesItem' => 'Braze\\Normalizer\\UsersDeletePostBodyUserAliasesItemNormalizer', - 'Braze\\Model\\UsersIdentifyPostBody' => 'Braze\\Normalizer\\UsersIdentifyPostBodyNormalizer', - 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItem' => 'Braze\\Normalizer\\UsersIdentifyPostBodyAliasesToIdentifyItemNormalizer', - 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias' => 'Braze\\Normalizer\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAliasNormalizer', - 'Braze\\Model\\UsersMergePostBody' => 'Braze\\Normalizer\\UsersMergePostBodyNormalizer', - '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\Braze\\Runtime\\Normalizer\\ReferenceNormalizer', + \Braze\Model\Error::class => ErrorNormalizer::class, + + \Braze\Model\TemplatesEmailUpdatePostBody::class => TemplatesEmailUpdatePostBodyNormalizer::class, + + \Braze\Model\UsersTrackPostBody::class => UsersTrackPostBodyNormalizer::class, + + \Braze\Model\CatalogsPostBody::class => CatalogsPostBodyNormalizer::class, + + \Braze\Model\CatalogsPostBodyCatalogsItem::class => CatalogsPostBodyCatalogsItemNormalizer::class, + + \Braze\Model\CatalogsPostBodyCatalogsItemFieldsItem::class => CatalogsPostBodyCatalogsItemFieldsItemNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsPatchBody::class => CatalogsCatalogNameItemsPatchBodyNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsPatchBodyItemsItem::class => CatalogsCatalogNameItemsPatchBodyItemsItemNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsPostBody::class => CatalogsCatalogNameItemsPostBodyNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsPutBody::class => CatalogsCatalogNameItemsPutBodyNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsItemIdPatchBody::class => CatalogsCatalogNameItemsItemIdPatchBodyNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsItemIdPostBody::class => CatalogsCatalogNameItemsItemIdPostBodyNormalizer::class, + + \Braze\Model\CatalogsCatalogNameItemsItemIdPutBody::class => CatalogsCatalogNameItemsItemIdPutBodyNormalizer::class, + + \Braze\Model\EmailStatusPostBody::class => EmailStatusPostBodyNormalizer::class, + + \Braze\Model\EmailBounceRemovePostBody::class => EmailBounceRemovePostBodyNormalizer::class, + + \Braze\Model\EmailSpamRemovePostBody::class => EmailSpamRemovePostBodyNormalizer::class, + + \Braze\Model\EmailBlocklistPostBody::class => EmailBlocklistPostBodyNormalizer::class, + + \Braze\Model\EmailBlacklistPostBody::class => EmailBlacklistPostBodyNormalizer::class, + + \Braze\Model\UsersExportIdsPostBody::class => UsersExportIdsPostBodyNormalizer::class, + + \Braze\Model\UsersExportIdsPostBodyUserAliasesItem::class => UsersExportIdsPostBodyUserAliasesItemNormalizer::class, + + \Braze\Model\UsersExportSegmentPostBody::class => UsersExportSegmentPostBodyNormalizer::class, + + \Braze\Model\UsersExportGlobalControlGroupPostBody::class => UsersExportGlobalControlGroupPostBodyNormalizer::class, + + \Braze\Model\MessagesLiveActivityUpdatePostBody::class => MessagesLiveActivityUpdatePostBodyNormalizer::class, + + \Braze\Model\MessagesLiveActivityUpdatePostBodyContentState::class => MessagesLiveActivityUpdatePostBodyContentStateNormalizer::class, + + \Braze\Model\MessagesLiveActivityUpdatePostBodyNotification::class => MessagesLiveActivityUpdatePostBodyNotificationNormalizer::class, + + \Braze\Model\MessagesLiveActivityUpdatePostBodyNotificationAlert::class => MessagesLiveActivityUpdatePostBodyNotificationAlertNormalizer::class, + + \Braze\Model\MessagesScheduleDeletePostBody::class => MessagesScheduleDeletePostBodyNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleDeletePostBody::class => CanvasTriggerScheduleDeletePostBodyNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleDeletePostBody::class => CampaignsTriggerScheduleDeletePostBodyNormalizer::class, + + \Braze\Model\MessagesScheduleCreatePostBody::class => MessagesScheduleCreatePostBodyNormalizer::class, + + \Braze\Model\MessagesScheduleCreatePostBodyUserAliases::class => MessagesScheduleCreatePostBodyUserAliasesNormalizer::class, + + \Braze\Model\MessagesScheduleCreatePostBodyAudience::class => MessagesScheduleCreatePostBodyAudienceNormalizer::class, + + \Braze\Model\MessagesScheduleCreatePostBodySchedule::class => MessagesScheduleCreatePostBodyScheduleNormalizer::class, + + \Braze\Model\MessagesScheduleCreatePostBodyMessages::class => MessagesScheduleCreatePostBodyMessagesNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleCreatePostBody::class => CampaignsTriggerScheduleCreatePostBodyNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class => CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class => CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class => CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleCreatePostBody::class => CanvasTriggerScheduleCreatePostBodyNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class => CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class => CanvasTriggerScheduleCreatePostBodyAudienceNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class => CanvasTriggerScheduleCreatePostBodyScheduleNormalizer::class, + + \Braze\Model\MessagesScheduleUpdatePostBody::class => MessagesScheduleUpdatePostBodyNormalizer::class, + + \Braze\Model\MessagesScheduleUpdatePostBodySchedule::class => MessagesScheduleUpdatePostBodyScheduleNormalizer::class, + + \Braze\Model\MessagesScheduleUpdatePostBodyMessages::class => MessagesScheduleUpdatePostBodyMessagesNormalizer::class, + + \Braze\Model\MessagesScheduleUpdatePostBodyMessagesApplePush::class => MessagesScheduleUpdatePostBodyMessagesApplePushNormalizer::class, + + \Braze\Model\MessagesScheduleUpdatePostBodyMessagesAndroidPush::class => MessagesScheduleUpdatePostBodyMessagesAndroidPushNormalizer::class, + + \Braze\Model\MessagesScheduleUpdatePostBodyMessagesSms::class => MessagesScheduleUpdatePostBodyMessagesSmsNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class => CampaignsTriggerScheduleUpdatePostBodyNormalizer::class, + + \Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class => CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleUpdatePostBody::class => CanvasTriggerScheduleUpdatePostBodyNormalizer::class, + + \Braze\Model\CanvasTriggerScheduleUpdatePostBodySchedule::class => CanvasTriggerScheduleUpdatePostBodyScheduleNormalizer::class, + + \Braze\Model\SendsIdCreatePostBody::class => SendsIdCreatePostBodyNormalizer::class, + + \Braze\Model\MessagesSendPostBody::class => MessagesSendPostBodyNormalizer::class, + + \Braze\Model\MessagesSendPostBodyUserAliases::class => MessagesSendPostBodyUserAliasesNormalizer::class, + + \Braze\Model\MessagesSendPostBodyAudience::class => MessagesSendPostBodyAudienceNormalizer::class, + + \Braze\Model\MessagesSendPostBodyMessages::class => MessagesSendPostBodyMessagesNormalizer::class, + + \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBody::class => TransactionalV1CampaignsCampaignIdSendPostBodyNormalizer::class, + + \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties::class => TransactionalV1CampaignsCampaignIdSendPostBodyTriggerPropertiesNormalizer::class, + + \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem::class => TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItemNormalizer::class, + + \Braze\Model\CampaignsTriggerSendPostBody::class => CampaignsTriggerSendPostBodyNormalizer::class, + + \Braze\Model\CampaignsTriggerSendPostBodyAudience::class => CampaignsTriggerSendPostBodyAudienceNormalizer::class, + + \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class => CampaignsTriggerSendPostBodyRecipientsItemNormalizer::class, + + \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class => CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer::class, + + \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class => CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer::class, + + \Braze\Model\CanvasTriggerSendPostBody::class => CanvasTriggerSendPostBodyNormalizer::class, + + \Braze\Model\CanvasTriggerSendPostBodyCanvasEntryProperties::class => CanvasTriggerSendPostBodyCanvasEntryPropertiesNormalizer::class, + + \Braze\Model\CanvasTriggerSendPostBodyAudience::class => CanvasTriggerSendPostBodyAudienceNormalizer::class, + + \Braze\Model\CanvasTriggerSendPostBodyRecipientsItem::class => CanvasTriggerSendPostBodyRecipientsItemNormalizer::class, + + \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemUserAlias::class => CanvasTriggerSendPostBodyRecipientsItemUserAliasNormalizer::class, + + \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemAttributes::class => CanvasTriggerSendPostBodyRecipientsItemAttributesNormalizer::class, + + \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBody::class => PreferenceCenterV1PreferenceCenterExternalIDPutBodyNormalizer::class, + + \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties::class => PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerPropertiesNormalizer::class, + + \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem::class => PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItemNormalizer::class, + + \Braze\Model\PreferenceCenterV1PostBody::class => PreferenceCenterV1PostBodyNormalizer::class, + + \Braze\Model\PreferenceCenterV1PostBodyOptions::class => PreferenceCenterV1PostBodyOptionsNormalizer::class, + + \Braze\Model\ScimV2UsersIdPutBody::class => ScimV2UsersIdPutBodyNormalizer::class, + + \Braze\Model\ScimV2UsersIdPutBodyName::class => ScimV2UsersIdPutBodyNameNormalizer::class, + + \Braze\Model\ScimV2UsersIdPutBodyPermissions::class => ScimV2UsersIdPutBodyPermissionsNormalizer::class, + + \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItem::class => ScimV2UsersIdPutBodyPermissionsAppGroupItemNormalizer::class, + + \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem::class => ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItemNormalizer::class, + + \Braze\Model\ScimV2UsersPostBody::class => ScimV2UsersPostBodyNormalizer::class, + + \Braze\Model\ScimV2UsersPostBodyName::class => ScimV2UsersPostBodyNameNormalizer::class, + + \Braze\Model\ScimV2UsersPostBodyPermissions::class => ScimV2UsersPostBodyPermissionsNormalizer::class, + + \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItem::class => ScimV2UsersPostBodyPermissionsAppGroupItemNormalizer::class, + + \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem::class => ScimV2UsersPostBodyPermissionsAppGroupItemTeamItemNormalizer::class, + + \Braze\Model\SmsInvalidPhoneNumbersRemovePostBody::class => SmsInvalidPhoneNumbersRemovePostBodyNormalizer::class, + + \Braze\Model\SubscriptionStatusSetPostBody::class => SubscriptionStatusSetPostBodyNormalizer::class, + + \Braze\Model\V2SubscriptionStatusSetPostBody::class => V2SubscriptionStatusSetPostBodyNormalizer::class, + + \Braze\Model\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem::class => V2SubscriptionStatusSetPostBodySubscriptionGroupsItemNormalizer::class, + + \Braze\Model\ContentBlocksCreatePostBody::class => ContentBlocksCreatePostBodyNormalizer::class, + + \Braze\Model\ContentBlocksUpdatePostBody::class => ContentBlocksUpdatePostBodyNormalizer::class, + + \Braze\Model\TemplatesEmailCreatePostBody::class => TemplatesEmailCreatePostBodyNormalizer::class, + + \Braze\Model\UsersExternalIdsRenamePostBody::class => UsersExternalIdsRenamePostBodyNormalizer::class, + + \Braze\Model\UsersExternalIdsRenamePostBodyExternalIdRenamesItem::class => UsersExternalIdsRenamePostBodyExternalIdRenamesItemNormalizer::class, + + \Braze\Model\UsersExternalIdsRemovePostBody::class => UsersExternalIdsRemovePostBodyNormalizer::class, + + \Braze\Model\UsersAliasUpdatePostBody::class => UsersAliasUpdatePostBodyNormalizer::class, + + \Braze\Model\UsersAliasUpdatePostBodyAliasUpdatesItem::class => UsersAliasUpdatePostBodyAliasUpdatesItemNormalizer::class, + + \Braze\Model\UsersAliasNewPostBody::class => UsersAliasNewPostBodyNormalizer::class, + + \Braze\Model\UsersAliasNewPostBodyUserAliasesItem::class => UsersAliasNewPostBodyUserAliasesItemNormalizer::class, + + \Braze\Model\UsersDeletePostBody::class => UsersDeletePostBodyNormalizer::class, + + \Braze\Model\UsersDeletePostBodyUserAliasesItem::class => UsersDeletePostBodyUserAliasesItemNormalizer::class, + + \Braze\Model\UsersIdentifyPostBody::class => UsersIdentifyPostBodyNormalizer::class, + + \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItem::class => UsersIdentifyPostBodyAliasesToIdentifyItemNormalizer::class, + + \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias::class => UsersIdentifyPostBodyAliasesToIdentifyItemUserAliasNormalizer::class, + + \Braze\Model\UsersMergePostBody::class => UsersMergePostBodyNormalizer::class, + + \Jane\Component\JsonSchemaRuntime\Reference::class => \Braze\Runtime\Normalizer\ReferenceNormalizer::class, ]; protected $normalizersCache = []; @@ -348,7 +560,7 @@ private function initNormalizer(string $normalizerClass) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\Error' => false, 'Braze\\Model\\TemplatesEmailUpdatePostBody' => false, 'Braze\\Model\\UsersTrackPostBody' => false, 'Braze\\Model\\CatalogsPostBody' => false, 'Braze\\Model\\CatalogsPostBodyCatalogsItem' => false, 'Braze\\Model\\CatalogsPostBodyCatalogsItemFieldsItem' => false, 'Braze\\Model\\CatalogsCatalogNameItemsPatchBody' => false, 'Braze\\Model\\CatalogsCatalogNameItemsPatchBodyItemsItem' => false, 'Braze\\Model\\CatalogsCatalogNameItemsPostBody' => false, 'Braze\\Model\\CatalogsCatalogNameItemsPutBody' => false, 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPatchBody' => false, 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPostBody' => false, 'Braze\\Model\\CatalogsCatalogNameItemsItemIdPutBody' => false, 'Braze\\Model\\EmailStatusPostBody' => false, 'Braze\\Model\\EmailBounceRemovePostBody' => false, 'Braze\\Model\\EmailSpamRemovePostBody' => false, 'Braze\\Model\\EmailBlocklistPostBody' => false, 'Braze\\Model\\EmailBlacklistPostBody' => false, 'Braze\\Model\\UsersExportIdsPostBody' => false, 'Braze\\Model\\UsersExportIdsPostBodyUserAliasesItem' => false, 'Braze\\Model\\UsersExportSegmentPostBody' => false, 'Braze\\Model\\UsersExportGlobalControlGroupPostBody' => false, 'Braze\\Model\\MessagesLiveActivityUpdatePostBody' => false, 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyContentState' => false, 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotification' => false, 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotificationAlert' => false, 'Braze\\Model\\MessagesScheduleDeletePostBody' => false, 'Braze\\Model\\CanvasTriggerScheduleDeletePostBody' => false, 'Braze\\Model\\CampaignsTriggerScheduleDeletePostBody' => false, 'Braze\\Model\\MessagesScheduleCreatePostBody' => false, 'Braze\\Model\\MessagesScheduleCreatePostBodyUserAliases' => false, 'Braze\\Model\\MessagesScheduleCreatePostBodyAudience' => false, 'Braze\\Model\\MessagesScheduleCreatePostBodySchedule' => false, 'Braze\\Model\\MessagesScheduleCreatePostBodyMessages' => false, 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBody' => false, 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyRecipientsItem' => false, 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodyAudience' => false, 'Braze\\Model\\CampaignsTriggerScheduleCreatePostBodySchedule' => false, 'Braze\\Model\\CanvasTriggerScheduleCreatePostBody' => false, 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyRecipientsItem' => false, 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodyAudience' => false, 'Braze\\Model\\CanvasTriggerScheduleCreatePostBodySchedule' => false, 'Braze\\Model\\MessagesScheduleUpdatePostBody' => false, 'Braze\\Model\\MessagesScheduleUpdatePostBodySchedule' => false, 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessages' => false, 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesApplePush' => false, 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesAndroidPush' => false, 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesSms' => false, 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBody' => false, 'Braze\\Model\\CampaignsTriggerScheduleUpdatePostBodySchedule' => false, 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBody' => false, 'Braze\\Model\\CanvasTriggerScheduleUpdatePostBodySchedule' => false, 'Braze\\Model\\SendsIdCreatePostBody' => false, 'Braze\\Model\\MessagesSendPostBody' => false, 'Braze\\Model\\MessagesSendPostBodyUserAliases' => false, 'Braze\\Model\\MessagesSendPostBodyAudience' => false, 'Braze\\Model\\MessagesSendPostBodyMessages' => false, 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBody' => false, 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties' => false, 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem' => false, 'Braze\\Model\\CampaignsTriggerSendPostBody' => false, 'Braze\\Model\\CampaignsTriggerSendPostBodyAudience' => false, 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItem' => false, 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemUserAlias' => false, 'Braze\\Model\\CampaignsTriggerSendPostBodyRecipientsItemAttributes' => false, 'Braze\\Model\\CanvasTriggerSendPostBody' => false, 'Braze\\Model\\CanvasTriggerSendPostBodyCanvasEntryProperties' => false, 'Braze\\Model\\CanvasTriggerSendPostBodyAudience' => false, 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItem' => false, 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemUserAlias' => false, 'Braze\\Model\\CanvasTriggerSendPostBodyRecipientsItemAttributes' => false, 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBody' => false, 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties' => false, 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem' => false, 'Braze\\Model\\PreferenceCenterV1PostBody' => false, 'Braze\\Model\\PreferenceCenterV1PostBodyOptions' => false, 'Braze\\Model\\ScimV2UsersIdPutBody' => false, 'Braze\\Model\\ScimV2UsersIdPutBodyName' => false, 'Braze\\Model\\ScimV2UsersIdPutBodyPermissions' => false, 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItem' => false, 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem' => false, 'Braze\\Model\\ScimV2UsersPostBody' => false, 'Braze\\Model\\ScimV2UsersPostBodyName' => false, 'Braze\\Model\\ScimV2UsersPostBodyPermissions' => false, 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItem' => false, 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem' => false, 'Braze\\Model\\SmsInvalidPhoneNumbersRemovePostBody' => false, 'Braze\\Model\\SubscriptionStatusSetPostBody' => false, 'Braze\\Model\\V2SubscriptionStatusSetPostBody' => false, 'Braze\\Model\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem' => false, 'Braze\\Model\\ContentBlocksCreatePostBody' => false, 'Braze\\Model\\ContentBlocksUpdatePostBody' => false, 'Braze\\Model\\TemplatesEmailCreatePostBody' => false, 'Braze\\Model\\UsersExternalIdsRenamePostBody' => false, 'Braze\\Model\\UsersExternalIdsRenamePostBodyExternalIdRenamesItem' => false, 'Braze\\Model\\UsersExternalIdsRemovePostBody' => false, 'Braze\\Model\\UsersAliasUpdatePostBody' => false, 'Braze\\Model\\UsersAliasUpdatePostBodyAliasUpdatesItem' => false, 'Braze\\Model\\UsersAliasNewPostBody' => false, 'Braze\\Model\\UsersAliasNewPostBodyUserAliasesItem' => false, 'Braze\\Model\\UsersDeletePostBody' => false, 'Braze\\Model\\UsersDeletePostBodyUserAliasesItem' => false, 'Braze\\Model\\UsersIdentifyPostBody' => false, 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItem' => false, 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias' => false, 'Braze\\Model\\UsersMergePostBody' => false, '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => false]; + return [\Braze\Model\Error::class => false, \Braze\Model\TemplatesEmailUpdatePostBody::class => false, \Braze\Model\UsersTrackPostBody::class => false, \Braze\Model\CatalogsPostBody::class => false, \Braze\Model\CatalogsPostBodyCatalogsItem::class => false, \Braze\Model\CatalogsPostBodyCatalogsItemFieldsItem::class => false, \Braze\Model\CatalogsCatalogNameItemsPatchBody::class => false, \Braze\Model\CatalogsCatalogNameItemsPatchBodyItemsItem::class => false, \Braze\Model\CatalogsCatalogNameItemsPostBody::class => false, \Braze\Model\CatalogsCatalogNameItemsPutBody::class => false, \Braze\Model\CatalogsCatalogNameItemsItemIdPatchBody::class => false, \Braze\Model\CatalogsCatalogNameItemsItemIdPostBody::class => false, \Braze\Model\CatalogsCatalogNameItemsItemIdPutBody::class => false, \Braze\Model\EmailStatusPostBody::class => false, \Braze\Model\EmailBounceRemovePostBody::class => false, \Braze\Model\EmailSpamRemovePostBody::class => false, \Braze\Model\EmailBlocklistPostBody::class => false, \Braze\Model\EmailBlacklistPostBody::class => false, \Braze\Model\UsersExportIdsPostBody::class => false, \Braze\Model\UsersExportIdsPostBodyUserAliasesItem::class => false, \Braze\Model\UsersExportSegmentPostBody::class => false, \Braze\Model\UsersExportGlobalControlGroupPostBody::class => false, \Braze\Model\MessagesLiveActivityUpdatePostBody::class => false, \Braze\Model\MessagesLiveActivityUpdatePostBodyContentState::class => false, \Braze\Model\MessagesLiveActivityUpdatePostBodyNotification::class => false, \Braze\Model\MessagesLiveActivityUpdatePostBodyNotificationAlert::class => false, \Braze\Model\MessagesScheduleDeletePostBody::class => false, \Braze\Model\CanvasTriggerScheduleDeletePostBody::class => false, \Braze\Model\CampaignsTriggerScheduleDeletePostBody::class => false, \Braze\Model\MessagesScheduleCreatePostBody::class => false, \Braze\Model\MessagesScheduleCreatePostBodyUserAliases::class => false, \Braze\Model\MessagesScheduleCreatePostBodyAudience::class => false, \Braze\Model\MessagesScheduleCreatePostBodySchedule::class => false, \Braze\Model\MessagesScheduleCreatePostBodyMessages::class => false, \Braze\Model\CampaignsTriggerScheduleCreatePostBody::class => false, \Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class => false, \Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class => false, \Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class => false, \Braze\Model\CanvasTriggerScheduleCreatePostBody::class => false, \Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class => false, \Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class => false, \Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class => false, \Braze\Model\MessagesScheduleUpdatePostBody::class => false, \Braze\Model\MessagesScheduleUpdatePostBodySchedule::class => false, \Braze\Model\MessagesScheduleUpdatePostBodyMessages::class => false, \Braze\Model\MessagesScheduleUpdatePostBodyMessagesApplePush::class => false, \Braze\Model\MessagesScheduleUpdatePostBodyMessagesAndroidPush::class => false, \Braze\Model\MessagesScheduleUpdatePostBodyMessagesSms::class => false, \Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class => false, \Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class => false, \Braze\Model\CanvasTriggerScheduleUpdatePostBody::class => false, \Braze\Model\CanvasTriggerScheduleUpdatePostBodySchedule::class => false, \Braze\Model\SendsIdCreatePostBody::class => false, \Braze\Model\MessagesSendPostBody::class => false, \Braze\Model\MessagesSendPostBodyUserAliases::class => false, \Braze\Model\MessagesSendPostBodyAudience::class => false, \Braze\Model\MessagesSendPostBodyMessages::class => false, \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBody::class => false, \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties::class => false, \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem::class => false, \Braze\Model\CampaignsTriggerSendPostBody::class => false, \Braze\Model\CampaignsTriggerSendPostBodyAudience::class => false, \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class => false, \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class => false, \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class => false, \Braze\Model\CanvasTriggerSendPostBody::class => false, \Braze\Model\CanvasTriggerSendPostBodyCanvasEntryProperties::class => false, \Braze\Model\CanvasTriggerSendPostBodyAudience::class => false, \Braze\Model\CanvasTriggerSendPostBodyRecipientsItem::class => false, \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemUserAlias::class => false, \Braze\Model\CanvasTriggerSendPostBodyRecipientsItemAttributes::class => false, \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBody::class => false, \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties::class => false, \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem::class => false, \Braze\Model\PreferenceCenterV1PostBody::class => false, \Braze\Model\PreferenceCenterV1PostBodyOptions::class => false, \Braze\Model\ScimV2UsersIdPutBody::class => false, \Braze\Model\ScimV2UsersIdPutBodyName::class => false, \Braze\Model\ScimV2UsersIdPutBodyPermissions::class => false, \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItem::class => false, \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem::class => false, \Braze\Model\ScimV2UsersPostBody::class => false, \Braze\Model\ScimV2UsersPostBodyName::class => false, \Braze\Model\ScimV2UsersPostBodyPermissions::class => false, \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItem::class => false, \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem::class => false, \Braze\Model\SmsInvalidPhoneNumbersRemovePostBody::class => false, \Braze\Model\SubscriptionStatusSetPostBody::class => false, \Braze\Model\V2SubscriptionStatusSetPostBody::class => false, \Braze\Model\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem::class => false, \Braze\Model\ContentBlocksCreatePostBody::class => false, \Braze\Model\ContentBlocksUpdatePostBody::class => false, \Braze\Model\TemplatesEmailCreatePostBody::class => false, \Braze\Model\UsersExternalIdsRenamePostBody::class => false, \Braze\Model\UsersExternalIdsRenamePostBodyExternalIdRenamesItem::class => false, \Braze\Model\UsersExternalIdsRemovePostBody::class => false, \Braze\Model\UsersAliasUpdatePostBody::class => false, \Braze\Model\UsersAliasUpdatePostBodyAliasUpdatesItem::class => false, \Braze\Model\UsersAliasNewPostBody::class => false, \Braze\Model\UsersAliasNewPostBodyUserAliasesItem::class => false, \Braze\Model\UsersDeletePostBody::class => false, \Braze\Model\UsersDeletePostBodyUserAliasesItem::class => false, \Braze\Model\UsersIdentifyPostBody::class => false, \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItem::class => false, \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias::class => false, \Braze\Model\UsersMergePostBody::class => false, \Jane\Component\JsonSchemaRuntime\Reference::class => false]; } } } diff --git a/lib/Normalizer/MessagesLiveActivityUpdatePostBodyContentStateNormalizer.php b/lib/Normalizer/MessagesLiveActivityUpdatePostBodyContentStateNormalizer.php index 3b1ab94..7d334e5 100644 --- a/lib/Normalizer/MessagesLiveActivityUpdatePostBodyContentStateNormalizer.php +++ b/lib/Normalizer/MessagesLiveActivityUpdatePostBodyContentStateNormalizer.php @@ -31,12 +31,12 @@ class MessagesLiveActivityUpdatePostBodyContentStateNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyContentState'; + return $type === \Braze\Model\MessagesLiveActivityUpdatePostBodyContentState::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyContentState'; + return is_object($data) && get_class($data) === Braze\Model\MessagesLiveActivityUpdatePostBodyContentState::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesLiveActivityUpdatePostBodyContentState' => false]; + return [\Braze\Model\MessagesLiveActivityUpdatePostBodyContentState::class => false]; } } } else { @@ -101,12 +101,12 @@ class MessagesLiveActivityUpdatePostBodyContentStateNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyContentState'; + return $type === \Braze\Model\MessagesLiveActivityUpdatePostBodyContentState::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyContentState'; + return is_object($data) && get_class($data) === Braze\Model\MessagesLiveActivityUpdatePostBodyContentState::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesLiveActivityUpdatePostBodyContentState' => false]; + return [\Braze\Model\MessagesLiveActivityUpdatePostBodyContentState::class => false]; } } } diff --git a/lib/Normalizer/MessagesLiveActivityUpdatePostBodyNormalizer.php b/lib/Normalizer/MessagesLiveActivityUpdatePostBodyNormalizer.php index 3a66d6f..e280826 100644 --- a/lib/Normalizer/MessagesLiveActivityUpdatePostBodyNormalizer.php +++ b/lib/Normalizer/MessagesLiveActivityUpdatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class MessagesLiveActivityUpdatePostBodyNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesLiveActivityUpdatePostBody'; + return $type === \Braze\Model\MessagesLiveActivityUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesLiveActivityUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\MessagesLiveActivityUpdatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['activity_id']); } if (\array_key_exists('content_state', $data)) { - $object->setContentState($this->denormalizer->denormalize($data['content_state'], 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyContentState', 'json', $context)); + $object->setContentState($this->denormalizer->denormalize($data['content_state'], \Braze\Model\MessagesLiveActivityUpdatePostBodyContentState::class, 'json', $context)); unset($data['content_state']); } if (\array_key_exists('end_activity', $data)) { @@ -76,7 +76,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['stale_date']); } if (\array_key_exists('notification', $data)) { - $object->setNotification($this->denormalizer->denormalize($data['notification'], 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotification', 'json', $context)); + $object->setNotification($this->denormalizer->denormalize($data['notification'], \Braze\Model\MessagesLiveActivityUpdatePostBodyNotification::class, 'json', $context)); unset($data['notification']); } foreach ($data as $key => $value) { @@ -123,7 +123,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesLiveActivityUpdatePostBody' => false]; + return [\Braze\Model\MessagesLiveActivityUpdatePostBody::class => false]; } } } else { @@ -136,12 +136,12 @@ class MessagesLiveActivityUpdatePostBodyNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesLiveActivityUpdatePostBody'; + return $type === \Braze\Model\MessagesLiveActivityUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesLiveActivityUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\MessagesLiveActivityUpdatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -165,7 +165,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['activity_id']); } if (\array_key_exists('content_state', $data)) { - $object->setContentState($this->denormalizer->denormalize($data['content_state'], 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyContentState', 'json', $context)); + $object->setContentState($this->denormalizer->denormalize($data['content_state'], \Braze\Model\MessagesLiveActivityUpdatePostBodyContentState::class, 'json', $context)); unset($data['content_state']); } if (\array_key_exists('end_activity', $data)) { @@ -181,7 +181,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['stale_date']); } if (\array_key_exists('notification', $data)) { - $object->setNotification($this->denormalizer->denormalize($data['notification'], 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotification', 'json', $context)); + $object->setNotification($this->denormalizer->denormalize($data['notification'], \Braze\Model\MessagesLiveActivityUpdatePostBodyNotification::class, 'json', $context)); unset($data['notification']); } foreach ($data as $key => $value) { @@ -231,7 +231,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesLiveActivityUpdatePostBody' => false]; + return [\Braze\Model\MessagesLiveActivityUpdatePostBody::class => false]; } } } diff --git a/lib/Normalizer/MessagesLiveActivityUpdatePostBodyNotificationAlertNormalizer.php b/lib/Normalizer/MessagesLiveActivityUpdatePostBodyNotificationAlertNormalizer.php index 9a324e7..624b00e 100644 --- a/lib/Normalizer/MessagesLiveActivityUpdatePostBodyNotificationAlertNormalizer.php +++ b/lib/Normalizer/MessagesLiveActivityUpdatePostBodyNotificationAlertNormalizer.php @@ -31,12 +31,12 @@ class MessagesLiveActivityUpdatePostBodyNotificationAlertNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotificationAlert'; + return $type === \Braze\Model\MessagesLiveActivityUpdatePostBodyNotificationAlert::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotificationAlert'; + return is_object($data) && get_class($data) === Braze\Model\MessagesLiveActivityUpdatePostBodyNotificationAlert::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotificationAlert' => false]; + return [\Braze\Model\MessagesLiveActivityUpdatePostBodyNotificationAlert::class => false]; } } } else { @@ -101,12 +101,12 @@ class MessagesLiveActivityUpdatePostBodyNotificationAlertNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotificationAlert'; + return $type === \Braze\Model\MessagesLiveActivityUpdatePostBodyNotificationAlert::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotificationAlert'; + return is_object($data) && get_class($data) === Braze\Model\MessagesLiveActivityUpdatePostBodyNotificationAlert::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotificationAlert' => false]; + return [\Braze\Model\MessagesLiveActivityUpdatePostBodyNotificationAlert::class => false]; } } } diff --git a/lib/Normalizer/MessagesLiveActivityUpdatePostBodyNotificationNormalizer.php b/lib/Normalizer/MessagesLiveActivityUpdatePostBodyNotificationNormalizer.php index 58d048a..d95ec45 100644 --- a/lib/Normalizer/MessagesLiveActivityUpdatePostBodyNotificationNormalizer.php +++ b/lib/Normalizer/MessagesLiveActivityUpdatePostBodyNotificationNormalizer.php @@ -31,12 +31,12 @@ class MessagesLiveActivityUpdatePostBodyNotificationNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotification'; + return $type === \Braze\Model\MessagesLiveActivityUpdatePostBodyNotification::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotification'; + return is_object($data) && get_class($data) === Braze\Model\MessagesLiveActivityUpdatePostBodyNotification::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('alert', $data)) { - $object->setAlert($this->denormalizer->denormalize($data['alert'], 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotificationAlert', 'json', $context)); + $object->setAlert($this->denormalizer->denormalize($data['alert'], \Braze\Model\MessagesLiveActivityUpdatePostBodyNotificationAlert::class, 'json', $context)); unset($data['alert']); } foreach ($data as $key => $value) { @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotification' => false]; + return [\Braze\Model\MessagesLiveActivityUpdatePostBodyNotification::class => false]; } } } else { @@ -94,12 +94,12 @@ class MessagesLiveActivityUpdatePostBodyNotificationNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotification'; + return $type === \Braze\Model\MessagesLiveActivityUpdatePostBodyNotification::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotification'; + return is_object($data) && get_class($data) === Braze\Model\MessagesLiveActivityUpdatePostBodyNotification::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -115,7 +115,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('alert', $data)) { - $object->setAlert($this->denormalizer->denormalize($data['alert'], 'Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotificationAlert', 'json', $context)); + $object->setAlert($this->denormalizer->denormalize($data['alert'], \Braze\Model\MessagesLiveActivityUpdatePostBodyNotificationAlert::class, 'json', $context)); unset($data['alert']); } foreach ($data as $key => $value) { @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesLiveActivityUpdatePostBodyNotification' => false]; + return [\Braze\Model\MessagesLiveActivityUpdatePostBodyNotification::class => false]; } } } diff --git a/lib/Normalizer/MessagesScheduleCreatePostBodyAudienceNormalizer.php b/lib/Normalizer/MessagesScheduleCreatePostBodyAudienceNormalizer.php index 1571b86..1d37598 100644 --- a/lib/Normalizer/MessagesScheduleCreatePostBodyAudienceNormalizer.php +++ b/lib/Normalizer/MessagesScheduleCreatePostBodyAudienceNormalizer.php @@ -31,12 +31,12 @@ class MessagesScheduleCreatePostBodyAudienceNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleCreatePostBodyAudience'; + return $type === \Braze\Model\MessagesScheduleCreatePostBodyAudience::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleCreatePostBodyAudience'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleCreatePostBodyAudience::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleCreatePostBodyAudience' => false]; + return [\Braze\Model\MessagesScheduleCreatePostBodyAudience::class => false]; } } } else { @@ -102,12 +102,12 @@ class MessagesScheduleCreatePostBodyAudienceNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleCreatePostBodyAudience'; + return $type === \Braze\Model\MessagesScheduleCreatePostBodyAudience::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleCreatePostBodyAudience'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleCreatePostBodyAudience::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleCreatePostBodyAudience' => false]; + return [\Braze\Model\MessagesScheduleCreatePostBodyAudience::class => false]; } } } diff --git a/lib/Normalizer/MessagesScheduleCreatePostBodyMessagesNormalizer.php b/lib/Normalizer/MessagesScheduleCreatePostBodyMessagesNormalizer.php index 43bb450..43764e7 100644 --- a/lib/Normalizer/MessagesScheduleCreatePostBodyMessagesNormalizer.php +++ b/lib/Normalizer/MessagesScheduleCreatePostBodyMessagesNormalizer.php @@ -31,12 +31,12 @@ class MessagesScheduleCreatePostBodyMessagesNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleCreatePostBodyMessages'; + return $type === \Braze\Model\MessagesScheduleCreatePostBodyMessages::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleCreatePostBodyMessages'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleCreatePostBodyMessages::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -209,7 +209,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleCreatePostBodyMessages' => false]; + return [\Braze\Model\MessagesScheduleCreatePostBodyMessages::class => false]; } } } else { @@ -222,12 +222,12 @@ class MessagesScheduleCreatePostBodyMessagesNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleCreatePostBodyMessages'; + return $type === \Braze\Model\MessagesScheduleCreatePostBodyMessages::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleCreatePostBodyMessages'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleCreatePostBodyMessages::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -403,7 +403,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleCreatePostBodyMessages' => false]; + return [\Braze\Model\MessagesScheduleCreatePostBodyMessages::class => false]; } } } diff --git a/lib/Normalizer/MessagesScheduleCreatePostBodyNormalizer.php b/lib/Normalizer/MessagesScheduleCreatePostBodyNormalizer.php index 9e24ce8..8cddd2b 100644 --- a/lib/Normalizer/MessagesScheduleCreatePostBodyNormalizer.php +++ b/lib/Normalizer/MessagesScheduleCreatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class MessagesScheduleCreatePostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleCreatePostBody'; + return $type === \Braze\Model\MessagesScheduleCreatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleCreatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleCreatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['external_user_ids']); } if (\array_key_exists('user_aliases', $data)) { - $object->setUserAliases($this->denormalizer->denormalize($data['user_aliases'], 'Braze\\Model\\MessagesScheduleCreatePostBodyUserAliases', 'json', $context)); + $object->setUserAliases($this->denormalizer->denormalize($data['user_aliases'], \Braze\Model\MessagesScheduleCreatePostBodyUserAliases::class, 'json', $context)); unset($data['user_aliases']); } if (\array_key_exists('segment_id', $data)) { @@ -68,7 +68,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['segment_id']); } if (\array_key_exists('audience', $data)) { - $object->setAudience($this->denormalizer->denormalize($data['audience'], 'Braze\\Model\\MessagesScheduleCreatePostBodyAudience', 'json', $context)); + $object->setAudience($this->denormalizer->denormalize($data['audience'], \Braze\Model\MessagesScheduleCreatePostBodyAudience::class, 'json', $context)); unset($data['audience']); } if (\array_key_exists('campaign_id', $data)) { @@ -88,11 +88,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['recipient_subscription_state']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Braze\\Model\\MessagesScheduleCreatePostBodySchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \Braze\Model\MessagesScheduleCreatePostBodySchedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('messages', $data)) { - $object->setMessages($this->denormalizer->denormalize($data['messages'], 'Braze\\Model\\MessagesScheduleCreatePostBodyMessages', 'json', $context)); + $object->setMessages($this->denormalizer->denormalize($data['messages'], \Braze\Model\MessagesScheduleCreatePostBodyMessages::class, 'json', $context)); unset($data['messages']); } foreach ($data as $key => $value) { @@ -151,7 +151,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleCreatePostBody' => false]; + return [\Braze\Model\MessagesScheduleCreatePostBody::class => false]; } } } else { @@ -164,12 +164,12 @@ class MessagesScheduleCreatePostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleCreatePostBody'; + return $type === \Braze\Model\MessagesScheduleCreatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleCreatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleCreatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -193,7 +193,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['external_user_ids']); } if (\array_key_exists('user_aliases', $data)) { - $object->setUserAliases($this->denormalizer->denormalize($data['user_aliases'], 'Braze\\Model\\MessagesScheduleCreatePostBodyUserAliases', 'json', $context)); + $object->setUserAliases($this->denormalizer->denormalize($data['user_aliases'], \Braze\Model\MessagesScheduleCreatePostBodyUserAliases::class, 'json', $context)); unset($data['user_aliases']); } if (\array_key_exists('segment_id', $data)) { @@ -201,7 +201,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['segment_id']); } if (\array_key_exists('audience', $data)) { - $object->setAudience($this->denormalizer->denormalize($data['audience'], 'Braze\\Model\\MessagesScheduleCreatePostBodyAudience', 'json', $context)); + $object->setAudience($this->denormalizer->denormalize($data['audience'], \Braze\Model\MessagesScheduleCreatePostBodyAudience::class, 'json', $context)); unset($data['audience']); } if (\array_key_exists('campaign_id', $data)) { @@ -221,11 +221,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['recipient_subscription_state']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Braze\\Model\\MessagesScheduleCreatePostBodySchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \Braze\Model\MessagesScheduleCreatePostBodySchedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('messages', $data)) { - $object->setMessages($this->denormalizer->denormalize($data['messages'], 'Braze\\Model\\MessagesScheduleCreatePostBodyMessages', 'json', $context)); + $object->setMessages($this->denormalizer->denormalize($data['messages'], \Braze\Model\MessagesScheduleCreatePostBodyMessages::class, 'json', $context)); unset($data['messages']); } foreach ($data as $key => $value) { @@ -287,7 +287,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleCreatePostBody' => false]; + return [\Braze\Model\MessagesScheduleCreatePostBody::class => false]; } } } diff --git a/lib/Normalizer/MessagesScheduleCreatePostBodyScheduleNormalizer.php b/lib/Normalizer/MessagesScheduleCreatePostBodyScheduleNormalizer.php index a4dc033..d973d3a 100644 --- a/lib/Normalizer/MessagesScheduleCreatePostBodyScheduleNormalizer.php +++ b/lib/Normalizer/MessagesScheduleCreatePostBodyScheduleNormalizer.php @@ -31,12 +31,12 @@ class MessagesScheduleCreatePostBodyScheduleNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleCreatePostBodySchedule'; + return $type === \Braze\Model\MessagesScheduleCreatePostBodySchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleCreatePostBodySchedule'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleCreatePostBodySchedule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleCreatePostBodySchedule' => false]; + return [\Braze\Model\MessagesScheduleCreatePostBodySchedule::class => false]; } } } else { @@ -108,12 +108,12 @@ class MessagesScheduleCreatePostBodyScheduleNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleCreatePostBodySchedule'; + return $type === \Braze\Model\MessagesScheduleCreatePostBodySchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleCreatePostBodySchedule'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleCreatePostBodySchedule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleCreatePostBodySchedule' => false]; + return [\Braze\Model\MessagesScheduleCreatePostBodySchedule::class => false]; } } } diff --git a/lib/Normalizer/MessagesScheduleCreatePostBodyUserAliasesNormalizer.php b/lib/Normalizer/MessagesScheduleCreatePostBodyUserAliasesNormalizer.php index f7c9a32..f664fd6 100644 --- a/lib/Normalizer/MessagesScheduleCreatePostBodyUserAliasesNormalizer.php +++ b/lib/Normalizer/MessagesScheduleCreatePostBodyUserAliasesNormalizer.php @@ -31,12 +31,12 @@ class MessagesScheduleCreatePostBodyUserAliasesNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleCreatePostBodyUserAliases'; + return $type === \Braze\Model\MessagesScheduleCreatePostBodyUserAliases::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleCreatePostBodyUserAliases'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleCreatePostBodyUserAliases::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleCreatePostBodyUserAliases' => false]; + return [\Braze\Model\MessagesScheduleCreatePostBodyUserAliases::class => false]; } } } else { @@ -101,12 +101,12 @@ class MessagesScheduleCreatePostBodyUserAliasesNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleCreatePostBodyUserAliases'; + return $type === \Braze\Model\MessagesScheduleCreatePostBodyUserAliases::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleCreatePostBodyUserAliases'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleCreatePostBodyUserAliases::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleCreatePostBodyUserAliases' => false]; + return [\Braze\Model\MessagesScheduleCreatePostBodyUserAliases::class => false]; } } } diff --git a/lib/Normalizer/MessagesScheduleDeletePostBodyNormalizer.php b/lib/Normalizer/MessagesScheduleDeletePostBodyNormalizer.php index fb0fd77..75a3786 100644 --- a/lib/Normalizer/MessagesScheduleDeletePostBodyNormalizer.php +++ b/lib/Normalizer/MessagesScheduleDeletePostBodyNormalizer.php @@ -31,12 +31,12 @@ class MessagesScheduleDeletePostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleDeletePostBody'; + return $type === \Braze\Model\MessagesScheduleDeletePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleDeletePostBody'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleDeletePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleDeletePostBody' => false]; + return [\Braze\Model\MessagesScheduleDeletePostBody::class => false]; } } } else { @@ -94,12 +94,12 @@ class MessagesScheduleDeletePostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleDeletePostBody'; + return $type === \Braze\Model\MessagesScheduleDeletePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleDeletePostBody'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleDeletePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleDeletePostBody' => false]; + return [\Braze\Model\MessagesScheduleDeletePostBody::class => false]; } } } diff --git a/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesAndroidPushNormalizer.php b/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesAndroidPushNormalizer.php index 042aabe..2ee5b09 100644 --- a/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesAndroidPushNormalizer.php +++ b/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesAndroidPushNormalizer.php @@ -31,12 +31,12 @@ class MessagesScheduleUpdatePostBodyMessagesAndroidPushNormalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesAndroidPush'; + return $type === \Braze\Model\MessagesScheduleUpdatePostBodyMessagesAndroidPush::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesAndroidPush'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleUpdatePostBodyMessagesAndroidPush::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesAndroidPush' => false]; + return [\Braze\Model\MessagesScheduleUpdatePostBodyMessagesAndroidPush::class => false]; } } } else { @@ -101,12 +101,12 @@ class MessagesScheduleUpdatePostBodyMessagesAndroidPushNormalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesAndroidPush'; + return $type === \Braze\Model\MessagesScheduleUpdatePostBodyMessagesAndroidPush::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesAndroidPush'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleUpdatePostBodyMessagesAndroidPush::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesAndroidPush' => false]; + return [\Braze\Model\MessagesScheduleUpdatePostBodyMessagesAndroidPush::class => false]; } } } diff --git a/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesApplePushNormalizer.php b/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesApplePushNormalizer.php index 45abf52..684abdb 100644 --- a/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesApplePushNormalizer.php +++ b/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesApplePushNormalizer.php @@ -31,12 +31,12 @@ class MessagesScheduleUpdatePostBodyMessagesApplePushNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesApplePush'; + return $type === \Braze\Model\MessagesScheduleUpdatePostBodyMessagesApplePush::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesApplePush'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleUpdatePostBodyMessagesApplePush::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesApplePush' => false]; + return [\Braze\Model\MessagesScheduleUpdatePostBodyMessagesApplePush::class => false]; } } } else { @@ -101,12 +101,12 @@ class MessagesScheduleUpdatePostBodyMessagesApplePushNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesApplePush'; + return $type === \Braze\Model\MessagesScheduleUpdatePostBodyMessagesApplePush::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesApplePush'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleUpdatePostBodyMessagesApplePush::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesApplePush' => false]; + return [\Braze\Model\MessagesScheduleUpdatePostBodyMessagesApplePush::class => false]; } } } diff --git a/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesNormalizer.php b/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesNormalizer.php index 1496d28..16487a8 100644 --- a/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesNormalizer.php +++ b/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesNormalizer.php @@ -31,12 +31,12 @@ class MessagesScheduleUpdatePostBodyMessagesNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessages'; + return $type === \Braze\Model\MessagesScheduleUpdatePostBodyMessages::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessages'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleUpdatePostBodyMessages::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,15 +52,15 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('apple_push', $data)) { - $object->setApplePush($this->denormalizer->denormalize($data['apple_push'], 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesApplePush', 'json', $context)); + $object->setApplePush($this->denormalizer->denormalize($data['apple_push'], \Braze\Model\MessagesScheduleUpdatePostBodyMessagesApplePush::class, 'json', $context)); unset($data['apple_push']); } if (\array_key_exists('android_push', $data)) { - $object->setAndroidPush($this->denormalizer->denormalize($data['android_push'], 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesAndroidPush', 'json', $context)); + $object->setAndroidPush($this->denormalizer->denormalize($data['android_push'], \Braze\Model\MessagesScheduleUpdatePostBodyMessagesAndroidPush::class, 'json', $context)); unset($data['android_push']); } if (\array_key_exists('sms', $data)) { - $object->setSms($this->denormalizer->denormalize($data['sms'], 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesSms', 'json', $context)); + $object->setSms($this->denormalizer->denormalize($data['sms'], \Braze\Model\MessagesScheduleUpdatePostBodyMessagesSms::class, 'json', $context)); unset($data['sms']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleUpdatePostBodyMessages' => false]; + return [\Braze\Model\MessagesScheduleUpdatePostBodyMessages::class => false]; } } } else { @@ -108,12 +108,12 @@ class MessagesScheduleUpdatePostBodyMessagesNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessages'; + return $type === \Braze\Model\MessagesScheduleUpdatePostBodyMessages::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessages'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleUpdatePostBodyMessages::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -129,15 +129,15 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('apple_push', $data)) { - $object->setApplePush($this->denormalizer->denormalize($data['apple_push'], 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesApplePush', 'json', $context)); + $object->setApplePush($this->denormalizer->denormalize($data['apple_push'], \Braze\Model\MessagesScheduleUpdatePostBodyMessagesApplePush::class, 'json', $context)); unset($data['apple_push']); } if (\array_key_exists('android_push', $data)) { - $object->setAndroidPush($this->denormalizer->denormalize($data['android_push'], 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesAndroidPush', 'json', $context)); + $object->setAndroidPush($this->denormalizer->denormalize($data['android_push'], \Braze\Model\MessagesScheduleUpdatePostBodyMessagesAndroidPush::class, 'json', $context)); unset($data['android_push']); } if (\array_key_exists('sms', $data)) { - $object->setSms($this->denormalizer->denormalize($data['sms'], 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesSms', 'json', $context)); + $object->setSms($this->denormalizer->denormalize($data['sms'], \Braze\Model\MessagesScheduleUpdatePostBodyMessagesSms::class, 'json', $context)); unset($data['sms']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleUpdatePostBodyMessages' => false]; + return [\Braze\Model\MessagesScheduleUpdatePostBodyMessages::class => false]; } } } diff --git a/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesSmsNormalizer.php b/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesSmsNormalizer.php index e7fa0e6..b1b0a84 100644 --- a/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesSmsNormalizer.php +++ b/lib/Normalizer/MessagesScheduleUpdatePostBodyMessagesSmsNormalizer.php @@ -31,12 +31,12 @@ class MessagesScheduleUpdatePostBodyMessagesSmsNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesSms'; + return $type === \Braze\Model\MessagesScheduleUpdatePostBodyMessagesSms::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesSms'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleUpdatePostBodyMessagesSms::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesSms' => false]; + return [\Braze\Model\MessagesScheduleUpdatePostBodyMessagesSms::class => false]; } } } else { @@ -115,12 +115,12 @@ class MessagesScheduleUpdatePostBodyMessagesSmsNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesSms'; + return $type === \Braze\Model\MessagesScheduleUpdatePostBodyMessagesSms::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesSms'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleUpdatePostBodyMessagesSms::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleUpdatePostBodyMessagesSms' => false]; + return [\Braze\Model\MessagesScheduleUpdatePostBodyMessagesSms::class => false]; } } } diff --git a/lib/Normalizer/MessagesScheduleUpdatePostBodyNormalizer.php b/lib/Normalizer/MessagesScheduleUpdatePostBodyNormalizer.php index 3beacdb..51700f4 100644 --- a/lib/Normalizer/MessagesScheduleUpdatePostBodyNormalizer.php +++ b/lib/Normalizer/MessagesScheduleUpdatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class MessagesScheduleUpdatePostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleUpdatePostBody'; + return $type === \Braze\Model\MessagesScheduleUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleUpdatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,11 +56,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['schedule_id']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Braze\\Model\\MessagesScheduleUpdatePostBodySchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \Braze\Model\MessagesScheduleUpdatePostBodySchedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('messages', $data)) { - $object->setMessages($this->denormalizer->denormalize($data['messages'], 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessages', 'json', $context)); + $object->setMessages($this->denormalizer->denormalize($data['messages'], \Braze\Model\MessagesScheduleUpdatePostBodyMessages::class, 'json', $context)); unset($data['messages']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleUpdatePostBody' => false]; + return [\Braze\Model\MessagesScheduleUpdatePostBody::class => false]; } } } else { @@ -108,12 +108,12 @@ class MessagesScheduleUpdatePostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleUpdatePostBody'; + return $type === \Braze\Model\MessagesScheduleUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleUpdatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,11 +133,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['schedule_id']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'Braze\\Model\\MessagesScheduleUpdatePostBodySchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \Braze\Model\MessagesScheduleUpdatePostBodySchedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('messages', $data)) { - $object->setMessages($this->denormalizer->denormalize($data['messages'], 'Braze\\Model\\MessagesScheduleUpdatePostBodyMessages', 'json', $context)); + $object->setMessages($this->denormalizer->denormalize($data['messages'], \Braze\Model\MessagesScheduleUpdatePostBodyMessages::class, 'json', $context)); unset($data['messages']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleUpdatePostBody' => false]; + return [\Braze\Model\MessagesScheduleUpdatePostBody::class => false]; } } } diff --git a/lib/Normalizer/MessagesScheduleUpdatePostBodyScheduleNormalizer.php b/lib/Normalizer/MessagesScheduleUpdatePostBodyScheduleNormalizer.php index d24c2a7..d5e04eb 100644 --- a/lib/Normalizer/MessagesScheduleUpdatePostBodyScheduleNormalizer.php +++ b/lib/Normalizer/MessagesScheduleUpdatePostBodyScheduleNormalizer.php @@ -31,12 +31,12 @@ class MessagesScheduleUpdatePostBodyScheduleNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleUpdatePostBodySchedule'; + return $type === \Braze\Model\MessagesScheduleUpdatePostBodySchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleUpdatePostBodySchedule'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleUpdatePostBodySchedule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleUpdatePostBodySchedule' => false]; + return [\Braze\Model\MessagesScheduleUpdatePostBodySchedule::class => false]; } } } else { @@ -94,12 +94,12 @@ class MessagesScheduleUpdatePostBodyScheduleNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesScheduleUpdatePostBodySchedule'; + return $type === \Braze\Model\MessagesScheduleUpdatePostBodySchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesScheduleUpdatePostBodySchedule'; + return is_object($data) && get_class($data) === Braze\Model\MessagesScheduleUpdatePostBodySchedule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesScheduleUpdatePostBodySchedule' => false]; + return [\Braze\Model\MessagesScheduleUpdatePostBodySchedule::class => false]; } } } diff --git a/lib/Normalizer/MessagesSendPostBodyAudienceNormalizer.php b/lib/Normalizer/MessagesSendPostBodyAudienceNormalizer.php index 6edf89e..67ac7f6 100644 --- a/lib/Normalizer/MessagesSendPostBodyAudienceNormalizer.php +++ b/lib/Normalizer/MessagesSendPostBodyAudienceNormalizer.php @@ -31,12 +31,12 @@ class MessagesSendPostBodyAudienceNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesSendPostBodyAudience'; + return $type === \Braze\Model\MessagesSendPostBodyAudience::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesSendPostBodyAudience'; + return is_object($data) && get_class($data) === Braze\Model\MessagesSendPostBodyAudience::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesSendPostBodyAudience' => false]; + return [\Braze\Model\MessagesSendPostBodyAudience::class => false]; } } } else { @@ -102,12 +102,12 @@ class MessagesSendPostBodyAudienceNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesSendPostBodyAudience'; + return $type === \Braze\Model\MessagesSendPostBodyAudience::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesSendPostBodyAudience'; + return is_object($data) && get_class($data) === Braze\Model\MessagesSendPostBodyAudience::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesSendPostBodyAudience' => false]; + return [\Braze\Model\MessagesSendPostBodyAudience::class => false]; } } } diff --git a/lib/Normalizer/MessagesSendPostBodyMessagesNormalizer.php b/lib/Normalizer/MessagesSendPostBodyMessagesNormalizer.php index 70b0646..5522c93 100644 --- a/lib/Normalizer/MessagesSendPostBodyMessagesNormalizer.php +++ b/lib/Normalizer/MessagesSendPostBodyMessagesNormalizer.php @@ -31,12 +31,12 @@ class MessagesSendPostBodyMessagesNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesSendPostBodyMessages'; + return $type === \Braze\Model\MessagesSendPostBodyMessages::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesSendPostBodyMessages'; + return is_object($data) && get_class($data) === Braze\Model\MessagesSendPostBodyMessages::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -130,7 +130,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesSendPostBodyMessages' => false]; + return [\Braze\Model\MessagesSendPostBodyMessages::class => false]; } } } else { @@ -143,12 +143,12 @@ class MessagesSendPostBodyMessagesNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesSendPostBodyMessages'; + return $type === \Braze\Model\MessagesSendPostBodyMessages::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesSendPostBodyMessages'; + return is_object($data) && get_class($data) === Braze\Model\MessagesSendPostBodyMessages::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -245,7 +245,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesSendPostBodyMessages' => false]; + return [\Braze\Model\MessagesSendPostBodyMessages::class => false]; } } } diff --git a/lib/Normalizer/MessagesSendPostBodyNormalizer.php b/lib/Normalizer/MessagesSendPostBodyNormalizer.php index d6abb6f..512cb90 100644 --- a/lib/Normalizer/MessagesSendPostBodyNormalizer.php +++ b/lib/Normalizer/MessagesSendPostBodyNormalizer.php @@ -31,12 +31,12 @@ class MessagesSendPostBodyNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesSendPostBody'; + return $type === \Braze\Model\MessagesSendPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesSendPostBody'; + return is_object($data) && get_class($data) === Braze\Model\MessagesSendPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['external_user_ids']); } if (\array_key_exists('user_aliases', $data)) { - $object->setUserAliases($this->denormalizer->denormalize($data['user_aliases'], 'Braze\\Model\\MessagesSendPostBodyUserAliases', 'json', $context)); + $object->setUserAliases($this->denormalizer->denormalize($data['user_aliases'], \Braze\Model\MessagesSendPostBodyUserAliases::class, 'json', $context)); unset($data['user_aliases']); } if (\array_key_exists('segment_id', $data)) { @@ -68,7 +68,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['segment_id']); } if (\array_key_exists('audience', $data)) { - $object->setAudience($this->denormalizer->denormalize($data['audience'], 'Braze\\Model\\MessagesSendPostBodyAudience', 'json', $context)); + $object->setAudience($this->denormalizer->denormalize($data['audience'], \Braze\Model\MessagesSendPostBodyAudience::class, 'json', $context)); unset($data['audience']); } if (\array_key_exists('campaign_id', $data)) { @@ -88,7 +88,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['recipient_subscription_state']); } if (\array_key_exists('messages', $data)) { - $object->setMessages($this->denormalizer->denormalize($data['messages'], 'Braze\\Model\\MessagesSendPostBodyMessages', 'json', $context)); + $object->setMessages($this->denormalizer->denormalize($data['messages'], \Braze\Model\MessagesSendPostBodyMessages::class, 'json', $context)); unset($data['messages']); } foreach ($data as $key => $value) { @@ -144,7 +144,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesSendPostBody' => false]; + return [\Braze\Model\MessagesSendPostBody::class => false]; } } } else { @@ -157,12 +157,12 @@ class MessagesSendPostBodyNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesSendPostBody'; + return $type === \Braze\Model\MessagesSendPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesSendPostBody'; + return is_object($data) && get_class($data) === Braze\Model\MessagesSendPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -186,7 +186,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['external_user_ids']); } if (\array_key_exists('user_aliases', $data)) { - $object->setUserAliases($this->denormalizer->denormalize($data['user_aliases'], 'Braze\\Model\\MessagesSendPostBodyUserAliases', 'json', $context)); + $object->setUserAliases($this->denormalizer->denormalize($data['user_aliases'], \Braze\Model\MessagesSendPostBodyUserAliases::class, 'json', $context)); unset($data['user_aliases']); } if (\array_key_exists('segment_id', $data)) { @@ -194,7 +194,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['segment_id']); } if (\array_key_exists('audience', $data)) { - $object->setAudience($this->denormalizer->denormalize($data['audience'], 'Braze\\Model\\MessagesSendPostBodyAudience', 'json', $context)); + $object->setAudience($this->denormalizer->denormalize($data['audience'], \Braze\Model\MessagesSendPostBodyAudience::class, 'json', $context)); unset($data['audience']); } if (\array_key_exists('campaign_id', $data)) { @@ -214,7 +214,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['recipient_subscription_state']); } if (\array_key_exists('messages', $data)) { - $object->setMessages($this->denormalizer->denormalize($data['messages'], 'Braze\\Model\\MessagesSendPostBodyMessages', 'json', $context)); + $object->setMessages($this->denormalizer->denormalize($data['messages'], \Braze\Model\MessagesSendPostBodyMessages::class, 'json', $context)); unset($data['messages']); } foreach ($data as $key => $value) { @@ -273,7 +273,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesSendPostBody' => false]; + return [\Braze\Model\MessagesSendPostBody::class => false]; } } } diff --git a/lib/Normalizer/MessagesSendPostBodyUserAliasesNormalizer.php b/lib/Normalizer/MessagesSendPostBodyUserAliasesNormalizer.php index 06dfe3f..e519ae6 100644 --- a/lib/Normalizer/MessagesSendPostBodyUserAliasesNormalizer.php +++ b/lib/Normalizer/MessagesSendPostBodyUserAliasesNormalizer.php @@ -31,12 +31,12 @@ class MessagesSendPostBodyUserAliasesNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesSendPostBodyUserAliases'; + return $type === \Braze\Model\MessagesSendPostBodyUserAliases::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesSendPostBodyUserAliases'; + return is_object($data) && get_class($data) === Braze\Model\MessagesSendPostBodyUserAliases::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesSendPostBodyUserAliases' => false]; + return [\Braze\Model\MessagesSendPostBodyUserAliases::class => false]; } } } else { @@ -101,12 +101,12 @@ class MessagesSendPostBodyUserAliasesNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\MessagesSendPostBodyUserAliases'; + return $type === \Braze\Model\MessagesSendPostBodyUserAliases::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\MessagesSendPostBodyUserAliases'; + return is_object($data) && get_class($data) === Braze\Model\MessagesSendPostBodyUserAliases::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\MessagesSendPostBodyUserAliases' => false]; + return [\Braze\Model\MessagesSendPostBodyUserAliases::class => false]; } } } diff --git a/lib/Normalizer/PreferenceCenterV1PostBodyNormalizer.php b/lib/Normalizer/PreferenceCenterV1PostBodyNormalizer.php index bf4c7d9..00c5df5 100644 --- a/lib/Normalizer/PreferenceCenterV1PostBodyNormalizer.php +++ b/lib/Normalizer/PreferenceCenterV1PostBodyNormalizer.php @@ -31,12 +31,12 @@ class PreferenceCenterV1PostBodyNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\PreferenceCenterV1PostBody'; + return $type === \Braze\Model\PreferenceCenterV1PostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\PreferenceCenterV1PostBody'; + return is_object($data) && get_class($data) === Braze\Model\PreferenceCenterV1PostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['state']); } if (\array_key_exists('options', $data)) { - $object->setOptions($this->denormalizer->denormalize($data['options'], 'Braze\\Model\\PreferenceCenterV1PostBodyOptions', 'json', $context)); + $object->setOptions($this->denormalizer->denormalize($data['options'], \Braze\Model\PreferenceCenterV1PostBodyOptions::class, 'json', $context)); unset($data['options']); } foreach ($data as $key => $value) { @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\PreferenceCenterV1PostBody' => false]; + return [\Braze\Model\PreferenceCenterV1PostBody::class => false]; } } } else { @@ -129,12 +129,12 @@ class PreferenceCenterV1PostBodyNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\PreferenceCenterV1PostBody'; + return $type === \Braze\Model\PreferenceCenterV1PostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\PreferenceCenterV1PostBody'; + return is_object($data) && get_class($data) === Braze\Model\PreferenceCenterV1PostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -170,7 +170,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['state']); } if (\array_key_exists('options', $data)) { - $object->setOptions($this->denormalizer->denormalize($data['options'], 'Braze\\Model\\PreferenceCenterV1PostBodyOptions', 'json', $context)); + $object->setOptions($this->denormalizer->denormalize($data['options'], \Braze\Model\PreferenceCenterV1PostBodyOptions::class, 'json', $context)); unset($data['options']); } foreach ($data as $key => $value) { @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\PreferenceCenterV1PostBody' => false]; + return [\Braze\Model\PreferenceCenterV1PostBody::class => false]; } } } diff --git a/lib/Normalizer/PreferenceCenterV1PostBodyOptionsNormalizer.php b/lib/Normalizer/PreferenceCenterV1PostBodyOptionsNormalizer.php index ba972c8..0be3b50 100644 --- a/lib/Normalizer/PreferenceCenterV1PostBodyOptionsNormalizer.php +++ b/lib/Normalizer/PreferenceCenterV1PostBodyOptionsNormalizer.php @@ -31,12 +31,12 @@ class PreferenceCenterV1PostBodyOptionsNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\PreferenceCenterV1PostBodyOptions'; + return $type === \Braze\Model\PreferenceCenterV1PostBodyOptions::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\PreferenceCenterV1PostBodyOptions'; + return is_object($data) && get_class($data) === Braze\Model\PreferenceCenterV1PostBodyOptions::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\PreferenceCenterV1PostBodyOptions' => false]; + return [\Braze\Model\PreferenceCenterV1PostBodyOptions::class => false]; } } } else { @@ -94,12 +94,12 @@ class PreferenceCenterV1PostBodyOptionsNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\PreferenceCenterV1PostBodyOptions'; + return $type === \Braze\Model\PreferenceCenterV1PostBodyOptions::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\PreferenceCenterV1PostBodyOptions'; + return is_object($data) && get_class($data) === Braze\Model\PreferenceCenterV1PostBodyOptions::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\PreferenceCenterV1PostBodyOptions' => false]; + return [\Braze\Model\PreferenceCenterV1PostBodyOptions::class => false]; } } } diff --git a/lib/Normalizer/PreferenceCenterV1PreferenceCenterExternalIDPutBodyNormalizer.php b/lib/Normalizer/PreferenceCenterV1PreferenceCenterExternalIDPutBodyNormalizer.php index 4d5a3b8..e95aafb 100644 --- a/lib/Normalizer/PreferenceCenterV1PreferenceCenterExternalIDPutBodyNormalizer.php +++ b/lib/Normalizer/PreferenceCenterV1PreferenceCenterExternalIDPutBodyNormalizer.php @@ -31,12 +31,12 @@ class PreferenceCenterV1PreferenceCenterExternalIDPutBodyNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBody'; + return $type === \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBody'; + return is_object($data) && get_class($data) === Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['external_send_id']); } if (\array_key_exists('trigger_properties', $data)) { - $object->setTriggerProperties($this->denormalizer->denormalize($data['trigger_properties'], 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties', 'json', $context)); + $object->setTriggerProperties($this->denormalizer->denormalize($data['trigger_properties'], \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties::class, 'json', $context)); unset($data['trigger_properties']); } if (\array_key_exists('recipient', $data)) { $values = []; foreach ($data['recipient'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem::class, 'json', $context); } $object->setRecipient($values); unset($data['recipient']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBody' => false]; + return [\Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBody::class => false]; } } } else { @@ -116,12 +116,12 @@ class PreferenceCenterV1PreferenceCenterExternalIDPutBodyNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBody'; + return $type === \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBody'; + return is_object($data) && get_class($data) === Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['external_send_id']); } if (\array_key_exists('trigger_properties', $data)) { - $object->setTriggerProperties($this->denormalizer->denormalize($data['trigger_properties'], 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties', 'json', $context)); + $object->setTriggerProperties($this->denormalizer->denormalize($data['trigger_properties'], \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties::class, 'json', $context)); unset($data['trigger_properties']); } if (\array_key_exists('recipient', $data)) { $values = []; foreach ($data['recipient'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem::class, 'json', $context); } $object->setRecipient($values); unset($data['recipient']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBody' => false]; + return [\Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBody::class => false]; } } } diff --git a/lib/Normalizer/PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItemNormalizer.php b/lib/Normalizer/PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItemNormalizer.php index de4b0c5..a6eb858 100644 --- a/lib/Normalizer/PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItemNormalizer.php +++ b/lib/Normalizer/PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItemNormalizer.php @@ -31,12 +31,12 @@ class PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItemNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem'; + return $type === \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem'; + return is_object($data) && get_class($data) === Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem' => false]; + return [\Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem::class => false]; } } } else { @@ -94,12 +94,12 @@ class PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItemNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem'; + return $type === \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem'; + return is_object($data) && get_class($data) === Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem' => false]; + return [\Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyRecipientItem::class => false]; } } } diff --git a/lib/Normalizer/PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerPropertiesNormalizer.php b/lib/Normalizer/PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerPropertiesNormalizer.php index 05a73cf..2d6dca7 100644 --- a/lib/Normalizer/PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerPropertiesNormalizer.php +++ b/lib/Normalizer/PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerPropertiesNormalizer.php @@ -31,12 +31,12 @@ class PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerPropertiesNormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties'; + return $type === \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties'; + return is_object($data) && get_class($data) === Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties' => false]; + return [\Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties::class => false]; } } } else { @@ -101,12 +101,12 @@ class PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerPropertiesNormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties'; + return $type === \Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties'; + return is_object($data) && get_class($data) === Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties' => false]; + return [\Braze\Model\PreferenceCenterV1PreferenceCenterExternalIDPutBodyTriggerProperties::class => false]; } } } diff --git a/lib/Normalizer/ScimV2UsersIdPutBodyNameNormalizer.php b/lib/Normalizer/ScimV2UsersIdPutBodyNameNormalizer.php index be92764..0f405b6 100644 --- a/lib/Normalizer/ScimV2UsersIdPutBodyNameNormalizer.php +++ b/lib/Normalizer/ScimV2UsersIdPutBodyNameNormalizer.php @@ -31,12 +31,12 @@ class ScimV2UsersIdPutBodyNameNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersIdPutBodyName'; + return $type === \Braze\Model\ScimV2UsersIdPutBodyName::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersIdPutBodyName'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersIdPutBodyName::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersIdPutBodyName' => false]; + return [\Braze\Model\ScimV2UsersIdPutBodyName::class => false]; } } } else { @@ -101,12 +101,12 @@ class ScimV2UsersIdPutBodyNameNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersIdPutBodyName'; + return $type === \Braze\Model\ScimV2UsersIdPutBodyName::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersIdPutBodyName'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersIdPutBodyName::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersIdPutBodyName' => false]; + return [\Braze\Model\ScimV2UsersIdPutBodyName::class => false]; } } } diff --git a/lib/Normalizer/ScimV2UsersIdPutBodyNormalizer.php b/lib/Normalizer/ScimV2UsersIdPutBodyNormalizer.php index 4729903..dca7333 100644 --- a/lib/Normalizer/ScimV2UsersIdPutBodyNormalizer.php +++ b/lib/Normalizer/ScimV2UsersIdPutBodyNormalizer.php @@ -31,12 +31,12 @@ class ScimV2UsersIdPutBodyNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersIdPutBody'; + return $type === \Braze\Model\ScimV2UsersIdPutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersIdPutBody'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersIdPutBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['schemas']); } if (\array_key_exists('name', $data)) { - $object->setName($this->denormalizer->denormalize($data['name'], 'Braze\\Model\\ScimV2UsersIdPutBodyName', 'json', $context)); + $object->setName($this->denormalizer->denormalize($data['name'], \Braze\Model\ScimV2UsersIdPutBodyName::class, 'json', $context)); unset($data['name']); } if (\array_key_exists('department', $data)) { @@ -68,7 +68,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['department']); } if (\array_key_exists('permissions', $data)) { - $object->setPermissions($this->denormalizer->denormalize($data['permissions'], 'Braze\\Model\\ScimV2UsersIdPutBodyPermissions', 'json', $context)); + $object->setPermissions($this->denormalizer->denormalize($data['permissions'], \Braze\Model\ScimV2UsersIdPutBodyPermissions::class, 'json', $context)); unset($data['permissions']); } foreach ($data as $key => $value_1) { @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersIdPutBody' => false]; + return [\Braze\Model\ScimV2UsersIdPutBody::class => false]; } } } else { @@ -123,12 +123,12 @@ class ScimV2UsersIdPutBodyNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersIdPutBody'; + return $type === \Braze\Model\ScimV2UsersIdPutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersIdPutBody'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersIdPutBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -152,7 +152,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['schemas']); } if (\array_key_exists('name', $data)) { - $object->setName($this->denormalizer->denormalize($data['name'], 'Braze\\Model\\ScimV2UsersIdPutBodyName', 'json', $context)); + $object->setName($this->denormalizer->denormalize($data['name'], \Braze\Model\ScimV2UsersIdPutBodyName::class, 'json', $context)); unset($data['name']); } if (\array_key_exists('department', $data)) { @@ -160,7 +160,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['department']); } if (\array_key_exists('permissions', $data)) { - $object->setPermissions($this->denormalizer->denormalize($data['permissions'], 'Braze\\Model\\ScimV2UsersIdPutBodyPermissions', 'json', $context)); + $object->setPermissions($this->denormalizer->denormalize($data['permissions'], \Braze\Model\ScimV2UsersIdPutBodyPermissions::class, 'json', $context)); unset($data['permissions']); } foreach ($data as $key => $value_1) { @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersIdPutBody' => false]; + return [\Braze\Model\ScimV2UsersIdPutBody::class => false]; } } } diff --git a/lib/Normalizer/ScimV2UsersIdPutBodyPermissionsAppGroupItemNormalizer.php b/lib/Normalizer/ScimV2UsersIdPutBodyPermissionsAppGroupItemNormalizer.php index 6812701..97259e1 100644 --- a/lib/Normalizer/ScimV2UsersIdPutBodyPermissionsAppGroupItemNormalizer.php +++ b/lib/Normalizer/ScimV2UsersIdPutBodyPermissionsAppGroupItemNormalizer.php @@ -31,12 +31,12 @@ class ScimV2UsersIdPutBodyPermissionsAppGroupItemNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItem'; + return $type === \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItem'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('team', $data)) { $values_1 = []; foreach ($data['team'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem::class, 'json', $context); } $object->setTeam($values_1); unset($data['team']); @@ -111,7 +111,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItem' => false]; + return [\Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItem::class => false]; } } } else { @@ -124,12 +124,12 @@ class ScimV2UsersIdPutBodyPermissionsAppGroupItemNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItem'; + return $type === \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItem'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -159,7 +159,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('team', $data)) { $values_1 = []; foreach ($data['team'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem::class, 'json', $context); } $object->setTeam($values_1); unset($data['team']); @@ -207,7 +207,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItem' => false]; + return [\Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItem::class => false]; } } } diff --git a/lib/Normalizer/ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItemNormalizer.php b/lib/Normalizer/ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItemNormalizer.php index cfb4fdf..f098af1 100644 --- a/lib/Normalizer/ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItemNormalizer.php +++ b/lib/Normalizer/ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItemNormalizer.php @@ -31,12 +31,12 @@ class ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItemNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem'; + return $type === \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -96,7 +96,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem' => false]; + return [\Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem::class => false]; } } } else { @@ -109,12 +109,12 @@ class ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItemNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem'; + return $type === \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -177,7 +177,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem' => false]; + return [\Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItemTeamItem::class => false]; } } } diff --git a/lib/Normalizer/ScimV2UsersIdPutBodyPermissionsNormalizer.php b/lib/Normalizer/ScimV2UsersIdPutBodyPermissionsNormalizer.php index 59dd78e..330c3e8 100644 --- a/lib/Normalizer/ScimV2UsersIdPutBodyPermissionsNormalizer.php +++ b/lib/Normalizer/ScimV2UsersIdPutBodyPermissionsNormalizer.php @@ -31,12 +31,12 @@ class ScimV2UsersIdPutBodyPermissionsNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersIdPutBodyPermissions'; + return $type === \Braze\Model\ScimV2UsersIdPutBodyPermissions::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersIdPutBodyPermissions'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersIdPutBodyPermissions::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -62,7 +62,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('appGroup', $data)) { $values_1 = []; foreach ($data['appGroup'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItem', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItem::class, 'json', $context); } $object->setAppGroup($values_1); unset($data['appGroup']); @@ -104,7 +104,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersIdPutBodyPermissions' => false]; + return [\Braze\Model\ScimV2UsersIdPutBodyPermissions::class => false]; } } } else { @@ -117,12 +117,12 @@ class ScimV2UsersIdPutBodyPermissionsNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersIdPutBodyPermissions'; + return $type === \Braze\Model\ScimV2UsersIdPutBodyPermissions::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersIdPutBodyPermissions'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersIdPutBodyPermissions::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -148,7 +148,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('appGroup', $data)) { $values_1 = []; foreach ($data['appGroup'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Braze\\Model\\ScimV2UsersIdPutBodyPermissionsAppGroupItem', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Braze\Model\ScimV2UsersIdPutBodyPermissionsAppGroupItem::class, 'json', $context); } $object->setAppGroup($values_1); unset($data['appGroup']); @@ -193,7 +193,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersIdPutBodyPermissions' => false]; + return [\Braze\Model\ScimV2UsersIdPutBodyPermissions::class => false]; } } } diff --git a/lib/Normalizer/ScimV2UsersPostBodyNameNormalizer.php b/lib/Normalizer/ScimV2UsersPostBodyNameNormalizer.php index 4b1c7cb..869e0d0 100644 --- a/lib/Normalizer/ScimV2UsersPostBodyNameNormalizer.php +++ b/lib/Normalizer/ScimV2UsersPostBodyNameNormalizer.php @@ -31,12 +31,12 @@ class ScimV2UsersPostBodyNameNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersPostBodyName'; + return $type === \Braze\Model\ScimV2UsersPostBodyName::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersPostBodyName'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersPostBodyName::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersPostBodyName' => false]; + return [\Braze\Model\ScimV2UsersPostBodyName::class => false]; } } } else { @@ -101,12 +101,12 @@ class ScimV2UsersPostBodyNameNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersPostBodyName'; + return $type === \Braze\Model\ScimV2UsersPostBodyName::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersPostBodyName'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersPostBodyName::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersPostBodyName' => false]; + return [\Braze\Model\ScimV2UsersPostBodyName::class => false]; } } } diff --git a/lib/Normalizer/ScimV2UsersPostBodyNormalizer.php b/lib/Normalizer/ScimV2UsersPostBodyNormalizer.php index 3c2fe61..cccd2fa 100644 --- a/lib/Normalizer/ScimV2UsersPostBodyNormalizer.php +++ b/lib/Normalizer/ScimV2UsersPostBodyNormalizer.php @@ -31,12 +31,12 @@ class ScimV2UsersPostBodyNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersPostBody'; + return $type === \Braze\Model\ScimV2UsersPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersPostBody'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['userName']); } if (\array_key_exists('name', $data)) { - $object->setName($this->denormalizer->denormalize($data['name'], 'Braze\\Model\\ScimV2UsersPostBodyName', 'json', $context)); + $object->setName($this->denormalizer->denormalize($data['name'], \Braze\Model\ScimV2UsersPostBodyName::class, 'json', $context)); unset($data['name']); } if (\array_key_exists('department', $data)) { @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['department']); } if (\array_key_exists('permissions', $data)) { - $object->setPermissions($this->denormalizer->denormalize($data['permissions'], 'Braze\\Model\\ScimV2UsersPostBodyPermissions', 'json', $context)); + $object->setPermissions($this->denormalizer->denormalize($data['permissions'], \Braze\Model\ScimV2UsersPostBodyPermissions::class, 'json', $context)); unset($data['permissions']); } foreach ($data as $key => $value_1) { @@ -117,7 +117,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersPostBody' => false]; + return [\Braze\Model\ScimV2UsersPostBody::class => false]; } } } else { @@ -130,12 +130,12 @@ class ScimV2UsersPostBodyNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersPostBody'; + return $type === \Braze\Model\ScimV2UsersPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersPostBody'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['userName']); } if (\array_key_exists('name', $data)) { - $object->setName($this->denormalizer->denormalize($data['name'], 'Braze\\Model\\ScimV2UsersPostBodyName', 'json', $context)); + $object->setName($this->denormalizer->denormalize($data['name'], \Braze\Model\ScimV2UsersPostBodyName::class, 'json', $context)); unset($data['name']); } if (\array_key_exists('department', $data)) { @@ -171,7 +171,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['department']); } if (\array_key_exists('permissions', $data)) { - $object->setPermissions($this->denormalizer->denormalize($data['permissions'], 'Braze\\Model\\ScimV2UsersPostBodyPermissions', 'json', $context)); + $object->setPermissions($this->denormalizer->denormalize($data['permissions'], \Braze\Model\ScimV2UsersPostBodyPermissions::class, 'json', $context)); unset($data['permissions']); } foreach ($data as $key => $value_1) { @@ -219,7 +219,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersPostBody' => false]; + return [\Braze\Model\ScimV2UsersPostBody::class => false]; } } } diff --git a/lib/Normalizer/ScimV2UsersPostBodyPermissionsAppGroupItemNormalizer.php b/lib/Normalizer/ScimV2UsersPostBodyPermissionsAppGroupItemNormalizer.php index ff69ea5..f8785da 100644 --- a/lib/Normalizer/ScimV2UsersPostBodyPermissionsAppGroupItemNormalizer.php +++ b/lib/Normalizer/ScimV2UsersPostBodyPermissionsAppGroupItemNormalizer.php @@ -31,12 +31,12 @@ class ScimV2UsersPostBodyPermissionsAppGroupItemNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItem'; + return $type === \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItem'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('team', $data)) { $values_1 = []; foreach ($data['team'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem::class, 'json', $context); } $object->setTeam($values_1); unset($data['team']); @@ -111,7 +111,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItem' => false]; + return [\Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItem::class => false]; } } } else { @@ -124,12 +124,12 @@ class ScimV2UsersPostBodyPermissionsAppGroupItemNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItem'; + return $type === \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItem'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -159,7 +159,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('team', $data)) { $values_1 = []; foreach ($data['team'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem::class, 'json', $context); } $object->setTeam($values_1); unset($data['team']); @@ -207,7 +207,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItem' => false]; + return [\Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItem::class => false]; } } } diff --git a/lib/Normalizer/ScimV2UsersPostBodyPermissionsAppGroupItemTeamItemNormalizer.php b/lib/Normalizer/ScimV2UsersPostBodyPermissionsAppGroupItemTeamItemNormalizer.php index cdc55a9..ec1b7b4 100644 --- a/lib/Normalizer/ScimV2UsersPostBodyPermissionsAppGroupItemTeamItemNormalizer.php +++ b/lib/Normalizer/ScimV2UsersPostBodyPermissionsAppGroupItemTeamItemNormalizer.php @@ -31,12 +31,12 @@ class ScimV2UsersPostBodyPermissionsAppGroupItemTeamItemNormalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem'; + return $type === \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -96,7 +96,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem' => false]; + return [\Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem::class => false]; } } } else { @@ -109,12 +109,12 @@ class ScimV2UsersPostBodyPermissionsAppGroupItemTeamItemNormalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem'; + return $type === \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -177,7 +177,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem' => false]; + return [\Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItemTeamItem::class => false]; } } } diff --git a/lib/Normalizer/ScimV2UsersPostBodyPermissionsNormalizer.php b/lib/Normalizer/ScimV2UsersPostBodyPermissionsNormalizer.php index 80fa477..3d6fa7d 100644 --- a/lib/Normalizer/ScimV2UsersPostBodyPermissionsNormalizer.php +++ b/lib/Normalizer/ScimV2UsersPostBodyPermissionsNormalizer.php @@ -31,12 +31,12 @@ class ScimV2UsersPostBodyPermissionsNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersPostBodyPermissions'; + return $type === \Braze\Model\ScimV2UsersPostBodyPermissions::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersPostBodyPermissions'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersPostBodyPermissions::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -62,7 +62,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('appGroup', $data)) { $values_1 = []; foreach ($data['appGroup'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItem', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItem::class, 'json', $context); } $object->setAppGroup($values_1); unset($data['appGroup']); @@ -104,7 +104,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersPostBodyPermissions' => false]; + return [\Braze\Model\ScimV2UsersPostBodyPermissions::class => false]; } } } else { @@ -117,12 +117,12 @@ class ScimV2UsersPostBodyPermissionsNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\ScimV2UsersPostBodyPermissions'; + return $type === \Braze\Model\ScimV2UsersPostBodyPermissions::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\ScimV2UsersPostBodyPermissions'; + return is_object($data) && get_class($data) === Braze\Model\ScimV2UsersPostBodyPermissions::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -148,7 +148,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('appGroup', $data)) { $values_1 = []; foreach ($data['appGroup'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Braze\\Model\\ScimV2UsersPostBodyPermissionsAppGroupItem', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Braze\Model\ScimV2UsersPostBodyPermissionsAppGroupItem::class, 'json', $context); } $object->setAppGroup($values_1); unset($data['appGroup']); @@ -193,7 +193,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\ScimV2UsersPostBodyPermissions' => false]; + return [\Braze\Model\ScimV2UsersPostBodyPermissions::class => false]; } } } diff --git a/lib/Normalizer/SendsIdCreatePostBodyNormalizer.php b/lib/Normalizer/SendsIdCreatePostBodyNormalizer.php index e9597fe..ea81596 100644 --- a/lib/Normalizer/SendsIdCreatePostBodyNormalizer.php +++ b/lib/Normalizer/SendsIdCreatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class SendsIdCreatePostBodyNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\SendsIdCreatePostBody'; + return $type === \Braze\Model\SendsIdCreatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\SendsIdCreatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\SendsIdCreatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\SendsIdCreatePostBody' => false]; + return [\Braze\Model\SendsIdCreatePostBody::class => false]; } } } else { @@ -101,12 +101,12 @@ class SendsIdCreatePostBodyNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\SendsIdCreatePostBody'; + return $type === \Braze\Model\SendsIdCreatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\SendsIdCreatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\SendsIdCreatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\SendsIdCreatePostBody' => false]; + return [\Braze\Model\SendsIdCreatePostBody::class => false]; } } } diff --git a/lib/Normalizer/SmsInvalidPhoneNumbersRemovePostBodyNormalizer.php b/lib/Normalizer/SmsInvalidPhoneNumbersRemovePostBodyNormalizer.php index 138d6f5..8accbe1 100644 --- a/lib/Normalizer/SmsInvalidPhoneNumbersRemovePostBodyNormalizer.php +++ b/lib/Normalizer/SmsInvalidPhoneNumbersRemovePostBodyNormalizer.php @@ -31,12 +31,12 @@ class SmsInvalidPhoneNumbersRemovePostBodyNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\SmsInvalidPhoneNumbersRemovePostBody'; + return $type === \Braze\Model\SmsInvalidPhoneNumbersRemovePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\SmsInvalidPhoneNumbersRemovePostBody'; + return is_object($data) && get_class($data) === Braze\Model\SmsInvalidPhoneNumbersRemovePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\SmsInvalidPhoneNumbersRemovePostBody' => false]; + return [\Braze\Model\SmsInvalidPhoneNumbersRemovePostBody::class => false]; } } } else { @@ -102,12 +102,12 @@ class SmsInvalidPhoneNumbersRemovePostBodyNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\SmsInvalidPhoneNumbersRemovePostBody'; + return $type === \Braze\Model\SmsInvalidPhoneNumbersRemovePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\SmsInvalidPhoneNumbersRemovePostBody'; + return is_object($data) && get_class($data) === Braze\Model\SmsInvalidPhoneNumbersRemovePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\SmsInvalidPhoneNumbersRemovePostBody' => false]; + return [\Braze\Model\SmsInvalidPhoneNumbersRemovePostBody::class => false]; } } } diff --git a/lib/Normalizer/SubscriptionStatusSetPostBodyNormalizer.php b/lib/Normalizer/SubscriptionStatusSetPostBodyNormalizer.php index 72262ea..af050ff 100644 --- a/lib/Normalizer/SubscriptionStatusSetPostBodyNormalizer.php +++ b/lib/Normalizer/SubscriptionStatusSetPostBodyNormalizer.php @@ -31,12 +31,12 @@ class SubscriptionStatusSetPostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\SubscriptionStatusSetPostBody'; + return $type === \Braze\Model\SubscriptionStatusSetPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\SubscriptionStatusSetPostBody'; + return is_object($data) && get_class($data) === Braze\Model\SubscriptionStatusSetPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\SubscriptionStatusSetPostBody' => false]; + return [\Braze\Model\SubscriptionStatusSetPostBody::class => false]; } } } else { @@ -123,12 +123,12 @@ class SubscriptionStatusSetPostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\SubscriptionStatusSetPostBody'; + return $type === \Braze\Model\SubscriptionStatusSetPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\SubscriptionStatusSetPostBody'; + return is_object($data) && get_class($data) === Braze\Model\SubscriptionStatusSetPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\SubscriptionStatusSetPostBody' => false]; + return [\Braze\Model\SubscriptionStatusSetPostBody::class => false]; } } } diff --git a/lib/Normalizer/TemplatesEmailCreatePostBodyNormalizer.php b/lib/Normalizer/TemplatesEmailCreatePostBodyNormalizer.php index 4c75917..ea501f0 100644 --- a/lib/Normalizer/TemplatesEmailCreatePostBodyNormalizer.php +++ b/lib/Normalizer/TemplatesEmailCreatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class TemplatesEmailCreatePostBodyNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\TemplatesEmailCreatePostBody'; + return $type === \Braze\Model\TemplatesEmailCreatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\TemplatesEmailCreatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\TemplatesEmailCreatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -124,7 +124,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\TemplatesEmailCreatePostBody' => false]; + return [\Braze\Model\TemplatesEmailCreatePostBody::class => false]; } } } else { @@ -137,12 +137,12 @@ class TemplatesEmailCreatePostBodyNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\TemplatesEmailCreatePostBody'; + return $type === \Braze\Model\TemplatesEmailCreatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\TemplatesEmailCreatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\TemplatesEmailCreatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -233,7 +233,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\TemplatesEmailCreatePostBody' => false]; + return [\Braze\Model\TemplatesEmailCreatePostBody::class => false]; } } } diff --git a/lib/Normalizer/TemplatesEmailUpdatePostBodyNormalizer.php b/lib/Normalizer/TemplatesEmailUpdatePostBodyNormalizer.php index 0a58aa3..25ccc02 100644 --- a/lib/Normalizer/TemplatesEmailUpdatePostBodyNormalizer.php +++ b/lib/Normalizer/TemplatesEmailUpdatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class TemplatesEmailUpdatePostBodyNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\TemplatesEmailUpdatePostBody'; + return $type === \Braze\Model\TemplatesEmailUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\TemplatesEmailUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\TemplatesEmailUpdatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -131,7 +131,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\TemplatesEmailUpdatePostBody' => false]; + return [\Braze\Model\TemplatesEmailUpdatePostBody::class => false]; } } } else { @@ -144,12 +144,12 @@ class TemplatesEmailUpdatePostBodyNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\TemplatesEmailUpdatePostBody'; + return $type === \Braze\Model\TemplatesEmailUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\TemplatesEmailUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\TemplatesEmailUpdatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -247,7 +247,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\TemplatesEmailUpdatePostBody' => false]; + return [\Braze\Model\TemplatesEmailUpdatePostBody::class => false]; } } } diff --git a/lib/Normalizer/TransactionalV1CampaignsCampaignIdSendPostBodyNormalizer.php b/lib/Normalizer/TransactionalV1CampaignsCampaignIdSendPostBodyNormalizer.php index 8f110a2..ae16c26 100644 --- a/lib/Normalizer/TransactionalV1CampaignsCampaignIdSendPostBodyNormalizer.php +++ b/lib/Normalizer/TransactionalV1CampaignsCampaignIdSendPostBodyNormalizer.php @@ -31,12 +31,12 @@ class TransactionalV1CampaignsCampaignIdSendPostBodyNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBody'; + return $type === \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBody'; + return is_object($data) && get_class($data) === Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['external_send_id']); } if (\array_key_exists('trigger_properties', $data)) { - $object->setTriggerProperties($this->denormalizer->denormalize($data['trigger_properties'], 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties', 'json', $context)); + $object->setTriggerProperties($this->denormalizer->denormalize($data['trigger_properties'], \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties::class, 'json', $context)); unset($data['trigger_properties']); } if (\array_key_exists('recipient', $data)) { $values = []; foreach ($data['recipient'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem::class, 'json', $context); } $object->setRecipient($values); unset($data['recipient']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBody' => false]; + return [\Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBody::class => false]; } } } else { @@ -116,12 +116,12 @@ class TransactionalV1CampaignsCampaignIdSendPostBodyNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBody'; + return $type === \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBody'; + return is_object($data) && get_class($data) === Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['external_send_id']); } if (\array_key_exists('trigger_properties', $data)) { - $object->setTriggerProperties($this->denormalizer->denormalize($data['trigger_properties'], 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties', 'json', $context)); + $object->setTriggerProperties($this->denormalizer->denormalize($data['trigger_properties'], \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties::class, 'json', $context)); unset($data['trigger_properties']); } if (\array_key_exists('recipient', $data)) { $values = []; foreach ($data['recipient'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem::class, 'json', $context); } $object->setRecipient($values); unset($data['recipient']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBody' => false]; + return [\Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBody::class => false]; } } } diff --git a/lib/Normalizer/TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItemNormalizer.php b/lib/Normalizer/TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItemNormalizer.php index ae01d13..a44632e 100644 --- a/lib/Normalizer/TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItemNormalizer.php +++ b/lib/Normalizer/TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItemNormalizer.php @@ -31,12 +31,12 @@ class TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItemNormalizer impl public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem'; + return $type === \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem'; + return is_object($data) && get_class($data) === Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem' => false]; + return [\Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem::class => false]; } } } else { @@ -94,12 +94,12 @@ class TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItemNormalizer impl public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem'; + return $type === \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem'; + return is_object($data) && get_class($data) === Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem' => false]; + return [\Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyRecipientItem::class => false]; } } } diff --git a/lib/Normalizer/TransactionalV1CampaignsCampaignIdSendPostBodyTriggerPropertiesNormalizer.php b/lib/Normalizer/TransactionalV1CampaignsCampaignIdSendPostBodyTriggerPropertiesNormalizer.php index df2bfac..99ef442 100644 --- a/lib/Normalizer/TransactionalV1CampaignsCampaignIdSendPostBodyTriggerPropertiesNormalizer.php +++ b/lib/Normalizer/TransactionalV1CampaignsCampaignIdSendPostBodyTriggerPropertiesNormalizer.php @@ -31,12 +31,12 @@ class TransactionalV1CampaignsCampaignIdSendPostBodyTriggerPropertiesNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties'; + return $type === \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties'; + return is_object($data) && get_class($data) === Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties' => false]; + return [\Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties::class => false]; } } } else { @@ -101,12 +101,12 @@ class TransactionalV1CampaignsCampaignIdSendPostBodyTriggerPropertiesNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties'; + return $type === \Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties'; + return is_object($data) && get_class($data) === Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties' => false]; + return [\Braze\Model\TransactionalV1CampaignsCampaignIdSendPostBodyTriggerProperties::class => false]; } } } diff --git a/lib/Normalizer/UsersAliasNewPostBodyNormalizer.php b/lib/Normalizer/UsersAliasNewPostBodyNormalizer.php index 427c20b..9a6929b 100644 --- a/lib/Normalizer/UsersAliasNewPostBodyNormalizer.php +++ b/lib/Normalizer/UsersAliasNewPostBodyNormalizer.php @@ -31,12 +31,12 @@ class UsersAliasNewPostBodyNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersAliasNewPostBody'; + return $type === \Braze\Model\UsersAliasNewPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersAliasNewPostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersAliasNewPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('user_aliases', $data)) { $values = []; foreach ($data['user_aliases'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\UsersAliasNewPostBodyUserAliasesItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\UsersAliasNewPostBodyUserAliasesItem::class, 'json', $context); } $object->setUserAliases($values); unset($data['user_aliases']); @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersAliasNewPostBody' => false]; + return [\Braze\Model\UsersAliasNewPostBody::class => false]; } } } else { @@ -102,12 +102,12 @@ class UsersAliasNewPostBodyNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersAliasNewPostBody'; + return $type === \Braze\Model\UsersAliasNewPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersAliasNewPostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersAliasNewPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -125,7 +125,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('user_aliases', $data)) { $values = []; foreach ($data['user_aliases'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\UsersAliasNewPostBodyUserAliasesItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\UsersAliasNewPostBodyUserAliasesItem::class, 'json', $context); } $object->setUserAliases($values); unset($data['user_aliases']); @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersAliasNewPostBody' => false]; + return [\Braze\Model\UsersAliasNewPostBody::class => false]; } } } diff --git a/lib/Normalizer/UsersAliasNewPostBodyUserAliasesItemNormalizer.php b/lib/Normalizer/UsersAliasNewPostBodyUserAliasesItemNormalizer.php index 0bbed0e..8fa4d6e 100644 --- a/lib/Normalizer/UsersAliasNewPostBodyUserAliasesItemNormalizer.php +++ b/lib/Normalizer/UsersAliasNewPostBodyUserAliasesItemNormalizer.php @@ -31,12 +31,12 @@ class UsersAliasNewPostBodyUserAliasesItemNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersAliasNewPostBodyUserAliasesItem'; + return $type === \Braze\Model\UsersAliasNewPostBodyUserAliasesItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersAliasNewPostBodyUserAliasesItem'; + return is_object($data) && get_class($data) === Braze\Model\UsersAliasNewPostBodyUserAliasesItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersAliasNewPostBodyUserAliasesItem' => false]; + return [\Braze\Model\UsersAliasNewPostBodyUserAliasesItem::class => false]; } } } else { @@ -108,12 +108,12 @@ class UsersAliasNewPostBodyUserAliasesItemNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersAliasNewPostBodyUserAliasesItem'; + return $type === \Braze\Model\UsersAliasNewPostBodyUserAliasesItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersAliasNewPostBodyUserAliasesItem'; + return is_object($data) && get_class($data) === Braze\Model\UsersAliasNewPostBodyUserAliasesItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersAliasNewPostBodyUserAliasesItem' => false]; + return [\Braze\Model\UsersAliasNewPostBodyUserAliasesItem::class => false]; } } } diff --git a/lib/Normalizer/UsersAliasUpdatePostBodyAliasUpdatesItemNormalizer.php b/lib/Normalizer/UsersAliasUpdatePostBodyAliasUpdatesItemNormalizer.php index 5eb3c0b..1cb2a8b 100644 --- a/lib/Normalizer/UsersAliasUpdatePostBodyAliasUpdatesItemNormalizer.php +++ b/lib/Normalizer/UsersAliasUpdatePostBodyAliasUpdatesItemNormalizer.php @@ -31,12 +31,12 @@ class UsersAliasUpdatePostBodyAliasUpdatesItemNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersAliasUpdatePostBodyAliasUpdatesItem'; + return $type === \Braze\Model\UsersAliasUpdatePostBodyAliasUpdatesItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersAliasUpdatePostBodyAliasUpdatesItem'; + return is_object($data) && get_class($data) === Braze\Model\UsersAliasUpdatePostBodyAliasUpdatesItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersAliasUpdatePostBodyAliasUpdatesItem' => false]; + return [\Braze\Model\UsersAliasUpdatePostBodyAliasUpdatesItem::class => false]; } } } else { @@ -108,12 +108,12 @@ class UsersAliasUpdatePostBodyAliasUpdatesItemNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersAliasUpdatePostBodyAliasUpdatesItem'; + return $type === \Braze\Model\UsersAliasUpdatePostBodyAliasUpdatesItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersAliasUpdatePostBodyAliasUpdatesItem'; + return is_object($data) && get_class($data) === Braze\Model\UsersAliasUpdatePostBodyAliasUpdatesItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersAliasUpdatePostBodyAliasUpdatesItem' => false]; + return [\Braze\Model\UsersAliasUpdatePostBodyAliasUpdatesItem::class => false]; } } } diff --git a/lib/Normalizer/UsersAliasUpdatePostBodyNormalizer.php b/lib/Normalizer/UsersAliasUpdatePostBodyNormalizer.php index ce9a0a8..9aeb170 100644 --- a/lib/Normalizer/UsersAliasUpdatePostBodyNormalizer.php +++ b/lib/Normalizer/UsersAliasUpdatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class UsersAliasUpdatePostBodyNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersAliasUpdatePostBody'; + return $type === \Braze\Model\UsersAliasUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersAliasUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersAliasUpdatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('alias_updates', $data)) { $values = []; foreach ($data['alias_updates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\UsersAliasUpdatePostBodyAliasUpdatesItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\UsersAliasUpdatePostBodyAliasUpdatesItem::class, 'json', $context); } $object->setAliasUpdates($values); unset($data['alias_updates']); @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersAliasUpdatePostBody' => false]; + return [\Braze\Model\UsersAliasUpdatePostBody::class => false]; } } } else { @@ -102,12 +102,12 @@ class UsersAliasUpdatePostBodyNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersAliasUpdatePostBody'; + return $type === \Braze\Model\UsersAliasUpdatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersAliasUpdatePostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersAliasUpdatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -125,7 +125,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('alias_updates', $data)) { $values = []; foreach ($data['alias_updates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\UsersAliasUpdatePostBodyAliasUpdatesItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\UsersAliasUpdatePostBodyAliasUpdatesItem::class, 'json', $context); } $object->setAliasUpdates($values); unset($data['alias_updates']); @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersAliasUpdatePostBody' => false]; + return [\Braze\Model\UsersAliasUpdatePostBody::class => false]; } } } diff --git a/lib/Normalizer/UsersDeletePostBodyNormalizer.php b/lib/Normalizer/UsersDeletePostBodyNormalizer.php index 4668f3f..f59f9bd 100644 --- a/lib/Normalizer/UsersDeletePostBodyNormalizer.php +++ b/lib/Normalizer/UsersDeletePostBodyNormalizer.php @@ -31,12 +31,12 @@ class UsersDeletePostBodyNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersDeletePostBody'; + return $type === \Braze\Model\UsersDeletePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersDeletePostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersDeletePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -70,7 +70,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('user_aliases', $data)) { $values_2 = []; foreach ($data['user_aliases'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Braze\\Model\\UsersDeletePostBodyUserAliasesItem', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \Braze\Model\UsersDeletePostBodyUserAliasesItem::class, 'json', $context); } $object->setUserAliases($values_2); unset($data['user_aliases']); @@ -119,7 +119,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersDeletePostBody' => false]; + return [\Braze\Model\UsersDeletePostBody::class => false]; } } } else { @@ -132,12 +132,12 @@ class UsersDeletePostBodyNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersDeletePostBody'; + return $type === \Braze\Model\UsersDeletePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersDeletePostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersDeletePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -171,7 +171,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('user_aliases', $data)) { $values_2 = []; foreach ($data['user_aliases'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'Braze\\Model\\UsersDeletePostBodyUserAliasesItem', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \Braze\Model\UsersDeletePostBodyUserAliasesItem::class, 'json', $context); } $object->setUserAliases($values_2); unset($data['user_aliases']); @@ -223,7 +223,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersDeletePostBody' => false]; + return [\Braze\Model\UsersDeletePostBody::class => false]; } } } diff --git a/lib/Normalizer/UsersDeletePostBodyUserAliasesItemNormalizer.php b/lib/Normalizer/UsersDeletePostBodyUserAliasesItemNormalizer.php index 1617ad9..7865a2c 100644 --- a/lib/Normalizer/UsersDeletePostBodyUserAliasesItemNormalizer.php +++ b/lib/Normalizer/UsersDeletePostBodyUserAliasesItemNormalizer.php @@ -31,12 +31,12 @@ class UsersDeletePostBodyUserAliasesItemNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersDeletePostBodyUserAliasesItem'; + return $type === \Braze\Model\UsersDeletePostBodyUserAliasesItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersDeletePostBodyUserAliasesItem'; + return is_object($data) && get_class($data) === Braze\Model\UsersDeletePostBodyUserAliasesItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersDeletePostBodyUserAliasesItem' => false]; + return [\Braze\Model\UsersDeletePostBodyUserAliasesItem::class => false]; } } } else { @@ -101,12 +101,12 @@ class UsersDeletePostBodyUserAliasesItemNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersDeletePostBodyUserAliasesItem'; + return $type === \Braze\Model\UsersDeletePostBodyUserAliasesItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersDeletePostBodyUserAliasesItem'; + return is_object($data) && get_class($data) === Braze\Model\UsersDeletePostBodyUserAliasesItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersDeletePostBodyUserAliasesItem' => false]; + return [\Braze\Model\UsersDeletePostBodyUserAliasesItem::class => false]; } } } diff --git a/lib/Normalizer/UsersExportGlobalControlGroupPostBodyNormalizer.php b/lib/Normalizer/UsersExportGlobalControlGroupPostBodyNormalizer.php index 567f288..ef0e729 100644 --- a/lib/Normalizer/UsersExportGlobalControlGroupPostBodyNormalizer.php +++ b/lib/Normalizer/UsersExportGlobalControlGroupPostBodyNormalizer.php @@ -31,12 +31,12 @@ class UsersExportGlobalControlGroupPostBodyNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExportGlobalControlGroupPostBody'; + return $type === \Braze\Model\UsersExportGlobalControlGroupPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExportGlobalControlGroupPostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersExportGlobalControlGroupPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExportGlobalControlGroupPostBody' => false]; + return [\Braze\Model\UsersExportGlobalControlGroupPostBody::class => false]; } } } else { @@ -116,12 +116,12 @@ class UsersExportGlobalControlGroupPostBodyNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExportGlobalControlGroupPostBody'; + return $type === \Braze\Model\UsersExportGlobalControlGroupPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExportGlobalControlGroupPostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersExportGlobalControlGroupPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExportGlobalControlGroupPostBody' => false]; + return [\Braze\Model\UsersExportGlobalControlGroupPostBody::class => false]; } } } diff --git a/lib/Normalizer/UsersExportIdsPostBodyNormalizer.php b/lib/Normalizer/UsersExportIdsPostBodyNormalizer.php index 77ab73f..2f17d48 100644 --- a/lib/Normalizer/UsersExportIdsPostBodyNormalizer.php +++ b/lib/Normalizer/UsersExportIdsPostBodyNormalizer.php @@ -31,12 +31,12 @@ class UsersExportIdsPostBodyNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExportIdsPostBody'; + return $type === \Braze\Model\UsersExportIdsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExportIdsPostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersExportIdsPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -62,7 +62,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('user_aliases', $data)) { $values_1 = []; foreach ($data['user_aliases'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Braze\\Model\\UsersExportIdsPostBodyUserAliasesItem', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Braze\Model\UsersExportIdsPostBodyUserAliasesItem::class, 'json', $context); } $object->setUserAliases($values_1); unset($data['user_aliases']); @@ -147,7 +147,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExportIdsPostBody' => false]; + return [\Braze\Model\UsersExportIdsPostBody::class => false]; } } } else { @@ -160,12 +160,12 @@ class UsersExportIdsPostBodyNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExportIdsPostBody'; + return $type === \Braze\Model\UsersExportIdsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExportIdsPostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersExportIdsPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('user_aliases', $data)) { $values_1 = []; foreach ($data['user_aliases'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'Braze\\Model\\UsersExportIdsPostBodyUserAliasesItem', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \Braze\Model\UsersExportIdsPostBodyUserAliasesItem::class, 'json', $context); } $object->setUserAliases($values_1); unset($data['user_aliases']); @@ -279,7 +279,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExportIdsPostBody' => false]; + return [\Braze\Model\UsersExportIdsPostBody::class => false]; } } } diff --git a/lib/Normalizer/UsersExportIdsPostBodyUserAliasesItemNormalizer.php b/lib/Normalizer/UsersExportIdsPostBodyUserAliasesItemNormalizer.php index 578fbb3..9736571 100644 --- a/lib/Normalizer/UsersExportIdsPostBodyUserAliasesItemNormalizer.php +++ b/lib/Normalizer/UsersExportIdsPostBodyUserAliasesItemNormalizer.php @@ -31,12 +31,12 @@ class UsersExportIdsPostBodyUserAliasesItemNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExportIdsPostBodyUserAliasesItem'; + return $type === \Braze\Model\UsersExportIdsPostBodyUserAliasesItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExportIdsPostBodyUserAliasesItem'; + return is_object($data) && get_class($data) === Braze\Model\UsersExportIdsPostBodyUserAliasesItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExportIdsPostBodyUserAliasesItem' => false]; + return [\Braze\Model\UsersExportIdsPostBodyUserAliasesItem::class => false]; } } } else { @@ -101,12 +101,12 @@ class UsersExportIdsPostBodyUserAliasesItemNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExportIdsPostBodyUserAliasesItem'; + return $type === \Braze\Model\UsersExportIdsPostBodyUserAliasesItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExportIdsPostBodyUserAliasesItem'; + return is_object($data) && get_class($data) === Braze\Model\UsersExportIdsPostBodyUserAliasesItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExportIdsPostBodyUserAliasesItem' => false]; + return [\Braze\Model\UsersExportIdsPostBodyUserAliasesItem::class => false]; } } } diff --git a/lib/Normalizer/UsersExportSegmentPostBodyNormalizer.php b/lib/Normalizer/UsersExportSegmentPostBodyNormalizer.php index e6303f4..e27f367 100644 --- a/lib/Normalizer/UsersExportSegmentPostBodyNormalizer.php +++ b/lib/Normalizer/UsersExportSegmentPostBodyNormalizer.php @@ -31,12 +31,12 @@ class UsersExportSegmentPostBodyNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExportSegmentPostBody'; + return $type === \Braze\Model\UsersExportSegmentPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExportSegmentPostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersExportSegmentPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExportSegmentPostBody' => false]; + return [\Braze\Model\UsersExportSegmentPostBody::class => false]; } } } else { @@ -123,12 +123,12 @@ class UsersExportSegmentPostBodyNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExportSegmentPostBody'; + return $type === \Braze\Model\UsersExportSegmentPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExportSegmentPostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersExportSegmentPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExportSegmentPostBody' => false]; + return [\Braze\Model\UsersExportSegmentPostBody::class => false]; } } } diff --git a/lib/Normalizer/UsersExternalIdsRemovePostBodyNormalizer.php b/lib/Normalizer/UsersExternalIdsRemovePostBodyNormalizer.php index 2aa690b..f2474ac 100644 --- a/lib/Normalizer/UsersExternalIdsRemovePostBodyNormalizer.php +++ b/lib/Normalizer/UsersExternalIdsRemovePostBodyNormalizer.php @@ -31,12 +31,12 @@ class UsersExternalIdsRemovePostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExternalIdsRemovePostBody'; + return $type === \Braze\Model\UsersExternalIdsRemovePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExternalIdsRemovePostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersExternalIdsRemovePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExternalIdsRemovePostBody' => false]; + return [\Braze\Model\UsersExternalIdsRemovePostBody::class => false]; } } } else { @@ -102,12 +102,12 @@ class UsersExternalIdsRemovePostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExternalIdsRemovePostBody'; + return $type === \Braze\Model\UsersExternalIdsRemovePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExternalIdsRemovePostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersExternalIdsRemovePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExternalIdsRemovePostBody' => false]; + return [\Braze\Model\UsersExternalIdsRemovePostBody::class => false]; } } } diff --git a/lib/Normalizer/UsersExternalIdsRenamePostBodyExternalIdRenamesItemNormalizer.php b/lib/Normalizer/UsersExternalIdsRenamePostBodyExternalIdRenamesItemNormalizer.php index 6a3b180..6d957c0 100644 --- a/lib/Normalizer/UsersExternalIdsRenamePostBodyExternalIdRenamesItemNormalizer.php +++ b/lib/Normalizer/UsersExternalIdsRenamePostBodyExternalIdRenamesItemNormalizer.php @@ -31,12 +31,12 @@ class UsersExternalIdsRenamePostBodyExternalIdRenamesItemNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExternalIdsRenamePostBodyExternalIdRenamesItem'; + return $type === \Braze\Model\UsersExternalIdsRenamePostBodyExternalIdRenamesItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExternalIdsRenamePostBodyExternalIdRenamesItem'; + return is_object($data) && get_class($data) === Braze\Model\UsersExternalIdsRenamePostBodyExternalIdRenamesItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExternalIdsRenamePostBodyExternalIdRenamesItem' => false]; + return [\Braze\Model\UsersExternalIdsRenamePostBodyExternalIdRenamesItem::class => false]; } } } else { @@ -101,12 +101,12 @@ class UsersExternalIdsRenamePostBodyExternalIdRenamesItemNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExternalIdsRenamePostBodyExternalIdRenamesItem'; + return $type === \Braze\Model\UsersExternalIdsRenamePostBodyExternalIdRenamesItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExternalIdsRenamePostBodyExternalIdRenamesItem'; + return is_object($data) && get_class($data) === Braze\Model\UsersExternalIdsRenamePostBodyExternalIdRenamesItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExternalIdsRenamePostBodyExternalIdRenamesItem' => false]; + return [\Braze\Model\UsersExternalIdsRenamePostBodyExternalIdRenamesItem::class => false]; } } } diff --git a/lib/Normalizer/UsersExternalIdsRenamePostBodyNormalizer.php b/lib/Normalizer/UsersExternalIdsRenamePostBodyNormalizer.php index f182d8c..6a421bb 100644 --- a/lib/Normalizer/UsersExternalIdsRenamePostBodyNormalizer.php +++ b/lib/Normalizer/UsersExternalIdsRenamePostBodyNormalizer.php @@ -31,12 +31,12 @@ class UsersExternalIdsRenamePostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExternalIdsRenamePostBody'; + return $type === \Braze\Model\UsersExternalIdsRenamePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExternalIdsRenamePostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersExternalIdsRenamePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('external_id_renames', $data)) { $values = []; foreach ($data['external_id_renames'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\UsersExternalIdsRenamePostBodyExternalIdRenamesItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\UsersExternalIdsRenamePostBodyExternalIdRenamesItem::class, 'json', $context); } $object->setExternalIdRenames($values); unset($data['external_id_renames']); @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExternalIdsRenamePostBody' => false]; + return [\Braze\Model\UsersExternalIdsRenamePostBody::class => false]; } } } else { @@ -102,12 +102,12 @@ class UsersExternalIdsRenamePostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersExternalIdsRenamePostBody'; + return $type === \Braze\Model\UsersExternalIdsRenamePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersExternalIdsRenamePostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersExternalIdsRenamePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -125,7 +125,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('external_id_renames', $data)) { $values = []; foreach ($data['external_id_renames'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\UsersExternalIdsRenamePostBodyExternalIdRenamesItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\UsersExternalIdsRenamePostBodyExternalIdRenamesItem::class, 'json', $context); } $object->setExternalIdRenames($values); unset($data['external_id_renames']); @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersExternalIdsRenamePostBody' => false]; + return [\Braze\Model\UsersExternalIdsRenamePostBody::class => false]; } } } diff --git a/lib/Normalizer/UsersIdentifyPostBodyAliasesToIdentifyItemNormalizer.php b/lib/Normalizer/UsersIdentifyPostBodyAliasesToIdentifyItemNormalizer.php index e6c7124..2ee6ec5 100644 --- a/lib/Normalizer/UsersIdentifyPostBodyAliasesToIdentifyItemNormalizer.php +++ b/lib/Normalizer/UsersIdentifyPostBodyAliasesToIdentifyItemNormalizer.php @@ -31,12 +31,12 @@ class UsersIdentifyPostBodyAliasesToIdentifyItemNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItem'; + return $type === \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItem'; + return is_object($data) && get_class($data) === Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['external_id']); } if (\array_key_exists('user_alias', $data)) { - $object->setUserAlias($this->denormalizer->denormalize($data['user_alias'], 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias', 'json', $context)); + $object->setUserAlias($this->denormalizer->denormalize($data['user_alias'], \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias::class, 'json', $context)); unset($data['user_alias']); } foreach ($data as $key => $value) { @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItem' => false]; + return [\Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItem::class => false]; } } } else { @@ -101,12 +101,12 @@ class UsersIdentifyPostBodyAliasesToIdentifyItemNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItem'; + return $type === \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItem'; + return is_object($data) && get_class($data) === Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,7 +126,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['external_id']); } if (\array_key_exists('user_alias', $data)) { - $object->setUserAlias($this->denormalizer->denormalize($data['user_alias'], 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias', 'json', $context)); + $object->setUserAlias($this->denormalizer->denormalize($data['user_alias'], \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias::class, 'json', $context)); unset($data['user_alias']); } foreach ($data as $key => $value) { @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItem' => false]; + return [\Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItem::class => false]; } } } diff --git a/lib/Normalizer/UsersIdentifyPostBodyAliasesToIdentifyItemUserAliasNormalizer.php b/lib/Normalizer/UsersIdentifyPostBodyAliasesToIdentifyItemUserAliasNormalizer.php index 4ceaa39..7013117 100644 --- a/lib/Normalizer/UsersIdentifyPostBodyAliasesToIdentifyItemUserAliasNormalizer.php +++ b/lib/Normalizer/UsersIdentifyPostBodyAliasesToIdentifyItemUserAliasNormalizer.php @@ -31,12 +31,12 @@ class UsersIdentifyPostBodyAliasesToIdentifyItemUserAliasNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias'; + return $type === \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias'; + return is_object($data) && get_class($data) === Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias' => false]; + return [\Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias::class => false]; } } } else { @@ -101,12 +101,12 @@ class UsersIdentifyPostBodyAliasesToIdentifyItemUserAliasNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias'; + return $type === \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias'; + return is_object($data) && get_class($data) === Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias' => false]; + return [\Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItemUserAlias::class => false]; } } } diff --git a/lib/Normalizer/UsersIdentifyPostBodyNormalizer.php b/lib/Normalizer/UsersIdentifyPostBodyNormalizer.php index d27ea02..1461e54 100644 --- a/lib/Normalizer/UsersIdentifyPostBodyNormalizer.php +++ b/lib/Normalizer/UsersIdentifyPostBodyNormalizer.php @@ -31,12 +31,12 @@ class UsersIdentifyPostBodyNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersIdentifyPostBody'; + return $type === \Braze\Model\UsersIdentifyPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersIdentifyPostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersIdentifyPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('aliases_to_identify', $data)) { $values = []; foreach ($data['aliases_to_identify'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItem::class, 'json', $context); } $object->setAliasesToIdentify($values); unset($data['aliases_to_identify']); @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersIdentifyPostBody' => false]; + return [\Braze\Model\UsersIdentifyPostBody::class => false]; } } } else { @@ -102,12 +102,12 @@ class UsersIdentifyPostBodyNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersIdentifyPostBody'; + return $type === \Braze\Model\UsersIdentifyPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersIdentifyPostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersIdentifyPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -125,7 +125,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('aliases_to_identify', $data)) { $values = []; foreach ($data['aliases_to_identify'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\UsersIdentifyPostBodyAliasesToIdentifyItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\UsersIdentifyPostBodyAliasesToIdentifyItem::class, 'json', $context); } $object->setAliasesToIdentify($values); unset($data['aliases_to_identify']); @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersIdentifyPostBody' => false]; + return [\Braze\Model\UsersIdentifyPostBody::class => false]; } } } diff --git a/lib/Normalizer/UsersMergePostBodyNormalizer.php b/lib/Normalizer/UsersMergePostBodyNormalizer.php index a30e247..97d33fe 100644 --- a/lib/Normalizer/UsersMergePostBodyNormalizer.php +++ b/lib/Normalizer/UsersMergePostBodyNormalizer.php @@ -31,12 +31,12 @@ class UsersMergePostBodyNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersMergePostBody'; + return $type === \Braze\Model\UsersMergePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersMergePostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersMergePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersMergePostBody' => false]; + return [\Braze\Model\UsersMergePostBody::class => false]; } } } else { @@ -102,12 +102,12 @@ class UsersMergePostBodyNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersMergePostBody'; + return $type === \Braze\Model\UsersMergePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersMergePostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersMergePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersMergePostBody' => false]; + return [\Braze\Model\UsersMergePostBody::class => false]; } } } diff --git a/lib/Normalizer/UsersTrackPostBodyNormalizer.php b/lib/Normalizer/UsersTrackPostBodyNormalizer.php index a260c5a..23a4ebe 100644 --- a/lib/Normalizer/UsersTrackPostBodyNormalizer.php +++ b/lib/Normalizer/UsersTrackPostBodyNormalizer.php @@ -31,12 +31,12 @@ class UsersTrackPostBodyNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersTrackPostBody'; + return $type === \Braze\Model\UsersTrackPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersTrackPostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersTrackPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -135,7 +135,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersTrackPostBody' => false]; + return [\Braze\Model\UsersTrackPostBody::class => false]; } } } else { @@ -148,12 +148,12 @@ class UsersTrackPostBodyNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\UsersTrackPostBody'; + return $type === \Braze\Model\UsersTrackPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\UsersTrackPostBody'; + return is_object($data) && get_class($data) === Braze\Model\UsersTrackPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -255,7 +255,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\UsersTrackPostBody' => false]; + return [\Braze\Model\UsersTrackPostBody::class => false]; } } } diff --git a/lib/Normalizer/V2SubscriptionStatusSetPostBodyNormalizer.php b/lib/Normalizer/V2SubscriptionStatusSetPostBodyNormalizer.php index 94adc7a..607ed17 100644 --- a/lib/Normalizer/V2SubscriptionStatusSetPostBodyNormalizer.php +++ b/lib/Normalizer/V2SubscriptionStatusSetPostBodyNormalizer.php @@ -31,12 +31,12 @@ class V2SubscriptionStatusSetPostBodyNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\V2SubscriptionStatusSetPostBody'; + return $type === \Braze\Model\V2SubscriptionStatusSetPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\V2SubscriptionStatusSetPostBody'; + return is_object($data) && get_class($data) === Braze\Model\V2SubscriptionStatusSetPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('subscription_groups', $data)) { $values = []; foreach ($data['subscription_groups'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem::class, 'json', $context); } $object->setSubscriptionGroups($values); unset($data['subscription_groups']); @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\V2SubscriptionStatusSetPostBody' => false]; + return [\Braze\Model\V2SubscriptionStatusSetPostBody::class => false]; } } } else { @@ -102,12 +102,12 @@ class V2SubscriptionStatusSetPostBodyNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\V2SubscriptionStatusSetPostBody'; + return $type === \Braze\Model\V2SubscriptionStatusSetPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\V2SubscriptionStatusSetPostBody'; + return is_object($data) && get_class($data) === Braze\Model\V2SubscriptionStatusSetPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -125,7 +125,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('subscription_groups', $data)) { $values = []; foreach ($data['subscription_groups'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'Braze\\Model\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \Braze\Model\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem::class, 'json', $context); } $object->setSubscriptionGroups($values); unset($data['subscription_groups']); @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\V2SubscriptionStatusSetPostBody' => false]; + return [\Braze\Model\V2SubscriptionStatusSetPostBody::class => false]; } } } diff --git a/lib/Normalizer/V2SubscriptionStatusSetPostBodySubscriptionGroupsItemNormalizer.php b/lib/Normalizer/V2SubscriptionStatusSetPostBodySubscriptionGroupsItemNormalizer.php index 37033ca..557ee0d 100644 --- a/lib/Normalizer/V2SubscriptionStatusSetPostBodySubscriptionGroupsItemNormalizer.php +++ b/lib/Normalizer/V2SubscriptionStatusSetPostBodySubscriptionGroupsItemNormalizer.php @@ -31,12 +31,12 @@ class V2SubscriptionStatusSetPostBodySubscriptionGroupsItemNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem'; + return $type === \Braze\Model\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem'; + return is_object($data) && get_class($data) === Braze\Model\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem' => false]; + return [\Braze\Model\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem::class => false]; } } } else { @@ -116,12 +116,12 @@ class V2SubscriptionStatusSetPostBodySubscriptionGroupsItemNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'Braze\\Model\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem'; + return $type === \Braze\Model\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'Braze\\Model\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem'; + return is_object($data) && get_class($data) === Braze\Model\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['Braze\\Model\\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem' => false]; + return [\Braze\Model\V2SubscriptionStatusSetPostBodySubscriptionGroupsItem::class => false]; } } }