Name of the resource. If conversion to unicode somehow
        didn't go well value is returned in base64 encoding.

def name(self):
        """Name of the resource. If conversion to unicode somehow
        didn't go well value is returned in base64 encoding."""
        return (
            self._raw_data.get(ATTR_NAME_UNICODE)
            or self._raw_data.get(ATTR_NAME)
            or ""
        )