| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?php
- /* * ********************************************************************
- * ProxmoxVPS product developed. (2016-10-11)
- * *
- *
- * CREATED BY MODULESGARDEN -> 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 <pawelk@modulesgarden.com>
- * @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;
- }
- }
|