Skip to content

Commit

Permalink
feat(lib): generate code from braze-specification
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and remarkablemark committed Jul 30, 2024
1 parent 14e5052 commit d568c46
Show file tree
Hide file tree
Showing 107 changed files with 440 additions and 224 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class;

Check warning on line 39 in lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -107,7 +107,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleCreatePostBodyAudience::class;

Check warning on line 110 in lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyAudienceNormalizer.php#L110

Added line #L110 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBody::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleCreatePostBody::class;

Check warning on line 39 in lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -157,7 +157,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBody::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleCreatePostBody::class;

Check warning on line 160 in lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyNormalizer.php#L160

Added line #L160 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class;

Check warning on line 39 in lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -121,7 +121,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleCreatePostBodyRecipientsItem::class;

Check warning on line 124 in lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php#L124

Added line #L124 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class;

Check warning on line 39 in lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -113,7 +113,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleCreatePostBodySchedule::class;

Check warning on line 116 in lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleCreatePostBodyScheduleNormalizer.php#L116

Added line #L116 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleDeletePostBody::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleDeletePostBody::class;

Check warning on line 39 in lib/Normalizer/CampaignsTriggerScheduleDeletePostBodyNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleDeletePostBodyNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -106,7 +106,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleDeletePostBody::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleDeletePostBody::class;

Check warning on line 109 in lib/Normalizer/CampaignsTriggerScheduleDeletePostBodyNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleDeletePostBodyNormalizer.php#L109

Added line #L109 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class;

Check warning on line 39 in lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -113,7 +113,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleUpdatePostBody::class;

Check warning on line 116 in lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyNormalizer.php#L116

Added line #L116 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class;

Check warning on line 39 in lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -72,7 +72,7 @@ public function normalize(mixed $object, ?string $format = null, array $context
{
$data = [];
if ($object->isInitialized('time') && null !== $object->getTime()) {
$data['time'] = $object->getTime()->format('Y-m-d\TH:i:sP');
$data['time'] = $object->getTime()?->format('Y-m-d\TH:i:sP');

Check warning on line 75 in lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer.php#L75

Added line #L75 was not covered by tests
}
if ($object->isInitialized('inLocalTime') && null !== $object->getInLocalTime()) {
$data['in_local_time'] = $object->getInLocalTime();
Expand Down Expand Up @@ -106,7 +106,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerScheduleUpdatePostBodySchedule::class;

Check warning on line 109 in lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer.php#L109

Added line #L109 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down Expand Up @@ -145,7 +145,7 @@ public function normalize($object, $format = null, array $context = [])
{
$data = [];
if ($object->isInitialized('time') && null !== $object->getTime()) {
$data['time'] = $object->getTime()->format('Y-m-d\TH:i:sP');
$data['time'] = $object->getTime()?->format('Y-m-d\TH:i:sP');

Check warning on line 148 in lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerScheduleUpdatePostBodyScheduleNormalizer.php#L148

Added line #L148 was not covered by tests
}
if ($object->isInitialized('inLocalTime') && null !== $object->getInLocalTime()) {
$data['in_local_time'] = $object->getInLocalTime();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyAudience::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerSendPostBodyAudience::class;

Check warning on line 39 in lib/Normalizer/CampaignsTriggerSendPostBodyAudienceNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerSendPostBodyAudienceNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -107,7 +107,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyAudience::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerSendPostBodyAudience::class;

Check warning on line 110 in lib/Normalizer/CampaignsTriggerSendPostBodyAudienceNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerSendPostBodyAudienceNormalizer.php#L110

Added line #L110 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
4 changes: 2 additions & 2 deletions lib/Normalizer/CampaignsTriggerSendPostBodyNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBody::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerSendPostBody::class;

Check warning on line 39 in lib/Normalizer/CampaignsTriggerSendPostBodyNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerSendPostBodyNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -150,7 +150,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBody::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerSendPostBody::class;

Check warning on line 153 in lib/Normalizer/CampaignsTriggerSendPostBodyNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerSendPostBodyNormalizer.php#L153

Added line #L153 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class;

Check warning on line 39 in lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -99,7 +99,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemAttributes::class;

Check warning on line 102 in lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemAttributesNormalizer.php#L102

Added line #L102 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class;

Check warning on line 39 in lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -135,7 +135,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItem::class;

Check warning on line 138 in lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemNormalizer.php#L138

Added line #L138 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class;

Check warning on line 39 in lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -106,7 +106,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class;
return is_object($data) && get_class($data) === \Braze\Model\CampaignsTriggerSendPostBodyRecipientsItemUserAlias::class;

Check warning on line 109 in lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CampaignsTriggerSendPostBodyRecipientsItemUserAliasNormalizer.php#L109

Added line #L109 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class;
return is_object($data) && get_class($data) === \Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class;

Check warning on line 39 in lib/Normalizer/CanvasTriggerScheduleCreatePostBodyAudienceNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CanvasTriggerScheduleCreatePostBodyAudienceNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -107,7 +107,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class;
return is_object($data) && get_class($data) === \Braze\Model\CanvasTriggerScheduleCreatePostBodyAudience::class;

Check warning on line 110 in lib/Normalizer/CanvasTriggerScheduleCreatePostBodyAudienceNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CanvasTriggerScheduleCreatePostBodyAudienceNormalizer.php#L110

Added line #L110 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBody::class;
return is_object($data) && get_class($data) === \Braze\Model\CanvasTriggerScheduleCreatePostBody::class;

Check warning on line 39 in lib/Normalizer/CanvasTriggerScheduleCreatePostBodyNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CanvasTriggerScheduleCreatePostBodyNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -150,7 +150,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBody::class;
return is_object($data) && get_class($data) === \Braze\Model\CanvasTriggerScheduleCreatePostBody::class;

Check warning on line 153 in lib/Normalizer/CanvasTriggerScheduleCreatePostBodyNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CanvasTriggerScheduleCreatePostBodyNormalizer.php#L153

Added line #L153 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class;
return is_object($data) && get_class($data) === \Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class;

Check warning on line 39 in lib/Normalizer/CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -136,7 +136,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class;
return is_object($data) && get_class($data) === \Braze\Model\CanvasTriggerScheduleCreatePostBodyRecipientsItem::class;

Check warning on line 139 in lib/Normalizer/CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CanvasTriggerScheduleCreatePostBodyRecipientsItemNormalizer.php#L139

Added line #L139 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function supportsDenormalization(mixed $data, string $type, ?string $form

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class;
return is_object($data) && get_class($data) === \Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class;

Check warning on line 39 in lib/Normalizer/CanvasTriggerScheduleCreatePostBodyScheduleNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CanvasTriggerScheduleCreatePostBodyScheduleNormalizer.php#L39

Added line #L39 was not covered by tests
}

public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed
Expand Down Expand Up @@ -113,7 +113,7 @@ public function supportsDenormalization($data, $type, ?string $format = null, ar

public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool
{
return is_object($data) && get_class($data) === Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class;
return is_object($data) && get_class($data) === \Braze\Model\CanvasTriggerScheduleCreatePostBodySchedule::class;

Check warning on line 116 in lib/Normalizer/CanvasTriggerScheduleCreatePostBodyScheduleNormalizer.php

View check run for this annotation

Codecov / codecov/patch

lib/Normalizer/CanvasTriggerScheduleCreatePostBodyScheduleNormalizer.php#L116

Added line #L116 was not covered by tests
}

public function denormalize($data, $type, $format = null, array $context = [])
Expand Down
Loading

0 comments on commit d568c46

Please sign in to comment.