_propDict)) { if (is_a($this->_propDict["state"], "Microsoft\Graph\Model\CallState")) { return $this->_propDict["state"]; } else { $this->_propDict["state"] = new CallState($this->_propDict["state"]); return $this->_propDict["state"]; } } return null; } /** * Sets the state * The call state. Possible values are: incoming, establishing, ringing, established, hold, transferring, transferAccepted, redirecting, terminating, terminated. Read-only. * * @param CallState $val The state * * @return Call */ public function setState($val) { $this->_propDict["state"] = $val; return $this; } /** * Gets the mediaState * Read-only. The call media state. * * @return CallMediaState The mediaState */ public function getMediaState() { if (array_key_exists("mediaState", $this->_propDict)) { if (is_a($this->_propDict["mediaState"], "Microsoft\Graph\Model\CallMediaState")) { return $this->_propDict["mediaState"]; } else { $this->_propDict["mediaState"] = new CallMediaState($this->_propDict["mediaState"]); return $this->_propDict["mediaState"]; } } return null; } /** * Sets the mediaState * Read-only. The call media state. * * @param CallMediaState $val The mediaState * * @return Call */ public function setMediaState($val) { $this->_propDict["mediaState"] = $val; return $this; } /** * Gets the resultInfo * The result information. For example can hold termination reason. Read-only. * * @return ResultInfo The resultInfo */ public function getResultInfo() { if (array_key_exists("resultInfo", $this->_propDict)) { if (is_a($this->_propDict["resultInfo"], "Microsoft\Graph\Model\ResultInfo")) { return $this->_propDict["resultInfo"]; } else { $this->_propDict["resultInfo"] = new ResultInfo($this->_propDict["resultInfo"]); return $this->_propDict["resultInfo"]; } } return null; } /** * Sets the resultInfo * The result information. For example can hold termination reason. Read-only. * * @param ResultInfo $val The resultInfo * * @return Call */ public function setResultInfo($val) { $this->_propDict["resultInfo"] = $val; return $this; } /** * Gets the direction * The direction of the call. The possible value are incoming or outgoing. Read-only. * * @return CallDirection The direction */ public function getDirection() { if (array_key_exists("direction", $this->_propDict)) { if (is_a($this->_propDict["direction"], "Microsoft\Graph\Model\CallDirection")) { return $this->_propDict["direction"]; } else { $this->_propDict["direction"] = new CallDirection($this->_propDict["direction"]); return $this->_propDict["direction"]; } } return null; } /** * Sets the direction * The direction of the call. The possible value are incoming or outgoing. Read-only. * * @param CallDirection $val The direction * * @return Call */ public function setDirection($val) { $this->_propDict["direction"] = $val; return $this; } /** * Gets the subject * The subject of the conversation. * * @return string The subject */ public function getSubject() { if (array_key_exists("subject", $this->_propDict)) { return $this->_propDict["subject"]; } else { return null; } } /** * Sets the subject * The subject of the conversation. * * @param string $val The subject * * @return Call */ public function setSubject($val) { $this->_propDict["subject"] = $val; return $this; } /** * Gets the callbackUri * The callback URL on which callbacks will be delivered. Must be https. * * @return string The callbackUri */ public function getCallbackUri() { if (array_key_exists("callbackUri", $this->_propDict)) { return $this->_propDict["callbackUri"]; } else { return null; } } /** * Sets the callbackUri * The callback URL on which callbacks will be delivered. Must be https. * * @param string $val The callbackUri * * @return Call */ public function setCallbackUri($val) { $this->_propDict["callbackUri"] = $val; return $this; } /** * Gets the callRoutes * The routing information on how the call was retargeted. Read-only. * * @return array The callRoutes */ public function getCallRoutes() { if (array_key_exists("callRoutes", $this->_propDict)) { return $this->_propDict["callRoutes"]; } else { return null; } } /** * Sets the callRoutes * The routing information on how the call was retargeted. Read-only. * * @param CallRoute $val The callRoutes * * @return Call */ public function setCallRoutes($val) { $this->_propDict["callRoutes"] = $val; return $this; } /** * Gets the source * The originator of the call. * * @return ParticipantInfo The source */ public function getSource() { if (array_key_exists("source", $this->_propDict)) { if (is_a($this->_propDict["source"], "Microsoft\Graph\Model\ParticipantInfo")) { return $this->_propDict["source"]; } else { $this->_propDict["source"] = new ParticipantInfo($this->_propDict["source"]); return $this->_propDict["source"]; } } return null; } /** * Sets the source * The originator of the call. * * @param ParticipantInfo $val The source * * @return Call */ public function setSource($val) { $this->_propDict["source"] = $val; return $this; } /** * Gets the targets * The targets of the call. Required information for creating peer to peer call. * * @return array The targets */ public function getTargets() { if (array_key_exists("targets", $this->_propDict)) { return $this->_propDict["targets"]; } else { return null; } } /** * Sets the targets * The targets of the call. Required information for creating peer to peer call. * * @param InvitationParticipantInfo $val The targets * * @return Call */ public function setTargets($val) { $this->_propDict["targets"] = $val; return $this; } /** * Gets the requestedModalities * The list of requested modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data. * * @return array The requestedModalities */ public function getRequestedModalities() { if (array_key_exists("requestedModalities", $this->_propDict)) { return $this->_propDict["requestedModalities"]; } else { return null; } } /** * Sets the requestedModalities * The list of requested modalities. Possible values are: unknown, audio, video, videoBasedScreenSharing, data. * * @param Modality $val The requestedModalities * * @return Call */ public function setRequestedModalities($val) { $this->_propDict["requestedModalities"] = $val; return $this; } /** * Gets the mediaConfig * The media configuration. Required. * * @return MediaConfig The mediaConfig */ public function getMediaConfig() { if (array_key_exists("mediaConfig", $this->_propDict)) { if (is_a($this->_propDict["mediaConfig"], "Microsoft\Graph\Model\MediaConfig")) { return $this->_propDict["mediaConfig"]; } else { $this->_propDict["mediaConfig"] = new MediaConfig($this->_propDict["mediaConfig"]); return $this->_propDict["mediaConfig"]; } } return null; } /** * Sets the mediaConfig * The media configuration. Required. * * @param MediaConfig $val The mediaConfig * * @return Call */ public function setMediaConfig($val) { $this->_propDict["mediaConfig"] = $val; return $this; } /** * Gets the chatInfo * The chat information. Required information for joining a meeting. * * @return ChatInfo The chatInfo */ public function getChatInfo() { if (array_key_exists("chatInfo", $this->_propDict)) { if (is_a($this->_propDict["chatInfo"], "Microsoft\Graph\Model\ChatInfo")) { return $this->_propDict["chatInfo"]; } else { $this->_propDict["chatInfo"] = new ChatInfo($this->_propDict["chatInfo"]); return $this->_propDict["chatInfo"]; } } return null; } /** * Sets the chatInfo * The chat information. Required information for joining a meeting. * * @param ChatInfo $val The chatInfo * * @return Call */ public function setChatInfo($val) { $this->_propDict["chatInfo"] = $val; return $this; } /** * Gets the callOptions * * @return CallOptions The callOptions */ public function getCallOptions() { if (array_key_exists("callOptions", $this->_propDict)) { if (is_a($this->_propDict["callOptions"], "Microsoft\Graph\Model\CallOptions")) { return $this->_propDict["callOptions"]; } else { $this->_propDict["callOptions"] = new CallOptions($this->_propDict["callOptions"]); return $this->_propDict["callOptions"]; } } return null; } /** * Sets the callOptions * * @param CallOptions $val The callOptions * * @return Call */ public function setCallOptions($val) { $this->_propDict["callOptions"] = $val; return $this; } /** * Gets the meetingInfo * The meeting information that's required for joining a meeting. * * @return MeetingInfo The meetingInfo */ public function getMeetingInfo() { if (array_key_exists("meetingInfo", $this->_propDict)) { if (is_a($this->_propDict["meetingInfo"], "Microsoft\Graph\Model\MeetingInfo")) { return $this->_propDict["meetingInfo"]; } else { $this->_propDict["meetingInfo"] = new MeetingInfo($this->_propDict["meetingInfo"]); return $this->_propDict["meetingInfo"]; } } return null; } /** * Sets the meetingInfo * The meeting information that's required for joining a meeting. * * @param MeetingInfo $val The meetingInfo * * @return Call */ public function setMeetingInfo($val) { $this->_propDict["meetingInfo"] = $val; return $this; } /** * Gets the tenantId * * @return string The tenantId */ public function getTenantId() { if (array_key_exists("tenantId", $this->_propDict)) { return $this->_propDict["tenantId"]; } else { return null; } } /** * Sets the tenantId * * @param string $val The tenantId * * @return Call */ public function setTenantId($val) { $this->_propDict["tenantId"] = $val; return $this; } /** * Gets the myParticipantId * Read-only. * * @return string The myParticipantId */ public function getMyParticipantId() { if (array_key_exists("myParticipantId", $this->_propDict)) { return $this->_propDict["myParticipantId"]; } else { return null; } } /** * Sets the myParticipantId * Read-only. * * @param string $val The myParticipantId * * @return Call */ public function setMyParticipantId($val) { $this->_propDict["myParticipantId"] = $val; return $this; } /** * Gets the toneInfo * * @return ToneInfo The toneInfo */ public function getToneInfo() { if (array_key_exists("toneInfo", $this->_propDict)) { if (is_a($this->_propDict["toneInfo"], "Microsoft\Graph\Model\ToneInfo")) { return $this->_propDict["toneInfo"]; } else { $this->_propDict["toneInfo"] = new ToneInfo($this->_propDict["toneInfo"]); return $this->_propDict["toneInfo"]; } } return null; } /** * Sets the toneInfo * * @param ToneInfo $val The toneInfo * * @return Call */ public function setToneInfo($val) { $this->_propDict["toneInfo"] = $val; return $this; } /** * Gets the callChainId * A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in a P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId. * * @return string The callChainId */ public function getCallChainId() { if (array_key_exists("callChainId", $this->_propDict)) { return $this->_propDict["callChainId"]; } else { return null; } } /** * Sets the callChainId * A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in a P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId. * * @param string $val The callChainId * * @return Call */ public function setCallChainId($val) { $this->_propDict["callChainId"] = $val; return $this; } /** * Gets the incomingContext * * @return IncomingContext The incomingContext */ public function getIncomingContext() { if (array_key_exists("incomingContext", $this->_propDict)) { if (is_a($this->_propDict["incomingContext"], "Microsoft\Graph\Model\IncomingContext")) { return $this->_propDict["incomingContext"]; } else { $this->_propDict["incomingContext"] = new IncomingContext($this->_propDict["incomingContext"]); return $this->_propDict["incomingContext"]; } } return null; } /** * Sets the incomingContext * * @param IncomingContext $val The incomingContext * * @return Call */ public function setIncomingContext($val) { $this->_propDict["incomingContext"] = $val; return $this; } /** * Gets the participants * Read-only. Nullable. * * @return array The participants */ public function getParticipants() { if (array_key_exists("participants", $this->_propDict)) { return $this->_propDict["participants"]; } else { return null; } } /** * Sets the participants * Read-only. Nullable. * * @param Participant $val The participants * * @return Call */ public function setParticipants($val) { $this->_propDict["participants"] = $val; return $this; } /** * Gets the operations * Read-only. Nullable. * * @return array The operations */ public function getOperations() { if (array_key_exists("operations", $this->_propDict)) { return $this->_propDict["operations"]; } else { return null; } } /** * Sets the operations * Read-only. Nullable. * * @param CommsOperation $val The operations * * @return Call */ public function setOperations($val) { $this->_propDict["operations"] = $val; return $this; } }