All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twilio.sdk.resource.factory.SmsFactory Maven / Gradle / Ivy

There is a newer version: 7.0.0-rc-10
Show newest version
package com.twilio.sdk.resource.factory;

import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.Sms;
import org.apache.http.NameValuePair;

import java.util.List;
import java.util.Map;

// TODO: Auto-generated Javadoc
/**
 * A factory for creating Sms objects.
 */
public interface SmsFactory {

    /**
	 * Creates the sms.
	 *
	 * @param params the params map
	 * @return the sms
	 * @throws TwilioRestException
	 */
	public Sms create(Map params) throws TwilioRestException;

    /**
	 * Creates the sms.
	 *
	 * @param params the params list
	 * @return the sms
	 * @throws TwilioRestException
	 */
	public Sms create(List params) throws TwilioRestException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy