UpdateConferenceTemplateParticipantRequest.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_UpdateConferenceTemplateParticipantRequest
  35. extends Zend_Service_DeveloperGarden_Request_RequestAbstract
  36. {
  37. /**
  38. * the template id
  39. *
  40. * @var string
  41. */
  42. public $templateId = null;
  43. /**
  44. * the participant id
  45. *
  46. * @var string
  47. */
  48. public $participantId = null;
  49. /**
  50. * the participant details
  51. *
  52. * @var Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail
  53. */
  54. public $participant = null;
  55. /**
  56. * constructor
  57. *
  58. * @param integer $environment
  59. * @param string $templateId
  60. * @param string $participantId
  61. * @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
  62. */
  63. public function __construct($environment, $templateId, $participantId,
  64. Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant = null
  65. ) {
  66. parent::__construct($environment);
  67. $this->setTemplateId($templateId)
  68. ->setParticipantId($participantId)
  69. ->setParticipant($participant);
  70. }
  71. /**
  72. * set the template id
  73. *
  74. * @param string $templateId
  75. * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceTemplateParticipantRequest
  76. */
  77. public function setTemplateId($templateId)
  78. {
  79. $this->templateId = $templateId;
  80. return $this;
  81. }
  82. /**
  83. * set the participant id
  84. *
  85. * @param string $participantId
  86. * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceTemplateParticipantRequest
  87. */
  88. public function setParticipantId($participantId)
  89. {
  90. $this->participantId = $participantId;
  91. return $this;
  92. }
  93. /**
  94. * sets new participant
  95. *
  96. * @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
  97. * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceTemplateParticipantRequest
  98. */
  99. public function setParticipant(
  100. Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
  101. ) {
  102. $this->participant = $participant;
  103. return $this;
  104. }
  105. }