diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateParticipantRequest.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateParticipantRequest.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,138 @@ +setConferenceId($conferenceId) + ->setParticipantId($participantId) + ->setAction($action) + ->setParticipant($participant); + } + + /** + * set the conference id + * + * @param string $conferenceId + * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateParticipantRequest + */ + public function setConferenceId($conferenceId) + { + $this->conferenceId = $conferenceId; + return $this; + } + + /** + * set the participant id + * + * @param string $participantId + * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateParticipantRequest + */ + public function setParticipantId($participantId) + { + $this->participantId = $participantId; + return $this; + } + + /** + * sets new action + * + * @param integer $action + * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateParticipantRequest + */ + public function setAction($action = null) + { + if ($action !== null) { + Zend_Service_DeveloperGarden_ConferenceCall::checkParticipantAction($action); + } + $this->action = $action; + return $this; + } + + /** + * sets new participant + * + * @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant + * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateParticipantRequest + */ + public function setParticipant( + Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant = null + ) { + $this->participant = $participant; + return $this; + } +}