Class OriginationUrlCreator
- java.lang.Object
-
- com.twilio.base.Creator<OriginationUrl>
-
- com.twilio.rest.trunking.v1.trunk.OriginationUrlCreator
-
public class OriginationUrlCreator extends Creator<OriginationUrl>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OriginationUrl
create(TwilioRestClient client)
Execute a request using specified client.OriginationUrlCreator
setEnabled(Boolean enabled)
OriginationUrlCreator
setFriendlyName(String friendlyName)
OriginationUrlCreator
setPriority(Integer priority)
OriginationUrlCreator
setSipUrl(String sipUrl)
OriginationUrlCreator
setSipUrl(URI sipUrl)
OriginationUrlCreator
setWeight(Integer weight)
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Method Detail
-
setWeight
public OriginationUrlCreator setWeight(Integer weight)
-
setPriority
public OriginationUrlCreator setPriority(Integer priority)
-
setEnabled
public OriginationUrlCreator setEnabled(Boolean enabled)
-
setFriendlyName
public OriginationUrlCreator setFriendlyName(String friendlyName)
-
setSipUrl
public OriginationUrlCreator setSipUrl(URI sipUrl)
-
setSipUrl
public OriginationUrlCreator setSipUrl(String sipUrl)
-
create
public OriginationUrl create(TwilioRestClient client)
Description copied from class:Creator
Execute a request using specified client.- Specified by:
create
in classCreator<OriginationUrl>
- Parameters:
client
- client used to make request- Returns:
- Requested object
-
-