_propDict)) { return $this->_propDict["targetGroupId"]; } else { return null; } } /** * Sets the targetGroupId * Unique identifier of a group that the T&C policy is assigned to. * * @param string $val The targetGroupId * * @return TermsAndConditionsGroupAssignment */ public function setTargetGroupId($val) { $this->_propDict["targetGroupId"] = $val; return $this; } /** * Gets the termsAndConditions * Navigation link to the terms and conditions that are assigned. * * @return TermsAndConditions|null The termsAndConditions */ public function getTermsAndConditions() { if (array_key_exists("termsAndConditions", $this->_propDict)) { if (is_a($this->_propDict["termsAndConditions"], "\Beta\Microsoft\Graph\Model\TermsAndConditions") || is_null($this->_propDict["termsAndConditions"])) { return $this->_propDict["termsAndConditions"]; } else { $this->_propDict["termsAndConditions"] = new TermsAndConditions($this->_propDict["termsAndConditions"]); return $this->_propDict["termsAndConditions"]; } } return null; } /** * Sets the termsAndConditions * Navigation link to the terms and conditions that are assigned. * * @param TermsAndConditions $val The termsAndConditions * * @return TermsAndConditionsGroupAssignment */ public function setTermsAndConditions($val) { $this->_propDict["termsAndConditions"] = $val; return $this; } }