_propDict)) { if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) { return $this->_propDict["recurrence"]; } else { $this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]); return $this->_propDict["recurrence"]; } } return null; } /** * Sets the recurrence * Detailed settings for recurrence using the standard Outlook recurrence object. Note: Only dayOfMonth, interval, and type (weekly, absoluteMonthly) properties are supported. Use the property startDate on recurrenceRange to determine the day the review starts. Required. * * @param PatternedRecurrence $val The value to assign to the recurrence * * @return AccessReviewHistoryScheduleSettings The AccessReviewHistoryScheduleSettings */ public function setRecurrence($val) { $this->_propDict["recurrence"] = $val; return $this; } /** * Gets the reportRange * A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the first of every month, the reportRange is P1M. In this case, on the first of every month, access review history data is collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required. * * @return string|null The reportRange */ public function getReportRange() { if (array_key_exists("reportRange", $this->_propDict)) { return $this->_propDict["reportRange"]; } else { return null; } } /** * Sets the reportRange * A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the first of every month, the reportRange is P1M. In this case, on the first of every month, access review history data is collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required. * * @param string $val The value of the reportRange * * @return AccessReviewHistoryScheduleSettings */ public function setReportRange($val) { $this->_propDict["reportRange"] = $val; return $this; } }