File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
gen-src/ChromeDevtoolsProtocol/Model/Log Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ final class LogEntry implements \JsonSerializable
35
35
*/
36
36
public $ text ;
37
37
38
+ /** @var string|null */
39
+ public $ category ;
40
+
38
41
/**
39
42
* Timestamp when this entry was added.
40
43
*
@@ -97,6 +100,9 @@ public static function fromJson($data)
97
100
if (isset ($ data ->text )) {
98
101
$ instance ->text = (string )$ data ->text ;
99
102
}
103
+ if (isset ($ data ->category )) {
104
+ $ instance ->category = (string )$ data ->category ;
105
+ }
100
106
if (isset ($ data ->timestamp )) {
101
107
$ instance ->timestamp = $ data ->timestamp ;
102
108
}
@@ -137,6 +143,9 @@ public function jsonSerialize()
137
143
if ($ this ->text !== null ) {
138
144
$ data ->text = $ this ->text ;
139
145
}
146
+ if ($ this ->category !== null ) {
147
+ $ data ->category = $ this ->category ;
148
+ }
140
149
if ($ this ->timestamp !== null ) {
141
150
$ data ->timestamp = $ this ->timestamp ;
142
151
}
Original file line number Diff line number Diff line change 11891
11891
"description": "Logged text.",
11892
11892
"type": "string"
11893
11893
},
11894
+ {
11895
+ "name": "category",
11896
+ "optional": true,
11897
+ "type": "string",
11898
+ "enum": [
11899
+ "cors"
11900
+ ]
11901
+ },
11894
11902
{
11895
11903
"name": "timestamp",
11896
11904
"description": "Timestamp when this entry was added.",
Original file line number Diff line number Diff line change 1
- 2636a23234e639bf1a2edb623431ac90 protocol.json
1
+ 552e5db11b125809468d52560dd6ae06 protocol.json
You can’t perform that action at this time.
0 commit comments