_propDict)) { return $this->_propDict["enrollments"]; } else { return null; } } /** * Sets the enrollments * Specifies areas of the service in which the device is enrolled. Read-only. Returned by default. * * @param UpdatableAssetEnrollment[] $val The enrollments * * @return AzureADDevice */ public function setEnrollments($val) { $this->_propDict["enrollments"] = $val; return $this; } /** * Gets the errors * Specifies any errors that prevent the device from being enrolled in update management or receving deployed content. Read-only. Returned by default. * * @return array|null The errors */ public function getErrors() { if (array_key_exists("errors", $this->_propDict)) { return $this->_propDict["errors"]; } else { return null; } } /** * Sets the errors * Specifies any errors that prevent the device from being enrolled in update management or receving deployed content. Read-only. Returned by default. * * @param UpdatableAssetError[] $val The errors * * @return AzureADDevice */ public function setErrors($val) { $this->_propDict["errors"] = $val; return $this; } }