_propDict)) { return $this->_propDict["isRequired"]; } else { return null; } } /** * Sets the isRequired * The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes will not return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations. * * @param bool $val The value of the isRequired * * @return LocationConstraint */ public function setIsRequired($val) { $this->_propDict["isRequired"] = $val; return $this; } /** * Gets the locations * Constraint information for one or more locations that the client requests for the meeting. * * @return LocationConstraintItem|null The locations */ public function getLocations() { if (array_key_exists("locations", $this->_propDict)) { if (is_a($this->_propDict["locations"], "\Beta\Microsoft\Graph\Model\LocationConstraintItem") || is_null($this->_propDict["locations"])) { return $this->_propDict["locations"]; } else { $this->_propDict["locations"] = new LocationConstraintItem($this->_propDict["locations"]); return $this->_propDict["locations"]; } } return null; } /** * Sets the locations * Constraint information for one or more locations that the client requests for the meeting. * * @param LocationConstraintItem $val The value to assign to the locations * * @return LocationConstraint The LocationConstraint */ public function setLocations($val) { $this->_propDict["locations"] = $val; return $this; } /** * Gets the suggestLocation * The client requests the service to suggest one or more meeting locations. * * @return bool|null The suggestLocation */ public function getSuggestLocation() { if (array_key_exists("suggestLocation", $this->_propDict)) { return $this->_propDict["suggestLocation"]; } else { return null; } } /** * Sets the suggestLocation * The client requests the service to suggest one or more meeting locations. * * @param bool $val The value of the suggestLocation * * @return LocationConstraint */ public function setSuggestLocation($val) { $this->_propDict["suggestLocation"] = $val; return $this; } }