Package com.twilio.rest.voice.v1
Class ByocTrunk
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.voice.v1.ByocTrunk
-
- All Implemented Interfaces:
Serializable
public class ByocTrunk extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
creator
public static ByocTrunkCreator creator()
-
fetcher
public static ByocTrunkFetcher fetcher(String pathSid)
-
deleter
public static ByocTrunkDeleter deleter(String pathSid)
-
reader
public static ByocTrunkReader reader()
-
updater
public static ByocTrunkUpdater updater(String pathSid)
-
fromJson
public static ByocTrunk fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a ByocTrunk object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- ByocTrunk object represented by the provided JSON
-
fromJson
public static ByocTrunk fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a ByocTrunk object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- ByocTrunk object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getSid
public final String getSid()
-
getFriendlyName
public final String getFriendlyName()
-
getVoiceUrl
public final URI getVoiceUrl()
-
getVoiceMethod
public final HttpMethod getVoiceMethod()
-
getVoiceFallbackUrl
public final URI getVoiceFallbackUrl()
-
getVoiceFallbackMethod
public final HttpMethod getVoiceFallbackMethod()
-
getStatusCallbackUrl
public final URI getStatusCallbackUrl()
-
getStatusCallbackMethod
public final HttpMethod getStatusCallbackMethod()
-
getCnamLookupEnabled
public final Boolean getCnamLookupEnabled()
-
getConnectionPolicySid
public final String getConnectionPolicySid()
-
getFromDomainSid
public final String getFromDomainSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-