code: def update_subscription_user_settings(self, user_settings, subscription_id, user_id):
          
          route_values = {}
          if subscription_id is not None:
              route_values['subscriptionId'] = self._serialize.url('subscription_id', subscription_id, 'str')
          if user_id is not None:
              route_values['userId'] = self._serialize.url('user_id', user_id, 'str')
          content = self._serialize.body(user_settings, 'SubscriptionUserSettings')
          response = self._send(http_method='PUT',
                                location_id='ed5a3dff-aeb5-41b1-b4f7-89e66e58b62e',
                                version='5.0-preview.1',
                                route_values=route_values,
                                content=content)
          return self._deserialize('SubscriptionUserSettings', response)
docs: UpdateSubscriptionUserSettings.
          [Preview API] Update the specified user's settings for the specified subscription. This API is typically used to opt in or out of a shared subscription. User settings can only be applied to shared subscriptions, like team subscriptions or default subscriptions.
          :param :class:`<SubscriptionUserSettings> <azure.devops.v5_0.notification.models.SubscriptionUserSettings>` user_settings:
          :param str subscription_id:
          :param str user_id: ID of the user
          :rtype: :class:`<SubscriptionUserSettings> <azure.devops.v5_0.notification.models.SubscriptionUserSettings>`