You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$content = $response->getBody(); //stream goes to serializer
@@ -1182,9 +1186,9 @@ public function getByIdRequest($import_id, string $contentType = self::contentTy
1182
1186
*
1183
1187
* Get active imports
1184
1188
*
1185
-
* @param string $after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. (optional)
1186
-
* @param string $before before (optional)
1187
-
* @param int $limit The maximum number of results to display per page. (optional)
1189
+
* @param string|null $after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. (optional)
1190
+
* @param string|null $before before (optional)
1191
+
* @param int|null $limit The maximum number of results to display per page. (optional)
1188
1192
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPage'] to see the possible values for this operation
1189
1193
*
1190
1194
* @throws \HubSpot\Client\Crm\Imports\ApiException on non-2xx response or if the response body is not in the expected format
@@ -1202,9 +1206,9 @@ public function getPage($after = null, $before = null, $limit = null, string $co
1202
1206
*
1203
1207
* Get active imports
1204
1208
*
1205
-
* @param string $after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. (optional)
1206
-
* @param string $before (optional)
1207
-
* @param int $limit The maximum number of results to display per page. (optional)
1209
+
* @param string|null $after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. (optional)
1210
+
* @param string|null $before (optional)
1211
+
* @param int|null $limit The maximum number of results to display per page. (optional)
1208
1212
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPage'] to see the possible values for this operation
1209
1213
*
1210
1214
* @throws \HubSpot\Client\Crm\Imports\ApiException on non-2xx response or if the response body is not in the expected format
@@ -1237,18 +1241,6 @@ public function getPageWithHttpInfo($after = null, $before = null, $limit = null
1237
1241
1238
1242
$statusCode = $response->getStatusCode();
1239
1243
1240
-
if ($statusCode < 200 || $statusCode > 299) {
1241
-
thrownewApiException(
1242
-
sprintf(
1243
-
'[%d] Error connecting to the API (%s)',
1244
-
$statusCode,
1245
-
(string) $request->getUri()
1246
-
),
1247
-
$statusCode,
1248
-
$response->getHeaders(),
1249
-
(string) $response->getBody()
1250
-
);
1251
-
}
1252
1244
1253
1245
switch($statusCode) {
1254
1246
case200:
@@ -1307,6 +1299,19 @@ public function getPageWithHttpInfo($after = null, $before = null, $limit = null
$content = $response->getBody(); //stream goes to serializer
@@ -1363,9 +1368,9 @@ public function getPageWithHttpInfo($after = null, $before = null, $limit = null
1363
1368
*
1364
1369
* Get active imports
1365
1370
*
1366
-
* @param string $after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. (optional)
1367
-
* @param string $before (optional)
1368
-
* @param int $limit The maximum number of results to display per page. (optional)
1371
+
* @param string|null $after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. (optional)
1372
+
* @param string|null $before (optional)
1373
+
* @param int|null $limit The maximum number of results to display per page. (optional)
1369
1374
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPage'] to see the possible values for this operation
1370
1375
*
1371
1376
* @throws \InvalidArgumentException
@@ -1386,9 +1391,9 @@ function ($response) {
1386
1391
*
1387
1392
* Get active imports
1388
1393
*
1389
-
* @param string $after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. (optional)
1390
-
* @param string $before (optional)
1391
-
* @param int $limit The maximum number of results to display per page. (optional)
1394
+
* @param string|null $after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. (optional)
1395
+
* @param string|null $before (optional)
1396
+
* @param int|null $limit The maximum number of results to display per page. (optional)
1392
1397
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPage'] to see the possible values for this operation
1393
1398
*
1394
1399
* @throws \InvalidArgumentException
@@ -1438,9 +1443,9 @@ function ($exception) {
1438
1443
/**
1439
1444
* Create request for operation 'getPage'
1440
1445
*
1441
-
* @param string $after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. (optional)
1442
-
* @param string $before (optional)
1443
-
* @param int $limit The maximum number of results to display per page. (optional)
1446
+
* @param string|null $after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. (optional)
1447
+
* @param string|null $before (optional)
1448
+
* @param int|null $limit The maximum number of results to display per page. (optional)
1444
1449
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPage'] to see the possible values for this operation
0 commit comments