com.twilio.sdk.resource.factory
Interface IncomingPhoneNumberFactory

All Known Implementing Classes:
IncomingPhoneNumberList

public interface IncomingPhoneNumberFactory

A factory for creating IncomingPhoneNumber objects.


Method Summary
 IncomingPhoneNumber create(List<org.apache.http.NameValuePair> params)
          Creates the IncomingPhoneNumber
 IncomingPhoneNumber create(Map<String,String> params)
          Creates the IncomingPhoneNumber
 

Method Detail

create

IncomingPhoneNumber create(Map<String,String> params)
                           throws TwilioRestException
Creates the IncomingPhoneNumber

Parameters:
params - the params map
Returns:
the incoming phone number
Throws:
TwilioRestException

create

IncomingPhoneNumber create(List<org.apache.http.NameValuePair> params)
                           throws TwilioRestException
Creates the IncomingPhoneNumber

Parameters:
params - the param list
Returns:
the incoming phone number
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.