com.twilio.sdk.resource.factory.IncomingPhoneNumberFactory Maven / Gradle / Ivy
package com.twilio.sdk.resource.factory;
import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.IncomingPhoneNumber;
import org.apache.http.NameValuePair;
import java.util.List;
import java.util.Map;
// TODO: Auto-generated Javadoc
/**
* A factory for creating IncomingPhoneNumber objects.
*/
public interface IncomingPhoneNumberFactory {
/**
* Creates the IncomingPhoneNumber
*
* @param params the params map
* @return the incoming phone number
* @throws TwilioRestException
*/
public IncomingPhoneNumber create(Map params) throws TwilioRestException;
/**
* Creates the IncomingPhoneNumber
*
* @param params the param list
* @return the incoming phone number
* @throws TwilioRestException
*/
public IncomingPhoneNumber create(List params) throws TwilioRestException;
}