diff --git a/imageConfigConfig.php b/imageConfigConfig.php index 769f0fb..4ecffba 100644 --- a/imageConfigConfig.php +++ b/imageConfigConfig.php @@ -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; + } + } + } + } /* *