CreateConferenceTemplateRequest.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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_CreateConferenceTemplateRequest
  35. extends Zend_Service_DeveloperGarden_Request_RequestAbstract
  36. {
  37. /**
  38. * unique owner id
  39. *
  40. * @var string
  41. */
  42. public $ownerId = null;
  43. /**
  44. * object with details for this conference
  45. *
  46. * @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail
  47. */
  48. public $detail = null;
  49. /**
  50. * array with Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail elements
  51. *
  52. * @var array
  53. */
  54. public $participants = null;
  55. /**
  56. * constructor
  57. *
  58. * @param integer $environment
  59. * @param string $ownerId
  60. * @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails
  61. * @param array $conferenceParticipants
  62. */
  63. public function __construct($environment, $ownerId,
  64. Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails,
  65. array $conferenceParticipants = null
  66. ) {
  67. parent::__construct($environment);
  68. $this->setOwnerId($ownerId)
  69. ->setDetail($conferenceDetails)
  70. ->setParticipants($conferenceParticipants);
  71. }
  72. /**
  73. * sets $participants
  74. *
  75. * @param array $participants
  76. * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceTemplateRequest
  77. */
  78. public function setParticipants(array $participants = null)
  79. {
  80. $this->participants = $participants;
  81. return $this;
  82. }
  83. /**
  84. * sets $detail
  85. *
  86. * @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail
  87. * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceTemplateRequest
  88. */
  89. public function setDetail(Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail)
  90. {
  91. $this->detail = $detail;
  92. return $this;
  93. }
  94. /**
  95. * sets $ownerId
  96. *
  97. * @param string $ownerId
  98. * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceTemplateRequest
  99. */
  100. public function setOwnerId($ownerId)
  101. {
  102. $this->ownerId = $ownerId;
  103. return $this;
  104. }
  105. }