Skip to content

Commit 4d4e6ab

Browse files
author
Jakub Kulhan
committed
autoupdated protocol.json & generated files
1 parent bb8820e commit 4d4e6ab

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

gen-src/ChromeDevtoolsProtocol/Model/Log/LogEntry.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

protocol.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11891,6 +11891,14 @@
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.",

protocol.json.md5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2636a23234e639bf1a2edb623431ac90 protocol.json
1+
552e5db11b125809468d52560dd6ae06 protocol.json

0 commit comments

Comments
 (0)