1 | <?php |
||
16 | class Operation extends AbstractModel implements Arrayable { |
||
17 | |||
18 | use ConsumesPart; |
||
19 | use ProducesPart; |
||
20 | use TagsPart; |
||
21 | use SecurityPart; |
||
22 | use ParametersPart; |
||
23 | use ResponsesPart; |
||
24 | use SchemesPart; |
||
25 | use ExternalDocsPart; |
||
26 | use ExtensionPart; |
||
27 | |||
28 | /** @var string */ |
||
29 | private $summary; |
||
30 | |||
31 | /** @var string */ |
||
32 | private $description; |
||
33 | |||
34 | /** @var string */ |
||
35 | private $operationId; |
||
36 | |||
37 | /** @var bool */ |
||
38 | private $deprecated = false; |
||
39 | |||
40 | 9 | public function __construct($contents = []) { |
|
43 | |||
44 | 9 | private function parse($contents = []) { |
|
63 | |||
64 | 7 | public function toArray() { |
|
69 | |||
70 | /** |
||
71 | * |
||
72 | * @return string |
||
73 | */ |
||
74 | public function getSummary() { |
||
77 | |||
78 | /** |
||
79 | * |
||
80 | * @param string $summary |
||
81 | * @return $this |
||
82 | */ |
||
83 | public function setSummary($summary) { |
||
87 | |||
88 | /** |
||
89 | * |
||
90 | * @return string |
||
91 | */ |
||
92 | public function getDescription() { |
||
95 | |||
96 | /** |
||
97 | * |
||
98 | * @param string $description |
||
99 | */ |
||
100 | public function setDescription($description) { |
||
104 | |||
105 | /** |
||
106 | * |
||
107 | * @return string |
||
108 | */ |
||
109 | public function getOperationId() { |
||
112 | |||
113 | /** |
||
114 | * |
||
115 | * @param string $operationId |
||
116 | * @return $this |
||
117 | */ |
||
118 | public function setOperationId($operationId) { |
||
122 | |||
123 | /** |
||
124 | * |
||
125 | * @return bool |
||
126 | */ |
||
127 | public function getDeprecated() { |
||
130 | |||
131 | /** |
||
132 | * |
||
133 | * @param bool $deprecated |
||
134 | * @return $this |
||
135 | */ |
||
136 | public function setDeprecated($deprecated) { |
||
140 | |||
141 | } |
||
142 |