NewParticipantRequest.php 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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_Request_RequestAbstract
  24. */
  25. require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.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_Request_ConferenceCall_NewParticipantRequest
  35. extends Zend_Service_DeveloperGarden_Request_RequestAbstract
  36. {
  37. /**
  38. * the conference id
  39. *
  40. * @var string
  41. */
  42. public $conferenceId = null;
  43. /**
  44. * conference participant
  45. *
  46. * @var Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail
  47. */
  48. public $participant = null;
  49. /**
  50. * constructor
  51. *
  52. * @param integer $environment
  53. * @param string $conferenceId
  54. * @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
  55. */
  56. public function __construct($environment, $conferenceId,
  57. Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant)
  58. {
  59. parent::__construct($environment);
  60. $this->setConferenceId($conferenceId)
  61. ->setParticipant($participant);
  62. }
  63. /**
  64. * set the conference id
  65. *
  66. * @param string $conferenceId
  67. * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_NewParticipantRequest
  68. */
  69. public function setConferenceId($conferenceId)
  70. {
  71. $this->conferenceId = $conferenceId;
  72. return $this;
  73. }
  74. /**
  75. * sets new participant
  76. *
  77. * @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
  78. * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_NewParticipantRequest
  79. */
  80. public function setParticipant(Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant)
  81. {
  82. $this->participant = $participant;
  83. return $this;
  84. }
  85. }