com.twilio.sdk.resource.factory.sip.DomainFactory Maven / Gradle / Ivy
package com.twilio.sdk.resource.factory.sip;
import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.sip.Domain;
import org.apache.http.NameValuePair;
import java.util.List;
import java.util.Map;
// TODO: Auto-generated Javadoc
/**
* A factory for creating Domain objects.
*
* For more information see https://www.twilio.com/docs/api/rest/sip-domain
*
*/
public interface DomainFactory {
/**
* Creates the sip domain.
*
* @param params the params map
* @return the sip domain
* @throws TwilioRestException
*/
public Domain create(Map params) throws TwilioRestException;
/**
* Creates the sip domain.
*
* @param params the params list
* @return the sip domain
* @throws TwilioRestException
*/
public Domain create(List params) throws TwilioRestException;
}