com.twilio.sdk.resource.factory.OutgoingCallerIdFactory 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
Java helper library for Twilio services
package com.twilio.sdk.resource.factory;
import java.util.Map;
import java.util.List;
import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.CallerIdValidation;
import org.apache.http.NameValuePair;
// TODO: Auto-generated Javadoc
/**
* A factory for creating OutgoingCallerId objects.
*/
public interface OutgoingCallerIdFactory {
/**
* Creates the OutgoingCallerId
*
* @param params the params map
* @return the caller id validation
* @throws TwilioRestException
*/
public CallerIdValidation create(Map params) throws TwilioRestException;
/**
* Creates the OutgoingCallerId
*
* @param params the params
* @return the caller id validation
* @throws TwilioRestException
*/
public CallerIdValidation create(List params) throws TwilioRestException;
}