diff -r 000000000000 -r 4eba9c11703f web/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateParticipantRequest.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Service/DeveloperGarden/Request/ConferenceCall/UpdateParticipantRequest.php Mon Dec 13 18:29:26 2010 +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; + } +}