_propDict)) { if (is_a($this->_propDict["completedDateTime"], "Microsoft\Graph\Model\DateTimeTimeZone")) { return $this->_propDict["completedDateTime"]; } else { $this->_propDict["completedDateTime"] = new DateTimeTimeZone($this->_propDict["completedDateTime"]); return $this->_propDict["completedDateTime"]; } } return null; } /** * Sets the completedDateTime * The date and time that the follow-up was finished. * * @param DateTimeTimeZone $val The value to assign to the completedDateTime * * @return FollowupFlag The FollowupFlag */ public function setCompletedDateTime($val) { $this->_propDict["completedDateTime"] = $val; return $this; } /** * Gets the dueDateTime * The date and time that the follow up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you will get a 400 Bad Request response. * * @return DateTimeTimeZone The dueDateTime */ public function getDueDateTime() { if (array_key_exists("dueDateTime", $this->_propDict)) { if (is_a($this->_propDict["dueDateTime"], "Microsoft\Graph\Model\DateTimeTimeZone")) { return $this->_propDict["dueDateTime"]; } else { $this->_propDict["dueDateTime"] = new DateTimeTimeZone($this->_propDict["dueDateTime"]); return $this->_propDict["dueDateTime"]; } } return null; } /** * Sets the dueDateTime * The date and time that the follow up is to be finished. Note: To set the due date, you must also specify the startDateTime; otherwise, you will get a 400 Bad Request response. * * @param DateTimeTimeZone $val The value to assign to the dueDateTime * * @return FollowupFlag The FollowupFlag */ public function setDueDateTime($val) { $this->_propDict["dueDateTime"] = $val; return $this; } /** * Gets the startDateTime * The date and time that the follow-up is to begin. * * @return DateTimeTimeZone The startDateTime */ public function getStartDateTime() { if (array_key_exists("startDateTime", $this->_propDict)) { if (is_a($this->_propDict["startDateTime"], "Microsoft\Graph\Model\DateTimeTimeZone")) { return $this->_propDict["startDateTime"]; } else { $this->_propDict["startDateTime"] = new DateTimeTimeZone($this->_propDict["startDateTime"]); return $this->_propDict["startDateTime"]; } } return null; } /** * Sets the startDateTime * The date and time that the follow-up is to begin. * * @param DateTimeTimeZone $val The value to assign to the startDateTime * * @return FollowupFlag The FollowupFlag */ public function setStartDateTime($val) { $this->_propDict["startDateTime"] = $val; return $this; } /** * Gets the flagStatus * The status for follow-up for an item. Possible values are notFlagged, complete, and flagged. * * @return FollowupFlagStatus The flagStatus */ public function getFlagStatus() { if (array_key_exists("flagStatus", $this->_propDict)) { if (is_a($this->_propDict["flagStatus"], "Microsoft\Graph\Model\FollowupFlagStatus")) { return $this->_propDict["flagStatus"]; } else { $this->_propDict["flagStatus"] = new FollowupFlagStatus($this->_propDict["flagStatus"]); return $this->_propDict["flagStatus"]; } } return null; } /** * Sets the flagStatus * The status for follow-up for an item. Possible values are notFlagged, complete, and flagged. * * @param FollowupFlagStatus $val The value to assign to the flagStatus * * @return FollowupFlag The FollowupFlag */ public function setFlagStatus($val) { $this->_propDict["flagStatus"] = $val; return $this; } }