object are good

This commit is contained in:
sbyrd 2020-12-03 17:45:09 -05:00
parent ebf3791cca
commit 37a4d956ef
1 changed files with 13 additions and 0 deletions

View File

@ -11,6 +11,19 @@ class imageConfigConfig extends objectStructs
/** @var \stdClass */
public $ExposedPorts;
public function __construct($Result = null)
{
parent::__construct($Result);
if (isset($Result->ExposedPorts) )
{
$this->ExposedPorts = new \stdClass();
foreach($Result->ExposedPorts as $port => $Value)
{
$this->ExposedPorts->$port = $Value;
}
}
}
}
/*
*