_propDict)) { if (is_a($this->_propDict["clauses"], "\Microsoft\Graph\Model\FilterClause") || is_null($this->_propDict["clauses"])) { return $this->_propDict["clauses"]; } else { $this->_propDict["clauses"] = new FilterClause($this->_propDict["clauses"]); return $this->_propDict["clauses"]; } } return null; } /** * Sets the clauses * Filter clauses (conditions) of this group. All clauses in a group must be satisfied in order for the filter group to evaluate to true. * * @param FilterClause $val The value to assign to the clauses * * @return FilterGroup The FilterGroup */ public function setClauses($val) { $this->_propDict["clauses"] = $val; return $this; } /** * Gets the name * Human-readable name of the filter group. * * @return string|null The name */ public function getName() { if (array_key_exists("name", $this->_propDict)) { return $this->_propDict["name"]; } else { return null; } } /** * Sets the name * Human-readable name of the filter group. * * @param string $val The value of the name * * @return FilterGroup */ public function setName($val) { $this->_propDict["name"] = $val; return $this; } }