public class OriginationUrl extends Resource
| Modifier and Type | Method and Description |
|---|---|
static OriginationUrlCreator |
creator(String pathTrunkSid,
Integer weight,
Integer priority,
Boolean enabled,
String friendlyName,
URI sipUrl)
Create a OriginationUrlCreator to execute create.
|
static OriginationUrlDeleter |
deleter(String pathTrunkSid,
String pathSid)
Create a OriginationUrlDeleter to execute delete.
|
boolean |
equals(Object o) |
static OriginationUrlFetcher |
fetcher(String pathTrunkSid,
String pathSid)
Create a OriginationUrlFetcher to execute fetch.
|
static OriginationUrl |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a OriginationUrl object using the provided
ObjectMapper.
|
static OriginationUrl |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a OriginationUrl object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
Boolean |
getEnabled()
Returns The The enabled.
|
String |
getFriendlyName()
Returns The The friendly_name.
|
Integer |
getPriority()
Returns The The priority.
|
String |
getSid()
Returns The The sid.
|
URI |
getSipUrl()
Returns The The sip_url.
|
String |
getTrunkSid()
Returns The The trunk_sid.
|
URI |
getUrl()
Returns The The url.
|
Integer |
getWeight()
Returns The The weight.
|
int |
hashCode() |
static OriginationUrlReader |
reader(String pathTrunkSid)
Create a OriginationUrlReader to execute read.
|
String |
toString() |
static OriginationUrlUpdater |
updater(String pathTrunkSid,
String pathSid)
Create a OriginationUrlUpdater to execute update.
|
public static OriginationUrlFetcher fetcher(String pathTrunkSid, String pathSid)
pathTrunkSid - The trunk_sidpathSid - The sidpublic static OriginationUrlDeleter deleter(String pathTrunkSid, String pathSid)
pathTrunkSid - The trunk_sidpathSid - The sidpublic static OriginationUrlCreator creator(String pathTrunkSid, Integer weight, Integer priority, Boolean enabled, String friendlyName, URI sipUrl)
pathTrunkSid - The trunk_sidweight - The weightpriority - The priorityenabled - The enabledfriendlyName - The friendly_namesipUrl - The sip_urlpublic static OriginationUrlReader reader(String pathTrunkSid)
pathTrunkSid - The trunk_sidpublic static OriginationUrlUpdater updater(String pathTrunkSid, String pathSid)
pathTrunkSid - The trunk_sidpathSid - The sidpublic static OriginationUrl fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static OriginationUrl fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getAccountSid()
public final String getSid()
public final String getTrunkSid()
public final Integer getWeight()
public final Boolean getEnabled()
public final URI getSipUrl()
public final String getFriendlyName()
public final Integer getPriority()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.