Skip to content

Commit

Permalink
refactor(lib): tidy backslash in fully qualified name
Browse files Browse the repository at this point in the history
Release-As: 2.1.1
  • Loading branch information
dependabot[bot] authored and remarkablemark committed Jul 4, 2024
1 parent d0349a9 commit 51c6405
Show file tree
Hide file tree
Showing 99 changed files with 590 additions and 590 deletions.
12 changes: 6 additions & 6 deletions lib/Endpoint/DeleteCatalogByCatalogName.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,22 +138,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re
return json_decode($body);
}
if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogByCatalogNameBadRequestException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogByCatalogNameBadRequestException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 141 in lib/Endpoint/DeleteCatalogByCatalogName.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogByCatalogName.php#L141

Added line #L141 was not covered by tests
}
if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogByCatalogNameUnauthorizedException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogByCatalogNameUnauthorizedException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 144 in lib/Endpoint/DeleteCatalogByCatalogName.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogByCatalogName.php#L144

Added line #L144 was not covered by tests
}
if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogByCatalogNameForbiddenException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogByCatalogNameForbiddenException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 147 in lib/Endpoint/DeleteCatalogByCatalogName.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogByCatalogName.php#L147

Added line #L147 was not covered by tests
}
if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogByCatalogNameNotFoundException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogByCatalogNameNotFoundException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 150 in lib/Endpoint/DeleteCatalogByCatalogName.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogByCatalogName.php#L150

Added line #L150 was not covered by tests
}
if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogByCatalogNameTooManyRequestsException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogByCatalogNameTooManyRequestsException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 153 in lib/Endpoint/DeleteCatalogByCatalogName.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogByCatalogName.php#L153

Added line #L153 was not covered by tests
}
if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogByCatalogNameInternalServerErrorException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogByCatalogNameInternalServerErrorException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 156 in lib/Endpoint/DeleteCatalogByCatalogName.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogByCatalogName.php#L156

Added line #L156 was not covered by tests
}
}

Expand Down
12 changes: 6 additions & 6 deletions lib/Endpoint/DeleteCatalogsByCatalogNameItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,22 +164,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re
return json_decode($body);
}
if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemBadRequestException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemBadRequestException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 167 in lib/Endpoint/DeleteCatalogsByCatalogNameItem.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogsByCatalogNameItem.php#L167

Added line #L167 was not covered by tests
}
if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemUnauthorizedException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemUnauthorizedException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 170 in lib/Endpoint/DeleteCatalogsByCatalogNameItem.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogsByCatalogNameItem.php#L170

Added line #L170 was not covered by tests
}
if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemForbiddenException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemForbiddenException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 173 in lib/Endpoint/DeleteCatalogsByCatalogNameItem.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogsByCatalogNameItem.php#L173

Added line #L173 was not covered by tests
}
if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemNotFoundException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemNotFoundException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 176 in lib/Endpoint/DeleteCatalogsByCatalogNameItem.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogsByCatalogNameItem.php#L176

Added line #L176 was not covered by tests
}
if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemTooManyRequestsException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemTooManyRequestsException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 179 in lib/Endpoint/DeleteCatalogsByCatalogNameItem.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogsByCatalogNameItem.php#L179

Added line #L179 was not covered by tests
}
if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemInternalServerErrorException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemInternalServerErrorException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 182 in lib/Endpoint/DeleteCatalogsByCatalogNameItem.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogsByCatalogNameItem.php#L182

Added line #L182 was not covered by tests
}
}

Expand Down
12 changes: 6 additions & 6 deletions lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,22 +156,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re
return json_decode($body);
}
if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdBadRequestException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdBadRequestException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 159 in lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php#L159

Added line #L159 was not covered by tests
}
if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdUnauthorizedException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdUnauthorizedException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 162 in lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php#L162

Added line #L162 was not covered by tests
}
if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdForbiddenException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdForbiddenException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 165 in lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php#L165

Added line #L165 was not covered by tests
}
if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdNotFoundException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdNotFoundException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 168 in lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php#L168

Added line #L168 was not covered by tests
}
if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdTooManyRequestsException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdTooManyRequestsException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 171 in lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php#L171

Added line #L171 was not covered by tests
}
if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdInternalServerErrorException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteCatalogsByCatalogNameItemByItemIdInternalServerErrorException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 174 in lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteCatalogsByCatalogNameItemByItemId.php#L174

Added line #L174 was not covered by tests
}
}

Expand Down
12 changes: 6 additions & 6 deletions lib/Endpoint/DeleteScimV2UserById.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,22 +116,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re
return json_decode($body);
}
if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteScimV2UserByIdBadRequestException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteScimV2UserByIdBadRequestException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 119 in lib/Endpoint/DeleteScimV2UserById.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteScimV2UserById.php#L119

Added line #L119 was not covered by tests
}
if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteScimV2UserByIdUnauthorizedException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteScimV2UserByIdUnauthorizedException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 122 in lib/Endpoint/DeleteScimV2UserById.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteScimV2UserById.php#L122

Added line #L122 was not covered by tests
}
if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteScimV2UserByIdForbiddenException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteScimV2UserByIdForbiddenException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 125 in lib/Endpoint/DeleteScimV2UserById.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteScimV2UserById.php#L125

Added line #L125 was not covered by tests
}
if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteScimV2UserByIdNotFoundException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteScimV2UserByIdNotFoundException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 128 in lib/Endpoint/DeleteScimV2UserById.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteScimV2UserById.php#L128

Added line #L128 was not covered by tests
}
if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteScimV2UserByIdTooManyRequestsException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteScimV2UserByIdTooManyRequestsException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 131 in lib/Endpoint/DeleteScimV2UserById.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteScimV2UserById.php#L131

Added line #L131 was not covered by tests
}
if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\DeleteScimV2UserByIdInternalServerErrorException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\DeleteScimV2UserByIdInternalServerErrorException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 134 in lib/Endpoint/DeleteScimV2UserById.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/DeleteScimV2UserById.php#L134

Added line #L134 was not covered by tests
}
}

Expand Down
12 changes: 6 additions & 6 deletions lib/Endpoint/GetCampaignsDataSeries.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,22 +285,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re
return json_decode($body);
}
if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDataSeriesBadRequestException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDataSeriesBadRequestException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 288 in lib/Endpoint/GetCampaignsDataSeries.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/GetCampaignsDataSeries.php#L288

Added line #L288 was not covered by tests
}
if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDataSeriesUnauthorizedException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDataSeriesUnauthorizedException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 291 in lib/Endpoint/GetCampaignsDataSeries.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/GetCampaignsDataSeries.php#L291

Added line #L291 was not covered by tests
}
if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDataSeriesForbiddenException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDataSeriesForbiddenException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 294 in lib/Endpoint/GetCampaignsDataSeries.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/GetCampaignsDataSeries.php#L294

Added line #L294 was not covered by tests
}
if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDataSeriesNotFoundException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDataSeriesNotFoundException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 297 in lib/Endpoint/GetCampaignsDataSeries.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/GetCampaignsDataSeries.php#L297

Added line #L297 was not covered by tests
}
if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDataSeriesTooManyRequestsException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDataSeriesTooManyRequestsException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 300 in lib/Endpoint/GetCampaignsDataSeries.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/GetCampaignsDataSeries.php#L300

Added line #L300 was not covered by tests
}
if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDataSeriesInternalServerErrorException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDataSeriesInternalServerErrorException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 303 in lib/Endpoint/GetCampaignsDataSeries.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/GetCampaignsDataSeries.php#L303

Added line #L303 was not covered by tests
}
}

Expand Down
12 changes: 6 additions & 6 deletions lib/Endpoint/GetCampaignsDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,22 +323,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re
return json_decode($body);
}
if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDetailBadRequestException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDetailBadRequestException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 326 in lib/Endpoint/GetCampaignsDetail.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/GetCampaignsDetail.php#L326

Added line #L326 was not covered by tests
}
if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDetailUnauthorizedException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDetailUnauthorizedException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 329 in lib/Endpoint/GetCampaignsDetail.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/GetCampaignsDetail.php#L329

Added line #L329 was not covered by tests
}
if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDetailForbiddenException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDetailForbiddenException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 332 in lib/Endpoint/GetCampaignsDetail.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/GetCampaignsDetail.php#L332

Added line #L332 was not covered by tests
}
if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDetailNotFoundException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDetailNotFoundException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 335 in lib/Endpoint/GetCampaignsDetail.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/GetCampaignsDetail.php#L335

Added line #L335 was not covered by tests
}
if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDetailTooManyRequestsException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDetailTooManyRequestsException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 338 in lib/Endpoint/GetCampaignsDetail.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/GetCampaignsDetail.php#L338

Added line #L338 was not covered by tests
}
if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) {
throw new \Braze\Exception\GetCampaignsDetailInternalServerErrorException($serializer->deserialize($body, 'Braze\\Model\\Error', 'json'), $response);
throw new \Braze\Exception\GetCampaignsDetailInternalServerErrorException($serializer->deserialize($body, 'Braze\Model\Error', 'json'), $response);

Check warning on line 341 in lib/Endpoint/GetCampaignsDetail.php

View check run for this annotation

Codecov / codecov/patch

lib/Endpoint/GetCampaignsDetail.php#L341

Added line #L341 was not covered by tests
}
}

Expand Down
Loading

0 comments on commit 51c6405

Please sign in to comment.