Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions lib/Api/ListsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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)) {
Expand All @@ -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;

Expand Down