Skip to content

Commit

Permalink
chore: add required query param in read operations php (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 authored Jan 16, 2025
1 parent 475c404 commit 468062a
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}}
{{#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}}
'PageToken' => $pageToken,
'Page' => $pageNumber,
'PageSize' => $pageSize,
Expand Down

0 comments on commit 468062a

Please sign in to comment.