Skip to content

Commit d88f094

Browse files
author
Jakub Kulhan
committed
autoupdated protocol.json & generated files
1 parent df4f4b8 commit d88f094

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

gen-src/ChromeDevtoolsProtocol/Model/Network/ReportingApiReport.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
*/
1212
final class ReportingApiReport implements \JsonSerializable
1313
{
14+
/** @var string */
15+
public $id;
16+
1417
/**
1518
* The URL of the document that triggered the report.
1619
*
@@ -53,6 +56,9 @@ final class ReportingApiReport implements \JsonSerializable
5356
public static function fromJson($data)
5457
{
5558
$instance = new static();
59+
if (isset($data->id)) {
60+
$instance->id = (string)$data->id;
61+
}
5662
if (isset($data->initiatorUrl)) {
5763
$instance->initiatorUrl = (string)$data->initiatorUrl;
5864
}
@@ -78,6 +84,9 @@ public static function fromJson($data)
7884
public function jsonSerialize()
7985
{
8086
$data = new \stdClass();
87+
if ($this->id !== null) {
88+
$data->id = $this->id;
89+
}
8190
if ($this->initiatorUrl !== null) {
8291
$data->initiatorUrl = $this->initiatorUrl;
8392
}

protocol.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14017,12 +14017,21 @@
1401714017
"Pending"
1401814018
]
1401914019
},
14020+
{
14021+
"id": "ReportId",
14022+
"experimental": true,
14023+
"type": "string"
14024+
},
1402014025
{
1402114026
"id": "ReportingApiReport",
1402214027
"description": "An object representing a report generated by the Reporting API.",
1402314028
"experimental": true,
1402414029
"type": "object",
1402514030
"properties": [
14031+
{
14032+
"name": "id",
14033+
"$ref": "ReportId"
14034+
},
1402614035
{
1402714036
"name": "initiatorUrl",
1402814037
"description": "The URL of the document that triggered the report.",

protocol.json.md5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ee20c8cf0e501767f543a484d708081d protocol.json
1+
b5e7bf770f86bd1cd4d5571d5b155dd4 protocol.json

0 commit comments

Comments
 (0)