File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
gen-src/ChromeDevtoolsProtocol/Model/Network Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 11
11
*/
12
12
final class ReportingApiReport implements \JsonSerializable
13
13
{
14
+ /** @var string */
15
+ public $ id ;
16
+
14
17
/**
15
18
* The URL of the document that triggered the report.
16
19
*
@@ -53,6 +56,9 @@ final class ReportingApiReport implements \JsonSerializable
53
56
public static function fromJson ($ data )
54
57
{
55
58
$ instance = new static ();
59
+ if (isset ($ data ->id )) {
60
+ $ instance ->id = (string )$ data ->id ;
61
+ }
56
62
if (isset ($ data ->initiatorUrl )) {
57
63
$ instance ->initiatorUrl = (string )$ data ->initiatorUrl ;
58
64
}
@@ -78,6 +84,9 @@ public static function fromJson($data)
78
84
public function jsonSerialize ()
79
85
{
80
86
$ data = new \stdClass ();
87
+ if ($ this ->id !== null ) {
88
+ $ data ->id = $ this ->id ;
89
+ }
81
90
if ($ this ->initiatorUrl !== null ) {
82
91
$ data ->initiatorUrl = $ this ->initiatorUrl ;
83
92
}
Original file line number Diff line number Diff line change @@ -14017,12 +14017,21 @@
14017
14017
"Pending"
14018
14018
]
14019
14019
},
14020
+ {
14021
+ "id": "ReportId",
14022
+ "experimental": true,
14023
+ "type": "string"
14024
+ },
14020
14025
{
14021
14026
"id": "ReportingApiReport",
14022
14027
"description": "An object representing a report generated by the Reporting API.",
14023
14028
"experimental": true,
14024
14029
"type": "object",
14025
14030
"properties": [
14031
+ {
14032
+ "name": "id",
14033
+ "$ref": "ReportId"
14034
+ },
14026
14035
{
14027
14036
"name": "initiatorUrl",
14028
14037
"description": "The URL of the document that triggered the report.",
Original file line number Diff line number Diff line change 1
- ee20c8cf0e501767f543a484d708081d protocol.json
1
+ b5e7bf770f86bd1cd4d5571d5b155dd4 protocol.json
You can’t perform that action at this time.
0 commit comments