TemplateKvm.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?php
  2. /* * ********************************************************************
  3. * ProxmoxVPS product developed. (2016-12-16)
  4. * *
  5. *
  6. * CREATED BY MODULESGARDEN -> http://modulesgarden.com
  7. * CONTACT -> contact@modulesgarden.com
  8. *
  9. *
  10. * This software is furnished under a license and may be used and copied
  11. * only in accordance with the terms of such license and with the
  12. * inclusion of the above copyright notice. This software or any other
  13. * copies thereof may not be provided or otherwise made available to any
  14. * other person. No title to and ownership of the software is hereby
  15. * transferred.
  16. *
  17. *
  18. * ******************************************************************** */
  19. namespace MGProvision\Proxmox\v2\models;
  20. /**
  21. * Description of TemplateKvm
  22. *
  23. * @author Pawel Kopec <pawelk@modulesgarden.com>
  24. * @version 1.0.0
  25. */
  26. class TemplateKvm extends File
  27. {
  28. protected $vmid;
  29. protected $node;
  30. protected $format;
  31. protected $name;
  32. protected $description;
  33. public function getVmid()
  34. {
  35. return $this->vmid;
  36. }
  37. public function getNode()
  38. {
  39. return $this->node;
  40. }
  41. public function getFormat()
  42. {
  43. return $this->format;
  44. }
  45. public function getName()
  46. {
  47. return $this->name;
  48. }
  49. public function getDescription()
  50. {
  51. return $this->description;
  52. }
  53. public function setVmid($vmid)
  54. {
  55. $this->vmid = $vmid;
  56. return $this;
  57. }
  58. public function setNode($node)
  59. {
  60. $this->node = $node;
  61. return $this;
  62. }
  63. public function setFormat($format)
  64. {
  65. $this->format = $format;
  66. return $this;
  67. }
  68. public function setName($name)
  69. {
  70. $this->name = $name;
  71. return $this;
  72. }
  73. public function setDescription($description)
  74. {
  75. $this->description = $description;
  76. return $this;
  77. }
  78. }