File tree Expand file tree Collapse file tree
gen-src/ChromeDevtoolsProtocol/Model/Network Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 */
1212final 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 }
Original file line number Diff line number Diff 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.",
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