code: def update(self, capacity=values.unset, available=values.unset):
          
          data = values.of({'Capacity': capacity, 'Available': available, })
  
          payload = self._version.update(
              'POST',
              self._uri,
              data=data,
          )
  
          return WorkerChannelInstance(
              self._version,
              payload,
              workspace_sid=self._solution['workspace_sid'],
              worker_sid=self._solution['worker_sid'],
              sid=self._solution['sid'],
          )
docs: Update the WorkerChannelInstance
  
          :param unicode capacity: The total number of Tasks worker should handle for this TaskChannel type.
          :param bool available: Toggle the availability of the WorkerChannel.
  
          :returns: Updated WorkerChannelInstance
          :rtype: twilio.rest.taskrouter.v1.workspace.worker.worker_channel.WorkerChannelInstance