GetQuotaInformationResponse.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_Service
  17. * @subpackage DeveloperGarden
  18. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id$
  21. */
  22. /**
  23. * @see Zend_Service_DeveloperGarden_Response_ResponseAbstract
  24. */
  25. require_once 'Zend/Service/DeveloperGarden/Response/ResponseAbstract.php';
  26. /**
  27. * @category Zend
  28. * @package Zend_Service
  29. * @subpackage DeveloperGarden
  30. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  31. * @author Marco Kaiser
  32. * @license http://framework.zend.com/license/new-bsd New BSD License
  33. */
  34. class Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse
  35. extends Zend_Service_DeveloperGarden_Response_ResponseAbstract
  36. {
  37. /**
  38. * System defined limit of quota points per day
  39. *
  40. * @var integer
  41. */
  42. public $maxQuota = null;
  43. /**
  44. * User specific limit of quota points per day
  45. * cant be more than $maxQuota
  46. *
  47. * @var integer
  48. */
  49. public $maxUserQuota = null;
  50. /**
  51. * Used quota points for the current day
  52. *
  53. * @var integer
  54. */
  55. public $quotaLevel = null;
  56. /**
  57. * returns the quotaLevel
  58. *
  59. * @return integer
  60. */
  61. public function getQuotaLevel()
  62. {
  63. return $this->quotaLevel;
  64. }
  65. /**
  66. * returns the maxUserQuota
  67. *
  68. * @return integer
  69. */
  70. public function getMaxUserQuota()
  71. {
  72. return $this->maxUserQuota;
  73. }
  74. /**
  75. * return the maxQuota
  76. *
  77. * @return integer
  78. */
  79. public function getMaxQuota()
  80. {
  81. return $this->maxQuota;
  82. }
  83. }