_propDict)) { return $this->_propDict["isAssigned"]; } else { return null; } } /** * Sets the isAssigned * Indicates if the policy is deployed to any inclusion groups or not. * * @param bool $val The isAssigned * * @return TargetedManagedAppProtection */ public function setIsAssigned($val) { $this->_propDict["isAssigned"] = boolval($val); return $this; } /** * Gets the assignments * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. * * @return array|null The assignments */ public function getAssignments() { if (array_key_exists("assignments", $this->_propDict)) { return $this->_propDict["assignments"]; } else { return null; } } /** * Sets the assignments * Navigation property to list of inclusion and exclusion groups to which the policy is deployed. * * @param TargetedManagedAppPolicyAssignment[] $val The assignments * * @return TargetedManagedAppProtection */ public function setAssignments($val) { $this->_propDict["assignments"] = $val; return $this; } }