-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequestModel.mustache
More file actions
47 lines (42 loc) · 1.35 KB
/
requestModel.mustache
File metadata and controls
47 lines (42 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{{#operations}}
{{#operation}}
/**
* --------------------------------------------------------------------------------------------------------------------
* <copyright company="Aspose" file="{{nickname}}RequestWrapper.php">
* Copyright (c) 2026 Aspose Pty Ltd
* </copyright>
* --------------------------------------------------------------------------------------------------------------------
*/
declare(strict_types=1);
namespace Aspose\BarCode\Requests;
/**
* Request model for "{{nickname}}" operation.
*/
class {{operationId}}RequestWrapper
{
{{#hasParams}}
/**
* Initializes a new instance of the {{operationId}}RequestWrapper class.
*
{{#allParams}}
* @param {{^schema}}{{dataType}}{{/schema}}{{#schema}}{{dataType}}{{/schema}} ${{paramName}} {{#description}}{{{description}}}{{/description}}
{{/allParams}}
*/
public function __construct({{#allParams}}${{paramName}}{{^required}} = null{{/required}}{{^-last}}, {{/-last}}{{/allParams}})
{
{{#allParams}}
$this->{{paramName}} = ${{paramName}};
{{/allParams}}
}
{{#allParams}}
/**
* {{^description}}Gets or sets {{paramName}}{{/description}}{{#description}}{{{description}}}{{/description}}
*/
public ${{paramName}};
{{^-last}}
{{/-last}}
{{/allParams}}
{{/hasParams}}
}
{{/operation}}
{{/operations}}