com.twilio.sdk.resource.factory.UsageTriggerFactory Maven / Gradle / Ivy
package com.twilio.sdk.resource.factory;
import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.UsageTrigger;
import org.apache.http.NameValuePair;
import java.util.List;
import java.util.Map;
/**
* A factory for creating Usage Trigger objects.
*/
public interface UsageTriggerFactory {
/**
* Creates the UsageTrigger
*
* @param params the params
* @return the sms
* @throws com.twilio.sdk.TwilioRestException
*/
public UsageTrigger create(Map params) throws TwilioRestException;
/**
* Creates the UsageTrigger
*
* @param params the params
* @return the sms
* @throws com.twilio.sdk.TwilioRestException
*/
public UsageTrigger create(List params) throws TwilioRestException;
}