com.telapi.api.domain
Class BaseTelapiObjectWithMethods

java.lang.Object
  extended by com.telapi.api.domain.BaseTelapiObject
      extended by com.telapi.api.domain.BaseTelapiObjectWithMethods
Direct Known Subclasses:
Application, IncomingPhoneNumber

public class BaseTelapiObjectWithMethods
extends BaseTelapiObject


Constructor Summary
BaseTelapiObjectWithMethods()
           
 
Method Summary
 String getHangupCallback()
           
 HttpMethod getHangupCallbackMethod()
           
 HttpMethod getHeartbeatMethod()
           
 String getHeartbeatUrl()
           
 HttpMethod getSmsFallbackMethod()
           
 String getSmsFallbackUrl()
           
 HttpMethod getSmsMethod()
           
 HttpMethod getSmsStatusCallbackMethod()
           
 String getSmsStatusCallbackUrl()
           
 String getSmsUrl()
           
 String getStatusCallback()
           
 HttpMethod getStatusCallbackMethod()
           
 Boolean getVoiceCallerIdLookup()
           
 HttpMethod getVoiceFallbackMethod()
           
 String getVoiceFallbackUrl()
           
 HttpMethod getVoiceMethod()
           
 String getVoiceUrl()
           
 void setHangupCallback(String hangupCallback)
           
 void setHangupCallbackMethod(HttpMethod hangupCallbackMethod)
           
 void setHeartbeatMethod(HttpMethod heartbeatMethod)
           
 void setHeartbeatUrl(String heartbeatUrl)
           
 void setSmsFallbackMethod(HttpMethod smsFallbackMethod)
           
 void setSmsFallbackUrl(String smsFallbackUrl)
           
 void setSmsMethod(HttpMethod smsMethod)
           
 void setSmsStatusCallbackMethod(HttpMethod smsStatusCallbackMethod)
           
 void setSmsStatusCallbackUrl(String smsStatusCallbackUrl)
           
 void setSmsUrl(String smsUrl)
           
 void setStatusCallback(String statusCallback)
           
 void setStatusCallbackMethod(HttpMethod statusCallbackMethod)
           
 void setVoiceCallerIdLookup(Boolean voiceCallerIdLookup)
           
 void setVoiceFallbackMethod(HttpMethod voiceFallbackMethod)
           
 void setVoiceFallbackUrl(String voiceFallbackUrl)
           
 void setVoiceMethod(HttpMethod voiceMethod)
           
 void setVoiceUrl(String voiceUrl)
           
 
Methods inherited from class com.telapi.api.domain.BaseTelapiObject
getAccountSid, getApiVersion, getDateCreated, getDateUpdated, getSid, getUri, setAccountSid, setApiVersion, setDateCreated, setDateUpdated, setSid, setUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseTelapiObjectWithMethods

public BaseTelapiObjectWithMethods()
Method Detail

getSmsUrl

public String getSmsUrl()
Returns:
The URL returning InboundXML incoming phone numbers should execute when receiving an sms.

setSmsUrl

public void setSmsUrl(String smsUrl)

getSmsMethod

public HttpMethod getSmsMethod()
Returns:
The HTTP method used when making requests to the SmsUrl. Either GET or POST.

setSmsMethod

public void setSmsMethod(HttpMethod smsMethod)

getVoiceUrl

public String getVoiceUrl()
Returns:
The URL returning InboundXML incoming calls should execute when connected.

setVoiceUrl

public void setVoiceUrl(String voiceUrl)

getVoiceMethod

public HttpMethod getVoiceMethod()
Returns:
Specifies the HTTP method (GET or POST) used to request the VoiceUrl once incoming call connects.

setVoiceMethod

public void setVoiceMethod(HttpMethod voiceMethod)

getVoiceFallbackUrl

public String getVoiceFallbackUrl()
Returns:
URL used if any errors occur during execution of InboundXML on a call or at initial request of the VoiceUrl.

setVoiceFallbackUrl

public void setVoiceFallbackUrl(String voiceFallbackUrl)

getVoiceFallbackMethod

public HttpMethod getVoiceFallbackMethod()
Returns:
Specifies the HTTP method (GET or POST) used to request the VoiceFallBackUrl if it is needed.

setVoiceFallbackMethod

public void setVoiceFallbackMethod(HttpMethod voiceFallbackMethod)

getVoiceCallerIdLookup

public Boolean getVoiceCallerIdLookup()
Returns:
Look up the callers caller ID name from a CNAM database (additional charges apply). Either true or false.

setVoiceCallerIdLookup

public void setVoiceCallerIdLookup(Boolean voiceCallerIdLookup)

getHeartbeatUrl

public String getHeartbeatUrl()
Returns:
URL that can be used to monitor the phone number.

setHeartbeatUrl

public void setHeartbeatUrl(String heartbeatUrl)

getHeartbeatMethod

public HttpMethod getHeartbeatMethod()
Returns:
The HTTP method TelApi will use when requesting the HeartbeatURL. Either GET or POST.

setHeartbeatMethod

public void setHeartbeatMethod(HttpMethod heartbeatMethod)

getStatusCallback

public String getStatusCallback()
Returns:

setStatusCallback

public void setStatusCallback(String statusCallback)

getStatusCallbackMethod

public HttpMethod getStatusCallbackMethod()
Returns:

setStatusCallbackMethod

public void setStatusCallbackMethod(HttpMethod statusCallbackMethod)

getSmsFallbackUrl

public String getSmsFallbackUrl()
Returns:
URL used if any errors occur during execution of InboundXML from an sms or at initial request of the SmsUrl.

setSmsFallbackUrl

public void setSmsFallbackUrl(String smsFallbackUrl)

getSmsFallbackMethod

public HttpMethod getSmsFallbackMethod()
Returns:
Specifies the HTTP method (GET or POST) used to request the SmsFallbackUrl.

setSmsFallbackMethod

public void setSmsFallbackMethod(HttpMethod smsFallbackMethod)

getSmsStatusCallbackUrl

public String getSmsStatusCallbackUrl()
Returns:

setSmsStatusCallbackUrl

public void setSmsStatusCallbackUrl(String smsStatusCallbackUrl)

getSmsStatusCallbackMethod

public HttpMethod getSmsStatusCallbackMethod()
Returns:

setSmsStatusCallbackMethod

public void setSmsStatusCallbackMethod(HttpMethod smsStatusCallbackMethod)

getHangupCallback

public String getHangupCallback()
Returns:
URL that can be requested to receive notification when and how incoming call has ended.

setHangupCallback

public void setHangupCallback(String hangupCallback)

getHangupCallbackMethod

public HttpMethod getHangupCallbackMethod()
Returns:
Specifies the HTTP method (GET or POST) used to request the HangupCallback URL.

setHangupCallbackMethod

public void setHangupCallbackMethod(HttpMethod hangupCallbackMethod)


Copyright © 2012. All Rights Reserved.