File tree Expand file tree Collapse file tree
gen-src/ChromeDevtoolsProtocol/Model/Overlay Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212final class ContainerQueryContainerHighlightConfig implements \JsonSerializable
1313{
1414 /**
15- * The style of the container border
15+ * The style of the container border.
1616 *
1717 * @var LineStyle|null
1818 */
1919 public $ containerBorder ;
2020
21+ /**
22+ * The style of the descendants' borders.
23+ *
24+ * @var LineStyle|null
25+ */
26+ public $ descendantBorder ;
27+
2128
2229 public static function fromJson ($ data )
2330 {
2431 $ instance = new static ();
2532 if (isset ($ data ->containerBorder )) {
2633 $ instance ->containerBorder = LineStyle::fromJson ($ data ->containerBorder );
2734 }
35+ if (isset ($ data ->descendantBorder )) {
36+ $ instance ->descendantBorder = LineStyle::fromJson ($ data ->descendantBorder );
37+ }
2838 return $ instance ;
2939 }
3040
@@ -35,6 +45,9 @@ public function jsonSerialize()
3545 if ($ this ->containerBorder !== null ) {
3646 $ data ->containerBorder = $ this ->containerBorder ->jsonSerialize ();
3747 }
48+ if ($ this ->descendantBorder !== null ) {
49+ $ data ->descendantBorder = $ this ->descendantBorder ->jsonSerialize ();
50+ }
3851 return $ data ;
3952 }
4053}
Original file line number Diff line number Diff line change 1596115961 "properties": [
1596215962 {
1596315963 "name": "containerBorder",
15964- "description": "The style of the container border",
15964+ "description": "The style of the container border.",
15965+ "optional": true,
15966+ "$ref": "LineStyle"
15967+ },
15968+ {
15969+ "name": "descendantBorder",
15970+ "description": "The style of the descendants' borders.",
1596515971 "optional": true,
1596615972 "$ref": "LineStyle"
1596715973 }
Original file line number Diff line number Diff line change 1- e76145c463e65cbf6441f0e460b2d0ba protocol.json
1+ b1660768fcfde4c1e49c9423c7300667 protocol.json
You can’t perform that action at this time.
0 commit comments