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 1212final class TrustTokenParams implements \JsonSerializable
1313{
1414 /** @var string */
15- public $ type ;
15+ public $ operation ;
1616
1717 /**
18- * Only set for "token-redemption" type and determine whether to request a fresh SRR or use a still valid cached SRR.
18+ * Only set for "token-redemption" operation and determine whether to request a fresh SRR or use a still valid cached SRR.
1919 *
2020 * @var string
2121 */
@@ -36,8 +36,8 @@ final class TrustTokenParams implements \JsonSerializable
3636 public static function fromJson ($ data )
3737 {
3838 $ instance = new static ();
39- if (isset ($ data ->type )) {
40- $ instance ->type = (string )$ data ->type ;
39+ if (isset ($ data ->operation )) {
40+ $ instance ->operation = (string )$ data ->operation ;
4141 }
4242 if (isset ($ data ->refreshPolicy )) {
4343 $ instance ->refreshPolicy = (string )$ data ->refreshPolicy ;
@@ -55,8 +55,8 @@ public static function fromJson($data)
5555 public function jsonSerialize ()
5656 {
5757 $ data = new \stdClass ();
58- if ($ this ->type !== null ) {
59- $ data ->type = $ this ->type ;
58+ if ($ this ->operation !== null ) {
59+ $ data ->operation = $ this ->operation ;
6060 }
6161 if ($ this ->refreshPolicy !== null ) {
6262 $ data ->refreshPolicy = $ this ->refreshPolicy ;
Original file line number Diff line number Diff line change @@ -13845,12 +13845,12 @@
1384513845 "type": "object",
1384613846 "properties": [
1384713847 {
13848- "name": "type ",
13848+ "name": "operation ",
1384913849 "$ref": "TrustTokenOperationType"
1385013850 },
1385113851 {
1385213852 "name": "refreshPolicy",
13853- "description": "Only set for \"token-redemption\" type and determine whether to request a fresh SRR or use a still valid cached SRR.",
13853+ "description": "Only set for \"token-redemption\" operation and determine whether to request a fresh SRR or use a still valid cached SRR.",
1385413854 "type": "string",
1385513855 "enum": [
1385613856 "UseCached",
Original file line number Diff line number Diff line change 1- 46852221ba2648ab60a343d20901e090 protocol.json
1+ d8f4fc6faec0e0158c30208d58ddec2f protocol.json
You can’t perform that action at this time.
0 commit comments