public class OriginationUrlCreator extends Creator<OriginationUrl>
Constructor and Description |
---|
OriginationUrlCreator(String trunkSid,
Integer weight,
Integer priority,
Boolean enabled,
String friendlyName,
URI sipUrl)
Construct a new OriginationUrlCreator.
|
Modifier and Type | Method and Description |
---|---|
OriginationUrl |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
public OriginationUrlCreator(String trunkSid, Integer weight, Integer priority, Boolean enabled, String friendlyName, URI sipUrl)
trunkSid
- The trunk_sidweight
- The weightpriority
- The priorityenabled
- The enabledfriendlyName
- The friendly_namesipUrl
- The sip_urlpublic OriginationUrl execute(TwilioRestClient client)
execute
in class Creator<OriginationUrl>
client
- TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.