Skip to content

Commit

Permalink
chore: add required query param in read operations php
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 committed Jan 13, 2025
1 parent 475c404 commit ad0f2fb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/main/resources/twilio-php/listRead.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,24 @@
{{/vendorExtensions.x-serialize-map}}
{{/vendorExtensions.x-serialize}}
{{/vendorExtensions.optionFileParams}}
{{#queryParams.0}}
{{#required}}
{{^vendorExtensions.x-serialize}}
'{{{baseName}}}' =>
$options['{{paramName}}'],
{{/vendorExtensions.x-serialize}}
{{#vendorExtensions.x-serialize}}
{{^vendorExtensions.x-serialize-map}}
'{{{baseName}}}' =>
{{vendorExtensions.x-serialize}}($options['{{paramName}}']),
{{/vendorExtensions.x-serialize-map}}
{{#vendorExtensions.x-serialize-map}}
'{{{baseName}}}' =>
{{vendorExtensions.x-serialize}}($options['{{paramName}}'], function ($e) { return $e; }),
{{/vendorExtensions.x-serialize-map}}
{{/vendorExtensions.x-serialize}}
{{/required}}
{{/queryParams.0}}
'PageToken' => $pageToken,
'Page' => $pageNumber,
'PageSize' => $pageSize,
Expand Down

0 comments on commit ad0f2fb

Please sign in to comment.