code: def create(self, friendly_name, activity_sid=values.unset,
                 attributes=values.unset):
          
          data = values.of({
              'FriendlyName': friendly_name,
              'ActivitySid': activity_sid,
              'Attributes': attributes,
          })
  
          payload = self._version.create(
              'POST',
              self._uri,
              data=data,
          )
  
          return WorkerInstance(self._version, payload, workspace_sid=self._solution['workspace_sid'], )
docs: Create a new WorkerInstance
  
          :param unicode friendly_name: String representing user-friendly name for the Worker.
          :param unicode activity_sid: A valid Activity describing the worker's initial state.
          :param unicode attributes: JSON object describing this worker.
  
          :returns: Newly created WorkerInstance
          :rtype: twilio.rest.taskrouter.v1.workspace.worker.WorkerInstance