_propDict)) { if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\CloudPcManagementAssignmentTarget") || is_null($this->_propDict["target"])) { return $this->_propDict["target"]; } else { $this->_propDict["target"] = new CloudPcManagementAssignmentTarget($this->_propDict["target"]); return $this->_propDict["target"]; } } return null; } /** * Sets the target * The assignment target for the provisioning policy. Currently, the only target supported for this policy is a user group. For details, see cloudPcManagementGroupAssignmentTarget. * * @param CloudPcManagementAssignmentTarget $val The target * * @return CloudPcProvisioningPolicyAssignment */ public function setTarget($val) { $this->_propDict["target"] = $val; return $this; } /** * Gets the assignedUsers * The assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. This property is read-only. Supports$expand. * * @return array|null The assignedUsers */ public function getAssignedUsers() { if (array_key_exists("assignedUsers", $this->_propDict)) { return $this->_propDict["assignedUsers"]; } else { return null; } } /** * Sets the assignedUsers * The assignment targeted users for the provisioning policy. This list of users is computed based on assignments, licenses, group memberships, and policies. This property is read-only. Supports$expand. * * @param User[] $val The assignedUsers * * @return CloudPcProvisioningPolicyAssignment */ public function setAssignedUsers($val) { $this->_propDict["assignedUsers"] = $val; return $this; } }