diff --git a/lib/Api/ListsApi.php b/lib/Api/ListsApi.php index 2abd6ad..766649b 100644 --- a/lib/Api/ListsApi.php +++ b/lib/Api/ListsApi.php @@ -6666,15 +6666,15 @@ protected function getSurveyRequest($list_id, $survey_id) ); } - public function getListWebhooks($list_id) + public function getListWebhooks($list_id, $count = '10', $offset = '0') { - $response = $this->getListWebhooksWithHttpInfo($list_id); + $response = $this->getListWebhooksWithHttpInfo($list_id, $count, $offset); return $response; } - public function getListWebhooksWithHttpInfo($list_id) + public function getListWebhooksWithHttpInfo($list_id, $count = '10', $offset = '0') { - $request = $this->getListWebhooksRequest($list_id); + $request = $this->getListWebhooksRequest($list_id, $count, $offset); try { $options = $this->createHttpClientOption(); @@ -6710,7 +6710,7 @@ public function getListWebhooksWithHttpInfo($list_id) } } - protected function getListWebhooksRequest($list_id) + protected function getListWebhooksRequest($list_id, $count = '10', $offset = '0') { // verify the required parameter 'list_id' is set if ($list_id === null || (is_array($list_id) && count($list_id) === 0)) { @@ -6735,6 +6735,15 @@ protected function getListWebhooksRequest($list_id) ); } + // query params + if ($count !== null) { + $queryParams['count'] = ObjectSerializer::toQueryValue($count); + } + // query params + if ($offset !== null) { + $queryParams['offset'] = ObjectSerializer::toQueryValue($offset); + } + // body params $_tempBody = null;