http://modulesgarden.com * CONTACT -> contact@modulesgarden.com * * * This software is furnished under a license and may be used and copied * only in accordance with the terms of such license and with the * inclusion of the above copyright notice. This software or any other * copies thereof may not be provided or otherwise made available to any * other person. No title to and ownership of the software is hereby * transferred. * * * ******************************************************************** */ namespace MGProvision\Proxmox\v2\models; /** * Description of Storage * * @author Pawel Kopec * @version 1.0.0 */ class Storage extends AbstractObject { protected $used; protected $content; protected $shared; protected $storage; protected $active; protected $type; protected $total; protected $avail; protected $path; public function getUsed() { return $this->used; } public function getContent() { return $this->content; } public function getContentAsArray(){ return explode(",", $this->content); } public function getShared() { return $this->shared; } public function getStorage() { return $this->storage; } public function getActive() { return $this->active; } public function getType() { return $this->type; } public function getTotal() { return $this->total; } public function getAvail() { return $this->avail; } public function setUsed($used) { $this->used = $used; return $this; } public function setContent($content) { $this->content = $content; return $this; } public function setShared($shared) { $this->shared = $shared; return $this; } public function setStorage($storage) { $this->storage = $storage; return $this; } public function setActive($active) { $this->active = $active; return $this; } public function setType($type) { $this->type = $type; return $this; } public function setTotal($total) { $this->total = $total; return $this; } public function setAvail($avail) { $this->avail = $avail; return $this; } /** * @return mixed */ public function getPath() { return $this->path; } /** * @param mixed $path * @return Storage */ public function setPath($path) { $this->path = $path; return $this; } }