def get_permissions(self):
if not self.object_id:<EOL><INDENT>return []<EOL><DEDENT>url = self.build_url(<EOL>self._endpoints.get('<STR_LIT>').format(id=self.object_id))<EOL>response = self.con.get(url)<EOL>if not response:<EOL><INDENT>return None<EOL><DEDENT>data = response.json()<EOL>return [DriveItemPermission(parent=self, **{self._cloud_data_key: item})<EOL>for item in data.get('<STR_LIT:value>', [])]<EOL>
Returns a list of DriveItemPermissions with the
        permissions granted for this DriveItem.

        :return: List of Permissions
        :rtype: list[DriveItemPermission]