Skip to content

Commit 43c0205

Browse files
author
Jakub Kulhan
committed
autoupdated protocol.json & generated files
1 parent 2561615 commit 43c0205

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

gen-src/ChromeDevtoolsProtocol/Model/Network/TrustTokenParams.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
final 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;

protocol.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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",

protocol.json.md5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
46852221ba2648ab60a343d20901e090 protocol.json
1+
d8f4fc6faec0e0158c30208d58ddec2f protocol.json

0 commit comments

Comments
 (0)