_propDict)) { return $this->_propDict["memberType"]; } else { return null; } } /** * Sets the memberType * How the role eligibility is inherited. It can either be Inherited, Direct, or Group. It can further imply whether the unifiedRoleEligibilitySchedule can be managed by the caller. Supports $filter (eq, ne). * * @param string $val The memberType * * @return UnifiedRoleEligibilitySchedule */ public function setMemberType($val) { $this->_propDict["memberType"] = $val; return $this; } /** * Gets the scheduleInfo * The period of the role eligibility. * * @return RequestSchedule|null The scheduleInfo */ public function getScheduleInfo() { if (array_key_exists("scheduleInfo", $this->_propDict)) { if (is_a($this->_propDict["scheduleInfo"], "\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) { return $this->_propDict["scheduleInfo"]; } else { $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); return $this->_propDict["scheduleInfo"]; } } return null; } /** * Sets the scheduleInfo * The period of the role eligibility. * * @param RequestSchedule $val The scheduleInfo * * @return UnifiedRoleEligibilitySchedule */ public function setScheduleInfo($val) { $this->_propDict["scheduleInfo"] = $val; return $this; } }