File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
gen-src/ChromeDevtoolsProtocol/Model/Network Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 12
12
final class TrustTokenParams implements \JsonSerializable
13
13
{
14
14
/** @var string */
15
- public $ type ;
15
+ public $ operation ;
16
16
17
17
/**
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.
19
19
*
20
20
* @var string
21
21
*/
@@ -36,8 +36,8 @@ final class TrustTokenParams implements \JsonSerializable
36
36
public static function fromJson ($ data )
37
37
{
38
38
$ 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 ;
41
41
}
42
42
if (isset ($ data ->refreshPolicy )) {
43
43
$ instance ->refreshPolicy = (string )$ data ->refreshPolicy ;
@@ -55,8 +55,8 @@ public static function fromJson($data)
55
55
public function jsonSerialize ()
56
56
{
57
57
$ data = new \stdClass ();
58
- if ($ this ->type !== null ) {
59
- $ data ->type = $ this ->type ;
58
+ if ($ this ->operation !== null ) {
59
+ $ data ->operation = $ this ->operation ;
60
60
}
61
61
if ($ this ->refreshPolicy !== null ) {
62
62
$ data ->refreshPolicy = $ this ->refreshPolicy ;
Original file line number Diff line number Diff line change @@ -13845,12 +13845,12 @@
13845
13845
"type": "object",
13846
13846
"properties": [
13847
13847
{
13848
- "name": "type ",
13848
+ "name": "operation ",
13849
13849
"$ref": "TrustTokenOperationType"
13850
13850
},
13851
13851
{
13852
13852
"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.",
13854
13854
"type": "string",
13855
13855
"enum": [
13856
13856
"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