com.twilio.sdk.resource.factory.taskrouter
Interface WorkerFactory

All Known Implementing Classes:
WorkerList

public interface WorkerFactory

A factory for creating Workers.


Method Summary
 Worker create(List<org.apache.http.NameValuePair> params)
          Creates a worker.
 Worker create(Map<String,String> params)
          Creates a worker.
 

Method Detail

create

Worker create(Map<String,String> params)
              throws TwilioRestException
Creates a worker.

Parameters:
params - the params list
Returns:
a worker
Throws:
TwilioRestException

create

Worker create(List<org.apache.http.NameValuePair> params)
              throws TwilioRestException
Creates a worker.

Parameters:
params - the params list
Returns:
a worker
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.