diff options
author | Tom077 <thomas.pochetat@wanadoo.fr> | 2017-11-13 19:02:25 +0100 |
---|---|---|
committer | Tom077 <thomas.pochetat@wanadoo.fr> | 2017-11-13 19:03:06 +0100 |
commit | c84bf6b462cc43854fa7e04ce0fa71cadd4eadc7 (patch) | |
tree | 42d8e3287fde8201ddad7c5f79929ea5a7a5349a /endpoints/lib | |
parent | 4c639d47106d0e5a272ef4a75eeaf7cb3a4a9d05 (diff) | |
download | phpvirtualbox-c84bf6b462cc43854fa7e04ce0fa71cadd4eadc7.zip phpvirtualbox-c84bf6b462cc43854fa7e04ce0fa71cadd4eadc7.tar.gz phpvirtualbox-c84bf6b462cc43854fa7e04ce0fa71cadd4eadc7.tar.bz2 |
4 SOAP functions fixed
related to snapshot functionalities and storage controllers GUI
Diffstat (limited to 'endpoints/lib')
-rw-r--r-- | endpoints/lib/vboxServiceWrappers.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/endpoints/lib/vboxServiceWrappers.php b/endpoints/lib/vboxServiceWrappers.php index b9ff86b..e9fc884 100644 --- a/endpoints/lib/vboxServiceWrappers.php +++ b/endpoints/lib/vboxServiceWrappers.php @@ -1966,7 +1966,7 @@ class IMachine extends VBox_ManagedObject $request->name = $arg_name; $request->controllerPort = $arg_controllerPort; $request->device = $arg_device; - $request->temporaryEject = $arg_temporaryEject; + $request->temporaryEject = $arg_temporaryEject === null ? false : $arg_temporaryEject; $response = $this->connection->__soapCall('IMachine_temporaryEjectDevice', array((array)$request)); return ; } @@ -1978,7 +1978,7 @@ class IMachine extends VBox_ManagedObject $request->name = $arg_name; $request->controllerPort = $arg_controllerPort; $request->device = $arg_device; - $request->nonRotational = $arg_nonRotational; + $request->nonRotational = $arg_nonRotational === null ? false : $arg_nonRotational; $response = $this->connection->__soapCall('IMachine_nonRotationalDevice', array((array)$request)); return ; } @@ -2002,7 +2002,7 @@ class IMachine extends VBox_ManagedObject $request->name = $arg_name; $request->controllerPort = $arg_controllerPort; $request->device = $arg_device; - $request->hotPluggable = $arg_hotPluggable; + $request->hotPluggable = $arg_hotPluggable === null ? false : $arg_hotPluggable; $response = $this->connection->__soapCall('IMachine_setHotPluggableForDevice', array((array)$request)); return ; } @@ -2623,7 +2623,7 @@ class IMachine extends VBox_ManagedObject $request->_this = $this->handle; $request->name = $arg_name; $request->description = $arg_description; - $request->pause = $arg_pause; + $request->pause = $arg_pause === null ? true : $arg_pause; $response = $this->connection->__soapCall('IMachine_takeSnapshot', array((array)$request)); return array(new IProgress ($this->connection, $response->returnval), (string)$response->id); } |