com.twilio.sdk.resource.factory.taskrouter.ActivityFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of twilio-java-sdk Show documentation
Show all versions of twilio-java-sdk Show documentation
Release Candidate for Next-Gen Twilio Java Helper Library
package com.twilio.sdk.resource.factory.taskrouter;
import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.taskrouter.Activity;
import org.apache.http.NameValuePair;
import java.util.List;
import java.util.Map;
/**
* A factory for creating Activities.
*/
public interface ActivityFactory {
/**
* Creates an activity.
*
* @param params the params list
* @return a activity
* @throws com.twilio.sdk.TwilioRestException
*/
public Activity create(Map params) throws TwilioRestException;
/**
* Creates an activity.
*
* @param params the params list
* @return a activity
* @throws TwilioRestException
*/
public Activity create(List params) throws TwilioRestException;
}