File tree Expand file tree Collapse file tree
gen-src/ChromeDevtoolsProtocol/Model/Log Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ final class LogEntry implements \JsonSerializable
3535 */
3636 public $ text ;
3737
38+ /** @var string|null */
39+ public $ category ;
40+
3841 /**
3942 * Timestamp when this entry was added.
4043 *
@@ -97,6 +100,9 @@ public static function fromJson($data)
97100 if (isset ($ data ->text )) {
98101 $ instance ->text = (string )$ data ->text ;
99102 }
103+ if (isset ($ data ->category )) {
104+ $ instance ->category = (string )$ data ->category ;
105+ }
100106 if (isset ($ data ->timestamp )) {
101107 $ instance ->timestamp = $ data ->timestamp ;
102108 }
@@ -137,6 +143,9 @@ public function jsonSerialize()
137143 if ($ this ->text !== null ) {
138144 $ data ->text = $ this ->text ;
139145 }
146+ if ($ this ->category !== null ) {
147+ $ data ->category = $ this ->category ;
148+ }
140149 if ($ this ->timestamp !== null ) {
141150 $ data ->timestamp = $ this ->timestamp ;
142151 }
Original file line number Diff line number Diff line change 1189111891 "description": "Logged text.",
1189211892 "type": "string"
1189311893 },
11894+ {
11895+ "name": "category",
11896+ "optional": true,
11897+ "type": "string",
11898+ "enum": [
11899+ "cors"
11900+ ]
11901+ },
1189411902 {
1189511903 "name": "timestamp",
1189611904 "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