com.twilio.sdk.resource.factory.sip.CredentialFactory 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.sip;
import java.util.Map;
import java.util.List;
import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.sip.Credential;
import org.apache.http.NameValuePair;
// TODO: Auto-generated Javadoc
/**
* A factory for creating Credential objects.
*
* For more information see https://www.twilio.com/docs/api/rest/credential
*
*/
public interface CredentialFactory {
/**
* Creates the credential
*
* @param params the params map
* @return the credential
* @throws TwilioRestException
*/
public Credential create(Map params) throws TwilioRestException;
/**
* Creates the credential
*
* @param params the params list
* @return the credential
* @throws TwilioRestException
*/
public Credential create(List params) throws TwilioRestException;
}