Skip to content

Commit 77161ff

Browse files
1 parent acfd1ba commit 77161ff

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

src/ToolResults/TestIssue.php

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ class TestIssue extends \Google\Model
186186
* There was an issue with the assets in this test.
187187
*/
188188
public const TYPE_assetIssue = 'assetIssue';
189+
protected $internal_gapi_mappings = [
190+
"warningMigration" => "warning_migration",
191+
];
189192
/**
190193
* Category of issue. Required.
191194
*
@@ -212,8 +215,8 @@ class TestIssue extends \Google\Model
212215
* @var string
213216
*/
214217
public $type;
215-
protected $warningType = Any::class;
216-
protected $warningDataType = '';
218+
protected $warningMigrationType = Any::class;
219+
protected $warningMigrationDataType = '';
217220

218221
/**
219222
* Category of issue. Required.
@@ -317,18 +320,18 @@ public function getType()
317320
* Warning message with additional details of the issue. Should always be a
318321
* message from com.google.devtools.toolresults.v1.warnings
319322
*
320-
* @param Any $warning
323+
* @param Any $warningMigration
321324
*/
322-
public function setWarning(Any $warning)
325+
public function setWarningMigration(Any $warningMigration)
323326
{
324-
$this->warning = $warning;
327+
$this->warningMigration = $warningMigration;
325328
}
326329
/**
327330
* @return Any
328331
*/
329-
public function getWarning()
332+
public function getWarningMigration()
330333
{
331-
return $this->warning;
334+
return $this->warningMigration;
332335
}
333336
}
334337

0 commit comments

Comments
 (0)