code: def create(self, unique_name, friendly_name=values.unset, actions=values.unset,
                 actions_url=values.unset):
          
          data = values.of({
              'UniqueName': unique_name,
              'FriendlyName': friendly_name,
              'Actions': serialize.object(actions),
              'ActionsUrl': actions_url,
          })
  
          payload = self._version.create(
              'POST',
              self._uri,
              data=data,
          )
  
          return TaskInstance(self._version, payload, assistant_sid=self._solution['assistant_sid'], )
docs: Create a new TaskInstance
  
          :param unicode unique_name: An application-defined string that uniquely identifies the resource
          :param unicode friendly_name:  descriptive string that you create to describe the new resource
          :param dict actions: The JSON string that specifies the actions that instruct the Assistant on how to perform the task
          :param unicode actions_url: The URL from which the Assistant can fetch actions
  
          :returns: Newly created TaskInstance
          :rtype: twilio.rest.autopilot.v1.assistant.task.TaskInstance