diff --git a/LICENSE b/LICENSE deleted file mode 100644 index d4de9c1..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (C) 2012, TelTech Systems, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index 69341bb..0000000 --- a/README.md +++ /dev/null @@ -1,107 +0,0 @@ -**PLEASE NOTE THAT THIS LIBRARY IS NOT ACTIVELY MAINTAINED BY TELAPI** - -telapi-java -========== - -This java library is an open source tool built to simplify interaction with the [TelAPI](http://telapi.com) telephony platform. TelAPI makes adding voice and SMS to applications fun and easy. - -For more information about TelAPI, please visit: [telapi.com/features](http://www.telapi.com/features) or [telapi.com/docs](http://www.telapi.com/docs) - -See http://telapi.github.com/telapi-java/apidocs/ for documentation on all methods available with this library. - ---- - - -Installation -============ - -To use this library, include the following dependency: -``` - - com.telapi.api - telapi-java - 0.0.1 - -``` - -Or clone the repo, and install via [maven](http://maven.apache.org/download.html): -``` -$ git clone git@github.com:TelAPI/telapi-java.git -$ cd telapi-java -$ mvn install -``` - -Usage -====== - -### REST - -[TelAPI REST API documenatation](http://www.telapi.com/docs/api/rest/) - -##### Send SMS Example - -```java -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.SmsMessage; -import com.telapi.api.exceptions.TelapiException; - -public class SendSmsExample { - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("********************************"); - conf.setAuthToken("********************************"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - SmsMessage smsMessage = conn.sendSmsMessage( - "(XXX) XXX-XXXX", - "(XXX) XXX-XXXX", - "This is an SMS message sent from the TelAPI Java helper! Easy as 1, 2, 3!", - null - ); - System.out.println(smsMessage.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} -``` - -### InboundXML - -InboundXML is an XML dialect which enables you to control phone call flow. For more information please visit the [TelAPI InboundXML documenatation](http://www.telapi.com/docs/api/inboundxml/) - -##### Example - -```java -package com.telapi.api.inboundxml.example; - -import com.telapi.api.inboundxml.elements.Response; -import com.telapi.api.inboundxml.elements.enums.Voice; - -public class SayExample { - -public static void main(String[] args) { - - Response.create() - .say("Welcome to TelAPI. This is a sample InboundXML document.", Voice.MAN) - .createXml(); - - } - -} -``` - -will render - -```xml - - - Welcome to TelAPI. This is a sample InboundXML document. - -``` - ---- diff --git a/apidocs/allclasses-frame.html b/apidocs/allclasses-frame.html new file mode 100644 index 0000000..815f4a2 --- /dev/null +++ b/apidocs/allclasses-frame.html @@ -0,0 +1,346 @@ + + + + + + + +All Classes (Telapi Java API) + + + + + + + + + + + +All Classes +
+ + + + + +
Account +
+AccountsList +
+AccountsProxy +
+AddOrDeleteIncomingPhoneNumberExample +
+AnsweredBy +
+Application +
+ApplicationList +
+ApplicationProxy +
+ApplicationRequest +
+AudioDirection +
+AuthorizeDestinationExample +
+AvailablePhoneNumber +
+AvailablePhoneNumberList +
+AvailablePhoneNumberProxy +
+BaseTelapiObject +
+BaseTelapiObjectWithMethods +
+BasicTelapiConfiguration +
+BlockDestinationExample +
+Call +
+CallInterruptStatus +
+CallList +
+CallProxy +
+CallRequest +
+CallStatus +
+CallSubresourceUris +
+CarrierLookup +
+CarrierLookupExample +
+CarrierLookupList +
+CarrierLookupProxy +
+CarrierLookupStatus +
+CnamDip +
+CnamDipList +
+CnamLookupExample +
+Conference +
+Conference +
+ConferenceExample +
+ConferenceList +
+ConferenceParameters +
+ConferenceProxy +
+ConferenceSubresourceUris +
+CreateApplicationExample +
+DeafOrMuteParticipantExample +
+DeleteApplicationExample +
+Destination +
+DestinationFraudControlGroup +
+Dial +
+DialElement +
+DialExample +
+DialParameters +
+EnumUtil +
+ExtendDestinationExample +
+Fraud +
+FraudControlProxy +
+FraudList +
+Gather +
+GatherElement +
+GatherExample +
+GetSpeech +
+GetSpeechExample +
+Hangup +
+HangupCallExample +
+HangupExample +
+HangupParticipantExample +
+HttpMethod +
+IncomingPhoneNumber +
+IncomingPhoneNumberList +
+IncomingPhoneNumberProxy +
+IncomingPhoneNumberRequest +
+JsonBooleanParser +
+JsonDateParser +
+JsonDurationParser +
+Legs +
+ListApplicationsExample +
+ListAvailablePhoneNumbersExample +
+ListCallsExample +
+ListConferencesExample +
+ListFraudControResourcesExample +
+ListIncomingPhoneNumbersExample +
+ListNotificationsExample +
+ListParticipantsExample +
+ListRecordingsExample +
+ListSmsExample +
+ListTranscriptionsExample +
+LogLevel +
+MakeCallExample +
+Notification +
+NotificationList +
+NotificationProxy +
+Number +
+NumberExample +
+Participant +
+Pause +
+PauseExample +
+PhoneNumberCapabilities +
+PhoneNumberType +
+Play +
+PlayAudioExample +
+PlayAudioToParticipantExample +
+PlayExample +
+PropertiesFileTelapiConfiguration +
+Record +
+RecordCallExample +
+RecordExample +
+Recording +
+RecordingFileFormat +
+RecordingList +
+RecordingProxy +
+RecordParameters +
+Redirect +
+RedirectExample +
+Reject +
+RejectExample +
+RejectReason +
+Response +
+ResponseElement +
+RestExecutor +
+Say +
+SayExample +
+SendDigitsExample +
+SendSmsExample +
+Sip +
+SipExample +
+Sms +
+SmsDirection +
+SmsExample +
+SmsMessage +
+SmsMessageList +
+SmsProxy +
+SmsRedirectExample +
+StatusResponse +
+SubresourceUris +
+TelapiConfiguration +
+TelapiConnector +
+TelapiConstants +
+TelapiException +
+TelapiList +
+TranscribeAudioUrlExample +
+TranscribeRecordingExample +
+Transcription +
+TranscriptionList +
+TranscriptionProxy +
+TranscriptionStatus +
+TranscriptionType +
+UpdateApplicationExample +
+UpdateIncomingPhoneNumberExample +
+ViewAccountExample +
+ViewApplicationExample +
+ViewCallExample +
+ViewConferenceExample +
+ViewIncomingPhoneNumberExample +
+ViewNotificationExample +
+ViewParticipantExample +
+ViewRecordingExample +
+ViewSmsExample +
+ViewTranscriptionExample +
+Voice +
+VoiceEffectsExample +
+WhitelistDestinationExample +
+
+ + + diff --git a/apidocs/allclasses-noframe.html b/apidocs/allclasses-noframe.html new file mode 100644 index 0000000..0e66a82 --- /dev/null +++ b/apidocs/allclasses-noframe.html @@ -0,0 +1,346 @@ + + + + + + + +All Classes (Telapi Java API) + + + + + + + + + + + +All Classes +
+ + + + + +
Account +
+AccountsList +
+AccountsProxy +
+AddOrDeleteIncomingPhoneNumberExample +
+AnsweredBy +
+Application +
+ApplicationList +
+ApplicationProxy +
+ApplicationRequest +
+AudioDirection +
+AuthorizeDestinationExample +
+AvailablePhoneNumber +
+AvailablePhoneNumberList +
+AvailablePhoneNumberProxy +
+BaseTelapiObject +
+BaseTelapiObjectWithMethods +
+BasicTelapiConfiguration +
+BlockDestinationExample +
+Call +
+CallInterruptStatus +
+CallList +
+CallProxy +
+CallRequest +
+CallStatus +
+CallSubresourceUris +
+CarrierLookup +
+CarrierLookupExample +
+CarrierLookupList +
+CarrierLookupProxy +
+CarrierLookupStatus +
+CnamDip +
+CnamDipList +
+CnamLookupExample +
+Conference +
+Conference +
+ConferenceExample +
+ConferenceList +
+ConferenceParameters +
+ConferenceProxy +
+ConferenceSubresourceUris +
+CreateApplicationExample +
+DeafOrMuteParticipantExample +
+DeleteApplicationExample +
+Destination +
+DestinationFraudControlGroup +
+Dial +
+DialElement +
+DialExample +
+DialParameters +
+EnumUtil +
+ExtendDestinationExample +
+Fraud +
+FraudControlProxy +
+FraudList +
+Gather +
+GatherElement +
+GatherExample +
+GetSpeech +
+GetSpeechExample +
+Hangup +
+HangupCallExample +
+HangupExample +
+HangupParticipantExample +
+HttpMethod +
+IncomingPhoneNumber +
+IncomingPhoneNumberList +
+IncomingPhoneNumberProxy +
+IncomingPhoneNumberRequest +
+JsonBooleanParser +
+JsonDateParser +
+JsonDurationParser +
+Legs +
+ListApplicationsExample +
+ListAvailablePhoneNumbersExample +
+ListCallsExample +
+ListConferencesExample +
+ListFraudControResourcesExample +
+ListIncomingPhoneNumbersExample +
+ListNotificationsExample +
+ListParticipantsExample +
+ListRecordingsExample +
+ListSmsExample +
+ListTranscriptionsExample +
+LogLevel +
+MakeCallExample +
+Notification +
+NotificationList +
+NotificationProxy +
+Number +
+NumberExample +
+Participant +
+Pause +
+PauseExample +
+PhoneNumberCapabilities +
+PhoneNumberType +
+Play +
+PlayAudioExample +
+PlayAudioToParticipantExample +
+PlayExample +
+PropertiesFileTelapiConfiguration +
+Record +
+RecordCallExample +
+RecordExample +
+Recording +
+RecordingFileFormat +
+RecordingList +
+RecordingProxy +
+RecordParameters +
+Redirect +
+RedirectExample +
+Reject +
+RejectExample +
+RejectReason +
+Response +
+ResponseElement +
+RestExecutor +
+Say +
+SayExample +
+SendDigitsExample +
+SendSmsExample +
+Sip +
+SipExample +
+Sms +
+SmsDirection +
+SmsExample +
+SmsMessage +
+SmsMessageList +
+SmsProxy +
+SmsRedirectExample +
+StatusResponse +
+SubresourceUris +
+TelapiConfiguration +
+TelapiConnector +
+TelapiConstants +
+TelapiException +
+TelapiList +
+TranscribeAudioUrlExample +
+TranscribeRecordingExample +
+Transcription +
+TranscriptionList +
+TranscriptionProxy +
+TranscriptionStatus +
+TranscriptionType +
+UpdateApplicationExample +
+UpdateIncomingPhoneNumberExample +
+ViewAccountExample +
+ViewApplicationExample +
+ViewCallExample +
+ViewConferenceExample +
+ViewIncomingPhoneNumberExample +
+ViewNotificationExample +
+ViewParticipantExample +
+ViewRecordingExample +
+ViewSmsExample +
+ViewTranscriptionExample +
+Voice +
+VoiceEffectsExample +
+WhitelistDestinationExample +
+
+ + + diff --git a/apidocs/com/telapi/api/TelapiConnector.html b/apidocs/com/telapi/api/TelapiConnector.html new file mode 100644 index 0000000..d0cdb95 --- /dev/null +++ b/apidocs/com/telapi/api/TelapiConnector.html @@ -0,0 +1,4056 @@ + + + + + + + +TelapiConnector (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class TelapiConnector

+
+java.lang.Object
+  extended by com.telapi.api.TelapiConnector
+
+
+
+
public class TelapiConnector
extends Object
+ + +

+The class used for all forms of communication with the Telapi REST API. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TelapiConnector(TelapiConfiguration conf) + +
+          Creates a new TelapiConnector based on the provided configuration.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ IncomingPhoneNumberaddIncomingPhoneNumber(String phoneNumber, + String areaCode) + +
+          TelAPI incoming phone numbers can be added or removed from an account + through our REST API.
+ IncomingPhoneNumberaddIncomingPhoneNumber(String accountSid, + String phoneNumber, + String areaCode) + +
+           
+ FraudListauthorizeDestination(String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+          Used to authorize previously blocked destinations for outbound calls and + sms messages.
+ FraudListauthorizeDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ FraudListblockDestination(String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+          TelAPI will restrict outbound calls and sms messages to blocked + destinations.
+ FraudListblockDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ CarrierLookupListcarrierLookup(List<String> phoneNumber) + +
+          Provides a way to look up the carrier of phone numbers.
+ CarrierLookupListcarrierLookup(String phoneNumber) + +
+          Provides a way to look up the carrier of a phone number.
+ CarrierLookupListcarrierLookup(String accountSid, + List<String> phoneNumber) + +
+           
+ CarrierLookupListcarrierLookup(String accountSid, + String phoneNumber) + +
+           
+ CnamDipListcnamLookup(List<String> phoneNumbers) + +
+          Performs a CNAM lookup for multiple phone numbers.
+ CnamDipListcnamLookup(String phoneNumber) + +
+          Performs a CNAM lookup for a phone number.
+ CnamDipListcnamLookup(String accountSid, + List<String> phoneNumbers) + +
+           
+ CnamDipListcnamLookup(String accountSid, + String phoneNumber) + +
+           
+ ApplicationcreateApplication(ApplicationRequest applicationRequest) + +
+           
+ ApplicationcreateApplication(String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+          Creates a new application for managing TelAPI phone numbers,
+ ApplicationcreateApplication(String accountSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ ParticipantdeafOrMuteParticipant(String conferenceSid, + String callSid, + Boolean muted, + Boolean deaf) + +
+          Conference participants can be muted or deafed by calling this method.
+ ParticipantdeafOrMuteParticipant(String accountSid, + String conferenceSid, + String callSid, + Boolean muted, + Boolean deaf) + +
+           
+ ApplicationdeleteApplication(String applicationSid) + +
+          Deletes an existing application.
+ ApplicationdeleteApplication(String accountSid, + String applicationSid) + +
+           
+ IncomingPhoneNumberdeleteIncomingPhoneNumber(String incomingPhoneNumberSid) + +
+          Deletes an IncomingPhoneNumber from your account.
+ IncomingPhoneNumberdeleteIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid) + +
+           
+ FraudListextendDestinationAuth(String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+          By default, authorized destinations will expire and return to fully + blocked status after 30 days.
+ FraudListextendDestinationAuth(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ StringgetRecordingUrl(String recordingSid) + +
+          Gets the URL of the audio file containing the recording.
+ StringgetRecordingUrl(String accountSid, + String recordingSid) + +
+           
+ CallhangUpCall(String callSid) + +
+          Hangs up a call.
+ CallhangUpCall(String accountSid, + String callSid) + +
+           
+ ParticipanthangupParticipant(String conferenceSid, + String callSid) + +
+          Hangup conference members by conference sid and call sid.
+ ParticipanthangupParticipant(String accountSid, + String conferenceSid, + String callSid) + +
+           
+ ApplicationListlistApplications() + +
+          Used to get a list of all application resources associated with a given + account.
+ ApplicationListlistApplications(String friendlyName, + Long page, + Long pageSize) + +
+          Used to get a list of application resources associated with a given + account.
+ ApplicationListlistApplications(String accountSid, + String friendlyName, + Long page, + Long pageSize) + +
+           
+ AvailablePhoneNumberListlistAvailablePhoneNumbers(String isoCountryCode, + String areaCode, + String contains, + String inRegion, + String inPostalCode, + Long page, + Long pageSize) + +
+          If you want to add a new TelAPI number, you need to know what ones are + available.
+ AvailablePhoneNumberListlistAvailablePhoneNumbers(String accountSid, + String isoCountryCode, + String areaCode, + String contains, + String inRegion, + String inPostalCode, + Long page, + Long pageSize) + +
+           
+ NotificationListlistCallNotifications(String callSid, + LogLevel log, + Long page, + Long pageSize) + +
+          Returns a list of notifications associated with a certain Call.
+ NotificationListlistCallNotifications(String accountSid, + String callSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+ RecordingListlistCallRecordings(String callSid, + Date dateCreatedGte, + Date dateCreatedLt, + Long page, + Long pageSize) + +
+          Gets a list of Recordings which belong to a specified Call.
+ RecordingListlistCallRecordings(String accountSid, + String callSid, + Date dateCreatedGte, + Date dateCreatedLt, + Long page, + Long pageSize) + +
+           
+ CallListlistCalls() + +
+          To view a list of all inbound and outbound call resources associated with + a given account, use this method.
+ CallListlistCalls(String to, + String from, + CallStatus status, + Date startTimeGte, + Date startTimeLt, + Long page, + Long pageSize) + +
+          To view a list of all inbound and outbound call resources associated with + a given account, use this method.
+ CallListlistCalls(String accountSid, + String to, + String from, + CallStatus status, + Date startTimeGte, + Date startTimeLt, + Long page, + Long pageSize) + +
+           
+ ConferenceListlistConferences() + +
+          To view a list of all conference resources associated with a given + account, the URI below is provided.
+ ConferenceListlistConferences(String friendlyName, + String status, + Date dateCreatedGte, + Date dateCreatedLt, + Date dateUpdatedGte, + Date dateUpdatedLt, + Long page, + Long pageSize) + +
+          To view a list of all conference resources associated with a given + account, the URI below is provided.
+ ConferenceListlistConferences(String accountSid, + String friendlyName, + String status, + Date dateCreatedGte, + Date dateCreatedLt, + Date dateUpdatedGte, + Date dateUpdatedLt, + Long page, + Long pageSize) + +
+           
+ FraudListlistFraudControlResources() + +
+          Gets a list of Fraud control resources for a certain account.
+ FraudListlistFraudControlResources(Long page, + Long pageSize) + +
+          Gets a list of Fraud control resources for a certain account.
+ FraudListlistFraudControlResources(String accountSid, + Long page, + Long pageSize) + +
+           
+ IncomingPhoneNumberListlistIncomingPhoneNumbers() + +
+          Retrieves a list of all incoming phone number resources associated with a + given account.
+ IncomingPhoneNumberListlistIncomingPhoneNumbers(String phoneNumber, + String friendlyName, + Long page, + Long pageSize) + +
+          Retrieves a list of incoming phone number resources associated with a + given account.
+ IncomingPhoneNumberListlistIncomingPhoneNumbers(String accountSid, + String phoneNumber, + String friendlyName, + Long page, + Long pageSize) + +
+           
+ NotificationListlistNotifications() + +
+          Returns a list of all notifications associated with the account.
+ NotificationListlistNotifications(LogLevel log, + Long page, + Long pageSize) + +
+          Returns a list of notifications associated with the account.
+ NotificationListlistNotifications(String accountSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+ List<Participant>listParticipants(String conferenceSid) + +
+          Convenience method.
+ List<Participant>listParticipants(String conferenceSid, + Boolean muted, + Boolean deaf, + Long page, + Long pageSize) + +
+          Used to get a list of participants currently connected to a particular + conference.
+ List<Participant>listParticipants(String accountSid, + String conferenceSid, + Boolean muted, + Boolean deaf, + Long page, + Long pageSize) + +
+           
+ RecordingListlistRecordings() + +
+          Gets a list of all Recordings.
+ RecordingListlistRecordings(Date dateCreatedGte, + Date dateCreatedLt, + Long page, + Long pageSize) + +
+          Gets a list of Recordings.
+ RecordingListlistRecordings(String accountSid, + Date dateCreatedGte, + Date dateCreatedLt, + Long page, + Long pageSize) + +
+           
+ TranscriptionListlistRecordingTranscriptions(String accountSid, + String recordingSid, + TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+ TranscriptionListlistRecordingTranscriptions(String recordingSid, + TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+          Lists all the transcriptions belonging to an account.
+ SmsMessageListlistSmsMessages() + +
+          Lists all Sms Messages for the configured account.
+ SmsMessageListlistSmsMessages(String to, + String from, + Date dateSentGte, + Date dateSentLt, + Long page, + Long pageSize) + +
+          Just as with calls, a list of all messages sent to and from a given + TelAPI account's phone numbers can be requested via our REST API.
+ SmsMessageListlistSmsMessages(String accountSid, + String to, + String from, + Date dateSentGte, + Date dateSentLt, + Long page, + Long pageSize) + +
+           
+ TranscriptionListlistTranscriptions() + +
+          Lists all the transcriptions belonging to an account.
+ TranscriptionListlistTranscriptions(String accountSid, + TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+ TranscriptionListlistTranscriptions(TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+          Lists transcriptions belonging to an account.
+ CallmakeCall(CallRequest callRequest) + +
+          Convenience method which accepts a CallRequest object containing + parameters.
+ CallmakeCall(String to, + String from, + String url, + HttpMethod method, + String fallbackUrl, + HttpMethod fallbackMethod, + String statusCallback, + HttpMethod statusCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom, + String sendDigits, + Long timeout, + Boolean hideCallerId, + Boolean record, + String recordCallback, + HttpMethod recordCallbackMethod, + Boolean transcribe, + String transcribeCallback, + HttpMethod transcribeCallbackMethod) + +
+          Makes a call.
+ CallmakeCall(String accountSid, + String to, + String from, + String url, + HttpMethod method, + String fallbackUrl, + HttpMethod fallbackMethod, + String statusCallback, + HttpMethod statusCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom, + String sendDigits, + Long timeout, + Boolean hideCallerId, + Boolean record, + String recordCallback, + HttpMethod recordCallbackMethod, + Boolean transcribe, + String transcribeCallback, + HttpMethod transcribeCallbackMethod) + +
+           
+ CallplayAudioToCall(String callSid, + String soundsUrl) + +
+          TelAPI allows you to play an audio file during a call.
+ CallplayAudioToCall(String callSid, + String soundsUrl, + Long length, + Legs legs, + Boolean loop, + Boolean mix) + +
+          TelAPI allows you to play an audio file during a call.
+ CallplayAudioToCall(String accountSid, + String callSid, + String soundsUrl, + Long length, + Legs legs, + Boolean loop, + Boolean mix) + +
+           
+ ParticipantplayAudioToParticipant(String conferenceSid, + String callSid, + String audioUrl) + +
+          Pre-recorded sound from a file can be played to conference members.
+ ParticipantplayAudioToParticipant(String accountSid, + String conferenceSid, + String callSid, + String url) + +
+           
+ RecordingListrecordCall(String callSid, + Boolean record, + Long timeLimit, + String callbackUrl) + +
+          TelAPI offers a way to both initiate or end a call recording.
+ RecordingListrecordCall(String accountSid, + String callSid, + Boolean record, + Long timeLimit, + String callbackUrl) + +
+           
+ CallsendDigits(String callSid, + String playDtfm, + Legs dtmfLeg) + +
+          DTMFs, aka touch tone signals, can be sent to a call.
+ CallsendDigits(String accountSid, + String callSid, + String playDtfm, + Legs dtmfLeg) + +
+           
+ SmsMessagesendSmsMessage(String to, + String from, + String body, + String statusCallback) + +
+          Sends an SMS message.
+ SmsMessagesendSmsMessage(String accountSid, + String to, + String from, + String body, + String statusCallback) + +
+           
+ TranscriptiontranscribeAudioUrl(String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+          Transcribes audio found on an URL.
+ TranscriptiontranscribeAudioUrl(String accountSid, + String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ TranscriptiontranscribeRecording(String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+          Transcribes a recording.
+ TranscriptiontranscribeRecording(String accountSid, + String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ ApplicationupdateApplication(ApplicationRequest applicationRequest) + +
+           
+ ApplicationupdateApplication(String applicationSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+          Used to update an existing application.
+ ApplicationupdateApplication(String accountSid, + String applicationSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ IncomingPhoneNumberupdateIncomingPhoneNumber(IncomingPhoneNumberRequest ipnRequest) + +
+           
+ IncomingPhoneNumberupdateIncomingPhoneNumber(String incomingPhoneNumberSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod) + +
+          Updates properties of an IncomingPhoneNumber.
+ IncomingPhoneNumberupdateIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod) + +
+           
+ AccountviewAccount() + +
+           
+ AccountviewAccount(String accountSid) + +
+          An account resource provides information about a single TelAPI account.
+ AccountsListviewAccounts() + +
+           
+ ApplicationviewApplication(String applicationSid) + +
+          TelAPI offers the ability to preset all voice and sms urls for a given + application name.
+ ApplicationviewApplication(String accountSid, + String applicationSid) + +
+           
+ CallviewCall(String callSid) + +
+          Gets the specified call resource.
+ CallviewCall(String accountSid, + String callSid) + +
+           
+ ConferenceviewConference(String conferenceSid) + +
+          Resource properties about conference calls that occurred through a TelAPI + account can be requested using our API.
+ ConferenceviewConference(String accountSid, + String conferenceSid) + +
+           
+ IncomingPhoneNumberviewIncomingPhoneNumber(String incomingPhoneNumberSid) + +
+          TelAPI phone numbers associated with an account are represented with the + IncomingPhoneNumber resource.
+ IncomingPhoneNumberviewIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid) + +
+           
+ NotificationviewNotification(String notificationSid) + +
+          Retrieves details about a Notification.
+ NotificationviewNotification(String accountSid, + String notificationSid) + +
+           
+ ParticipantviewParticipant(String conferenceSid, + String callSid) + +
+          Participants of a conference are identified by the CallSid created when + they dial into the conference.
+ ParticipantviewParticipant(String accountSid, + String conferenceSid, + String callSid) + +
+           
+ RecordingviewRecording(String recordingSid) + +
+          A single recording details can be viewed by calling this method.
+ RecordingviewRecording(String accountSid, + String recordingSid) + +
+           
+ SmsMessageviewSmsMessage(String smsMessageSid) + +
+          Text messages sent to and from TelAPI phone numbers are represented with + the Sms resource.
+ SmsMessageviewSmsMessage(String sid, + String smsMessageSid) + +
+          Used for specifying a different accountSid.
+ TranscriptionviewTranscription(String transcriptionSid) + +
+          Gets the details of a Transcription resource.
+ TranscriptionviewTranscription(String accountSid, + String transcriptionSid) + +
+           
+ StringviewTranscriptionText(String transcriptionSid) + +
+          Gets just the transcription text of a Transcription.
+ StringviewTranscriptionText(String accountSid, + String transcriptionSid) + +
+           
+ CallvoiceEffects(String callSid, + AudioDirection audioDirection, + Double pitch, + Long pitchSemiTones, + Long pitchOctaves, + Double rate) + +
+          With TelAPI you can modify the way a callers voice sounds by changing + things such as speed and pitch of the audio.
+ CallvoiceEffects(String accountSid, + String callSid, + AudioDirection audioDirection, + Double pitch, + Long pitchSemiTones, + Long pitchOctaves, + Double rate) + +
+           
+ FraudListwhitelistDestination(String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+          Whitelisting is provided for destinations you wish to permanently + authorize.
+ FraudListwhitelistDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TelapiConnector

+
+public TelapiConnector(TelapiConfiguration conf)
+
+
Creates a new TelapiConnector based on the provided configuration. +

+

+
Parameters:
conf - The configuration based on which the TelapiConnector will be + created.
See Also:
BasicTelapiConfiguration, PropertiesFileTelapiConfiguration, + TelapiConfiguration
+
+ + + + + + + + +
+Method Detail
+ +

+viewAccount

+
+public Account viewAccount(String accountSid)
+                    throws TelapiException
+
+
An account resource provides information about a single TelAPI account. + This methods gets the info of the account with the provided Sid. +

+

+
Parameters:
accountSid - +
Returns:
+
Throws: +
TelapiException
+
+
+
+ +

+viewAccount

+
+public Account viewAccount()
+                    throws TelapiException
+
+
+ +
Returns:
The account with the Sid defined in the configuration. +
Throws: +
TelapiException
See Also:
viewAccount(String)
+
+
+
+ +

+viewAccounts

+
+public AccountsList viewAccounts()
+                          throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+viewSmsMessage

+
+public SmsMessage viewSmsMessage(String sid,
+                                 String smsMessageSid)
+                          throws TelapiException
+
+
Used for specifying a different accountSid. +

+

+
Parameters:
sid - The account sid (required). +
Returns:
An Sms Message resource. +
Throws: +
TelapiException
See Also:
viewSmsMessage(String)
+
+
+
+ +

+viewSmsMessage

+
+public SmsMessage viewSmsMessage(String smsMessageSid)
+                          throws TelapiException
+
+
Text messages sent to and from TelAPI phone numbers are represented with + the Sms resource. +

+

+
Parameters:
smsMessageSid - The sms message sid (required). +
Returns:
An Sms Message resource. +
Throws: +
TelapiException
+
+
+
+ +

+listSmsMessages

+
+public SmsMessageList listSmsMessages(String accountSid,
+                                      String to,
+                                      String from,
+                                      Date dateSentGte,
+                                      Date dateSentLt,
+                                      Long page,
+                                      Long pageSize)
+                               throws TelapiException
+
+
+
Parameters:
accountSid - The account sid (required). +
Returns:
A list of SmsMessage resources. +
Throws: +
TelapiException
See Also:
listSmsMessages(String, String, Date, Date, Long, Long)
+
+
+
+ +

+listSmsMessages

+
+public SmsMessageList listSmsMessages(String to,
+                                      String from,
+                                      Date dateSentGte,
+                                      Date dateSentLt,
+                                      Long page,
+                                      Long pageSize)
+                               throws TelapiException
+
+
Just as with calls, a list of all messages sent to and from a given + TelAPI account's phone numbers can be requested via our REST API. +

+

+
Parameters:
to - Lists all SMS messages sent to this number.
from - Lists all SMS messages sent from this number.
dateSentGte - Lists all SMS messages beginning on or from a certain date.
dateSentLt - Lists all SMS messages before a certain date.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of SmsMessage resources. +
Throws: +
TelapiException
+
+
+
+ +

+listSmsMessages

+
+public SmsMessageList listSmsMessages()
+                               throws TelapiException
+
+
Lists all Sms Messages for the configured account. +

+

+ +
Returns:
A list of Sms Message. +
Throws: +
TelapiException
+
+
+
+ +

+sendSmsMessage

+
+public SmsMessage sendSmsMessage(String accountSid,
+                                 String to,
+                                 String from,
+                                 String body,
+                                 String statusCallback)
+                          throws TelapiException
+
+
+
Parameters:
accountSid - The account sid (required). +
Throws: +
TelapiException
See Also:
sendSmsMessage(String, String, String, String)
+
+
+
+ +

+sendSmsMessage

+
+public SmsMessage sendSmsMessage(String to,
+                                 String from,
+                                 String body,
+                                 String statusCallback)
+                          throws TelapiException
+
+
Sends an SMS message. +

+

+
Parameters:
to - The number you want to send the SMS to (required).
from - The number you want to display as sending the SMS. A subcharge + will apply when sending via a custom From number (required).
body - Text of the SMS message to be sent. Plain text up to 160 + characters in length (required).
statusCallback - URL that a set of default parameters will be forwarded to once + the SMS is complete. +
Returns:
The SMS message which was sent. +
Throws: +
TelapiException
+
+
+
+ +

+viewCall

+
+public Call viewCall(String accountSid,
+                     String callSid)
+              throws TelapiException
+
+
+
Parameters:
accountSid - The account sid (required). +
Throws: +
TelapiException
See Also:
viewCall(String)
+
+
+
+ +

+viewCall

+
+public Call viewCall(String callSid)
+              throws TelapiException
+
+
Gets the specified call resource. A call resource provides information + about an individual call that has occurred through TelAPI. Both inbound + and outbound voice communication through TelAPI are categorized as calls. +

+

+
Parameters:
callSid - The sid of the requested Call resource (required). +
Returns:
The requested Call resource. +
Throws: +
TelapiException
+
+
+
+ +

+listCalls

+
+public CallList listCalls(String accountSid,
+                          String to,
+                          String from,
+                          CallStatus status,
+                          Date startTimeGte,
+                          Date startTimeLt,
+                          Long page,
+                          Long pageSize)
+                   throws TelapiException
+
+
+
Parameters:
accountSid - The account sid (required). +
Throws: +
TelapiException
See Also:
listCalls(String, String, CallStatus, Date, Date, Long, Long)
+
+
+
+ +

+listCalls

+
+public CallList listCalls(String to,
+                          String from,
+                          CallStatus status,
+                          Date startTimeGte,
+                          Date startTimeLt,
+                          Long page,
+                          Long pageSize)
+                   throws TelapiException
+
+
To view a list of all inbound and outbound call resources associated with + a given account, use this method. The response returned lists the calls + in chronological order and also includes paging information. +

+

+
Parameters:
to - Lists all calls made to this number only.
from - Lists all calls made from this number.
status - Lists all calls with the specified status only.
startTimeGte - Lists all calls beginning on or from a certain date.
startTimeLt - Lists all calls beginning before a certain date.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of calls. +
Throws: +
TelapiException
+
+
+
+ +

+listCalls

+
+public CallList listCalls()
+                   throws TelapiException
+
+
To view a list of all inbound and outbound call resources associated with + a given account, use this method. The response returned lists the calls + in chronological order and also includes paging information. +

+

+ +
Returns:
A list of calls. +
Throws: +
TelapiException
+
+
+
+ +

+makeCall

+
+public Call makeCall(String accountSid,
+                     String to,
+                     String from,
+                     String url,
+                     HttpMethod method,
+                     String fallbackUrl,
+                     HttpMethod fallbackMethod,
+                     String statusCallback,
+                     HttpMethod statusCallbackMethod,
+                     String heartbeatUrl,
+                     HttpMethod heartbeatMethod,
+                     String forwardedFrom,
+                     String sendDigits,
+                     Long timeout,
+                     Boolean hideCallerId,
+                     Boolean record,
+                     String recordCallback,
+                     HttpMethod recordCallbackMethod,
+                     Boolean transcribe,
+                     String transcribeCallback,
+                     HttpMethod transcribeCallbackMethod)
+              throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
makeCall(String, String, String, HttpMethod, String, HttpMethod, + String, HttpMethod, String, HttpMethod, String, String, Long, + Boolean, Boolean, String, HttpMethod, Boolean, String, HttpMethod)
+
+
+
+ +

+makeCall

+
+public Call makeCall(String to,
+                     String from,
+                     String url,
+                     HttpMethod method,
+                     String fallbackUrl,
+                     HttpMethod fallbackMethod,
+                     String statusCallback,
+                     HttpMethod statusCallbackMethod,
+                     String heartbeatUrl,
+                     HttpMethod heartbeatMethod,
+                     String forwardedFrom,
+                     String sendDigits,
+                     Long timeout,
+                     Boolean hideCallerId,
+                     Boolean record,
+                     String recordCallback,
+                     HttpMethod recordCallbackMethod,
+                     Boolean transcribe,
+                     String transcribeCallback,
+                     HttpMethod transcribeCallbackMethod)
+              throws TelapiException
+
+
Makes a call. +

+

+
Parameters:
to - The number to call (required).
from - The number to display as calling (required).
url - The URL requested once the call connects. A set of default + parameters will be sent here.
method - Specifies the HTTP method used to request the required URL + once call connects. Defaults to POST.
fallbackUrl - URL used if any errors occur during execution of InboundXML or + at initial request of the required Url provided with the POST.
fallbackMethod - Specifies the HTTP method used to request FallbackUrl. + Defaults to POST.
statusCallback - URL that can be requested to receive notification when call + has ended. A set of default parameters will be sent here once + the call is finished.
statusCallbackMethod - Specifies the HTTP method used to request StatusCallbackUrl. + Defaults to POST.
heartbeatUrl - URL that can be requested every 60 seconds during the call to + notify of elapsed time and pass other general information.
heartbeatMethod - Specifies the HTTP method used to request the Heartbeat URL.
forwardedFrom - Specifies the forwarding number to pass to the receiving + carrier.
sendDigits - Dials digits once call connects. Can be used to forward + callers to different extensions or numbers. Allowed values are + numbers, # and *.
timeout - Number of seconds call stays on the line while waiting for an + answer. The max time limit is 999 and the default limit is 60 + seconds but lower times can be set. Defaults to 60.
hideCallerId - Specifies if the caller id will be hidden.
record - Specifies whether this call should be recorded. Defaults to + false.
recordCallback - A URL some parameters regarding the recording will be past to + once it is completed.
recordCallbackMethod - Method used to request the RecordCallback URL.
transcribe - Specifies whether this call should be transcribed. Defaults to + false.
transcribeCallback - A URL some parameters regarding the transcription will be past + to once it is completed.
transcribeCallbackMethod - Method used to request the TranscribeCallback URL. +
Returns:
The newly made call. +
Throws: +
TelapiException
+
+
+
+ +

+makeCall

+
+public Call makeCall(CallRequest callRequest)
+              throws TelapiException
+
+
Convenience method which accepts a CallRequest object containing + parameters. +

+

+ +
Returns:
The newly made call. +
Throws: +
TelapiException
See Also:
makeCall(String, String, String, HttpMethod, String, HttpMethod, + String, HttpMethod, String, HttpMethod, String, String, Long, + Boolean, Boolean, String, HttpMethod, Boolean, String, HttpMethod)
+
+
+
+ +

+hangUpCall

+
+public Call hangUpCall(String accountSid,
+                       String callSid)
+                throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
hangUpCall(String)
+
+
+
+ +

+hangUpCall

+
+public Call hangUpCall(String callSid)
+                throws TelapiException
+
+
Hangs up a call. +

+

+
Parameters:
callSid - The sid of the Call to hang up. +
Returns:
The hung up call. +
Throws: +
TelapiException
+
+
+
+ +

+sendDigits

+
+public Call sendDigits(String accountSid,
+                       String callSid,
+                       String playDtfm,
+                       Legs dtmfLeg)
+                throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
sendDigits(String, String, Legs)
+
+
+
+ +

+sendDigits

+
+public Call sendDigits(String callSid,
+                       String playDtfm,
+                       Legs dtmfLeg)
+                throws TelapiException
+
+
DTMFs, aka touch tone signals, can be sent to a call. +

+

+
Parameters:
callSid - The call to which to send DTMF signals.
playDtfm - Specifies which touch tone signals to send to a call. W or w + can be used to include half second pauses within the digit + transmission. For example: wwww1234 waits two seconds before + sending the digits and 12wwww34 waits two seconds in between + the sending of 12 and 34. Allowed values are digits, #, *, W + or w.
dtmfLeg - Specifies which leg of the call digits will be sent to. 'aleg' + leg is the originator of the call, 'bleg' is the recipient of + the call. Defaults to aleg. +
Returns:
The call to which DTMF signals are sent. +
Throws: +
TelapiException
+
+
+
+ +

+playAudioToCall

+
+public Call playAudioToCall(String accountSid,
+                            String callSid,
+                            String soundsUrl,
+                            Long length,
+                            Legs legs,
+                            Boolean loop,
+                            Boolean mix)
+                     throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
playAudioToCall(String, String, Long, Legs, Boolean, Boolean)
+
+
+
+ +

+playAudioToCall

+
+public Call playAudioToCall(String callSid,
+                            String soundsUrl,
+                            Long length,
+                            Legs legs,
+                            Boolean loop,
+                            Boolean mix)
+                     throws TelapiException
+
+
TelAPI allows you to play an audio file during a call. This is useful for + playing hold music, providing IVR prompts, etc. +

+

+
Parameters:
callSid - The call to which to play audio to.
soundsUrl - URL containg the sound file to play during the call. If + multiple sounds are to be played, separate each by a comma in + the request.
length - Time limit in seconds for audio play back.
legs - Specifies which leg of the call sound will play on. 'aleg' is + the originator of the call, 'bleg' is the recipient of the + call. Defaults to both.
loop - Specifies whether sound will loop. Set to true to play sound + indefinitely. Defaults to false.
mix - Specifies whether sound should mix with call audio. +
Returns:
The Call to which audio is played. +
Throws: +
TelapiException
+
+
+
+ +

+playAudioToCall

+
+public Call playAudioToCall(String callSid,
+                            String soundsUrl)
+                     throws TelapiException
+
+
TelAPI allows you to play an audio file during a call. This is useful for + playing hold music, providing IVR prompts, etc. Plays the whole audio to + both legs, without mixing and looping. +

+

+
Parameters:
callSid - The call to which to play audio to.
soundsUrl - URL containg the sound file to play during the call. If + multiple sounds are to be played, separate each by a comma in + the request. +
Returns:
The Call to which audio is played. +
Throws: +
TelapiException
+
+
+
+ +

+voiceEffects

+
+public Call voiceEffects(String accountSid,
+                         String callSid,
+                         AudioDirection audioDirection,
+                         Double pitch,
+                         Long pitchSemiTones,
+                         Long pitchOctaves,
+                         Double rate)
+                  throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
voiceEffects(String, AudioDirection, Double, Long, Long, Double)
+
+
+
+ +

+voiceEffects

+
+public Call voiceEffects(String callSid,
+                         AudioDirection audioDirection,
+                         Double pitch,
+                         Long pitchSemiTones,
+                         Long pitchOctaves,
+                         Double rate)
+                  throws TelapiException
+
+
With TelAPI you can modify the way a callers voice sounds by changing + things such as speed and pitch of the audio. +

+

+
Parameters:
callSid - The call to which to apply voice effects.
audioDirection - Specifies the stream of audio that effects will occur on. Set + "in" to change incoming audio stream or "out" to change + outgoing audio stream. Defaults to out.
pitch - Manually sets the pitch. The lower the value, the lower the + tone. Must be a value greater than 0. Defaults to 1.
pitchSemiTones - Changes the pitch of audio in semitone intervals. Must be a + value between -14 and 14. Defaults to 0.
pitchOctaves - Changes the pitch of audio in octave intervals. Must be a + value between -1 and 1. Defaults to 0.
rate - Manually sets the rate starting from 1. The lower the value, + the lower the rate. Defaults to 1. +
Returns:
The Call to which voice effects are applied. +
Throws: +
TelapiException
+
+
+
+ +

+recordCall

+
+public RecordingList recordCall(String accountSid,
+                                String callSid,
+                                Boolean record,
+                                Long timeLimit,
+                                String callbackUrl)
+                         throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
recordCall(String, Boolean, Long, String)
+
+
+
+ +

+recordCall

+
+public RecordingList recordCall(String callSid,
+                                Boolean record,
+                                Long timeLimit,
+                                String callbackUrl)
+                         throws TelapiException
+
+
TelAPI offers a way to both initiate or end a call recording. Both + processes are achieved using the same method. The parameters sent are + what determines whether a recording will start or end if it is already + in-progress. +

+

+
Parameters:
callSid - The call which is to be recorded.
record - Specifies if call recording should beging or end. To start + recording a call, value must be true. To stop recording a + call, value must be false.
timeLimit - The time in seconds the duration a call recording should not + exceed. If no value specified, recordings are 60 seconds by + default.
callbackUrl - URL where recording information will be relayed to after it + has completed. +
Returns:
A list of recordings. +
Throws: +
TelapiException
+
+
+
+ +

+viewConference

+
+public Conference viewConference(String accountSid,
+                                 String conferenceSid)
+                          throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
viewConference(String)
+
+
+
+ +

+listConferences

+
+public ConferenceList listConferences(String accountSid,
+                                      String friendlyName,
+                                      String status,
+                                      Date dateCreatedGte,
+                                      Date dateCreatedLt,
+                                      Date dateUpdatedGte,
+                                      Date dateUpdatedLt,
+                                      Long page,
+                                      Long pageSize)
+                               throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
#listConferences(String, Boolean, Boolean, Long, Long)
+
+
+
+ +

+viewParticipant

+
+public Participant viewParticipant(String accountSid,
+                                   String conferenceSid,
+                                   String callSid)
+                            throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
viewParticipant(String, String)
+
+
+
+ +

+viewParticipant

+
+public Participant viewParticipant(String conferenceSid,
+                                   String callSid)
+                            throws TelapiException
+
+
Participants of a conference are identified by the CallSid created when + they dial into the conference. To access individual conference + participants, use this method. +

+

+
Parameters:
conferenceSid - The conference the participant is part of.
callSid - The call with which the participant participates in the + conference. +
Returns:
The selected participant. +
Throws: +
TelapiException
+
+
+
+ +

+listParticipants

+
+public List<Participant> listParticipants(String accountSid,
+                                          String conferenceSid,
+                                          Boolean muted,
+                                          Boolean deaf,
+                                          Long page,
+                                          Long pageSize)
+                                   throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
listParticipants(String, Boolean, Boolean, Long, Long)
+
+
+
+ +

+listParticipants

+
+public List<Participant> listParticipants(String conferenceSid,
+                                          Boolean muted,
+                                          Boolean deaf,
+                                          Long page,
+                                          Long pageSize)
+                                   throws TelapiException
+
+
Used to get a list of participants currently connected to a particular + conference. +

+

+
Parameters:
conferenceSid - The sid of the Conference for which participants are + requested.
muted - Only list participants that are muted. Defaults to false.
deaf - Only list participants that are deaf. Defaults to false.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of participants currently connected to a particular + conference. +
Throws: +
TelapiException
+
+
+
+ +

+listParticipants

+
+public List<Participant> listParticipants(String conferenceSid)
+                                   throws TelapiException
+
+
Convenience method. +

+

+ +
Throws: +
TelapiException
See Also:
listParticipants(String, Boolean, Boolean, Long, Long)
+
+
+
+ +

+deafOrMuteParticipant

+
+public Participant deafOrMuteParticipant(String accountSid,
+                                         String conferenceSid,
+                                         String callSid,
+                                         Boolean muted,
+                                         Boolean deaf)
+                                  throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
deafOrMuteParticipant(String, String, Boolean, Boolean)
+
+
+
+ +

+deafOrMuteParticipant

+
+public Participant deafOrMuteParticipant(String conferenceSid,
+                                         String callSid,
+                                         Boolean muted,
+                                         Boolean deaf)
+                                  throws TelapiException
+
+
Conference participants can be muted or deafed by calling this method. +

+

+
Parameters:
conferenceSid - The Conference the participant is a part of.
callSid - The Call used to identify the participant.
muted - Specifies whether the participant should be muted.
deaf - Specifies whether the participant should be deaf. +
Returns:
The participant which was muted/unmuted/deafened/undeafened. +
Throws: +
TelapiException
+
+
+
+ +

+hangupParticipant

+
+public Participant hangupParticipant(String accountSid,
+                                     String conferenceSid,
+                                     String callSid)
+                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
#hangupMember(String, String)
+
+
+
+ +

+hangupParticipant

+
+public Participant hangupParticipant(String conferenceSid,
+                                     String callSid)
+                              throws TelapiException
+
+
Hangup conference members by conference sid and call sid. +

+

+
Parameters:
conferenceSid - The sid of the requested Conference.
callSid - Specifies the member to hangup via the call used by the member + to enter the conference. +
Returns:
The Participant which was hung up on. +
Throws: +
TelapiException
+
+
+
+ +

+playAudioToParticipant

+
+public Participant playAudioToParticipant(String accountSid,
+                                          String conferenceSid,
+                                          String callSid,
+                                          String url)
+                                   throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
playAudioToParticipant(String, String, String)
+
+
+
+ +

+viewConference

+
+public Conference viewConference(String conferenceSid)
+                          throws TelapiException
+
+
Resource properties about conference calls that occurred through a TelAPI + account can be requested using our API. +

+

+
Parameters:
conferenceSid - The sid of the requested Conference. +
Returns:
The requested conference. +
Throws: +
TelapiException
+
+
+
+ +

+listConferences

+
+public ConferenceList listConferences(String friendlyName,
+                                      String status,
+                                      Date dateCreatedGte,
+                                      Date dateCreatedLt,
+                                      Date dateUpdatedGte,
+                                      Date dateUpdatedLt,
+                                      Long page,
+                                      Long pageSize)
+                               throws TelapiException
+
+
To view a list of all conference resources associated with a given + account, the URI below is provided. The response returned lists + conferences in chronological order and includes information on each + member of the conference. +

+

+
Parameters:
friendlyName - List conferences with the given FriendlyName.
status - List conferences with the given status. Allowed values are: + init, in-progress, or completed.
dateCreatedGte - List conferences created on or after this date.
dateCreatedLt - List conferences created before this date.
dateUpdatedGte - List conferences updated on or after this date.
dateUpdatedLt - List conferences updated before this date.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of Conferences accorded to the specified parameters.s +
Throws: +
TelapiException
+
+
+
+ +

+listConferences

+
+public ConferenceList listConferences()
+                               throws TelapiException
+
+
To view a list of all conference resources associated with a given + account, the URI below is provided. The response returned lists + conferences in chronological order and includes information on each + member of the conference. +

+

+ +
Returns:
A list of all the Conferences belonging to the account. +
Throws: +
TelapiException
+
+
+
+ +

+playAudioToParticipant

+
+public Participant playAudioToParticipant(String conferenceSid,
+                                          String callSid,
+                                          String audioUrl)
+                                   throws TelapiException
+
+
Pre-recorded sound from a file can be played to conference members. +

+

+
Parameters:
conferenceSid - The sid of the requested Conference.
callSid - Specifies the conference member to be spoken to via Call sid.
audioUrl - URL containing the audio file to play. +
Returns:
The Participant to which the audio was played. +
Throws: +
TelapiException
+
+
+
+ +

+viewApplication

+
+public Application viewApplication(String accountSid,
+                                   String applicationSid)
+                            throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
viewApplication(String)
+
+
+
+ +

+listApplications

+
+public ApplicationList listApplications(String accountSid,
+                                        String friendlyName,
+                                        Long page,
+                                        Long pageSize)
+                                 throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
listApplications(String, Long, Long)
+
+
+
+ +

+createApplication

+
+public Application createApplication(String accountSid,
+                                     String friendlyName,
+                                     String voiceUrl,
+                                     HttpMethod voiceMethod,
+                                     String voiceFallbackUrl,
+                                     HttpMethod voiceFallbackMethod,
+                                     Boolean voiceCallerIdLookup,
+                                     String smsUrl,
+                                     HttpMethod smsMethod,
+                                     String smsFallbackUrl,
+                                     HttpMethod smsFallbackMethod,
+                                     String heartbeatUrl,
+                                     HttpMethod heartbeatMethod,
+                                     String hangupCallback,
+                                     HttpMethod hangupCallbackMethod)
+                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
createApplication(String, String, HttpMethod, String, HttpMethod, + Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, + String, HttpMethod)
+
+
+
+ +

+createApplication

+
+public Application createApplication(ApplicationRequest applicationRequest)
+                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
createApplication(String, String, HttpMethod, String, HttpMethod, + Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, + String, HttpMethod)
+
+
+
+ +

+updateApplication

+
+public Application updateApplication(String accountSid,
+                                     String applicationSid,
+                                     String friendlyName,
+                                     String voiceUrl,
+                                     HttpMethod voiceMethod,
+                                     String voiceFallbackUrl,
+                                     HttpMethod voiceFallbackMethod,
+                                     Boolean voiceCallerIdLookup,
+                                     String smsUrl,
+                                     HttpMethod smsMethod,
+                                     String smsFallbackUrl,
+                                     HttpMethod smsFallbackMethod,
+                                     String heartbeatUrl,
+                                     HttpMethod heartbeatMethod,
+                                     String hangupCallback,
+                                     HttpMethod hangupCallbackMethod)
+                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
updateApplication(String, String, String, HttpMethod, String, + HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, + HttpMethod, String, HttpMethod)
+
+
+
+ +

+updateApplication

+
+public Application updateApplication(ApplicationRequest applicationRequest)
+                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
updateApplication(String, String, String, HttpMethod, String, + HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, + HttpMethod, String, HttpMethod)
+
+
+
+ +

+deleteApplication

+
+public Application deleteApplication(String accountSid,
+                                     String applicationSid)
+                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
deleteApplication(String)
+
+
+
+ +

+viewApplication

+
+public Application viewApplication(String applicationSid)
+                            throws TelapiException
+
+
TelAPI offers the ability to preset all voice and sms urls for a given + application name. This application can then be assigned to multiple + numbers so you don't have to update all of their urls manually. + Application details can be accessed by using this method. +

+

+
Parameters:
applicationSid - The sid of the requested Application. +
Returns:
The requested application. +
Throws: +
TelapiException
+
+
+
+ +

+listApplications

+
+public ApplicationList listApplications(String friendlyName,
+                                        Long page,
+                                        Long pageSize)
+                                 throws TelapiException
+
+
Used to get a list of application resources associated with a given + account. +

+

+
Parameters:
friendlyName - Specifies that only application resources matching the input + FreindlyName should be returned in the list request.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of applications. +
Throws: +
TelapiException
+
+
+
+ +

+listApplications

+
+public ApplicationList listApplications()
+                                 throws TelapiException
+
+
Used to get a list of all application resources associated with a given + account. +

+

+ +
Returns:
A list of all applications. +
Throws: +
TelapiException
+
+
+
+ +

+createApplication

+
+public Application createApplication(String friendlyName,
+                                     String voiceUrl,
+                                     HttpMethod voiceMethod,
+                                     String voiceFallbackUrl,
+                                     HttpMethod voiceFallbackMethod,
+                                     Boolean voiceCallerIdLookup,
+                                     String smsUrl,
+                                     HttpMethod smsMethod,
+                                     String smsFallbackUrl,
+                                     HttpMethod smsFallbackMethod,
+                                     String heartbeatUrl,
+                                     HttpMethod heartbeatMethod,
+                                     String hangupCallback,
+                                     HttpMethod hangupCallbackMethod)
+                              throws TelapiException
+
+
Creates a new application for managing TelAPI phone numbers, +

+

+
Parameters:
friendlyName - The name used to identify this application.
voiceUrl - The URL returning InboundXML incoming calls should execute + when connected.
voiceMethod - Specifies the HTTP method used to request the VoiceUrl once + incoming call connects. Defaults to POST.
voiceFallbackUrl - URL used if any errors occur during execution of InboundXML on + a call or at initial request of the VoiceUrl.
voiceFallbackMethod - Specifies the HTTP method (GET or POST) used to request the + VoiceFallBackUrl if it is needed. Defaults to POST.
voiceCallerIdLookup - Look up the caller's caller ID name from the CNAM database + (additional charges apply). Defaults to false.
smsUrl - The URL returning InboundXML incoming phone numbers should + execute when receiving an sms.
smsMethod - The HTTP method used when making requests to the SmsUrl. + Either GET or POST.
smsFallbackUrl - URL used if any errors occur during execution of InboundXML + from an sms or at initial request of the SmsUrl.
smsFallbackMethod - Specifies the HTTP method (GET or POST) used to request the + SmsFallbackUrl. Defaults to POST.
heartbeatUrl - URL that can be used to monitor the phone number.
heartbeatMethod - The HTTP method TelApi will use when requesting the + HeartbeatURL. Either GET or POST. Defaults to POST.
hangupCallback - URL that can be requested to receive notification when and how + incoming call has ended.
hangupCallbackMethod - Specifies the HTTP method (GET or POST) used to request the + HangupCallback URL. +
Returns:
The created Application. +
Throws: +
TelapiException
+
+
+
+ +

+updateApplication

+
+public Application updateApplication(String applicationSid,
+                                     String friendlyName,
+                                     String voiceUrl,
+                                     HttpMethod voiceMethod,
+                                     String voiceFallbackUrl,
+                                     HttpMethod voiceFallbackMethod,
+                                     Boolean voiceCallerIdLookup,
+                                     String smsUrl,
+                                     HttpMethod smsMethod,
+                                     String smsFallbackUrl,
+                                     HttpMethod smsFallbackMethod,
+                                     String heartbeatUrl,
+                                     HttpMethod heartbeatMethod,
+                                     String hangupCallback,
+                                     HttpMethod hangupCallbackMethod)
+                              throws TelapiException
+
+
Used to update an existing application. +

+

+
Parameters:
applicationSid - The sid of the application to update.
friendlyName - The name used to identify this application.
voiceUrl - The URL returning InboundXML incoming calls should execute + when connected.
voiceMethod - Specifies the HTTP method used to request the VoiceUrl once + incoming call connects. Defaults to POST.
voiceFallbackUrl - URL used if any errors occur during execution of InboundXML on + a call or at initial request of the VoiceUrl.
voiceFallbackMethod - Specifies the HTTP method (GET or POST) used to request the + VoiceFallBackUrl if it is needed. Defaults to POST.
voiceCallerIdLookup - Look up the caller's caller ID name from the CNAM database + (additional charges apply). Defaults to false.
smsUrl - The URL returning InboundXML incoming phone numbers should + execute when receiving an sms.
smsMethod - The HTTP method used when making requests to the SmsUrl. + Either GET or POST.
smsFallbackUrl - URL used if any errors occur during execution of InboundXML + from an sms or at initial request of the SmsUrl.
smsFallbackMethod - Specifies the HTTP method (GET or POST) used to request the + SmsFallbackUrl. Defaults to POST.
heartbeatUrl - URL that can be used to monitor the phone number.
heartbeatMethod - The HTTP method TelApi will use when requesting the + HeartbeatURL. Either GET or POST. Defaults to POST.
hangupCallback - URL that can be requested to receive notification when and how + incoming call has ended.
hangupCallbackMethod - Specifies the HTTP method (GET or POST) used to request the + HangupCallback URL. +
Returns:
The edited Application. +
Throws: +
TelapiException
+
+
+
+ +

+deleteApplication

+
+public Application deleteApplication(String applicationSid)
+                              throws TelapiException
+
+
Deletes an existing application. +

+

+
Parameters:
applicationSid - The sid of the Application to delete. +
Returns:
The deleted application. +
Throws: +
TelapiException
+
+
+
+ +

+viewIncomingPhoneNumber

+
+public IncomingPhoneNumber viewIncomingPhoneNumber(String accountSid,
+                                                   String incomingPhoneNumberSid)
+                                            throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
viewIncomingPhoneNumber(String)
+
+
+
+ +

+listIncomingPhoneNumbers

+
+public IncomingPhoneNumberList listIncomingPhoneNumbers(String accountSid,
+                                                        String phoneNumber,
+                                                        String friendlyName,
+                                                        Long page,
+                                                        Long pageSize)
+                                                 throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
listIncomingPhoneNumbers(String, String, Long, Long)
+
+
+
+ +

+addIncomingPhoneNumber

+
+public IncomingPhoneNumber addIncomingPhoneNumber(String accountSid,
+                                                  String phoneNumber,
+                                                  String areaCode)
+                                           throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
addIncomingPhoneNumber(String, String)
+
+
+
+ +

+deleteIncomingPhoneNumber

+
+public IncomingPhoneNumber deleteIncomingPhoneNumber(String accountSid,
+                                                     String incomingPhoneNumberSid)
+                                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
deleteIncomingPhoneNumber(String)
+
+
+
+ +

+updateIncomingPhoneNumber

+
+public IncomingPhoneNumber updateIncomingPhoneNumber(String accountSid,
+                                                     String incomingPhoneNumberSid,
+                                                     String friendlyName,
+                                                     String voiceUrl,
+                                                     HttpMethod voiceMethod,
+                                                     String voiceFallbackUrl,
+                                                     HttpMethod voiceFallbackMethod,
+                                                     Boolean voiceCallerIdLookup,
+                                                     String smsUrl,
+                                                     HttpMethod smsMethod,
+                                                     String smsFallbackUrl,
+                                                     HttpMethod smsFallbackMethod,
+                                                     String hangupCallback,
+                                                     HttpMethod hangupCallbackMethod,
+                                                     String heartbeatUrl,
+                                                     HttpMethod heartbeatMethod)
+                                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
updateIncomingPhoneNumber(String, String, String, HttpMethod, + String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, + String, HttpMethod, String, HttpMethod)
+
+
+
+ +

+updateIncomingPhoneNumber

+
+public IncomingPhoneNumber updateIncomingPhoneNumber(IncomingPhoneNumberRequest ipnRequest)
+                                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
#updateIncomingPhoneNumber(String, String, String, HttpMethod, + String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, + String, HttpMethod)
+
+
+
+ +

+viewIncomingPhoneNumber

+
+public IncomingPhoneNumber viewIncomingPhoneNumber(String incomingPhoneNumberSid)
+                                            throws TelapiException
+
+
TelAPI phone numbers associated with an account are represented with the + IncomingPhoneNumber resource. This method gets information about an + IncomingPhoneNumber. +

+

+
Parameters:
incomingPhoneNumberSid - An alphanumeric string used for identification of incoming + phone numbers. +
Returns:
The requested IncomingPhoneNumber. +
Throws: +
TelapiException
+
+
+
+ +

+listIncomingPhoneNumbers

+
+public IncomingPhoneNumberList listIncomingPhoneNumbers(String phoneNumber,
+                                                        String friendlyName,
+                                                        Long page,
+                                                        Long pageSize)
+                                                 throws TelapiException
+
+
Retrieves a list of incoming phone number resources associated with a + given account. +

+

+
Parameters:
phoneNumber - Specifies which IncomingPhoneNumber resources should be + returned in the list request.
friendlyName - Specifies that only IncomingPhoneNumber resources matching the + input FreindlyName should be returned in the list request.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of IncomingPhoneNumber resources. +
Throws: +
TelapiException
+
+
+
+ +

+listIncomingPhoneNumbers

+
+public IncomingPhoneNumberList listIncomingPhoneNumbers()
+                                                 throws TelapiException
+
+
Retrieves a list of all incoming phone number resources associated with a + given account. +

+

+ +
Returns:
A list of all IncomingPhoneNumber resources. +
Throws: +
TelapiException
+
+
+
+ +

+addIncomingPhoneNumber

+
+public IncomingPhoneNumber addIncomingPhoneNumber(String phoneNumber,
+                                                  String areaCode)
+                                           throws TelapiException
+
+
TelAPI incoming phone numbers can be added or removed from an account + through our REST API. Note that adding numbers to an account via the REST + API costs the same as purchasing them through your account dashboard on + telapi.com. +

+

+
Parameters:
phoneNumber - Desired phone number to add to the account (E.164 format). + Must be a valid and available phone number (see + #listAvailablePhoneNumbers(String, String, String, String, String) + ).
areaCode - Desired area code of phone number to add to the account. +
Returns:
The added IncomingPhoneNumber.s +
Throws: +
TelapiException
+
+
+
+ +

+deleteIncomingPhoneNumber

+
+public IncomingPhoneNumber deleteIncomingPhoneNumber(String incomingPhoneNumberSid)
+                                              throws TelapiException
+
+
Deletes an IncomingPhoneNumber from your account. If the deletion is + successful the incoming phone number resource of the item you have + deleted will be returned. Please keep in mind that this resource item + will be visible only once after deletion in the return so note anything + about the resource you may need before it no longer exists. +

+

+
Parameters:
incomingPhoneNumberSid - The sid of the IncomingPhoneNumber which is to be deleted. +
Returns:
The deleted IncomingPhoneNumber +
Throws: +
TelapiException
+
+
+
+ +

+updateIncomingPhoneNumber

+
+public IncomingPhoneNumber updateIncomingPhoneNumber(String incomingPhoneNumberSid,
+                                                     String friendlyName,
+                                                     String voiceUrl,
+                                                     HttpMethod voiceMethod,
+                                                     String voiceFallbackUrl,
+                                                     HttpMethod voiceFallbackMethod,
+                                                     Boolean voiceCallerIdLookup,
+                                                     String smsUrl,
+                                                     HttpMethod smsMethod,
+                                                     String smsFallbackUrl,
+                                                     HttpMethod smsFallbackMethod,
+                                                     String hangupCallback,
+                                                     HttpMethod hangupCallbackMethod,
+                                                     String heartbeatUrl,
+                                                     HttpMethod heartbeatMethod)
+                                              throws TelapiException
+
+
Updates properties of an IncomingPhoneNumber. +

+

+
Parameters:
incomingPhoneNumberSid - The sid of the IncomingPhoneNumber which is to be updated.
friendlyName - The TelAPI phone number in an easier to read domestic format + (e.g. 1234567890 to (123)-456-7890).
voiceUrl - The URL returning InboundXML incoming phone numbers should + execute when connected.
voiceMethod - Specifies the HTTP method used to request the VoiceUrl once + incoming call connects.
voiceFallbackUrl - URL used if any errors occur during execution of InboundXML + during a call or at initial request of the VoiceUrl.
voiceFallbackMethod - Specifies the HTTP method used to request the VoiceFallBackUrl + if it is needed.
voiceCallerIdLookup - Specifies whether CNAM caller ID look up is enabled with a + particular incoming number.
hangupCallback - URL that can be requested to receive notification when and how + incoming call has ended.
hangupCallbackMethod - Specifies the HTTP method used to request the HangupCallback + URL.
heartbeatUrl - URL that can be requested every 60 seconds during the call to + notify of elapsed time and pass other general information.
heartBeatMethod - Specifies the HTTP method used to request the Heartbeat URL.
smsUrl - The URL returning InboundXML incoming phone numbers should + execute when receiving an sms.
smsMethod - Specifies the HTTP method used to request the SmsUrl.
smsFallbackUrl - URL used if any errors occur during execution of InboundXML + from an sms or at initial request of the SmsUrl.
smsFallbackMethod - Specifies the HTTP method used to request the SmsFallbackUrl. +
Returns:
The updated IncomingPhoneNumber. +
Throws: +
TelapiException
+
+
+
+ +

+listAvailablePhoneNumbers

+
+public AvailablePhoneNumberList listAvailablePhoneNumbers(String accountSid,
+                                                          String isoCountryCode,
+                                                          String areaCode,
+                                                          String contains,
+                                                          String inRegion,
+                                                          String inPostalCode,
+                                                          Long page,
+                                                          Long pageSize)
+                                                   throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
#listAvailablePhoneNumbers(String, String, String, String, String)
+
+
+
+ +

+listAvailablePhoneNumbers

+
+public AvailablePhoneNumberList listAvailablePhoneNumbers(String isoCountryCode,
+                                                          String areaCode,
+                                                          String contains,
+                                                          String inRegion,
+                                                          String inPostalCode,
+                                                          Long page,
+                                                          Long pageSize)
+                                                   throws TelapiException
+
+
If you want to add a new TelAPI number, you need to know what ones are + available. Our REST API provides a way to request a list of available + numbers along with all of their resource properties so you know the + numbers you have to choose from. +

+

+
Parameters:
isoCountryCode - ISO country code used for search (required).
areaCode - Specifies the area code that the returned list of available + numbers should be in. Only available for North American + numbers
contains - Specifies the desired characters contained within the + available numbers to list. Allowed values are 0-9, Aa-Zz and + *.
inRegion - Specifies the desired region of the available numbers to be + listed.
inPostalCode - Specifies the desired postal code of the available numbers to + be listed.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of available phone numbers. +
Throws: +
TelapiException
+
+
+
+ +

+listRecordings

+
+public RecordingList listRecordings(String accountSid,
+                                    Date dateCreatedGte,
+                                    Date dateCreatedLt,
+                                    Long page,
+                                    Long pageSize)
+                             throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
listRecordings(Date, Date, Long, Long)
+
+
+
+ +

+listRecordings

+
+public RecordingList listRecordings(Date dateCreatedGte,
+                                    Date dateCreatedLt,
+                                    Long page,
+                                    Long pageSize)
+                             throws TelapiException
+
+
Gets a list of Recordings. +

+

+
Parameters:
dateCreatedGte - Recordings with a creation date greater or equal than this + will be returned.
dateCreatedLt - Recordings with a creation date lesser than this will be + returned.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of Recordings. +
Throws: +
TelapiException
+
+
+
+ +

+listRecordings

+
+public RecordingList listRecordings()
+                             throws TelapiException
+
+
Gets a list of all Recordings. +

+

+ +
Returns:
A list of all Recordings. +
Throws: +
TelapiException
+
+
+
+ +

+listCallRecordings

+
+public RecordingList listCallRecordings(String accountSid,
+                                        String callSid,
+                                        Date dateCreatedGte,
+                                        Date dateCreatedLt,
+                                        Long page,
+                                        Long pageSize)
+                                 throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
listCallRecordings(String, Date, Date, Long, Long)
+
+
+
+ +

+listCallRecordings

+
+public RecordingList listCallRecordings(String callSid,
+                                        Date dateCreatedGte,
+                                        Date dateCreatedLt,
+                                        Long page,
+                                        Long pageSize)
+                                 throws TelapiException
+
+
Gets a list of Recordings which belong to a specified Call. +

+

+
Parameters:
callSid - The sid of the Call for which the recordings are requested.
dateCreatedGte - Recordings with a creation date greater or equal than this + will be returned.
dateCreatedLt - Recordings with a creation date lesser than this will be + returned.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of Recordings. +
Throws: +
TelapiException
+
+
+
+ +

+viewRecording

+
+public Recording viewRecording(String accountSid,
+                               String recordingSid)
+                        throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
viewRecording(String)
+
+
+
+ +

+viewRecording

+
+public Recording viewRecording(String recordingSid)
+                        throws TelapiException
+
+
A single recording details can be viewed by calling this method. +

+

+
Parameters:
recordingSid - The sid of the requested Recording (required). +
Returns:
The requested Recording. +
Throws: +
TelapiException
+
+
+
+ +

+getRecordingUrl

+
+public String getRecordingUrl(String accountSid,
+                              String recordingSid)
+                       throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
getRecordingUrl(String)
+
+
+
+ +

+getRecordingUrl

+
+public String getRecordingUrl(String recordingSid)
+                       throws TelapiException
+
+
Gets the URL of the audio file containing the recording. +

+

+
Parameters:
recordingSid - The recording for which the audio file is requested. +
Returns:
The URL to the audio file containing the selected Recording. +
Throws: +
TelapiException
+
+
+
+ +

+listNotifications

+
+public NotificationList listNotifications(String accountSid,
+                                          LogLevel log,
+                                          Long page,
+                                          Long pageSize)
+                                   throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
listNotifications(LogLevel, Long, Long)
+
+
+
+ +

+listNotifications

+
+public NotificationList listNotifications(LogLevel log,
+                                          Long page,
+                                          Long pageSize)
+                                   throws TelapiException
+
+
Returns a list of notifications associated with the account. +

+

+
Parameters:
log - Specifies that only notifications with the given log level + value should be listed. INFO, WARNING, or ERROR.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of Notifications. +
Throws: +
TelapiException
+
+
+
+ +

+listNotifications

+
+public NotificationList listNotifications()
+                                   throws TelapiException
+
+
Returns a list of all notifications associated with the account. +

+

+ +
Returns:
A list of all Notifications. +
Throws: +
TelapiException
+
+
+
+ +

+listCallNotifications

+
+public NotificationList listCallNotifications(String accountSid,
+                                              String callSid,
+                                              LogLevel log,
+                                              Long page,
+                                              Long pageSize)
+                                       throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
listCallNotifications(String, LogLevel, Long, Long)
+
+
+
+ +

+listCallNotifications

+
+public NotificationList listCallNotifications(String callSid,
+                                              LogLevel log,
+                                              Long page,
+                                              Long pageSize)
+                                       throws TelapiException
+
+
Returns a list of notifications associated with a certain Call. +

+

+
Parameters:
callSid - The sid of the Call for which Notifications are to be + retrieved.
log - Specifies that only notifications with the given log level + value should be listed. INFO, WARNING, or ERROR.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of Notifications. +
Throws: +
TelapiException
+
+
+
+ +

+viewNotification

+
+public Notification viewNotification(String accountSid,
+                                     String notificationSid)
+                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
viewNotification(String)
+
+
+
+ +

+viewNotification

+
+public Notification viewNotification(String notificationSid)
+                              throws TelapiException
+
+
Retrieves details about a Notification. +

+

+
Parameters:
notificationSid - The sid of the Notification to be retrieved. +
Returns:
The requested Notification. +
Throws: +
TelapiException
+
+
+
+ +

+viewTranscription

+
+public Transcription viewTranscription(String accountSid,
+                                       String transcriptionSid)
+                                throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
viewTranscription(String)
+
+
+
+ +

+viewTranscriptionText

+
+public String viewTranscriptionText(String accountSid,
+                                    String transcriptionSid)
+                             throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
viewTranscriptionText(String)
+
+
+
+ +

+listTranscriptions

+
+public TranscriptionList listTranscriptions(String accountSid,
+                                            TranscriptionStatus status,
+                                            Date dateTranscribedGte,
+                                            Date dateTranscribedLt,
+                                            Long page,
+                                            Long pageSize)
+                                     throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
listTranscriptions(TranscriptionStatus, Date, Date, Long, Long)
+
+
+
+ +

+listRecordingTranscriptions

+
+public TranscriptionList listRecordingTranscriptions(String accountSid,
+                                                     String recordingSid,
+                                                     TranscriptionStatus status,
+                                                     Date dateTranscribedGte,
+                                                     Date dateTranscribedLt,
+                                                     Long page,
+                                                     Long pageSize)
+                                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
listRecordingTranscriptions(String, TranscriptionStatus, Date, Date, Long, Long)
+
+
+
+ +

+transcribeRecording

+
+public Transcription transcribeRecording(String accountSid,
+                                         String recordingSid,
+                                         String transcribeCallback,
+                                         HttpMethod callbackMethod,
+                                         TranscriptionType quality)
+                                  throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
transcribeRecording(String, String, HttpMethod, TranscriptionType)
+
+
+
+ +

+transcribeAudioUrl

+
+public Transcription transcribeAudioUrl(String accountSid,
+                                        String audioUrl,
+                                        String transcribeCallback,
+                                        HttpMethod callbackMethod,
+                                        TranscriptionType quality)
+                                 throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
transcribeAudioUrl(String, String, HttpMethod, TranscriptionType)
+
+
+
+ +

+viewTranscription

+
+public Transcription viewTranscription(String transcriptionSid)
+                                throws TelapiException
+
+
Gets the details of a Transcription resource. +

+

+
Parameters:
transcriptionSid - The sid of the requested Transcription (required). +
Returns:
The requested Transcription. +
Throws: +
TelapiException
+
+
+
+ +

+viewTranscriptionText

+
+public String viewTranscriptionText(String transcriptionSid)
+                             throws TelapiException
+
+
Gets just the transcription text of a Transcription. +

+

+
Parameters:
transcriptionSid - The sid of the requested Transcription (required). +
Returns:
The transcription text of the requested Transcription. +
Throws: +
TelapiException
+
+
+
+ +

+listTranscriptions

+
+public TranscriptionList listTranscriptions(TranscriptionStatus status,
+                                            Date dateTranscribedGte,
+                                            Date dateTranscribedLt,
+                                            Long page,
+                                            Long pageSize)
+                                     throws TelapiException
+
+
Lists transcriptions belonging to an account. +

+

+
Parameters:
status - Used to only return transcriptions with a given status + (completed, in-progress or failed).
dateTranscribedGte - Used to only return transcriptions that occurred at or after + the given date.
dateTranscribedLt - Used to only return transcriptions that occurred at or before + the given date.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of Transcriptions. +
Throws: +
TelapiException
+
+
+
+ +

+listTranscriptions

+
+public TranscriptionList listTranscriptions()
+                                     throws TelapiException
+
+
Lists all the transcriptions belonging to an account. +

+

+ +
Returns:
A list of all Transcriptions. +
Throws: +
TelapiException
+
+
+
+ +

+listRecordingTranscriptions

+
+public TranscriptionList listRecordingTranscriptions(String recordingSid,
+                                                     TranscriptionStatus status,
+                                                     Date dateTranscribedGte,
+                                                     Date dateTranscribedLt,
+                                                     Long page,
+                                                     Long pageSize)
+                                              throws TelapiException
+
+
Lists all the transcriptions belonging to an account. +

+

+
Parameters:
recordingSid - The sid of the Recording for which transcriptions are + requested (required).
status - Used to only return transcriptions with a given status + (completed, in-progress or failed).
dateTranscribedGte - Used to only return transcriptions that occurred at or after + the given date.
dateTranscribedLt - Used to only return transcriptions that occurred at or before + the given date.
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of Transcriptions. +
Throws: +
TelapiException
+
+
+
+ +

+transcribeRecording

+
+public Transcription transcribeRecording(String recordingSid,
+                                         String transcribeCallback,
+                                         HttpMethod callbackMethod,
+                                         TranscriptionType quality)
+                                  throws TelapiException
+
+
Transcribes a recording. +

+

+
Parameters:
recordingSid - The sid of the Recording to be transcribed (required).
transcribeCallback - URL that will be requested when the transcription has finished + processing.
callbackMethod - Specifies the HTTP method to use when requesting the + TranscribeCallback URL. Defaults to POST.
quality - Specifies the transcription quality. Transcription price + differs for each quality tier. See the pricing page for + details. +
Returns:
The newly created Transcription. +
Throws: +
TelapiException
+
+
+
+ +

+transcribeAudioUrl

+
+public Transcription transcribeAudioUrl(String audioUrl,
+                                        String transcribeCallback,
+                                        HttpMethod callbackMethod,
+                                        TranscriptionType quality)
+                                 throws TelapiException
+
+
Transcribes audio found on an URL. +

+

+
Parameters:
audioUrl - URL where the audio to be transcribed is located (required).
transcribeCallback - URL that will be requested when the transcription has finished + processing.
callbackMethod - Specifies the HTTP method to use when requesting the + TranscribeCallback URL. Defaults to POST.
quality - Specifies the transcription quality. Transcription price + differs for each quality tier. See the pricing page for + details. +
Returns:
The newly created Transcription. +
Throws: +
TelapiException
+
+
+
+ +

+carrierLookup

+
+public CarrierLookupList carrierLookup(String accountSid,
+                                       String phoneNumber)
+                                throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
carrierLookup(String)
+
+
+
+ +

+carrierLookup

+
+public CarrierLookupList carrierLookup(String accountSid,
+                                       List<String> phoneNumber)
+                                throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
carrierLookup(List)
+
+
+
+ +

+cnamLookup

+
+public CnamDipList cnamLookup(String accountSid,
+                              String phoneNumber)
+                       throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
cnamLookup(String)
+
+
+
+ +

+cnamLookup

+
+public CnamDipList cnamLookup(String accountSid,
+                              List<String> phoneNumbers)
+                       throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
cnamLookup(List)
+
+
+
+ +

+carrierLookup

+
+public CarrierLookupList carrierLookup(String phoneNumber)
+                                throws TelapiException
+
+
Provides a way to look up the carrier of a phone number. +

+

+
Parameters:
phoneNumber - The number of the phone you are attempting to perform the + carrier look up on. Multiple PhoneNumbers to lookup can be + specified in a single request by seperating them with commas. +
Returns:
The CarrierLookup information for the requested number. +
Throws: +
TelapiException
+
+
+
+ +

+carrierLookup

+
+public CarrierLookupList carrierLookup(List<String> phoneNumber)
+                                throws TelapiException
+
+
Provides a way to look up the carrier of phone numbers. +

+

+
Parameters:
phoneNumber - The phone numbers you are attempting to perform the carrier look + up on. +
Returns:
The CarrierLookup information for the requested numbers. +
Throws: +
TelapiException
+
+
+
+ +

+cnamLookup

+
+public CnamDipList cnamLookup(String phoneNumber)
+                       throws TelapiException
+
+
Performs a CNAM lookup for a phone number. +

+

+
Parameters:
phoneNumber - The number of the phone you are attempting to perform the CNAM + look up on. Multiple PhoneNumbers to lookup can be specified + in a single request by seperating them with commas. +
Returns:
CNAM lookup information. +
Throws: +
TelapiException
+
+
+
+ +

+cnamLookup

+
+public CnamDipList cnamLookup(List<String> phoneNumbers)
+                       throws TelapiException
+
+
Performs a CNAM lookup for multiple phone numbers. +

+

+
Parameters:
phoneNumbers - The phone numbers you are attempting to perform the CNAM look + up on. +
Returns:
CNAM lookup information. +
Throws: +
TelapiException
+
+
+
+ +

+listFraudControlResources

+
+public FraudList listFraudControlResources(String accountSid,
+                                           Long page,
+                                           Long pageSize)
+                                    throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
listFraudControlResources(Long, Long)
+
+
+
+ +

+authorizeDestination

+
+public FraudList authorizeDestination(String accountSid,
+                                      String countryCode,
+                                      Boolean mobileEnabled,
+                                      Boolean landlineEnabled,
+                                      Boolean smsEnabled)
+                               throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
authorizeDestination(String, Boolean, Boolean, Boolean)
+
+
+
+ +

+blockDestination

+
+public FraudList blockDestination(String accountSid,
+                                  String countryCode,
+                                  Boolean mobileEnabled,
+                                  Boolean landlineEnabled,
+                                  Boolean smsEnabled)
+                           throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
blockDestination(String, Boolean, Boolean, Boolean)
+
+
+
+ +

+extendDestinationAuth

+
+public FraudList extendDestinationAuth(String accountSid,
+                                       String countryCode,
+                                       Boolean mobileEnabled,
+                                       Boolean landlineEnabled,
+                                       Boolean smsEnabled)
+                                throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
extendDestinationAuth(String, Boolean, Boolean, Boolean)
+
+
+
+ +

+whitelistDestination

+
+public FraudList whitelistDestination(String accountSid,
+                                      String countryCode,
+                                      Boolean mobileEnabled,
+                                      Boolean landlineEnabled,
+                                      Boolean smsEnabled)
+                               throws TelapiException
+
+
+ +
Throws: +
TelapiException
See Also:
whitelistDestination(String, Boolean, Boolean, Boolean)
+
+
+
+ +

+listFraudControlResources

+
+public FraudList listFraudControlResources(Long page,
+                                           Long pageSize)
+                                    throws TelapiException
+
+
Gets a list of Fraud control resources for a certain account. +

+

+
Parameters:
page - Used to return a particular page within the list.
pageSize - Used to specify the amount of list items to return per page. +
Returns:
A list of Fraud control resources. +
Throws: +
TelapiException
+
+
+
+ +

+listFraudControlResources

+
+public FraudList listFraudControlResources()
+                                    throws TelapiException
+
+
Gets a list of Fraud control resources for a certain account. +

+

+ +
Returns:
A list of Fraud control resources. +
Throws: +
TelapiException
+
+
+
+ +

+authorizeDestination

+
+public FraudList authorizeDestination(String countryCode,
+                                      Boolean mobileEnabled,
+                                      Boolean landlineEnabled,
+                                      Boolean smsEnabled)
+                               throws TelapiException
+
+
Used to authorize previously blocked destinations for outbound calls and + sms messages. Authorize is only meant to provide temporary permission: + see the whitelist docs if you want to permanently enable a destinations. + Unless extended, authorized destination will expire after 30 days. For + examples of valid country codes to use in the request URL see this article. +

+

+
Parameters:
countryCode - The country code which you want to authorize.
mobileEnabled - Mobile status for the destination. If false, all mobile call + activity will be rejected or disabled. Defaults to true.
landlineEnabled - Landline status for the destination. If false, all landline + call activity will be rejected or disabled. Defaults to true.
smsEnabled - SMS status for the destination. If false, all SMS activity + will be rejected or disabled. Defaults to true. +
Returns:
A list of Fraud control resources. +
Throws: +
TelapiException
+
+
+
+ +

+blockDestination

+
+public FraudList blockDestination(String countryCode,
+                                  Boolean mobileEnabled,
+                                  Boolean landlineEnabled,
+                                  Boolean smsEnabled)
+                           throws TelapiException
+
+
TelAPI will restrict outbound calls and sms messages to blocked + destinations. For examples of valid country codes to use in the request + URL see this + article. +

+

+
Parameters:
countryCode - The country code which you want to authorize.
mobileEnabled - Mobile status for the destination. If false, all mobile call + activity will be rejected or disabled. Defaults to true.
landlineEnabled - Landline status for the destination. If false, all landline + call activity will be rejected or disabled. Defaults to true.
smsEnabled - SMS status for the destination. If false, all SMS activity + will be rejected or disabled. Defaults to true. +
Returns:
A list of Fraud control resources. +
Throws: +
TelapiException
+
+
+
+ +

+extendDestinationAuth

+
+public FraudList extendDestinationAuth(String countryCode,
+                                       Boolean mobileEnabled,
+                                       Boolean landlineEnabled,
+                                       Boolean smsEnabled)
+                                throws TelapiException
+
+
By default, authorized destinations will expire and return to fully + blocked status after 30 days. The extend method is provided to extend a + destinations authorization expiration by 30 days. The extention is not + additive, it will put the expiration date 30 days from the date the + extension was made. For examples of valid country codes to use in the + request URL see this article. +

+

+
Parameters:
countryCode - The country code which you want to authorize.
mobileEnabled - Mobile status for the destination. If false, all mobile call + activity will be rejected or disabled. Defaults to true.
landlineEnabled - Landline status for the destination. If false, all landline + call activity will be rejected or disabled. Defaults to true.
smsEnabled - SMS status for the destination. If false, all SMS activity + will be rejected or disabled. Defaults to true. +
Returns:
A list of Fraud control resources. +
Throws: +
TelapiException
+
+
+
+ +

+whitelistDestination

+
+public FraudList whitelistDestination(String countryCode,
+                                      Boolean mobileEnabled,
+                                      Boolean landlineEnabled,
+                                      Boolean smsEnabled)
+                               throws TelapiException
+
+
Whitelisting is provided for destinations you wish to permanently + authorize. +

+

+
Parameters:
countryCode - The country code which you want to authorize.
mobileEnabled - Mobile status for the destination. If false, all mobile call + activity will be rejected or disabled. Defaults to true.
landlineEnabled - Landline status for the destination. If false, all landline + call activity will be rejected or disabled. Defaults to true.
smsEnabled - SMS status for the destination. If false, all SMS activity + will be rejected or disabled. Defaults to true. +
Returns:
A list of Fraud control resources. +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/class-use/TelapiConnector.html b/apidocs/com/telapi/api/class-use/TelapiConnector.html new file mode 100644 index 0000000..7cd622d --- /dev/null +++ b/apidocs/com/telapi/api/class-use/TelapiConnector.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.TelapiConnector (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.TelapiConnector

+
+No usage of com.telapi.api.TelapiConnector +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/configuration/BasicTelapiConfiguration.html b/apidocs/com/telapi/api/configuration/BasicTelapiConfiguration.html new file mode 100644 index 0000000..dc720e4 --- /dev/null +++ b/apidocs/com/telapi/api/configuration/BasicTelapiConfiguration.html @@ -0,0 +1,529 @@ + + + + + + + +BasicTelapiConfiguration (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.configuration +
+Class BasicTelapiConfiguration

+
+java.lang.Object
+  extended by com.telapi.api.configuration.BasicTelapiConfiguration
+
+
+
All Implemented Interfaces:
TelapiConfiguration
+
+
+
+
public class BasicTelapiConfiguration
extends Object
implements TelapiConfiguration
+ + +

+Provides a basic POJO-like implementation of TelapiConfiguration. +

+ +

+

+
See Also:
TelapiConfiguration
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
BasicTelapiConfiguration() + +
+           
BasicTelapiConfiguration(String sid, + String authToken) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAuthToken() + +
+           
+ StringgetBaseUrl() + +
+           
+ StringgetProxyHost() + +
+           
+ StringgetProxyPort() + +
+           
+ StringgetProxyProtocol() + +
+           
+ StringgetSid() + +
+           
+ voidsetAuthToken(String authToken) + +
+           
+ voidsetBaseUrl(String baseUrl) + +
+           
+ voidsetProxyHost(String proxyHost) + +
+           
+ voidsetProxyPort(String proxyPort) + +
+           
+ voidsetProxyProtocol(String proxyProtocol) + +
+           
+ voidsetSid(String sid) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BasicTelapiConfiguration

+
+public BasicTelapiConfiguration()
+
+
+
+ +

+BasicTelapiConfiguration

+
+public BasicTelapiConfiguration(String sid,
+                                String authToken)
+
+
+
Parameters:
sid - The account sid.
authToken - The authorization token.
+
+ + + + + + + + +
+Method Detail
+ +

+getSid

+
+public String getSid()
+
+
+
Specified by:
getSid in interface TelapiConfiguration
+
+
+ +
Returns:
The account Sid.
+
+
+
+ +

+getAuthToken

+
+public String getAuthToken()
+
+
+
Specified by:
getAuthToken in interface TelapiConfiguration
+
+
+ +
Returns:
The authorization token.
+
+
+
+ +

+getBaseUrl

+
+public String getBaseUrl()
+
+
+
Specified by:
getBaseUrl in interface TelapiConfiguration
+
+
+ +
Returns:
The base URL. This should be "https://api.telapi.com/" by default.
+
+
+
+ +

+setSid

+
+public void setSid(String sid)
+
+
+
+
+
+
+
+
+
+ +

+setAuthToken

+
+public void setAuthToken(String authToken)
+
+
+
+
+
+
+
+
+
+ +

+setBaseUrl

+
+public void setBaseUrl(String baseUrl)
+
+
+
+
+
+
+
+
+
+ +

+getProxyHost

+
+public String getProxyHost()
+
+
+
Specified by:
getProxyHost in interface TelapiConfiguration
+
+
+ +
Returns:
The proxy host (e.g. "192.168.0.1"). Leave null or empty if no proxy is to be used.
+
+
+
+ +

+getProxyPort

+
+public String getProxyPort()
+
+
+
Specified by:
getProxyPort in interface TelapiConfiguration
+
+
+ +
Returns:
The proxy port (e.g. 8080). Ignored if no proxy host is set.
+
+
+
+ +

+getProxyProtocol

+
+public String getProxyProtocol()
+
+
+
Specified by:
getProxyProtocol in interface TelapiConfiguration
+
+
+ +
Returns:
The proxy protocol (e.g. "http"). Ignored if no proxy host is set.
+
+
+
+ +

+setProxyHost

+
+public void setProxyHost(String proxyHost)
+
+
+
+
+
+
+
+
+
+ +

+setProxyPort

+
+public void setProxyPort(String proxyPort)
+
+
+
+
+
+
+
+
+
+ +

+setProxyProtocol

+
+public void setProxyProtocol(String proxyProtocol)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/configuration/PropertiesFileTelapiConfiguration.html b/apidocs/com/telapi/api/configuration/PropertiesFileTelapiConfiguration.html new file mode 100644 index 0000000..49d7fdf --- /dev/null +++ b/apidocs/com/telapi/api/configuration/PropertiesFileTelapiConfiguration.html @@ -0,0 +1,439 @@ + + + + + + + +PropertiesFileTelapiConfiguration (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.configuration +
+Class PropertiesFileTelapiConfiguration

+
+java.lang.Object
+  extended by java.util.Dictionary<K,V>
+      extended by java.util.Hashtable<Object,Object>
+          extended by java.util.Properties
+              extended by com.telapi.api.configuration.PropertiesFileTelapiConfiguration
+
+
+
All Implemented Interfaces:
TelapiConfiguration, Serializable, Cloneable, Map<Object,Object>
+
+
+
+
public class PropertiesFileTelapiConfiguration
extends Properties
implements TelapiConfiguration
+ + +

+A TelapiConfiguration implementation which loads the configuration from a file. +

+ +

+

+
See Also:
TelapiConfiguration, +Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
PropertiesFileTelapiConfiguration() + +
+          Creates a TelapiConfiguration from a file called "telapi.properties" which must be on the classpath.
PropertiesFileTelapiConfiguration(FileInputStream is) + +
+          Creates a TelapiConfiguration by loading properties from the provided FileInputStream.
PropertiesFileTelapiConfiguration(String propFileName) + +
+          Creates a TelapiConfiguration from a file which must be on the classpath.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAuthToken() + +
+           
+ StringgetBaseUrl() + +
+           
+ StringgetProxyHost() + +
+           
+ StringgetProxyPort() + +
+           
+ StringgetProxyProtocol() + +
+           
+ StringgetSid() + +
+           
+ + + + + + + +
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
+ + + + + + + +
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PropertiesFileTelapiConfiguration

+
+public PropertiesFileTelapiConfiguration()
+
+
Creates a TelapiConfiguration from a file called "telapi.properties" which must be on the classpath. +

+

+
+ +

+PropertiesFileTelapiConfiguration

+
+public PropertiesFileTelapiConfiguration(String propFileName)
+
+
Creates a TelapiConfiguration from a file which must be on the classpath. +

+

+
Parameters:
propFileName - The fileName of the properties file.
+
+
+ +

+PropertiesFileTelapiConfiguration

+
+public PropertiesFileTelapiConfiguration(FileInputStream is)
+
+
Creates a TelapiConfiguration by loading properties from the provided FileInputStream. +

+

+
Parameters:
is - The FileInputStream from which to load the configuration.
+
+ + + + + + + + +
+Method Detail
+ +

+getSid

+
+public String getSid()
+
+
+
Specified by:
getSid in interface TelapiConfiguration
+
+
+ +
Returns:
The account Sid.
+
+
+
+ +

+getAuthToken

+
+public String getAuthToken()
+
+
+
Specified by:
getAuthToken in interface TelapiConfiguration
+
+
+ +
Returns:
The authorization token.
+
+
+
+ +

+getBaseUrl

+
+public String getBaseUrl()
+
+
+
Specified by:
getBaseUrl in interface TelapiConfiguration
+
+
+ +
Returns:
The base URL. This should be "https://api.telapi.com/" by default.
+
+
+
+ +

+getProxyHost

+
+public String getProxyHost()
+
+
+
Specified by:
getProxyHost in interface TelapiConfiguration
+
+
+ +
Returns:
The proxy host (e.g. "192.168.0.1"). Leave null or empty if no proxy is to be used.
+
+
+
+ +

+getProxyPort

+
+public String getProxyPort()
+
+
+
Specified by:
getProxyPort in interface TelapiConfiguration
+
+
+ +
Returns:
The proxy port (e.g. 8080). Ignored if no proxy host is set.
+
+
+
+ +

+getProxyProtocol

+
+public String getProxyProtocol()
+
+
+
Specified by:
getProxyProtocol in interface TelapiConfiguration
+
+
+ +
Returns:
The proxy protocol (e.g. "http"). Ignored if no proxy host is set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/configuration/TelapiConfiguration.html b/apidocs/com/telapi/api/configuration/TelapiConfiguration.html new file mode 100644 index 0000000..21e27c6 --- /dev/null +++ b/apidocs/com/telapi/api/configuration/TelapiConfiguration.html @@ -0,0 +1,313 @@ + + + + + + + +TelapiConfiguration (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.configuration +
+Interface TelapiConfiguration

+
+
All Known Implementing Classes:
BasicTelapiConfiguration, PropertiesFileTelapiConfiguration
+
+
+
+
public interface TelapiConfiguration
+ + +

+The basic interface which must return the Telapi configuration parameters. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAuthToken() + +
+           
+ StringgetBaseUrl() + +
+           
+ StringgetProxyHost() + +
+           
+ StringgetProxyPort() + +
+           
+ StringgetProxyProtocol() + +
+           
+ StringgetSid() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getSid

+
+String getSid()
+
+
+ +
Returns:
The account Sid.
+
+
+
+ +

+getAuthToken

+
+String getAuthToken()
+
+
+ +
Returns:
The authorization token.
+
+
+
+ +

+getBaseUrl

+
+String getBaseUrl()
+
+
+ +
Returns:
The base URL. This should be "https://api.telapi.com/" by default.
+
+
+
+ +

+getProxyHost

+
+String getProxyHost()
+
+
+ +
Returns:
The proxy host (e.g. "192.168.0.1"). Leave null or empty if no proxy is to be used.
+
+
+
+ +

+getProxyPort

+
+String getProxyPort()
+
+
+ +
Returns:
The proxy port (e.g. 8080). Ignored if no proxy host is set.
+
+
+
+ +

+getProxyProtocol

+
+String getProxyProtocol()
+
+
+ +
Returns:
The proxy protocol (e.g. "http"). Ignored if no proxy host is set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/configuration/TelapiConstants.html b/apidocs/com/telapi/api/configuration/TelapiConstants.html new file mode 100644 index 0000000..0155804 --- /dev/null +++ b/apidocs/com/telapi/api/configuration/TelapiConstants.html @@ -0,0 +1,313 @@ + + + + + + + +TelapiConstants (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.configuration +
+Class TelapiConstants

+
+java.lang.Object
+  extended by com.telapi.api.configuration.TelapiConstants
+
+
+
+
public class TelapiConstants
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringAPI_VERSION + +
+           
+static StringBASE_URL + +
+           
+static SimpleDateFormatjsonDateFormat + +
+           
+static SimpleDateFormatqueryDateFormat + +
+           
+  + + + + + + + + + + +
+Constructor Summary
TelapiConstants() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+BASE_URL

+
+public static final String BASE_URL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+API_VERSION

+
+public static final String API_VERSION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+queryDateFormat

+
+public static final SimpleDateFormat queryDateFormat
+
+
+
+
+
+ +

+jsonDateFormat

+
+public static final SimpleDateFormat jsonDateFormat
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+TelapiConstants

+
+public TelapiConstants()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/configuration/class-use/BasicTelapiConfiguration.html b/apidocs/com/telapi/api/configuration/class-use/BasicTelapiConfiguration.html new file mode 100644 index 0000000..800d68f --- /dev/null +++ b/apidocs/com/telapi/api/configuration/class-use/BasicTelapiConfiguration.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.configuration.BasicTelapiConfiguration (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.configuration.BasicTelapiConfiguration

+
+No usage of com.telapi.api.configuration.BasicTelapiConfiguration +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/configuration/class-use/PropertiesFileTelapiConfiguration.html b/apidocs/com/telapi/api/configuration/class-use/PropertiesFileTelapiConfiguration.html new file mode 100644 index 0000000..29d8826 --- /dev/null +++ b/apidocs/com/telapi/api/configuration/class-use/PropertiesFileTelapiConfiguration.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.configuration.PropertiesFileTelapiConfiguration (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.configuration.PropertiesFileTelapiConfiguration

+
+No usage of com.telapi.api.configuration.PropertiesFileTelapiConfiguration +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/configuration/class-use/TelapiConfiguration.html b/apidocs/com/telapi/api/configuration/class-use/TelapiConfiguration.html new file mode 100644 index 0000000..a4cb8d1 --- /dev/null +++ b/apidocs/com/telapi/api/configuration/class-use/TelapiConfiguration.html @@ -0,0 +1,243 @@ + + + + + + + +Uses of Interface com.telapi.api.configuration.TelapiConfiguration (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.configuration.TelapiConfiguration

+
+ + + + + + + + + + + + + + + + + +
+Packages that use TelapiConfiguration
com.telapi.api  
com.telapi.api.configuration  
com.telapi.api.http  
+  +

+ + + + + +
+Uses of TelapiConfiguration in com.telapi.api
+  +

+ + + + + + + + +
Constructors in com.telapi.api with parameters of type TelapiConfiguration
TelapiConnector(TelapiConfiguration conf) + +
+          Creates a new TelapiConnector based on the provided configuration.
+  +

+ + + + + +
+Uses of TelapiConfiguration in com.telapi.api.configuration
+  +

+ + + + + + + + + + + + + +
Classes in com.telapi.api.configuration that implement TelapiConfiguration
+ classBasicTelapiConfiguration + +
+          Provides a basic POJO-like implementation of TelapiConfiguration.
+ classPropertiesFileTelapiConfiguration + +
+          A TelapiConfiguration implementation which loads the configuration from a file.
+  +

+ + + + + +
+Uses of TelapiConfiguration in com.telapi.api.http
+  +

+ + + + + + + + + +
Methods in com.telapi.api.http with parameters of type TelapiConfiguration
+static org.jboss.resteasy.client.core.executors.ApacheHttpClient4ExecutorRestExecutor.createExecutor(TelapiConfiguration conf) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/configuration/class-use/TelapiConstants.html b/apidocs/com/telapi/api/configuration/class-use/TelapiConstants.html new file mode 100644 index 0000000..5bbcd63 --- /dev/null +++ b/apidocs/com/telapi/api/configuration/class-use/TelapiConstants.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.configuration.TelapiConstants (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.configuration.TelapiConstants

+
+No usage of com.telapi.api.configuration.TelapiConstants +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/configuration/package-frame.html b/apidocs/com/telapi/api/configuration/package-frame.html new file mode 100644 index 0000000..199745c --- /dev/null +++ b/apidocs/com/telapi/api/configuration/package-frame.html @@ -0,0 +1,48 @@ + + + + + + + +com.telapi.api.configuration (Telapi Java API) + + + + + + + + + + + +com.telapi.api.configuration + + + + +
+Interfaces  + +
+TelapiConfiguration
+ + + + + + +
+Classes  + +
+BasicTelapiConfiguration +
+PropertiesFileTelapiConfiguration +
+TelapiConstants
+ + + + diff --git a/apidocs/com/telapi/api/configuration/package-summary.html b/apidocs/com/telapi/api/configuration/package-summary.html new file mode 100644 index 0000000..dee28b0 --- /dev/null +++ b/apidocs/com/telapi/api/configuration/package-summary.html @@ -0,0 +1,178 @@ + + + + + + + +com.telapi.api.configuration (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.configuration +

+ + + + + + + + + +
+Interface Summary
TelapiConfigurationThe basic interface which must return the Telapi configuration parameters.
+  + +

+ + + + + + + + + + + + + + + + + +
+Class Summary
BasicTelapiConfigurationProvides a basic POJO-like implementation of TelapiConfiguration.
PropertiesFileTelapiConfigurationA TelapiConfiguration implementation which loads the configuration from a file.
TelapiConstants 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/configuration/package-tree.html b/apidocs/com/telapi/api/configuration/package-tree.html new file mode 100644 index 0000000..9d4de56 --- /dev/null +++ b/apidocs/com/telapi/api/configuration/package-tree.html @@ -0,0 +1,166 @@ + + + + + + + +com.telapi.api.configuration Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.configuration +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/configuration/package-use.html b/apidocs/com/telapi/api/configuration/package-use.html new file mode 100644 index 0000000..5e99e83 --- /dev/null +++ b/apidocs/com/telapi/api/configuration/package-use.html @@ -0,0 +1,207 @@ + + + + + + + +Uses of Package com.telapi.api.configuration (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.configuration

+
+ + + + + + + + + + + + + + + + + +
+Packages that use com.telapi.api.configuration
com.telapi.api  
com.telapi.api.configuration  
com.telapi.api.http  
+  +

+ + + + + + + + +
+Classes in com.telapi.api.configuration used by com.telapi.api
TelapiConfiguration + +
+          The basic interface which must return the Telapi configuration parameters.
+  +

+ + + + + + + + +
+Classes in com.telapi.api.configuration used by com.telapi.api.configuration
TelapiConfiguration + +
+          The basic interface which must return the Telapi configuration parameters.
+  +

+ + + + + + + + +
+Classes in com.telapi.api.configuration used by com.telapi.api.http
TelapiConfiguration + +
+          The basic interface which must return the Telapi configuration parameters.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/Account.html b/apidocs/com/telapi/api/domain/Account.html new file mode 100644 index 0000000..0fa11d1 --- /dev/null +++ b/apidocs/com/telapi/api/domain/Account.html @@ -0,0 +1,674 @@ + + + + + + + +Account (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class Account

+
+java.lang.Object
+  extended by com.telapi.api.domain.Account
+
+
+
+
public class Account
extends Object
+ + +

+An account resource provides information about a single TelAPI account. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Account() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ BigDecimalgetAccountBalance() + +
+           
+ DategetDateCreated() + +
+           
+ DategetDateUpdated() + +
+           
+ StringgetFriendlyName() + +
+           
+ StringgetMaxOutboundLimit() + +
+           
+ StringgetSid() + +
+           
+ StringgetStatus() + +
+           
+ SubresourceUrisgetSubresourceUris() + +
+           
+ StringgetTimeZone() + +
+           
+ StringgetType() + +
+           
+ StringgetUri() + +
+           
+ voidsetAccountBalance(BigDecimal accountBalance) + +
+           
+ voidsetDateCreated(Date dateCreated) + +
+           
+ voidsetDateUpdated(Date dateUpdated) + +
+           
+ voidsetFriendlyName(String friendlyName) + +
+           
+ voidsetMaxOutboundLimit(String maxOutboundLimit) + +
+           
+ voidsetSid(String sid) + +
+           
+ voidsetStatus(String status) + +
+           
+ voidsetSubresourceUris(SubresourceUris subresourceUris) + +
+           
+ voidsetTimeZone(String timeZone) + +
+           
+ voidsetType(String type) + +
+           
+ voidsetUri(String uri) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Account

+
+public Account()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSid

+
+public String getSid()
+
+
+ +
Returns:
An alphanumeric string identifying the account.
+
+
+
+ +

+setSid

+
+public void setSid(String sid)
+
+
+
+
+
+
+ +

+getFriendlyName

+
+public String getFriendlyName()
+
+
+ +
Returns:
This is an alias that can be created for TelAPI accounts. By + default, it is the email used to create the account but a custom + name can be used as long as it is shorter than 64 characters.
+
+
+
+ +

+setFriendlyName

+
+public void setFriendlyName(String friendlyName)
+
+
+
+
+
+
+ +

+getStatus

+
+public String getStatus()
+
+
+ +
Returns:
This is the status of the TelAPI account being requested. The + state of the status can be either active, suspended, or closed.
+
+
+
+ +

+setStatus

+
+public void setStatus(String status)
+
+
+
+
+
+
+ +

+getAccountBalance

+
+public BigDecimal getAccountBalance()
+
+
+ +
Returns:
The current balance of an account.
+
+
+
+ +

+setAccountBalance

+
+public void setAccountBalance(BigDecimal accountBalance)
+
+
+
+
+
+
+ +

+getDateCreated

+
+public Date getDateCreated()
+
+
+ +
Returns:
Date of account creation. Dates are returned in UTC format.
+
+
+
+ +

+setDateCreated

+
+public void setDateCreated(Date dateCreated)
+
+
+
+
+
+
+ +

+getDateUpdated

+
+public Date getDateUpdated()
+
+
+ +
Returns:
Date of most recent account update. Dates are returned in UTC + format.
+
+
+
+ +

+setDateUpdated

+
+public void setDateUpdated(Date dateUpdated)
+
+
+
+
+
+
+ +

+getUri

+
+public String getUri()
+
+
+ +
Returns:
The path appended to the base TelAPI URL, https://api.telapi.com, + where the resource is located.
+
+
+
+ +

+setUri

+
+public void setUri(String uri)
+
+
+
+
+
+
+ +

+getMaxOutboundLimit

+
+public String getMaxOutboundLimit()
+
+
+ +
Returns:
+
+
+
+ +

+setMaxOutboundLimit

+
+public void setMaxOutboundLimit(String maxOutboundLimit)
+
+
+
+
+
+
+ +

+getType

+
+public String getType()
+
+
+ +
Returns:
The type of account being requested. If the account is not yet + funded Type is Trial. Otherwise, Type for upgraded accounts is + Full.
+
+
+
+ +

+setType

+
+public void setType(String type)
+
+
+
+
+
+
+ +

+getTimeZone

+
+public String getTimeZone()
+
+
+ +
Returns:
The name of an accounts timezone.
+
+
+
+ +

+setTimeZone

+
+public void setTimeZone(String timeZone)
+
+
+
+
+
+
+ +

+getSubresourceUris

+
+public SubresourceUris getSubresourceUris()
+
+
+ +
Returns:
List of an accounts various subresources and their URI path. + Examples of subresources are things like calls that occurred + through the account, sms messages, purchased phone numbers, etc.
+
+
+
+ +

+setSubresourceUris

+
+public void setSubresourceUris(SubresourceUris subresourceUris)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/Application.html b/apidocs/com/telapi/api/domain/Application.html new file mode 100644 index 0000000..59fa353 --- /dev/null +++ b/apidocs/com/telapi/api/domain/Application.html @@ -0,0 +1,296 @@ + + + + + + + +Application (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class Application

+
+java.lang.Object
+  extended by com.telapi.api.domain.BaseTelapiObject
+      extended by com.telapi.api.domain.BaseTelapiObjectWithMethods
+          extended by com.telapi.api.domain.Application
+
+
+
+
public class Application
extends BaseTelapiObjectWithMethods
+ + +

+TelAPI offers the ability to preset all voice and sms urls for a given + application name. This application can then be assigned to multiple numbers + so you don't have to update all of their urls manually. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Application() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetFriendlyName() + +
+           
+ voidsetFriendlyName(String friendlyName) + +
+           
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.BaseTelapiObjectWithMethods
getHangupCallback, getHangupCallbackMethod, getHeartbeatMethod, getHeartbeatUrl, getSmsFallbackMethod, getSmsFallbackUrl, getSmsMethod, getSmsStatusCallbackMethod, getSmsStatusCallbackUrl, getSmsUrl, getStatusCallback, getStatusCallbackMethod, getVoiceCallerIdLookup, getVoiceFallbackMethod, getVoiceFallbackUrl, getVoiceMethod, getVoiceUrl, setHangupCallback, setHangupCallbackMethod, setHeartbeatMethod, setHeartbeatUrl, setSmsFallbackMethod, setSmsFallbackUrl, setSmsMethod, setSmsStatusCallbackMethod, setSmsStatusCallbackUrl, setSmsUrl, setStatusCallback, setStatusCallbackMethod, setVoiceCallerIdLookup, setVoiceFallbackMethod, setVoiceFallbackUrl, setVoiceMethod, setVoiceUrl
+ + + + + + + +
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Application

+
+public Application()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getFriendlyName

+
+public String getFriendlyName()
+
+
+
+
+
+
+ +

+setFriendlyName

+
+public void setFriendlyName(String friendlyName)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/AvailablePhoneNumber.html b/apidocs/com/telapi/api/domain/AvailablePhoneNumber.html new file mode 100644 index 0000000..6ebfc69 --- /dev/null +++ b/apidocs/com/telapi/api/domain/AvailablePhoneNumber.html @@ -0,0 +1,1023 @@ + + + + + + + +AvailablePhoneNumber (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class AvailablePhoneNumber

+
+java.lang.Object
+  extended by com.telapi.api.domain.AvailablePhoneNumber
+
+
+
+
public class AvailablePhoneNumber
extends Object
+ + +

+If you want to add a new TelAPI number, you need to know what ones are + available. Our REST API provides a way to request a list of available numbers + along with all of their resource properties so you know the numbers you have + to choose from. + + Note that individual AvailablePhoneNumber resources can not be requested. + Requests only return a list of available resources based on the filtering + parameters sent with the request. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AvailablePhoneNumber() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCity() + +
+           
+ StringgetCountryCode() + +
+           
+ StringgetExchange() + +
+           
+ StringgetFriendlyName() + +
+           
+ StringgetIsoCountry() + +
+           
+ StringgetLata() + +
+           
+ StringgetLatitude() + +
+           
+ StringgetLongitude() + +
+           
+ BigDecimalgetMonthlyCost() + +
+           
+ StringgetNpa() + +
+           
+ StringgetPhoneNumber() + +
+           
+ StringgetPostalCode() + +
+           
+ StringgetRateCenter() + +
+           
+ StringgetRegion() + +
+           
+ BigDecimalgetSetupCost() + +
+           
+ BooleangetSmsEnabled() + +
+           
+ BooleangetSupportsForwardedFrom() + +
+           
+ PhoneNumberTypegetType() + +
+           
+ BooleangetUnblockSupport() + +
+           
+ BooleangetVoiceEnabled() + +
+           
+ voidsetCity(String city) + +
+           
+ voidsetCountryCode(String countryCode) + +
+           
+ voidsetExchange(String exchange) + +
+           
+ voidsetFriendlyName(String friendlyName) + +
+           
+ voidsetIsoCountry(String isoCountry) + +
+           
+ voidsetLata(String lata) + +
+           
+ voidsetLatitude(String latitude) + +
+           
+ voidsetLongitude(String longitude) + +
+           
+ voidsetMonthlyCost(BigDecimal monthlyCost) + +
+           
+ voidsetNpa(String npa) + +
+           
+ voidsetPhoneNumber(String phoneNumber) + +
+           
+ voidsetPostalCode(String postalCode) + +
+           
+ voidsetRateCenter(String rateCenter) + +
+           
+ voidsetRegion(String region) + +
+           
+ voidsetSetupCost(BigDecimal setupCost) + +
+           
+ voidsetSmsEnabled(Boolean smsEnabled) + +
+           
+ voidsetSupportsForwardedFrom(Boolean supportsForwardedFrom) + +
+           
+ voidsetType(PhoneNumberType type) + +
+           
+ voidsetUnblockSupport(Boolean unblockSupport) + +
+           
+ voidsetVoiceEnabled(Boolean voiceEnabled) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AvailablePhoneNumber

+
+public AvailablePhoneNumber()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getFriendlyName

+
+public String getFriendlyName()
+
+
+ +
Returns:
Domestic format version of the available phone number. (e.g. 1234567890 to (123)-456-7890)
+
+
+
+ +

+setFriendlyName

+
+public void setFriendlyName(String friendlyName)
+
+
+
+
+
+
+ +

+getPhoneNumber

+
+public String getPhoneNumber()
+
+
+ +
Returns:
The E.164 format number of each available number
+
+
+
+ +

+setPhoneNumber

+
+public void setPhoneNumber(String phoneNumber)
+
+
+
+
+
+
+ +

+getLata

+
+public String getLata()
+
+
+ +
Returns:
Local Access and Transportation Area of the available number. The LATA is determined by geographical region.
+
+
+
+ +

+setLata

+
+public void setLata(String lata)
+
+
+
+
+
+
+ +

+getRateCenter

+
+public String getRateCenter()
+
+
+ +
Returns:
The available phone numbers rate center.
+
+
+
+ +

+setRateCenter

+
+public void setRateCenter(String rateCenter)
+
+
+
+
+
+
+ +

+getLatitude

+
+public String getLatitude()
+
+
+ +
Returns:
The latitude of the available phone number.
+
+
+
+ +

+setLatitude

+
+public void setLatitude(String latitude)
+
+
+
+
+
+
+ +

+getLongitude

+
+public String getLongitude()
+
+
+ +
Returns:
The longitude of the available phone number.
+
+
+
+ +

+setLongitude

+
+public void setLongitude(String longitude)
+
+
+
+
+
+
+ +

+getRegion

+
+public String getRegion()
+
+
+ +
Returns:
The region of the available phone number. Usually a two letter abbreviation.
+
+
+
+ +

+setRegion

+
+public void setRegion(String region)
+
+
+
+
+
+
+ +

+getPostalCode

+
+public String getPostalCode()
+
+
+ +
Returns:
The postal code (also known as zip code) of the available number.
+
+
+
+ +

+setPostalCode

+
+public void setPostalCode(String postalCode)
+
+
+
+
+
+
+ +

+getIsoCountry

+
+public String getIsoCountry()
+
+
+ +
Returns:
Two letter country code of the available phone number.
+
+
+
+ +

+setIsoCountry

+
+public void setIsoCountry(String isoCountry)
+
+
+
+
+
+
+ +

+getCountryCode

+
+public String getCountryCode()
+
+
+ +
Returns:
Code used to identify the phone numbers geographic origin. Found at the beginning of the number.
+
+
+
+ +

+setCountryCode

+
+public void setCountryCode(String countryCode)
+
+
+
+
+
+
+ +

+getNpa

+
+public String getNpa()
+
+
+ +
Returns:
Numbering Plan Area of the available number. This is more commonly known as the area code.
+
+
+
+ +

+setNpa

+
+public void setNpa(String npa)
+
+
+
+
+
+
+ +

+getExchange

+
+public String getExchange()
+
+
+ +
Returns:
Three digits following the NPA (area code) in the available number.
+
+
+
+ +

+setExchange

+
+public void setExchange(String exchange)
+
+
+
+
+
+
+ +

+getCity

+
+public String getCity()
+
+
+ +
Returns:
The available phone numbers city.
+
+
+
+ +

+setCity

+
+public void setCity(String city)
+
+
+
+
+
+
+ +

+getType

+
+public PhoneNumberType getType()
+
+
+ +
Returns:
Type of phone number. (e.g. local, international, etc.)
+
+
+
+ +

+setType

+
+public void setType(PhoneNumberType type)
+
+
+
+
+
+
+ +

+getSetupCost

+
+public BigDecimal getSetupCost()
+
+
+ +
Returns:
Cost of phone number setup.
+
+
+
+ +

+setSetupCost

+
+public void setSetupCost(BigDecimal setupCost)
+
+
+
+
+
+
+ +

+getMonthlyCost

+
+public BigDecimal getMonthlyCost()
+
+
+ +
Returns:
Cost of phone number per month.
+
+
+
+ +

+setMonthlyCost

+
+public void setMonthlyCost(BigDecimal monthlyCost)
+
+
+
+
+
+
+ +

+getVoiceEnabled

+
+public Boolean getVoiceEnabled()
+
+
+ +
Returns:
Is Voice enabled for this phone number? Can be true or false.
+
+
+
+ +

+setVoiceEnabled

+
+public void setVoiceEnabled(Boolean voiceEnabled)
+
+
+
+
+
+
+ +

+getSmsEnabled

+
+public Boolean getSmsEnabled()
+
+
+ +
Returns:
Is SMS enabled for this phone number? Can be true or false.
+
+
+
+ +

+setSmsEnabled

+
+public void setSmsEnabled(Boolean smsEnabled)
+
+
+
+
+
+
+ +

+getSupportsForwardedFrom

+
+public Boolean getSupportsForwardedFrom()
+
+
+ +
Returns:
Does phone number support forwarded from? Can be true or false.
+
+
+
+ +

+setSupportsForwardedFrom

+
+public void setSupportsForwardedFrom(Boolean supportsForwardedFrom)
+
+
+
+
+
+
+ +

+getUnblockSupport

+
+public Boolean getUnblockSupport()
+
+
+ +
Returns:
+
+
+
+ +

+setUnblockSupport

+
+public void setUnblockSupport(Boolean unblockSupport)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/BaseTelapiObject.html b/apidocs/com/telapi/api/domain/BaseTelapiObject.html new file mode 100644 index 0000000..8822301 --- /dev/null +++ b/apidocs/com/telapi/api/domain/BaseTelapiObject.html @@ -0,0 +1,475 @@ + + + + + + + +BaseTelapiObject (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class BaseTelapiObject

+
+java.lang.Object
+  extended by com.telapi.api.domain.BaseTelapiObject
+
+
+
Direct Known Subclasses:
BaseTelapiObjectWithMethods, Call, CarrierLookup, CnamDip, Conference, Notification, Participant, Recording, SmsMessage, Transcription
+
+
+
+
public class BaseTelapiObject
extends Object
+ + +

+A base resource object containing properties present in all of the other + resource objects. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
BaseTelapiObject() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAccountSid() + +
+           
+ StringgetApiVersion() + +
+           
+ DategetDateCreated() + +
+           
+ DategetDateUpdated() + +
+           
+ StringgetSid() + +
+           
+ StringgetUri() + +
+           
+ voidsetAccountSid(String accountSid) + +
+           
+ voidsetApiVersion(String apiVersion) + +
+           
+ voidsetDateCreated(Date dateCreated) + +
+           
+ voidsetDateUpdated(Date dateUpdated) + +
+           
+ voidsetSid(String sid) + +
+           
+ voidsetUri(String uri) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BaseTelapiObject

+
+public BaseTelapiObject()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSid

+
+public String getSid()
+
+
+ +
Returns:
A unique identifier assigned to each resource.
+
+
+
+ +

+setSid

+
+public void setSid(String sid)
+
+
+
+
+
+
+ +

+getDateCreated

+
+public Date getDateCreated()
+
+
+ +
Returns:
The date the resource was created.
+
+
+
+ +

+setDateCreated

+
+public void setDateCreated(Date dateCreated)
+
+
+
+
+
+
+ +

+getDateUpdated

+
+public Date getDateUpdated()
+
+
+ +
Returns:
The date the resource was last updated.
+
+
+
+ +

+setDateUpdated

+
+public void setDateUpdated(Date dateUpdated)
+
+
+
+
+
+
+ +

+getAccountSid

+
+public String getAccountSid()
+
+
+ +
Returns:
An alphanumeric string identifying the account this resource occurred in.
+
+
+
+ +

+setAccountSid

+
+public void setAccountSid(String accountSid)
+
+
+
+
+
+
+ +

+getApiVersion

+
+public String getApiVersion()
+
+
+ +
Returns:
The API version being used when the resource was created.
+
+
+
+ +

+setApiVersion

+
+public void setApiVersion(String apiVersion)
+
+
+
+
+
+
+ +

+getUri

+
+public String getUri()
+
+
+ +
Returns:
The path appended to the base TelAPI URL, https://api.telapi.com, + where the resource is located.
+
+
+
+ +

+setUri

+
+public void setUri(String uri)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/BaseTelapiObjectWithMethods.html b/apidocs/com/telapi/api/domain/BaseTelapiObjectWithMethods.html new file mode 100644 index 0000000..a788966 --- /dev/null +++ b/apidocs/com/telapi/api/domain/BaseTelapiObjectWithMethods.html @@ -0,0 +1,908 @@ + + + + + + + +BaseTelapiObjectWithMethods (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +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
+ StringgetHangupCallback() + +
+           
+ HttpMethodgetHangupCallbackMethod() + +
+           
+ HttpMethodgetHeartbeatMethod() + +
+           
+ StringgetHeartbeatUrl() + +
+           
+ HttpMethodgetSmsFallbackMethod() + +
+           
+ StringgetSmsFallbackUrl() + +
+           
+ HttpMethodgetSmsMethod() + +
+           
+ HttpMethodgetSmsStatusCallbackMethod() + +
+           
+ StringgetSmsStatusCallbackUrl() + +
+           
+ StringgetSmsUrl() + +
+           
+ StringgetStatusCallback() + +
+           
+ HttpMethodgetStatusCallbackMethod() + +
+           
+ BooleangetVoiceCallerIdLookup() + +
+           
+ HttpMethodgetVoiceFallbackMethod() + +
+           
+ StringgetVoiceFallbackUrl() + +
+           
+ HttpMethodgetVoiceMethod() + +
+           
+ StringgetVoiceUrl() + +
+           
+ voidsetHangupCallback(String hangupCallback) + +
+           
+ voidsetHangupCallbackMethod(HttpMethod hangupCallbackMethod) + +
+           
+ voidsetHeartbeatMethod(HttpMethod heartbeatMethod) + +
+           
+ voidsetHeartbeatUrl(String heartbeatUrl) + +
+           
+ voidsetSmsFallbackMethod(HttpMethod smsFallbackMethod) + +
+           
+ voidsetSmsFallbackUrl(String smsFallbackUrl) + +
+           
+ voidsetSmsMethod(HttpMethod smsMethod) + +
+           
+ voidsetSmsStatusCallbackMethod(HttpMethod smsStatusCallbackMethod) + +
+           
+ voidsetSmsStatusCallbackUrl(String smsStatusCallbackUrl) + +
+           
+ voidsetSmsUrl(String smsUrl) + +
+           
+ voidsetStatusCallback(String statusCallback) + +
+           
+ voidsetStatusCallbackMethod(HttpMethod statusCallbackMethod) + +
+           
+ voidsetVoiceCallerIdLookup(Boolean voiceCallerIdLookup) + +
+           
+ voidsetVoiceFallbackMethod(HttpMethod voiceFallbackMethod) + +
+           
+ voidsetVoiceFallbackUrl(String voiceFallbackUrl) + +
+           
+ voidsetVoiceMethod(HttpMethod voiceMethod) + +
+           
+ voidsetVoiceUrl(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
equals, 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 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/Call.html b/apidocs/com/telapi/api/domain/Call.html new file mode 100644 index 0000000..ad6640b --- /dev/null +++ b/apidocs/com/telapi/api/domain/Call.html @@ -0,0 +1,910 @@ + + + + + + + +Call (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class Call

+
+java.lang.Object
+  extended by com.telapi.api.domain.BaseTelapiObject
+      extended by com.telapi.api.domain.Call
+
+
+
+
public class Call
extends BaseTelapiObject
+ + +

+A call resource provides information about an individual call that has + occurred through TelAPI. Both inbound and outbound voice communication + through TelAPI are categorized as calls. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Call() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ AnsweredBygetAnsweredBy() + +
+           
+ BooleangetCallerIdBlocked() + +
+           
+ StringgetCallerName() + +
+           
+ CallSubresourceUrisgetCallSubresourceUris() + +
+           
+ SmsDirectiongetDirection() + +
+           
+ LonggetDuration() + +
+           
+ DategetEndTime() + +
+           
+ StringgetForwardedFrom() + +
+           
+ StringgetFrom() + +
+           
+ StringgetParentCallSid() + +
+           
+ StringgetPhoneNumberSid() + +
+           
+ BigDecimalgetPrice() + +
+           
+ BooleangetPrivacyHideNumber() + +
+           
+ StringgetSipPrivacy() + +
+           
+ DategetStartTime() + +
+           
+ CallStatusgetStatus() + +
+           
+ StringgetTo() + +
+           
+ voidsetAnsweredBy(AnsweredBy answeredBy) + +
+           
+ voidsetCallerIdBlocked(Boolean callerIdBlocked) + +
+           
+ voidsetCallerName(String callerName) + +
+           
+ voidsetCallSubresourceUris(CallSubresourceUris subresourceUris) + +
+           
+ voidsetDirection(SmsDirection direction) + +
+           
+ voidsetDuration(Long duration) + +
+           
+ voidsetEndTime(Date endTime) + +
+           
+ voidsetForwardedFrom(String forwardedFrom) + +
+           
+ voidsetFrom(String from) + +
+           
+ voidsetParentCallSid(String parentCallSid) + +
+           
+ voidsetPhoneNumberSid(String phoneNumberSid) + +
+           
+ voidsetPrice(BigDecimal price) + +
+           
+ voidsetPrivacyHideNumber(Boolean privacyHideNumber) + +
+           
+ voidsetSipPrivacy(String sipPrivacy) + +
+           
+ voidsetStartTime(Date startTime) + +
+           
+ voidsetStatus(CallStatus status) + +
+           
+ voidsetTo(String to) + +
+           
+ + + + + + + +
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Call

+
+public Call()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getParentCallSid

+
+public String getParentCallSid()
+
+
+ +
Returns:
If the call was created during a different call using InboundXML, this is the sid of that initiating call.
+
+
+
+ +

+setParentCallSid

+
+public void setParentCallSid(String parentCallSid)
+
+
+
+
+
+
+ +

+getTo

+
+public String getTo()
+
+
+ +
Returns:
The number that was called.
+
+
+
+ +

+setTo

+
+public void setTo(String to)
+
+
+
+
+
+
+ +

+getFrom

+
+public String getFrom()
+
+
+ +
Returns:
The number that initiated the call.
+
+
+
+ +

+setFrom

+
+public void setFrom(String from)
+
+
+
+
+
+
+ +

+getPhoneNumberSid

+
+public String getPhoneNumberSid()
+
+
+ +
Returns:
The sid of the TelAPI number calling, or being called. If no TelAPI phone number is involved in the call, this property is empty.
+
+
+
+ +

+setPhoneNumberSid

+
+public void setPhoneNumberSid(String phoneNumberSid)
+
+
+
+
+
+
+ +

+getStatus

+
+public CallStatus getStatus()
+
+
+ +
Returns:
The status of the call: queued, ringing, in-progress, completed, failed, busy, no-answer.
+
+
+
+ +

+setStatus

+
+public void setStatus(CallStatus status)
+
+
+
+
+
+
+ +

+getStartTime

+
+public Date getStartTime()
+
+
+ +
Returns:
The date the call started.
+
+
+
+ +

+setStartTime

+
+public void setStartTime(Date startTime)
+
+
+
+
+
+
+ +

+getEndTime

+
+public Date getEndTime()
+
+
+ +
Returns:
The date the call ended.
+
+
+
+ +

+setEndTime

+
+public void setEndTime(Date endTime)
+
+
+
+
+
+
+ +

+getDuration

+
+public Long getDuration()
+
+
+ +
Returns:
The length of the call in seconds.
+
+
+
+ +

+setDuration

+
+public void setDuration(Long duration)
+
+
+
+
+
+
+ +

+getPrice

+
+public BigDecimal getPrice()
+
+
+ +
Returns:
The cost of the call, if availible.
+
+
+
+ +

+setPrice

+
+public void setPrice(BigDecimal price)
+
+
+
+
+
+
+ +

+getDirection

+
+public SmsDirection getDirection()
+
+
+ +
Returns:
The direction of the call from the perspective of TelAPI. Inbound for calls to TelAPI, outbound-api for calls from the TelAPI via REST request or outbound-dial for calls from TelAPI via InboundXML.
+
+
+
+ +

+setDirection

+
+public void setDirection(SmsDirection direction)
+
+
+
+
+
+
+ +

+getAnsweredBy

+
+public AnsweredBy getAnsweredBy()
+
+
+ +
Returns:
If the initiated call has answering machine detection, this specifies whether the machine answered. Can be human or machine.
+
+
+
+ +

+setAnsweredBy

+
+public void setAnsweredBy(AnsweredBy answeredBy)
+
+
+
+
+
+
+ +

+getForwardedFrom

+
+public String getForwardedFrom()
+
+
+ +
Returns:
The number that forwared the call, if any.
+
+
+
+ +

+setForwardedFrom

+
+public void setForwardedFrom(String forwardedFrom)
+
+
+
+
+
+
+ +

+getSipPrivacy

+
+public String getSipPrivacy()
+
+
+ +
Returns:
+
+
+
+ +

+setSipPrivacy

+
+public void setSipPrivacy(String sipPrivacy)
+
+
+
+
+
+
+ +

+getPrivacyHideNumber

+
+public Boolean getPrivacyHideNumber()
+
+
+ +
Returns:
+
+
+
+ +

+setPrivacyHideNumber

+
+public void setPrivacyHideNumber(Boolean privacyHideNumber)
+
+
+
+
+
+
+ +

+getCallerIdBlocked

+
+public Boolean getCallerIdBlocked()
+
+
+ +
Returns:
Specifies whether the caller ID of the inbound phone number was blocked.
+
+
+
+ +

+setCallerIdBlocked

+
+public void setCallerIdBlocked(Boolean callerIdBlocked)
+
+
+
+
+
+
+ +

+getCallSubresourceUris

+
+public CallSubresourceUris getCallSubresourceUris()
+
+
+ +
Returns:
List of a calls various subresources and their URI path. Examples of call subresources are notifications, recordings, etc.
+
+
+
+ +

+setCallSubresourceUris

+
+public void setCallSubresourceUris(CallSubresourceUris subresourceUris)
+
+
+
+
+
+
+ +

+getCallerName

+
+public String getCallerName()
+
+
+
+
+
+
+ +

+setCallerName

+
+public void setCallerName(String callerName)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/CallSubresourceUris.html b/apidocs/com/telapi/api/domain/CallSubresourceUris.html new file mode 100644 index 0000000..2c03218 --- /dev/null +++ b/apidocs/com/telapi/api/domain/CallSubresourceUris.html @@ -0,0 +1,313 @@ + + + + + + + +CallSubresourceUris (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class CallSubresourceUris

+
+java.lang.Object
+  extended by com.telapi.api.domain.CallSubresourceUris
+
+
+
+
public class CallSubresourceUris
extends Object
+ + +

+List of a calls various subresources and their URI path. Examples of call + subresources are notifications, recordings, etc. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CallSubresourceUris() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetNotifications() + +
+           
+ StringgetRecordings() + +
+           
+ voidsetNotifications(String notifications) + +
+           
+ voidsetRecordings(String recordings) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CallSubresourceUris

+
+public CallSubresourceUris()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getNotifications

+
+public String getNotifications()
+
+
+
+
+
+
+ +

+setNotifications

+
+public void setNotifications(String notifications)
+
+
+
+
+
+
+ +

+getRecordings

+
+public String getRecordings()
+
+
+
+
+
+
+ +

+setRecordings

+
+public void setRecordings(String recordings)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/CarrierLookup.html b/apidocs/com/telapi/api/domain/CarrierLookup.html new file mode 100644 index 0000000..6d35145 --- /dev/null +++ b/apidocs/com/telapi/api/domain/CarrierLookup.html @@ -0,0 +1,1065 @@ + + + + + + + +CarrierLookup (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class CarrierLookup

+
+java.lang.Object
+  extended by com.telapi.api.domain.BaseTelapiObject
+      extended by com.telapi.api.domain.CarrierLookup
+
+
+
+
public class CarrierLookup
extends BaseTelapiObject
+ + +

+Carrier lookup information. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CarrierLookup() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCarrier() + +
+           
+ StringgetCountry() + +
+           
+ StringgetImsi() + +
+           
+ BooleangetIsMobile() + +
+           
+ BooleangetIsPorted() + +
+           
+ BooleangetIsRoaming() + +
+           
+ StringgetMccmnc() + +
+           
+ StringgetOcn() + +
+           
+ StringgetOcp() + +
+           
+ StringgetOnp() + +
+           
+ StringgetOrn() + +
+           
+ StringgetPcn() + +
+           
+ StringgetPhoneNumber() + +
+           
+ StringgetPnp() + +
+           
+ StringgetPon() + +
+           
+ BigDecimalgetPrice() + +
+           
+ StringgetRcn() + +
+           
+ StringgetRcp() + +
+           
+ StringgetRnp() + +
+           
+ StringgetRon() + +
+           
+ CarrierLookupStatusgetStat() + +
+           
+ voidsetCarrier(String carrier) + +
+           
+ voidsetCountry(String country) + +
+           
+ voidsetImsi(String imsi) + +
+           
+ voidsetIsMobile(Boolean isMobile) + +
+           
+ voidsetIsPorted(Boolean isPorted) + +
+           
+ voidsetIsRoaming(Boolean isRoaming) + +
+           
+ voidsetMccmnc(String mccmnc) + +
+           
+ voidsetOcn(String ocn) + +
+           
+ voidsetOcp(String ocp) + +
+           
+ voidsetOnp(String onp) + +
+           
+ voidsetOrn(String orn) + +
+           
+ voidsetPcn(String pcn) + +
+           
+ voidsetPhoneNumber(String phoneNumber) + +
+           
+ voidsetPnp(String pnp) + +
+           
+ voidsetPon(String pon) + +
+           
+ voidsetPrice(BigDecimal price) + +
+           
+ voidsetRcn(String rcn) + +
+           
+ voidsetRcp(String rcp) + +
+           
+ voidsetRnp(String rnp) + +
+           
+ voidsetRon(String ron) + +
+           
+ voidsetStat(CarrierLookupStatus stat) + +
+           
+ + + + + + + +
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CarrierLookup

+
+public CarrierLookup()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getPhoneNumber

+
+public String getPhoneNumber()
+
+
+ +
Returns:
The phone number the look up was performed on.
+
+
+
+ +

+setPhoneNumber

+
+public void setPhoneNumber(String phoneNumber)
+
+
+
+
+
+
+ +

+getCarrier

+
+public String getCarrier()
+
+
+ +
Returns:
The carrier of the phone number we are looking up.
+
+
+
+ +

+setCarrier

+
+public void setCarrier(String carrier)
+
+
+
+
+
+
+ +

+getIsMobile

+
+public Boolean getIsMobile()
+
+
+ +
Returns:
Specifies if the phone number is mobile. can be true or false.
+
+
+
+ +

+setIsMobile

+
+public void setIsMobile(Boolean isMobile)
+
+
+
+
+
+
+ +

+getCountry

+
+public String getCountry()
+
+
+ +
Returns:
Code used to identify the phone numbers geographic origin. Found at the beginning of the number.
+
+
+
+ +

+setCountry

+
+public void setCountry(String country)
+
+
+
+
+
+
+ +

+getPrice

+
+public BigDecimal getPrice()
+
+
+ +
Returns:
Cost of the look up.
+
+
+
+ +

+setPrice

+
+public void setPrice(BigDecimal price)
+
+
+
+
+
+
+ +

+getIsPorted

+
+public Boolean getIsPorted()
+
+
+ +
Returns:
Specifies if the phone number is ported. May be true or false.
+
+
+
+ +

+setIsPorted

+
+public void setIsPorted(Boolean isPorted)
+
+
+
+
+
+
+ +

+getIsRoaming

+
+public Boolean getIsRoaming()
+
+
+ +
Returns:
Specifies in real time if the phone number is currently roaming. May be true or false.
+
+
+
+ +

+setIsRoaming

+
+public void setIsRoaming(Boolean isRoaming)
+
+
+
+
+
+
+ +

+getStat

+
+public CarrierLookupStatus getStat()
+
+
+ +
Returns:
Status telling whether the lookup was a success. May be DELIVRD, UNDELIV, UNKNOWN, or REJECTED.
+
+
+
+ +

+setStat

+
+public void setStat(CarrierLookupStatus stat)
+
+
+
+
+
+
+ +

+getImsi

+
+public String getImsi()
+
+
+ +
Returns:
International Mobile Subscriber Identity. This is the phones network SIM card identifier.
+
+
+
+ +

+setImsi

+
+public void setImsi(String imsi)
+
+
+
+
+
+
+ +

+getOrn

+
+public String getOrn()
+
+
+ +
Returns:
Name of the Original Network.
+
+
+
+ +

+setOrn

+
+public void setOrn(String orn)
+
+
+
+
+
+
+ +

+getPon

+
+public String getPon()
+
+
+ +
Returns:
Name of the Ported Network. Only displayed if the phone number is ported.
+
+
+
+ +

+setPon

+
+public void setPon(String pon)
+
+
+
+
+
+
+ +

+getRon

+
+public String getRon()
+
+
+ +
Returns:
Name of the Roaming Network. Only displayed if the phone number is roaming.
+
+
+
+ +

+setRon

+
+public void setRon(String ron)
+
+
+
+
+
+
+ +

+getMccmnc

+
+public String getMccmnc()
+
+
+ +
Returns:
Mobile Country Code, Mobile Network Code.
+
+
+
+ +

+setMccmnc

+
+public void setMccmnc(String mccmnc)
+
+
+
+
+
+
+ +

+getOnp

+
+public String getOnp()
+
+
+ +
Returns:
Original Network Prefix.
+
+
+
+ +

+setOnp

+
+public void setOnp(String onp)
+
+
+
+
+
+
+ +

+getOcn

+
+public String getOcn()
+
+
+ +
Returns:
Original Country Name.
+
+
+
+ +

+setOcn

+
+public void setOcn(String ocn)
+
+
+
+
+
+
+ +

+getOcp

+
+public String getOcp()
+
+
+ +
Returns:
Original Country Prefix.
+
+
+
+ +

+setOcp

+
+public void setOcp(String ocp)
+
+
+
+
+
+
+ +

+getRnp

+
+public String getRnp()
+
+
+ +
Returns:
Roaming Network Prefix. Only displayed if the phone number is roaming.
+
+
+
+ +

+setRnp

+
+public void setRnp(String rnp)
+
+
+
+
+
+
+ +

+getRcn

+
+public String getRcn()
+
+
+ +
Returns:
Roaming Country Name. Only displayed if the phone number is roaming.
+
+
+
+ +

+setRcn

+
+public void setRcn(String rcn)
+
+
+
+
+
+
+ +

+getRcp

+
+public String getRcp()
+
+
+ +
Returns:
Roaming Country Prefix. Only displayed if the phone number is roaming.
+
+
+
+ +

+setRcp

+
+public void setRcp(String rcp)
+
+
+
+
+
+
+ +

+getPnp

+
+public String getPnp()
+
+
+ +
Returns:
Ported Network Prefix. Only displayed if the phone number is ported.
+
+
+
+ +

+setPnp

+
+public void setPnp(String pnp)
+
+
+
+
+
+
+ +

+getPcn

+
+public String getPcn()
+
+
+ +
Returns:
Ported Country Name. Only displayed if the phone number is ported.
+
+
+
+ +

+setPcn

+
+public void setPcn(String pcn)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/CnamDip.html b/apidocs/com/telapi/api/domain/CnamDip.html new file mode 100644 index 0000000..7db8718 --- /dev/null +++ b/apidocs/com/telapi/api/domain/CnamDip.html @@ -0,0 +1,363 @@ + + + + + + + +CnamDip (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class CnamDip

+
+java.lang.Object
+  extended by com.telapi.api.domain.BaseTelapiObject
+      extended by com.telapi.api.domain.CnamDip
+
+
+
+
public class CnamDip
extends BaseTelapiObject
+ + +

+Provides CNAM caller ID information. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CnamDip() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetBody() + +
+           
+ StringgetPhoneNumber() + +
+           
+ BigDecimalgetPrice() + +
+           
+ voidsetBody(String body) + +
+           
+ voidsetPhoneNumber(String phoneNumber) + +
+           
+ voidsetPrice(BigDecimal price) + +
+           
+ + + + + + + +
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CnamDip

+
+public CnamDip()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getPhoneNumber

+
+public String getPhoneNumber()
+
+
+ +
Returns:
The phone number the look up was performed on.
+
+
+
+ +

+setPhoneNumber

+
+public void setPhoneNumber(String phoneNumber)
+
+
+
+
+
+
+ +

+getBody

+
+public String getBody()
+
+
+ +
Returns:
The result of our CNAM look up. Usually a name or organization associated with this phone.
+
+
+
+ +

+setBody

+
+public void setBody(String body)
+
+
+
+
+
+
+ +

+getPrice

+
+public BigDecimal getPrice()
+
+
+ +
Returns:
Cost of the look up.
+
+
+
+ +

+setPrice

+
+public void setPrice(BigDecimal price)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/Conference.html b/apidocs/com/telapi/api/domain/Conference.html new file mode 100644 index 0000000..f39585b --- /dev/null +++ b/apidocs/com/telapi/api/domain/Conference.html @@ -0,0 +1,444 @@ + + + + + + + +Conference (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class Conference

+
+java.lang.Object
+  extended by com.telapi.api.domain.BaseTelapiObject
+      extended by com.telapi.api.domain.Conference
+
+
+
+
public class Conference
extends BaseTelapiObject
+ + +

+Resource properties about conference calls that occurred through a TelAPI + account can be requested using our REST API. To view a single conference + resource, simply request it by its ConferenceSid. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Conference() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetFriendlyName() + +
+           
+ LonggetParticipantCount() + +
+           
+ LonggetRunTime() + +
+           
+ StringgetStatus() + +
+           
+ ConferenceSubresourceUrisgetSubresourceUris() + +
+           
+ voidsetFriendlyName(String friendlyName) + +
+           
+ voidsetParticipantCount(Long participantCount) + +
+           
+ voidsetRunTime(Long runTime) + +
+           
+ voidsetStatus(String status) + +
+           
+ voidsetSubresourceUris(ConferenceSubresourceUris subresourceUris) + +
+           
+ + + + + + + +
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Conference

+
+public Conference()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getFriendlyName

+
+public String getFriendlyName()
+
+
+ +
Returns:
User generated name of the conference.
+
+
+
+ +

+setFriendlyName

+
+public void setFriendlyName(String friendlyName)
+
+
+
+
+
+
+ +

+getStatus

+
+public String getStatus()
+
+
+ +
Returns:
Conference status. Can be 'init', 'in-progress' or 'completed'. + 'init' means the conference has been initialized, but no one has + entered yet.
+
+
+
+ +

+setStatus

+
+public void setStatus(String status)
+
+
+
+
+
+
+ +

+getParticipantCount

+
+public Long getParticipantCount()
+
+
+ +
Returns:
The number of members that participated in the conference.
+
+
+
+ +

+setParticipantCount

+
+public void setParticipantCount(Long participantCount)
+
+
+
+
+
+
+ +

+getRunTime

+
+public Long getRunTime()
+
+
+ +
Returns:
Conference duration in seconds.
+
+
+
+ +

+setRunTime

+
+public void setRunTime(Long runTime)
+
+
+
+
+
+
+ +

+getSubresourceUris

+
+public ConferenceSubresourceUris getSubresourceUris()
+
+
+
+
+
+
+ +

+setSubresourceUris

+
+public void setSubresourceUris(ConferenceSubresourceUris subresourceUris)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/ConferenceSubresourceUris.html b/apidocs/com/telapi/api/domain/ConferenceSubresourceUris.html new file mode 100644 index 0000000..8080357 --- /dev/null +++ b/apidocs/com/telapi/api/domain/ConferenceSubresourceUris.html @@ -0,0 +1,275 @@ + + + + + + + +ConferenceSubresourceUris (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class ConferenceSubresourceUris

+
+java.lang.Object
+  extended by com.telapi.api.domain.ConferenceSubresourceUris
+
+
+
+
public class ConferenceSubresourceUris
extends Object
+ + +

+List of a calls various subresources and their URI path. Examples of conference + subresources are participants. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ConferenceSubresourceUris() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetParticipants() + +
+           
+ voidsetParticipants(String participants) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConferenceSubresourceUris

+
+public ConferenceSubresourceUris()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getParticipants

+
+public String getParticipants()
+
+
+
+
+
+
+ +

+setParticipants

+
+public void setParticipants(String participants)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/Destination.html b/apidocs/com/telapi/api/domain/Destination.html new file mode 100644 index 0000000..71e0248 --- /dev/null +++ b/apidocs/com/telapi/api/domain/Destination.html @@ -0,0 +1,626 @@ + + + + + + + +Destination (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class Destination

+
+java.lang.Object
+  extended by com.telapi.api.domain.Destination
+
+
+
+
public class Destination
extends Object
+ + +

+Contains Fraud Control information about a Destination. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Destination() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCountryCode() + +
+           
+ StringgetCountryName() + +
+           
+ StringgetCountryPrefix() + +
+           
+ DategetDateCreated() + +
+           
+ DategetDateUpdated() + +
+           
+ DategetExpirationDate() + +
+           
+ BooleangetIsLock() + +
+           
+ BooleangetLandlineEnabled() + +
+           
+ BooleangetMobileEnabled() + +
+           
+ BooleangetSmsEnabled() + +
+           
+ voidsetCountryCode(String countryCode) + +
+           
+ voidsetCountryName(String countryName) + +
+           
+ voidsetCountryPrefix(String countryPrefix) + +
+           
+ voidsetDateCreated(Date dateCreated) + +
+           
+ voidsetDateUpdated(Date dateUpdated) + +
+           
+ voidsetExpirationDate(Date expirationDate) + +
+           
+ voidsetIsLock(Boolean isLock) + +
+           
+ voidsetLandlineEnabled(Boolean landlineEnabled) + +
+           
+ voidsetMobileEnabled(Boolean mobileEnabled) + +
+           
+ voidsetSmsEnabled(Boolean smsEnabled) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Destination

+
+public Destination()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCountryName

+
+public String getCountryName()
+
+
+ +
Returns:
Full name of the destination being whitelisted, authorized or blocked.
+
+
+
+ +

+setCountryName

+
+public void setCountryName(String countryName)
+
+
+
+
+
+
+ +

+getCountryCode

+
+public String getCountryCode()
+
+
+ +
Returns:
Two letter country code being whitelisted, authorized or blocked.
+
+
+
+ +

+setCountryCode

+
+public void setCountryCode(String countryCode)
+
+
+
+
+
+
+ +

+getCountryPrefix

+
+public String getCountryPrefix()
+
+
+ +
Returns:
Prefix of the destination being whitelisted, authorized or blocked.
+
+
+
+ +

+setCountryPrefix

+
+public void setCountryPrefix(String countryPrefix)
+
+
+
+
+
+
+ +

+getMobileEnabled

+
+public Boolean getMobileEnabled()
+
+
+ +
Returns:
Mobile status for the destination. If false, all mobile call activity will be rejected or disabled.
+
+
+
+ +

+setMobileEnabled

+
+public void setMobileEnabled(Boolean mobileEnabled)
+
+
+
+
+
+
+ +

+getLandlineEnabled

+
+public Boolean getLandlineEnabled()
+
+
+ +
Returns:
Landline status for the destination. If false, all landline call activity will be rejected or disabled.
+
+
+
+ +

+setLandlineEnabled

+
+public void setLandlineEnabled(Boolean landlineEnabled)
+
+
+
+
+
+
+ +

+getSmsEnabled

+
+public Boolean getSmsEnabled()
+
+
+ +
Returns:
Status of the SMS for destination. Can be true or false. If false, SMS for same destination will be rejected.
+
+
+
+ +

+setSmsEnabled

+
+public void setSmsEnabled(Boolean smsEnabled)
+
+
+
+
+
+
+ +

+getDateCreated

+
+public Date getDateCreated()
+
+
+ +
Returns:
The date the fraud control resource was created.
+
+
+
+ +

+setDateCreated

+
+public void setDateCreated(Date dateCreated)
+
+
+
+
+
+
+ +

+getDateUpdated

+
+public Date getDateUpdated()
+
+
+ +
Returns:
The date the fraud control resource was last updated.
+
+
+
+ +

+setDateUpdated

+
+public void setDateUpdated(Date dateUpdated)
+
+
+
+
+
+
+ +

+getExpirationDate

+
+public Date getExpirationDate()
+
+
+ +
Returns:
The date the fraud control resource will expire.
+
+
+
+ +

+setExpirationDate

+
+public void setExpirationDate(Date expirationDate)
+
+
+
+
+
+
+ +

+getIsLock

+
+public Boolean getIsLock()
+
+
+ +
Returns:
Specifies whether the destination has been permanently blacklisted by our system.
+
+
+
+ +

+setIsLock

+
+public void setIsLock(Boolean isLock)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/DestinationFraudControlGroup.html b/apidocs/com/telapi/api/domain/DestinationFraudControlGroup.html new file mode 100644 index 0000000..5c971f7 --- /dev/null +++ b/apidocs/com/telapi/api/domain/DestinationFraudControlGroup.html @@ -0,0 +1,353 @@ + + + + + + + +DestinationFraudControlGroup (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class DestinationFraudControlGroup

+
+java.lang.Object
+  extended by com.telapi.api.domain.DestinationFraudControlGroup
+
+
+
+
public class DestinationFraudControlGroup
extends Object
+ + +

+Contains Fraud control information about various Destinations. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DestinationFraudControlGroup() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ List<Destination>getAuthorized() + +
+           
+ List<Destination>getBlocked() + +
+           
+ List<Destination>getWhitelisted() + +
+           
+ voidsetAuthorized(List<Destination> authorized) + +
+           
+ voidsetBlocked(List<Destination> blocked) + +
+           
+ voidsetWhitelisted(List<Destination> whitelisted) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DestinationFraudControlGroup

+
+public DestinationFraudControlGroup()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getBlocked

+
+public List<Destination> getBlocked()
+
+
+ +
Returns:
A list of blocked Destinations.
+
+
+
+ +

+setBlocked

+
+public void setBlocked(List<Destination> blocked)
+
+
+
+
+
+
+ +

+getAuthorized

+
+public List<Destination> getAuthorized()
+
+
+ +
Returns:
A list of authorized Destinations.
+
+
+
+ +

+setAuthorized

+
+public void setAuthorized(List<Destination> authorized)
+
+
+
+
+
+
+ +

+getWhitelisted

+
+public List<Destination> getWhitelisted()
+
+
+ +
Returns:
A list of whitelisted Destinations.
+
+
+
+ +

+setWhitelisted

+
+public void setWhitelisted(List<Destination> whitelisted)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/Fraud.html b/apidocs/com/telapi/api/domain/Fraud.html new file mode 100644 index 0000000..dbe9b37 --- /dev/null +++ b/apidocs/com/telapi/api/domain/Fraud.html @@ -0,0 +1,314 @@ + + + + + + + +Fraud (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class Fraud

+
+java.lang.Object
+  extended by com.telapi.api.domain.Fraud
+
+
+
+
public class Fraud
extends Object
+ + +

+Lists Fraud control resource information. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Fraud() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ DestinationFraudControlGroupgetDestinations() + +
+           
+ BigDecimalgetMaxOutboundRate() + +
+           
+ voidsetDestinations(DestinationFraudControlGroup destinations) + +
+           
+ voidsetMaxOutboundRate(BigDecimal maxOutboundRate) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Fraud

+
+public Fraud()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMaxOutboundRate

+
+public BigDecimal getMaxOutboundRate()
+
+
+ +
Returns:
The price limit an outbound call may be. Calls which cost more will be rejected.
+
+
+
+ +

+setMaxOutboundRate

+
+public void setMaxOutboundRate(BigDecimal maxOutboundRate)
+
+
+
+
+
+
+ +

+getDestinations

+
+public DestinationFraudControlGroup getDestinations()
+
+
+ +
Returns:
Destination information.
+
+
+
+ +

+setDestinations

+
+public void setDestinations(DestinationFraudControlGroup destinations)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/IncomingPhoneNumber.html b/apidocs/com/telapi/api/domain/IncomingPhoneNumber.html new file mode 100644 index 0000000..a5fa6b1 --- /dev/null +++ b/apidocs/com/telapi/api/domain/IncomingPhoneNumber.html @@ -0,0 +1,490 @@ + + + + + + + +IncomingPhoneNumber (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class IncomingPhoneNumber

+
+java.lang.Object
+  extended by com.telapi.api.domain.BaseTelapiObject
+      extended by com.telapi.api.domain.BaseTelapiObjectWithMethods
+          extended by com.telapi.api.domain.IncomingPhoneNumber
+
+
+
+
public class IncomingPhoneNumber
extends BaseTelapiObjectWithMethods
+ + +

+TelAPI phone numbers associated with an account are represented with the IncomingPhoneNumber resource. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
IncomingPhoneNumber() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ PhoneNumberCapabilitiesgetCapabilities() + +
+           
+ StringgetFriendlyName() + +
+           
+ StringgetPhoneNumber() + +
+           
+ StringgetSmsApplicationSid() + +
+           
+ PhoneNumberTypegetType() + +
+           
+ StringgetVoiceApplicationSid() + +
+           
+ voidsetCapabilities(PhoneNumberCapabilities capabilities) + +
+           
+ voidsetFriendlyName(String friendlyName) + +
+           
+ voidsetPhoneNumber(String phoneNumber) + +
+           
+ voidsetSmsApplicationSid(String smsApplicationSid) + +
+           
+ voidsetType(PhoneNumberType type) + +
+           
+ voidsetVoiceApplicationSid(String voiceApplicationSid) + +
+           
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.BaseTelapiObjectWithMethods
getHangupCallback, getHangupCallbackMethod, getHeartbeatMethod, getHeartbeatUrl, getSmsFallbackMethod, getSmsFallbackUrl, getSmsMethod, getSmsStatusCallbackMethod, getSmsStatusCallbackUrl, getSmsUrl, getStatusCallback, getStatusCallbackMethod, getVoiceCallerIdLookup, getVoiceFallbackMethod, getVoiceFallbackUrl, getVoiceMethod, getVoiceUrl, setHangupCallback, setHangupCallbackMethod, setHeartbeatMethod, setHeartbeatUrl, setSmsFallbackMethod, setSmsFallbackUrl, setSmsMethod, setSmsStatusCallbackMethod, setSmsStatusCallbackUrl, setSmsUrl, setStatusCallback, setStatusCallbackMethod, setVoiceCallerIdLookup, setVoiceFallbackMethod, setVoiceFallbackUrl, setVoiceMethod, setVoiceUrl
+ + + + + + + +
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IncomingPhoneNumber

+
+public IncomingPhoneNumber()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getFriendlyName

+
+public String getFriendlyName()
+
+
+ +
Returns:
Domestic format version of the TelAPI phone number. (e.g. 1234567890 to (123)-456-7890)
+
+
+
+ +

+setFriendlyName

+
+public void setFriendlyName(String friendlyName)
+
+
+
+
+
+
+ +

+getPhoneNumber

+
+public String getPhoneNumber()
+
+
+ +
Returns:
The E.164 format number of each incoming number.
+
+
+
+ +

+setPhoneNumber

+
+public void setPhoneNumber(String phoneNumber)
+
+
+
+
+
+
+ +

+getType

+
+public PhoneNumberType getType()
+
+
+ +
Returns:
The type of TelAPI number. (local, international, etc.)
+
+
+
+ +

+setType

+
+public void setType(PhoneNumberType type)
+
+
+
+
+
+
+ +

+getVoiceApplicationSid

+
+public String getVoiceApplicationSid()
+
+
+ +
Returns:
+
+
+
+ +

+setVoiceApplicationSid

+
+public void setVoiceApplicationSid(String voiceApplicationSid)
+
+
+
+
+
+
+ +

+getSmsApplicationSid

+
+public String getSmsApplicationSid()
+
+
+ +
Returns:
+
+
+
+ +

+setSmsApplicationSid

+
+public void setSmsApplicationSid(String smsApplicationSid)
+
+
+
+
+
+
+ +

+getCapabilities

+
+public PhoneNumberCapabilities getCapabilities()
+
+
+ +
Returns:
The features available with this incoming phone number. The voice and sms properties are either True or False depending on what the number is capable of.
+
+
+
+ +

+setCapabilities

+
+public void setCapabilities(PhoneNumberCapabilities capabilities)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/Notification.html b/apidocs/com/telapi/api/domain/Notification.html new file mode 100644 index 0000000..0684f21 --- /dev/null +++ b/apidocs/com/telapi/api/domain/Notification.html @@ -0,0 +1,676 @@ + + + + + + + +Notification (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class Notification

+
+java.lang.Object
+  extended by com.telapi.api.domain.BaseTelapiObject
+      extended by com.telapi.api.domain.Notification
+
+
+
+
public class Notification
extends BaseTelapiObject
+ + +

+Notifications that TelAPI sends to users regarding their account and TelAPI + phone numbers activity. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Notification() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCallSid() + +
+           
+ StringgetErrorCode() + +
+           
+ LogLevelgetLog() + +
+           
+ DategetMessageDate() + +
+           
+ StringgetMessageText() + +
+           
+ StringgetMoreInfo() + +
+           
+ HttpMethodgetRequestMethod() + +
+           
+ StringgetRequestUrl() + +
+           
+ StringgetRequestVariables() + +
+           
+ StringgetResponseBody() + +
+           
+ StringgetResponseHeaders() + +
+           
+ voidsetCallSid(String callSid) + +
+           
+ voidsetErrorCode(String errorCode) + +
+           
+ voidsetLog(LogLevel log) + +
+           
+ voidsetMessageDate(Date messageDate) + +
+           
+ voidsetMessageText(String messageText) + +
+           
+ voidsetMoreInfo(String moreInfo) + +
+           
+ voidsetRequestMethod(HttpMethod requestMethod) + +
+           
+ voidsetRequestUrl(String requestUrl) + +
+           
+ voidsetRequestVariables(String requestVariables) + +
+           
+ voidsetResponseBody(String responseBody) + +
+           
+ voidsetResponseHeaders(String responseHeaders) + +
+           
+ + + + + + + +
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Notification

+
+public Notification()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCallSid

+
+public String getCallSid()
+
+
+ +
Returns:
An alphanumeric string used for identification of the call that the notification occurred during. Since notifications don't have to necessarily occur during calls, this property could be empty.
+
+
+
+ +

+setCallSid

+
+public void setCallSid(String callSid)
+
+
+
+
+
+
+ +

+getLog

+
+public LogLevel getLog()
+
+
+ +
Returns:
Specifies the notification log level: INFO, WARNING or ERROR.
+
+
+
+ +

+setLog

+
+public void setLog(LogLevel log)
+
+
+
+
+
+
+ +

+getErrorCode

+
+public String getErrorCode()
+
+
+ +
Returns:
Identifies the specific error type. For more information on error codes see the Error Dictionary.
+
+
+
+ +

+setErrorCode

+
+public void setErrorCode(String errorCode)
+
+
+
+
+
+
+ +

+getMoreInfo

+
+public String getMoreInfo()
+
+
+ +
Returns:
URL leading to our error dictionary for more information on the error.
+
+
+
+ +

+setMoreInfo

+
+public void setMoreInfo(String moreInfo)
+
+
+
+
+
+
+ +

+getMessageText

+
+public String getMessageText()
+
+
+ +
Returns:
Text of the notification message.
+
+
+
+ +

+setMessageText

+
+public void setMessageText(String messageText)
+
+
+
+
+
+
+ +

+getMessageDate

+
+public Date getMessageDate()
+
+
+ +
Returns:
The date the TelAPI account received the actual notification. May be a bit different from DateCreated due to buffering.
+
+
+
+ +

+setMessageDate

+
+public void setMessageDate(Date messageDate)
+
+
+
+
+
+
+ +

+getResponseBody

+
+public String getResponseBody()
+
+
+ +
Returns:
The HTTP body returned by your server when the notification occurred.
+
+
+
+ +

+setResponseBody

+
+public void setResponseBody(String responseBody)
+
+
+
+
+
+
+ +

+getRequestMethod

+
+public HttpMethod getRequestMethod()
+
+
+ +
Returns:
The method used to request RequestUrl when the notification was generated.
+
+
+
+ +

+setRequestMethod

+
+public void setRequestMethod(HttpMethod requestMethod)
+
+
+
+
+
+
+ +

+getRequestUrl

+
+public String getRequestUrl()
+
+
+ +
Returns:
The URL being requested when notification was generated.
+
+
+
+ +

+setRequestUrl

+
+public void setRequestUrl(String requestUrl)
+
+
+
+
+
+
+ +

+getRequestVariables

+
+public String getRequestVariables()
+
+
+ +
Returns:
The variables sent with the HTTP request that generated the notification.
+
+
+
+ +

+setRequestVariables

+
+public void setRequestVariables(String requestVariables)
+
+
+
+
+
+
+ +

+getResponseHeaders

+
+public String getResponseHeaders()
+
+
+ +
Returns:
HTTP headers returned by your server when the notification occurred.
+
+
+
+ +

+setResponseHeaders

+
+public void setResponseHeaders(String responseHeaders)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/Participant.html b/apidocs/com/telapi/api/domain/Participant.html new file mode 100644 index 0000000..4ba4c8c --- /dev/null +++ b/apidocs/com/telapi/api/domain/Participant.html @@ -0,0 +1,515 @@ + + + + + + + +Participant (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class Participant

+
+java.lang.Object
+  extended by com.telapi.api.domain.BaseTelapiObject
+      extended by com.telapi.api.domain.Participant
+
+
+
+
public class Participant
extends BaseTelapiObject
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Participant() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCallerName() + +
+           
+ StringgetCallerNumber() + +
+           
+ StringgetCallSid() + +
+           
+ StringgetConferenceSid() + +
+           
+ BooleangetDeaf() + +
+           
+ LonggetDuration() + +
+           
+ BooleangetMuted() + +
+           
+ voidsetCallerName(String callerName) + +
+           
+ voidsetCallerNumber(String callerNumber) + +
+           
+ voidsetCallSid(String callSid) + +
+           
+ voidsetConferenceSid(String conferenceSid) + +
+           
+ voidsetDeaf(Boolean deaf) + +
+           
+ voidsetDuration(Long duration) + +
+           
+ voidsetMuted(Boolean muted) + +
+           
+ + + + + + + +
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Participant

+
+public Participant()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCallSid

+
+public String getCallSid()
+
+
+ +
Returns:
The sid of the call of the participant
+
+
+
+ +

+setCallSid

+
+public void setCallSid(String callSid)
+
+
+
+
+
+
+ +

+getConferenceSid

+
+public String getConferenceSid()
+
+
+ +
Returns:
The sid of the conference the participant is a part of
+
+
+
+ +

+setConferenceSid

+
+public void setConferenceSid(String conferenceSid)
+
+
+
+
+
+
+ +

+getMuted

+
+public Boolean getMuted()
+
+
+ +
Returns:
Returns true if the participant is muted.
+
+
+
+ +

+setMuted

+
+public void setMuted(Boolean muted)
+
+
+
+
+
+
+ +

+getDeaf

+
+public Boolean getDeaf()
+
+
+ +
Returns:
Returns true if the participant is deafened.
+
+
+
+ +

+setDeaf

+
+public void setDeaf(Boolean deaf)
+
+
+
+
+
+
+ +

+getCallerName

+
+public String getCallerName()
+
+
+ +
Returns:
The participant name available on the caller id.
+
+
+
+ +

+setCallerName

+
+public void setCallerName(String callerName)
+
+
+
+
+
+
+ +

+getCallerNumber

+
+public String getCallerNumber()
+
+
+ +
Returns:
The number this participant used to enter the conference.
+
+
+
+ +

+setCallerNumber

+
+public void setCallerNumber(String callerNumber)
+
+
+
+
+
+
+ +

+getDuration

+
+public Long getDuration()
+
+
+ +
Returns:
The duration in seconds a participant has been in a conference.
+
+
+
+ +

+setDuration

+
+public void setDuration(Long duration)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/PhoneNumberCapabilities.html b/apidocs/com/telapi/api/domain/PhoneNumberCapabilities.html new file mode 100644 index 0000000..2b9f926 --- /dev/null +++ b/apidocs/com/telapi/api/domain/PhoneNumberCapabilities.html @@ -0,0 +1,312 @@ + + + + + + + +PhoneNumberCapabilities (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class PhoneNumberCapabilities

+
+java.lang.Object
+  extended by com.telapi.api.domain.PhoneNumberCapabilities
+
+
+
+
public class PhoneNumberCapabilities
extends Object
+ + +

+The features available with this incoming phone number. The voice and sms properties are either True or False depending on what the number is capable of. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PhoneNumberCapabilities() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ BooleangetSms() + +
+           
+ BooleangetVoice() + +
+           
+ voidsetSms(Boolean sms) + +
+           
+ voidsetVoice(Boolean voice) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PhoneNumberCapabilities

+
+public PhoneNumberCapabilities()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVoice

+
+public Boolean getVoice()
+
+
+
+
+
+
+ +

+setVoice

+
+public void setVoice(Boolean voice)
+
+
+
+
+
+
+ +

+getSms

+
+public Boolean getSms()
+
+
+
+
+
+
+ +

+setSms

+
+public void setSms(Boolean sms)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/Recording.html b/apidocs/com/telapi/api/domain/Recording.html new file mode 100644 index 0000000..8c0af99 --- /dev/null +++ b/apidocs/com/telapi/api/domain/Recording.html @@ -0,0 +1,365 @@ + + + + + + + +Recording (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class Recording

+
+java.lang.Object
+  extended by com.telapi.api.domain.BaseTelapiObject
+      extended by com.telapi.api.domain.Recording
+
+
+
+
public class Recording
extends BaseTelapiObject
+ + +

+Recorded calls can be viewed using the REST API. All + recordings are represented as the same type of resource, regardless of + whether initiated via InboundXML or the REST API. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Recording() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCallSid() + +
+           
+ LonggetDuration() + +
+           
+ StringgetRecordingUrl() + +
+           
+ voidsetCallSid(String callSid) + +
+           
+ voidsetDuration(Long duration) + +
+           
+ voidsetRecordingUrl(String recordingUrl) + +
+           
+ + + + + + + +
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Recording

+
+public Recording()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCallSid

+
+public String getCallSid()
+
+
+ +
Returns:
The sid identifying the recorded call.
+
+
+
+ +

+setCallSid

+
+public void setCallSid(String callSid)
+
+
+
+
+
+
+ +

+getDuration

+
+public Long getDuration()
+
+
+ +
Returns:
Time of recording in seconds.
+
+
+
+ +

+setDuration

+
+public void setDuration(Long duration)
+
+
+
+
+
+
+ +

+getRecordingUrl

+
+public String getRecordingUrl()
+
+
+ +
Returns:
URL where .mp3 or .wav file of the recording is located.
+
+
+
+ +

+setRecordingUrl

+
+public void setRecordingUrl(String recordingUrl)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/SmsMessage.html b/apidocs/com/telapi/api/domain/SmsMessage.html new file mode 100644 index 0000000..d2de1b4 --- /dev/null +++ b/apidocs/com/telapi/api/domain/SmsMessage.html @@ -0,0 +1,523 @@ + + + + + + + +SmsMessage (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class SmsMessage

+
+java.lang.Object
+  extended by com.telapi.api.domain.BaseTelapiObject
+      extended by com.telapi.api.domain.SmsMessage
+
+
+
+
public class SmsMessage
extends BaseTelapiObject
+ + +

+Text messages sent to and from TelAPI phone numbers are represented with the Sms resource. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SmsMessage() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetBody() + +
+           
+ DategetDateSent() + +
+           
+ SmsDirectiongetDirection() + +
+           
+ StringgetFrom() + +
+           
+ BigDecimalgetPrice() + +
+           
+ StringgetStatus() + +
+           
+ StringgetTo() + +
+           
+ voidsetBody(String body) + +
+           
+ voidsetDateSent(Date dateSent) + +
+           
+ voidsetDirection(SmsDirection direction) + +
+           
+ voidsetFrom(String from) + +
+           
+ voidsetPrice(BigDecimal price) + +
+           
+ voidsetStatus(String status) + +
+           
+ voidsetTo(String to) + +
+           
+ + + + + + + +
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SmsMessage

+
+public SmsMessage()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getDateSent

+
+public Date getDateSent()
+
+
+ +
Returns:
Date the SMS was sent.
+
+
+
+ +

+setDateSent

+
+public void setDateSent(Date dateSent)
+
+
+
+
+
+
+ +

+getTo

+
+public String getTo()
+
+
+ +
Returns:
The number that received the SMS message.
+
+
+
+ +

+setTo

+
+public void setTo(String to)
+
+
+
+
+
+
+ +

+getFrom

+
+public String getFrom()
+
+
+ +
Returns:
The number that sent the SMS message.
+
+
+
+ +

+setFrom

+
+public void setFrom(String from)
+
+
+
+
+
+
+ +

+getBody

+
+public String getBody()
+
+
+ +
Returns:
Text of the SMS message sent or received. May be up to 160 characters in length.
+
+
+
+ +

+setBody

+
+public void setBody(String body)
+
+
+
+
+
+
+ +

+getStatus

+
+public String getStatus()
+
+
+ +
Returns:
Status of the SMS: sent, sending, queued, or failed.
+
+
+
+ +

+setStatus

+
+public void setStatus(String status)
+
+
+
+
+
+
+ +

+getDirection

+
+public SmsDirection getDirection()
+
+
+ +
Returns:
Specifies the direction of the SMS: messages from REST API are + "outbound-api", messages from incoming phone numbers to TelAPI + are "incoming", messages from InboundXML initiated during an + outbound call are "outbound-call", and messages from InboundXML + initiated via an sms reply are "outbound-reply".
+
+
+
+ +

+setDirection

+
+public void setDirection(SmsDirection direction)
+
+
+
+
+
+
+ +

+getPrice

+
+public BigDecimal getPrice()
+
+
+ +
Returns:
Cost of the SMS.
+
+
+
+ +

+setPrice

+
+public void setPrice(BigDecimal price)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/StatusResponse.html b/apidocs/com/telapi/api/domain/StatusResponse.html new file mode 100644 index 0000000..e46a057 --- /dev/null +++ b/apidocs/com/telapi/api/domain/StatusResponse.html @@ -0,0 +1,308 @@ + + + + + + + +StatusResponse (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class StatusResponse

+
+java.lang.Object
+  extended by com.telapi.api.domain.StatusResponse
+
+
+
+
public class StatusResponse
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
StatusResponse() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetMessage() + +
+           
+ StringgetStatus() + +
+           
+ voidsetMessage(String message) + +
+           
+ voidsetStatus(String status) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StatusResponse

+
+public StatusResponse()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getStatus

+
+public String getStatus()
+
+
+
+
+
+
+ +

+setStatus

+
+public void setStatus(String status)
+
+
+
+
+
+
+ +

+getMessage

+
+public String getMessage()
+
+
+
+
+
+
+ +

+setMessage

+
+public void setMessage(String message)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/SubresourceUris.html b/apidocs/com/telapi/api/domain/SubresourceUris.html new file mode 100644 index 0000000..40e28d6 --- /dev/null +++ b/apidocs/com/telapi/api/domain/SubresourceUris.html @@ -0,0 +1,732 @@ + + + + + + + +SubresourceUris (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class SubresourceUris

+
+java.lang.Object
+  extended by com.telapi.api.domain.SubresourceUris
+
+
+
+
public class SubresourceUris
extends Object
+ + +

+List of an accounts various subresources and their URI path. Examples of + subresources are things like calls that occurred through the account, sms + messages, purchased phone numbers, etc. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SubresourceUris() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetApplications() + +
+           
+ StringgetAvailablePhoneNumbers() + +
+           
+ StringgetCalls() + +
+           
+ StringgetCarrier() + +
+           
+ StringgetCnam() + +
+           
+ StringgetConferences() + +
+           
+ StringgetFraud() + +
+           
+ StringgetIncomingPhoneNumbers() + +
+           
+ StringgetNotifications() + +
+           
+ StringgetRecordings() + +
+           
+ StringgetSmsMessages() + +
+           
+ StringgetTransactions() + +
+           
+ StringgetTranscriptions() + +
+           
+ voidsetApplications(String applications) + +
+           
+ voidsetAvailablePhoneNumbers(String availablePhoneNumbers) + +
+           
+ voidsetCalls(String calls) + +
+           
+ voidsetCarrier(String carrier) + +
+           
+ voidsetCnam(String cnam) + +
+           
+ voidsetConferences(String conferences) + +
+           
+ voidsetFraud(String fraud) + +
+           
+ voidsetIncomingPhoneNumbers(String incomingPhoneNumbers) + +
+           
+ voidsetNotifications(String notifications) + +
+           
+ voidsetRecordings(String recordings) + +
+           
+ voidsetSmsMessages(String smsMessages) + +
+           
+ voidsetTransactions(String transactions) + +
+           
+ voidsetTranscriptions(String transcriptions) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SubresourceUris

+
+public SubresourceUris()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAvailablePhoneNumbers

+
+public String getAvailablePhoneNumbers()
+
+
+
+
+
+
+ +

+setAvailablePhoneNumbers

+
+public void setAvailablePhoneNumbers(String availablePhoneNumbers)
+
+
+
+
+
+
+ +

+getCalls

+
+public String getCalls()
+
+
+
+
+
+
+ +

+setCalls

+
+public void setCalls(String calls)
+
+
+
+
+
+
+ +

+getConferences

+
+public String getConferences()
+
+
+
+
+
+
+ +

+setConferences

+
+public void setConferences(String conferences)
+
+
+
+
+
+
+ +

+getIncomingPhoneNumbers

+
+public String getIncomingPhoneNumbers()
+
+
+
+
+
+
+ +

+setIncomingPhoneNumbers

+
+public void setIncomingPhoneNumbers(String incomingPhoneNumbers)
+
+
+
+
+
+
+ +

+getNotifications

+
+public String getNotifications()
+
+
+
+
+
+
+ +

+setNotifications

+
+public void setNotifications(String notifications)
+
+
+
+
+
+
+ +

+getRecordings

+
+public String getRecordings()
+
+
+
+
+
+
+ +

+setRecordings

+
+public void setRecordings(String recordings)
+
+
+
+
+
+
+ +

+getSmsMessages

+
+public String getSmsMessages()
+
+
+
+
+
+
+ +

+setSmsMessages

+
+public void setSmsMessages(String smsMessages)
+
+
+
+
+
+
+ +

+getTranscriptions

+
+public String getTranscriptions()
+
+
+
+
+
+
+ +

+setTranscriptions

+
+public void setTranscriptions(String transcriptions)
+
+
+
+
+
+
+ +

+getTransactions

+
+public String getTransactions()
+
+
+
+
+
+
+ +

+setTransactions

+
+public void setTransactions(String transactions)
+
+
+
+
+
+
+ +

+getApplications

+
+public String getApplications()
+
+
+
+
+
+
+ +

+setApplications

+
+public void setApplications(String applications)
+
+
+
+
+
+
+ +

+getFraud

+
+public String getFraud()
+
+
+
+
+
+
+ +

+setFraud

+
+public void setFraud(String fraud)
+
+
+
+
+
+
+ +

+getCnam

+
+public String getCnam()
+
+
+
+
+
+
+ +

+setCnam

+
+public void setCnam(String cnam)
+
+
+
+
+
+
+ +

+getCarrier

+
+public String getCarrier()
+
+
+
+
+
+
+ +

+setCarrier

+
+public void setCarrier(String carrier)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/TelapiList.html b/apidocs/com/telapi/api/domain/TelapiList.html new file mode 100644 index 0000000..6a2ca91 --- /dev/null +++ b/apidocs/com/telapi/api/domain/TelapiList.html @@ -0,0 +1,744 @@ + + + + + + + +TelapiList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class TelapiList<T>

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<T>
+
+
+
All Implemented Interfaces:
Iterable<T>
+
+
+
Direct Known Subclasses:
AccountsList, ApplicationList, AvailablePhoneNumberList, CallList, CarrierLookupList, CnamDipList, ConferenceList, FraudList, IncomingPhoneNumberList, NotificationList, RecordingList, SmsMessageList, TranscriptionList
+
+
+
+
public abstract class TelapiList<T>
extends Object
implements Iterable<T>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TelapiList() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ LonggetEnd() + +
+           
+ StringgetFirstPageUri() + +
+           
+ StringgetLastPageUri() + +
+           
+ StringgetNextPageUri() + +
+           
+ LonggetNumpages() + +
+           
+ LonggetPage() + +
+           
+ LonggetPagesize() + +
+           
+ StringgetPreviousPageUri() + +
+           
+ LonggetStart() + +
+           
+ LonggetTotal() + +
+           
+ StringgetUri() + +
+           
+ Iterator<T>iterator() + +
+           
+ voidsetEnd(Long end) + +
+           
+ voidsetFirstPageUri(String firstPageUri) + +
+           
+ voidsetLastPageUri(String lastPageUri) + +
+           
+ voidsetNextPageUri(String nextPageUri) + +
+           
+ voidsetNumpages(Long numpages) + +
+           
+ voidsetPage(Long page) + +
+           
+ voidsetPagesize(Long pagesize) + +
+           
+ voidsetPreviousPageUri(String previousPageUri) + +
+           
+ voidsetStart(Long start) + +
+           
+ voidsetTotal(Long total) + +
+           
+ voidsetUri(String uri) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TelapiList

+
+public TelapiList()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getPage

+
+public Long getPage()
+
+
+
+
+
+
+
+
+
+ +

+setPage

+
+public void setPage(Long page)
+
+
+
+
+
+
+
+
+
+ +

+getNumpages

+
+public Long getNumpages()
+
+
+
+
+
+
+
+
+
+ +

+setNumpages

+
+public void setNumpages(Long numpages)
+
+
+
+
+
+
+
+
+
+ +

+getPagesize

+
+public Long getPagesize()
+
+
+
+
+
+
+
+
+
+ +

+setPagesize

+
+public void setPagesize(Long pagesize)
+
+
+
+
+
+
+
+
+
+ +

+getTotal

+
+public Long getTotal()
+
+
+
+
+
+
+
+
+
+ +

+setTotal

+
+public void setTotal(Long total)
+
+
+
+
+
+
+
+
+
+ +

+getStart

+
+public Long getStart()
+
+
+
+
+
+
+
+
+
+ +

+setStart

+
+public void setStart(Long start)
+
+
+
+
+
+
+
+
+
+ +

+getEnd

+
+public Long getEnd()
+
+
+
+
+
+
+
+
+
+ +

+setEnd

+
+public void setEnd(Long end)
+
+
+
+
+
+
+
+
+
+ +

+getUri

+
+public String getUri()
+
+
+
+
+
+
+
+
+
+ +

+setUri

+
+public void setUri(String uri)
+
+
+
+
+
+
+
+
+
+ +

+getFirstPageUri

+
+public String getFirstPageUri()
+
+
+
+
+
+
+
+
+
+ +

+setFirstPageUri

+
+public void setFirstPageUri(String firstPageUri)
+
+
+
+
+
+
+
+
+
+ +

+getPreviousPageUri

+
+public String getPreviousPageUri()
+
+
+
+
+
+
+
+
+
+ +

+setPreviousPageUri

+
+public void setPreviousPageUri(String previousPageUri)
+
+
+
+
+
+
+
+
+
+ +

+getNextPageUri

+
+public String getNextPageUri()
+
+
+
+
+
+
+
+
+
+ +

+setNextPageUri

+
+public void setNextPageUri(String nextPageUri)
+
+
+
+
+
+
+
+
+
+ +

+getLastPageUri

+
+public String getLastPageUri()
+
+
+
+
+
+
+
+
+
+ +

+setLastPageUri

+
+public void setLastPageUri(String lastPageUri)
+
+
+
+
+
+
+
+
+
+ +

+iterator

+
+public Iterator<T> iterator()
+
+
+
Specified by:
iterator in interface Iterable<T>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/Transcription.html b/apidocs/com/telapi/api/domain/Transcription.html new file mode 100644 index 0000000..3e7c816 --- /dev/null +++ b/apidocs/com/telapi/api/domain/Transcription.html @@ -0,0 +1,597 @@ + + + + + + + +Transcription (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain +
+Class Transcription

+
+java.lang.Object
+  extended by com.telapi.api.domain.BaseTelapiObject
+      extended by com.telapi.api.domain.Transcription
+
+
+
+
public class Transcription
extends BaseTelapiObject
+ + +

+This resource represents a transcription of a Recording or audio. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Transcription() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAudioUrl() + +
+           
+ HttpMethodgetCallbackMethod() + +
+           
+ LonggetDuration() + +
+           
+ BigDecimalgetPrice() + +
+           
+ StringgetRecordingSid() + +
+           
+ TranscriptionStatusgetStatus() + +
+           
+ StringgetTranscribeCallback() + +
+           
+ StringgetTranscriptionText() + +
+           
+ TranscriptionTypegetType() + +
+           
+ voidsetAudioUrl(String audioUrl) + +
+           
+ voidsetCallbackMethod(HttpMethod callbackMethod) + +
+           
+ voidsetDuration(Long duration) + +
+           
+ voidsetPrice(BigDecimal price) + +
+           
+ voidsetRecordingSid(String recordingSid) + +
+           
+ voidsetStatus(TranscriptionStatus status) + +
+           
+ voidsetTranscribeCallback(String transcribeCallback) + +
+           
+ voidsetTranscriptionText(String transcriptionText) + +
+           
+ voidsetType(TranscriptionType type) + +
+           
+ + + + + + + +
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Transcription

+
+public Transcription()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getStatus

+
+public TranscriptionStatus getStatus()
+
+
+ +
Returns:
The status of the transcription (e.g. completed, in-progress, failed).
+
+
+
+ +

+setStatus

+
+public void setStatus(TranscriptionStatus status)
+
+
+
+
+
+
+ +

+getType

+
+public TranscriptionType getType()
+
+
+ +
Returns:
Transcription quality tier. May be auto, silver, gold, or platinum. Default is auto.
+
+
+
+ +

+setType

+
+public void setType(TranscriptionType type)
+
+
+
+
+
+
+ +

+getAudioUrl

+
+public String getAudioUrl()
+
+
+ +
Returns:
URL where a file containing the transcribed audio is located.
+
+
+
+ +

+setAudioUrl

+
+public void setAudioUrl(String audioUrl)
+
+
+
+
+
+
+ +

+getDuration

+
+public Long getDuration()
+
+
+ +
Returns:
Length in seconds of the transcribed recording.
+
+
+
+ +

+setDuration

+
+public void setDuration(Long duration)
+
+
+
+
+
+
+ +

+getTranscriptionText

+
+public String getTranscriptionText()
+
+
+ +
Returns:
Text of the transcribed audio.
+
+
+
+ +

+setTranscriptionText

+
+public void setTranscriptionText(String transcriptionText)
+
+
+
+
+
+
+ +

+getPrice

+
+public BigDecimal getPrice()
+
+
+ +
Returns:
Cost of the transcription.
+
+
+
+ +

+setPrice

+
+public void setPrice(BigDecimal price)
+
+
+
+
+
+
+ +

+getTranscribeCallback

+
+public String getTranscribeCallback()
+
+
+ +
Returns:
URL where transcription will report to after completion.
+
+
+
+ +

+setTranscribeCallback

+
+public void setTranscribeCallback(String transcribeCallback)
+
+
+
+
+
+
+ +

+getCallbackMethod

+
+public HttpMethod getCallbackMethod()
+
+
+ +
Returns:
Method to request TranscribeCallback URL. Can be POST or GET. Default is POST
+
+
+
+ +

+setCallbackMethod

+
+public void setCallbackMethod(HttpMethod callbackMethod)
+
+
+
+
+
+
+ +

+getRecordingSid

+
+public String getRecordingSid()
+
+
+ +
Returns:
An alphanumeric string used to identify the recording that was transcribed.
+
+
+
+ +

+setRecordingSid

+
+public void setRecordingSid(String recordingSid)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/Account.html b/apidocs/com/telapi/api/domain/class-use/Account.html new file mode 100644 index 0000000..484fb9b --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/Account.html @@ -0,0 +1,216 @@ + + + + + + + +Uses of Class com.telapi.api.domain.Account (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.Account

+
+ + + + + + + + + + + + + +
+Packages that use Account
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of Account in com.telapi.api
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api that return Account
+ AccountTelapiConnector.viewAccount() + +
+           
+ AccountTelapiConnector.viewAccount(String accountSid) + +
+          An account resource provides information about a single TelAPI account.
+  +

+ + + + + +
+Uses of Account in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type Account
+ org.jboss.resteasy.client.ClientResponse<Account>AccountsProxy.getAccount(String accountSid) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/Application.html b/apidocs/com/telapi/api/domain/class-use/Application.html new file mode 100644 index 0000000..44f776a --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/Application.html @@ -0,0 +1,394 @@ + + + + + + + +Uses of Class com.telapi.api.domain.Application (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.Application

+
+ + + + + + + + + + + + + +
+Packages that use Application
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of Application in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return Application
+ ApplicationTelapiConnector.createApplication(ApplicationRequest applicationRequest) + +
+           
+ ApplicationTelapiConnector.createApplication(String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+          Creates a new application for managing TelAPI phone numbers,
+ ApplicationTelapiConnector.createApplication(String accountSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ ApplicationTelapiConnector.deleteApplication(String applicationSid) + +
+          Deletes an existing application.
+ ApplicationTelapiConnector.deleteApplication(String accountSid, + String applicationSid) + +
+           
+ ApplicationTelapiConnector.updateApplication(ApplicationRequest applicationRequest) + +
+           
+ ApplicationTelapiConnector.updateApplication(String applicationSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+          Used to update an existing application.
+ ApplicationTelapiConnector.updateApplication(String accountSid, + String applicationSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ ApplicationTelapiConnector.viewApplication(String applicationSid) + +
+          TelAPI offers the ability to preset all voice and sms urls for a given + application name.
+ ApplicationTelapiConnector.viewApplication(String accountSid, + String applicationSid) + +
+           
+  +

+ + + + + +
+Uses of Application in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type Application
+ org.jboss.resteasy.client.ClientResponse<Application>ApplicationProxy.createApplication(String accountSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Application>ApplicationProxy.deleteApplication(String accountSid, + String applicationSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Application>ApplicationProxy.updateApplication(String accountSid, + String applicationSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Application>ApplicationProxy.viewApplication(String accountSid, + String applicationSid) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/AvailablePhoneNumber.html b/apidocs/com/telapi/api/domain/class-use/AvailablePhoneNumber.html new file mode 100644 index 0000000..103c62f --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/AvailablePhoneNumber.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.domain.AvailablePhoneNumber (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.AvailablePhoneNumber

+
+No usage of com.telapi.api.domain.AvailablePhoneNumber +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/BaseTelapiObject.html b/apidocs/com/telapi/api/domain/class-use/BaseTelapiObject.html new file mode 100644 index 0000000..6911df2 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/BaseTelapiObject.html @@ -0,0 +1,271 @@ + + + + + + + +Uses of Class com.telapi.api.domain.BaseTelapiObject (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.BaseTelapiObject

+
+ + + + + + + + + +
+Packages that use BaseTelapiObject
com.telapi.api.domain  
+  +

+ + + + + +
+Uses of BaseTelapiObject in com.telapi.api.domain
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of BaseTelapiObject in com.telapi.api.domain
+ classApplication + +
+          TelAPI offers the ability to preset all voice and sms urls for a given + application name.
+ classBaseTelapiObjectWithMethods + +
+           
+ classCall + +
+          A call resource provides information about an individual call that has + occurred through TelAPI.
+ classCarrierLookup + +
+          Carrier lookup information.
+ classCnamDip + +
+          Provides CNAM caller ID information.
+ classConference + +
+          Resource properties about conference calls that occurred through a TelAPI + account can be requested using our REST API.
+ classIncomingPhoneNumber + +
+          TelAPI phone numbers associated with an account are represented with the IncomingPhoneNumber resource.
+ classNotification + +
+          Notifications that TelAPI sends to users regarding their account and TelAPI + phone numbers activity.
+ classParticipant + +
+           
+ classRecording + +
+          Recorded calls can be viewed using the REST API.
+ classSmsMessage + +
+          Text messages sent to and from TelAPI phone numbers are represented with the Sms resource.
+ classTranscription + +
+          This resource represents a transcription of a Recording or audio.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/BaseTelapiObjectWithMethods.html b/apidocs/com/telapi/api/domain/class-use/BaseTelapiObjectWithMethods.html new file mode 100644 index 0000000..c79d234 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/BaseTelapiObjectWithMethods.html @@ -0,0 +1,188 @@ + + + + + + + +Uses of Class com.telapi.api.domain.BaseTelapiObjectWithMethods (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.BaseTelapiObjectWithMethods

+
+ + + + + + + + + +
+Packages that use BaseTelapiObjectWithMethods
com.telapi.api.domain  
+  +

+ + + + + +
+Uses of BaseTelapiObjectWithMethods in com.telapi.api.domain
+  +

+ + + + + + + + + + + + + +
Subclasses of BaseTelapiObjectWithMethods in com.telapi.api.domain
+ classApplication + +
+          TelAPI offers the ability to preset all voice and sms urls for a given + application name.
+ classIncomingPhoneNumber + +
+          TelAPI phone numbers associated with an account are represented with the IncomingPhoneNumber resource.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/Call.html b/apidocs/com/telapi/api/domain/class-use/Call.html new file mode 100644 index 0000000..97db7f0 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/Call.html @@ -0,0 +1,473 @@ + + + + + + + +Uses of Class com.telapi.api.domain.Call (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.Call

+
+ + + + + + + + + + + + + +
+Packages that use Call
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of Call in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return Call
+ CallTelapiConnector.hangUpCall(String callSid) + +
+          Hangs up a call.
+ CallTelapiConnector.hangUpCall(String accountSid, + String callSid) + +
+           
+ CallTelapiConnector.makeCall(CallRequest callRequest) + +
+          Convenience method which accepts a CallRequest object containing + parameters.
+ CallTelapiConnector.makeCall(String to, + String from, + String url, + HttpMethod method, + String fallbackUrl, + HttpMethod fallbackMethod, + String statusCallback, + HttpMethod statusCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom, + String sendDigits, + Long timeout, + Boolean hideCallerId, + Boolean record, + String recordCallback, + HttpMethod recordCallbackMethod, + Boolean transcribe, + String transcribeCallback, + HttpMethod transcribeCallbackMethod) + +
+          Makes a call.
+ CallTelapiConnector.makeCall(String accountSid, + String to, + String from, + String url, + HttpMethod method, + String fallbackUrl, + HttpMethod fallbackMethod, + String statusCallback, + HttpMethod statusCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom, + String sendDigits, + Long timeout, + Boolean hideCallerId, + Boolean record, + String recordCallback, + HttpMethod recordCallbackMethod, + Boolean transcribe, + String transcribeCallback, + HttpMethod transcribeCallbackMethod) + +
+           
+ CallTelapiConnector.playAudioToCall(String callSid, + String soundsUrl) + +
+          TelAPI allows you to play an audio file during a call.
+ CallTelapiConnector.playAudioToCall(String callSid, + String soundsUrl, + Long length, + Legs legs, + Boolean loop, + Boolean mix) + +
+          TelAPI allows you to play an audio file during a call.
+ CallTelapiConnector.playAudioToCall(String accountSid, + String callSid, + String soundsUrl, + Long length, + Legs legs, + Boolean loop, + Boolean mix) + +
+           
+ CallTelapiConnector.sendDigits(String callSid, + String playDtfm, + Legs dtmfLeg) + +
+          DTMFs, aka touch tone signals, can be sent to a call.
+ CallTelapiConnector.sendDigits(String accountSid, + String callSid, + String playDtfm, + Legs dtmfLeg) + +
+           
+ CallTelapiConnector.viewCall(String callSid) + +
+          Gets the specified call resource.
+ CallTelapiConnector.viewCall(String accountSid, + String callSid) + +
+           
+ CallTelapiConnector.voiceEffects(String callSid, + AudioDirection audioDirection, + Double pitch, + Long pitchSemiTones, + Long pitchOctaves, + Double rate) + +
+          With TelAPI you can modify the way a callers voice sounds by changing + things such as speed and pitch of the audio.
+ CallTelapiConnector.voiceEffects(String accountSid, + String callSid, + AudioDirection audioDirection, + Double pitch, + Long pitchSemiTones, + Long pitchOctaves, + Double rate) + +
+           
+  +

+ + + + + +
+Uses of Call in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type Call
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.hangupCall(String accountSid, + String callSid, + CallInterruptStatus status) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.interruptLiveCall(String accountSid, + String callSid, + String url, + HttpMethod method, + CallInterruptStatus status) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.makeCall(String accountSid, + String to, + String from, + String url, + HttpMethod method, + String fallbackUrl, + HttpMethod fallbackMethod, + String statusCallback, + HttpMethod StatusCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom, + String sendDigits, + Long timeout, + Boolean hideCallerId, + Boolean record, + String recordCallback, + HttpMethod recordCallbackMethod, + Boolean transcribe, + String transcribeCallback, + HttpMethod transcribeCallbackMethod) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.playAudio(String accountSid, + String callSid, + String audioUrl, + Long length, + Legs legs, + Boolean loop, + Boolean mix) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.sendDigits(String accountSid, + String callSid, + String playDtfm, + Legs dtmfLeg) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.viewCall(String accountSid, + String callSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.voiceEffects(String accountSid, + String callSid, + AudioDirection audioDirection, + Double pitch, + Long pitchSemiTones, + Long pitchOctaves, + Double rate) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/CallSubresourceUris.html b/apidocs/com/telapi/api/domain/class-use/CallSubresourceUris.html new file mode 100644 index 0000000..2fa7b76 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/CallSubresourceUris.html @@ -0,0 +1,195 @@ + + + + + + + +Uses of Class com.telapi.api.domain.CallSubresourceUris (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.CallSubresourceUris

+
+ + + + + + + + + +
+Packages that use CallSubresourceUris
com.telapi.api.domain  
+  +

+ + + + + +
+Uses of CallSubresourceUris in com.telapi.api.domain
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain that return CallSubresourceUris
+ CallSubresourceUrisCall.getCallSubresourceUris() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type CallSubresourceUris
+ voidCall.setCallSubresourceUris(CallSubresourceUris subresourceUris) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/CarrierLookup.html b/apidocs/com/telapi/api/domain/class-use/CarrierLookup.html new file mode 100644 index 0000000..07a3eda --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/CarrierLookup.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.domain.CarrierLookup (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.CarrierLookup

+
+No usage of com.telapi.api.domain.CarrierLookup +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/CnamDip.html b/apidocs/com/telapi/api/domain/class-use/CnamDip.html new file mode 100644 index 0000000..acc814c --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/CnamDip.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.domain.CnamDip (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.CnamDip

+
+No usage of com.telapi.api.domain.CnamDip +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/Conference.html b/apidocs/com/telapi/api/domain/class-use/Conference.html new file mode 100644 index 0000000..775b47d --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/Conference.html @@ -0,0 +1,219 @@ + + + + + + + +Uses of Class com.telapi.api.domain.Conference (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.Conference

+
+ + + + + + + + + + + + + +
+Packages that use Conference
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of Conference in com.telapi.api
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api that return Conference
+ ConferenceTelapiConnector.viewConference(String conferenceSid) + +
+          Resource properties about conference calls that occurred through a TelAPI + account can be requested using our API.
+ ConferenceTelapiConnector.viewConference(String accountSid, + String conferenceSid) + +
+           
+  +

+ + + + + +
+Uses of Conference in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type Conference
+ org.jboss.resteasy.client.ClientResponse<Conference>ConferenceProxy.viewConference(String accountSid, + String conferenceSid) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/ConferenceSubresourceUris.html b/apidocs/com/telapi/api/domain/class-use/ConferenceSubresourceUris.html new file mode 100644 index 0000000..ce52cd8 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/ConferenceSubresourceUris.html @@ -0,0 +1,195 @@ + + + + + + + +Uses of Class com.telapi.api.domain.ConferenceSubresourceUris (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.ConferenceSubresourceUris

+
+ + + + + + + + + +
+Packages that use ConferenceSubresourceUris
com.telapi.api.domain  
+  +

+ + + + + +
+Uses of ConferenceSubresourceUris in com.telapi.api.domain
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain that return ConferenceSubresourceUris
+ ConferenceSubresourceUrisConference.getSubresourceUris() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type ConferenceSubresourceUris
+ voidConference.setSubresourceUris(ConferenceSubresourceUris subresourceUris) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/Destination.html b/apidocs/com/telapi/api/domain/class-use/Destination.html new file mode 100644 index 0000000..0c058c8 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/Destination.html @@ -0,0 +1,227 @@ + + + + + + + +Uses of Class com.telapi.api.domain.Destination (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.Destination

+
+ + + + + + + + + +
+Packages that use Destination
com.telapi.api.domain  
+  +

+ + + + + +
+Uses of Destination in com.telapi.api.domain
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain that return types with arguments of type Destination
+ List<Destination>DestinationFraudControlGroup.getAuthorized() + +
+           
+ List<Destination>DestinationFraudControlGroup.getBlocked() + +
+           
+ List<Destination>DestinationFraudControlGroup.getWhitelisted() + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Method parameters in com.telapi.api.domain with type arguments of type Destination
+ voidDestinationFraudControlGroup.setAuthorized(List<Destination> authorized) + +
+           
+ voidDestinationFraudControlGroup.setBlocked(List<Destination> blocked) + +
+           
+ voidDestinationFraudControlGroup.setWhitelisted(List<Destination> whitelisted) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/DestinationFraudControlGroup.html b/apidocs/com/telapi/api/domain/class-use/DestinationFraudControlGroup.html new file mode 100644 index 0000000..0ad127d --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/DestinationFraudControlGroup.html @@ -0,0 +1,195 @@ + + + + + + + +Uses of Class com.telapi.api.domain.DestinationFraudControlGroup (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.DestinationFraudControlGroup

+
+ + + + + + + + + +
+Packages that use DestinationFraudControlGroup
com.telapi.api.domain  
+  +

+ + + + + +
+Uses of DestinationFraudControlGroup in com.telapi.api.domain
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain that return DestinationFraudControlGroup
+ DestinationFraudControlGroupFraud.getDestinations() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type DestinationFraudControlGroup
+ voidFraud.setDestinations(DestinationFraudControlGroup destinations) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/Fraud.html b/apidocs/com/telapi/api/domain/class-use/Fraud.html new file mode 100644 index 0000000..df719ee --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/Fraud.html @@ -0,0 +1,195 @@ + + + + + + + +Uses of Class com.telapi.api.domain.Fraud (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.Fraud

+
+ + + + + + + + + +
+Packages that use Fraud
com.telapi.api.domain.list  
+  +

+ + + + + +
+Uses of Fraud in com.telapi.api.domain.list
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain.list that return Fraud
+ FraudFraudList.getFrauds() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain.list with parameters of type Fraud
+ voidFraudList.setFrauds(Fraud frauds) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/IncomingPhoneNumber.html b/apidocs/com/telapi/api/domain/class-use/IncomingPhoneNumber.html new file mode 100644 index 0000000..2f366bb --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/IncomingPhoneNumber.html @@ -0,0 +1,351 @@ + + + + + + + +Uses of Class com.telapi.api.domain.IncomingPhoneNumber (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.IncomingPhoneNumber

+
+ + + + + + + + + + + + + +
+Packages that use IncomingPhoneNumber
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of IncomingPhoneNumber in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return IncomingPhoneNumber
+ IncomingPhoneNumberTelapiConnector.addIncomingPhoneNumber(String phoneNumber, + String areaCode) + +
+          TelAPI incoming phone numbers can be added or removed from an account + through our REST API.
+ IncomingPhoneNumberTelapiConnector.addIncomingPhoneNumber(String accountSid, + String phoneNumber, + String areaCode) + +
+           
+ IncomingPhoneNumberTelapiConnector.deleteIncomingPhoneNumber(String incomingPhoneNumberSid) + +
+          Deletes an IncomingPhoneNumber from your account.
+ IncomingPhoneNumberTelapiConnector.deleteIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid) + +
+           
+ IncomingPhoneNumberTelapiConnector.updateIncomingPhoneNumber(IncomingPhoneNumberRequest ipnRequest) + +
+           
+ IncomingPhoneNumberTelapiConnector.updateIncomingPhoneNumber(String incomingPhoneNumberSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod) + +
+          Updates properties of an IncomingPhoneNumber.
+ IncomingPhoneNumberTelapiConnector.updateIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod) + +
+           
+ IncomingPhoneNumberTelapiConnector.viewIncomingPhoneNumber(String incomingPhoneNumberSid) + +
+          TelAPI phone numbers associated with an account are represented with the + IncomingPhoneNumber resource.
+ IncomingPhoneNumberTelapiConnector.viewIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid) + +
+           
+  +

+ + + + + +
+Uses of IncomingPhoneNumber in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type IncomingPhoneNumber
+ org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber>IncomingPhoneNumberProxy.addIncomingPhoneNumber(String accountSid, + String phoneNumber, + String areaCode) + +
+           
+ org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber>IncomingPhoneNumberProxy.deleteIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber>IncomingPhoneNumberProxy.updateIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod) + +
+           
+ org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber>IncomingPhoneNumberProxy.viewIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/Notification.html b/apidocs/com/telapi/api/domain/class-use/Notification.html new file mode 100644 index 0000000..0248ce5 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/Notification.html @@ -0,0 +1,218 @@ + + + + + + + +Uses of Class com.telapi.api.domain.Notification (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.Notification

+
+ + + + + + + + + + + + + +
+Packages that use Notification
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of Notification in com.telapi.api
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api that return Notification
+ NotificationTelapiConnector.viewNotification(String notificationSid) + +
+          Retrieves details about a Notification.
+ NotificationTelapiConnector.viewNotification(String accountSid, + String notificationSid) + +
+           
+  +

+ + + + + +
+Uses of Notification in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type Notification
+ org.jboss.resteasy.client.ClientResponse<Notification>NotificationProxy.viewNotification(String accountSid, + String notificationSid) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/Participant.html b/apidocs/com/telapi/api/domain/class-use/Participant.html new file mode 100644 index 0000000..11c1f20 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/Participant.html @@ -0,0 +1,373 @@ + + + + + + + +Uses of Class com.telapi.api.domain.Participant (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.Participant

+
+ + + + + + + + + + + + + +
+Packages that use Participant
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of Participant in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return Participant
+ ParticipantTelapiConnector.deafOrMuteParticipant(String conferenceSid, + String callSid, + Boolean muted, + Boolean deaf) + +
+          Conference participants can be muted or deafed by calling this method.
+ ParticipantTelapiConnector.deafOrMuteParticipant(String accountSid, + String conferenceSid, + String callSid, + Boolean muted, + Boolean deaf) + +
+           
+ ParticipantTelapiConnector.hangupParticipant(String conferenceSid, + String callSid) + +
+          Hangup conference members by conference sid and call sid.
+ ParticipantTelapiConnector.hangupParticipant(String accountSid, + String conferenceSid, + String callSid) + +
+           
+ ParticipantTelapiConnector.playAudioToParticipant(String conferenceSid, + String callSid, + String audioUrl) + +
+          Pre-recorded sound from a file can be played to conference members.
+ ParticipantTelapiConnector.playAudioToParticipant(String accountSid, + String conferenceSid, + String callSid, + String url) + +
+           
+ ParticipantTelapiConnector.viewParticipant(String conferenceSid, + String callSid) + +
+          Participants of a conference are identified by the CallSid created when + they dial into the conference.
+ ParticipantTelapiConnector.viewParticipant(String accountSid, + String conferenceSid, + String callSid) + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return types with arguments of type Participant
+ List<Participant>TelapiConnector.listParticipants(String conferenceSid) + +
+          Convenience method.
+ List<Participant>TelapiConnector.listParticipants(String conferenceSid, + Boolean muted, + Boolean deaf, + Long page, + Long pageSize) + +
+          Used to get a list of participants currently connected to a particular + conference.
+ List<Participant>TelapiConnector.listParticipants(String accountSid, + String conferenceSid, + Boolean muted, + Boolean deaf, + Long page, + Long pageSize) + +
+           
+  +

+ + + + + +
+Uses of Participant in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type Participant
+ org.jboss.resteasy.client.ClientResponse<Participant>ConferenceProxy.hangupParticipant(String accountSid, + String conferenceSid, + String callSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<List<Participant>>ConferenceProxy.listParticipants(String accountSid, + String conferenceSid, + Boolean muted, + Boolean deaf, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Participant>ConferenceProxy.muteDeafParticipant(String accountSid, + String conferenceSid, + String callSid, + Boolean muted, + Boolean deaf) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Participant>ConferenceProxy.playAudioToParticipant(String accountSid, + String conferenceSid, + String callSid, + String audioUrl) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Participant>ConferenceProxy.viewParticipant(String accountSid, + String conferenceSid, + String callSid) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/PhoneNumberCapabilities.html b/apidocs/com/telapi/api/domain/class-use/PhoneNumberCapabilities.html new file mode 100644 index 0000000..62761d2 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/PhoneNumberCapabilities.html @@ -0,0 +1,195 @@ + + + + + + + +Uses of Class com.telapi.api.domain.PhoneNumberCapabilities (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.PhoneNumberCapabilities

+
+ + + + + + + + + +
+Packages that use PhoneNumberCapabilities
com.telapi.api.domain  
+  +

+ + + + + +
+Uses of PhoneNumberCapabilities in com.telapi.api.domain
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain that return PhoneNumberCapabilities
+ PhoneNumberCapabilitiesIncomingPhoneNumber.getCapabilities() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type PhoneNumberCapabilities
+ voidIncomingPhoneNumber.setCapabilities(PhoneNumberCapabilities capabilities) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/Recording.html b/apidocs/com/telapi/api/domain/class-use/Recording.html new file mode 100644 index 0000000..ff3d41b --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/Recording.html @@ -0,0 +1,218 @@ + + + + + + + +Uses of Class com.telapi.api.domain.Recording (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.Recording

+
+ + + + + + + + + + + + + +
+Packages that use Recording
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of Recording in com.telapi.api
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api that return Recording
+ RecordingTelapiConnector.viewRecording(String recordingSid) + +
+          A single recording details can be viewed by calling this method.
+ RecordingTelapiConnector.viewRecording(String accountSid, + String recordingSid) + +
+           
+  +

+ + + + + +
+Uses of Recording in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type Recording
+ org.jboss.resteasy.client.ClientResponse<Recording>RecordingProxy.viewRecording(String accountSid, + String recordingSid) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/SmsMessage.html b/apidocs/com/telapi/api/domain/class-use/SmsMessage.html new file mode 100644 index 0000000..3550b52 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/SmsMessage.html @@ -0,0 +1,254 @@ + + + + + + + +Uses of Class com.telapi.api.domain.SmsMessage (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.SmsMessage

+
+ + + + + + + + + + + + + +
+Packages that use SmsMessage
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of SmsMessage in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return SmsMessage
+ SmsMessageTelapiConnector.sendSmsMessage(String to, + String from, + String body, + String statusCallback) + +
+          Sends an SMS message.
+ SmsMessageTelapiConnector.sendSmsMessage(String accountSid, + String to, + String from, + String body, + String statusCallback) + +
+           
+ SmsMessageTelapiConnector.viewSmsMessage(String smsMessageSid) + +
+          Text messages sent to and from TelAPI phone numbers are represented with + the Sms resource.
+ SmsMessageTelapiConnector.viewSmsMessage(String sid, + String smsMessageSid) + +
+          Used for specifying a different accountSid.
+  +

+ + + + + +
+Uses of SmsMessage in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type SmsMessage
+ org.jboss.resteasy.client.ClientResponse<SmsMessage>SmsProxy.getSmsMessage(String accountSid, + String smsMessageSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<SmsMessage>SmsProxy.sendSmsMessage(String accountSid, + String to, + String from, + String body, + String statusCallback) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/StatusResponse.html b/apidocs/com/telapi/api/domain/class-use/StatusResponse.html new file mode 100644 index 0000000..ce2b36b --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/StatusResponse.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.domain.StatusResponse (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.StatusResponse

+
+No usage of com.telapi.api.domain.StatusResponse +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/SubresourceUris.html b/apidocs/com/telapi/api/domain/class-use/SubresourceUris.html new file mode 100644 index 0000000..f53d1d6 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/SubresourceUris.html @@ -0,0 +1,195 @@ + + + + + + + +Uses of Class com.telapi.api.domain.SubresourceUris (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.SubresourceUris

+
+ + + + + + + + + +
+Packages that use SubresourceUris
com.telapi.api.domain  
+  +

+ + + + + +
+Uses of SubresourceUris in com.telapi.api.domain
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain that return SubresourceUris
+ SubresourceUrisAccount.getSubresourceUris() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type SubresourceUris
+ voidAccount.setSubresourceUris(SubresourceUris subresourceUris) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/TelapiList.html b/apidocs/com/telapi/api/domain/class-use/TelapiList.html new file mode 100644 index 0000000..a94c061 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/TelapiList.html @@ -0,0 +1,275 @@ + + + + + + + +Uses of Class com.telapi.api.domain.TelapiList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.TelapiList

+
+ + + + + + + + + +
+Packages that use TelapiList
com.telapi.api.domain.list  
+  +

+ + + + + +
+Uses of TelapiList in com.telapi.api.domain.list
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of TelapiList in com.telapi.api.domain.list
+ classAccountsList + +
+           
+ classApplicationList + +
+           
+ classAvailablePhoneNumberList + +
+           
+ classCallList + +
+           
+ classCarrierLookupList + +
+           
+ classCnamDipList + +
+           
+ classConferenceList + +
+           
+ classFraudList + +
+           
+ classIncomingPhoneNumberList + +
+           
+ classNotificationList + +
+           
+ classRecordingList + +
+           
+ classSmsMessageList + +
+           
+ classTranscriptionList + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/class-use/Transcription.html b/apidocs/com/telapi/api/domain/class-use/Transcription.html new file mode 100644 index 0000000..8ddede0 --- /dev/null +++ b/apidocs/com/telapi/api/domain/class-use/Transcription.html @@ -0,0 +1,288 @@ + + + + + + + +Uses of Class com.telapi.api.domain.Transcription (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.Transcription

+
+ + + + + + + + + + + + + +
+Packages that use Transcription
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of Transcription in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return Transcription
+ TranscriptionTelapiConnector.transcribeAudioUrl(String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+          Transcribes audio found on an URL.
+ TranscriptionTelapiConnector.transcribeAudioUrl(String accountSid, + String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ TranscriptionTelapiConnector.transcribeRecording(String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+          Transcribes a recording.
+ TranscriptionTelapiConnector.transcribeRecording(String accountSid, + String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ TranscriptionTelapiConnector.viewTranscription(String transcriptionSid) + +
+          Gets the details of a Transcription resource.
+ TranscriptionTelapiConnector.viewTranscription(String accountSid, + String transcriptionSid) + +
+           
+  +

+ + + + + +
+Uses of Transcription in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type Transcription
+ org.jboss.resteasy.client.ClientResponse<Transcription>TranscriptionProxy.transcribeAudioUrl(String accountSid, + String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Transcription>TranscriptionProxy.transcribeRecording(String accountSid, + String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Transcription>TranscriptionProxy.viewTranscription(String accountSid, + String transcriptionSid) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/AnsweredBy.html b/apidocs/com/telapi/api/domain/enums/AnsweredBy.html new file mode 100644 index 0000000..e1d09a4 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/AnsweredBy.html @@ -0,0 +1,372 @@ + + + + + + + +AnsweredBy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums +
+Enum AnsweredBy

+
+java.lang.Object
+  extended by java.lang.Enum<AnsweredBy>
+      extended by com.telapi.api.domain.enums.AnsweredBy
+
+
+
All Implemented Interfaces:
Serializable, Comparable<AnsweredBy>
+
+
+
+
public enum AnsweredBy
extends Enum<AnsweredBy>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
HUMAN + +
+           
MACHINE + +
+           
NONE + +
+           
UNKNOWN + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static AnsweredByforValue(String s) + +
+           
+static AnsweredByvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static AnsweredBy[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+HUMAN

+
+public static final AnsweredBy HUMAN
+
+
+
+
+
+ +

+MACHINE

+
+public static final AnsweredBy MACHINE
+
+
+
+
+
+ +

+NONE

+
+public static final AnsweredBy NONE
+
+
+
+
+
+ +

+UNKNOWN

+
+public static final AnsweredBy UNKNOWN
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static AnsweredBy[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (AnsweredBy c : AnsweredBy.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static AnsweredBy valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static AnsweredBy forValue(String s)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/AudioDirection.html b/apidocs/com/telapi/api/domain/enums/AudioDirection.html new file mode 100644 index 0000000..3d9e4dc --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/AudioDirection.html @@ -0,0 +1,362 @@ + + + + + + + +AudioDirection (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums +
+Enum AudioDirection

+
+java.lang.Object
+  extended by java.lang.Enum<AudioDirection>
+      extended by com.telapi.api.domain.enums.AudioDirection
+
+
+
All Implemented Interfaces:
Serializable, Comparable<AudioDirection>
+
+
+
+
public enum AudioDirection
extends Enum<AudioDirection>
+ + +

+


+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
IN + +
+           
OUT + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static AudioDirectionforValue(String s) + +
+           
+ StringtoString() + +
+           
+static AudioDirectionvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static AudioDirection[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+IN

+
+public static final AudioDirection IN
+
+
+
+
+
+ +

+OUT

+
+public static final AudioDirection OUT
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static AudioDirection[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (AudioDirection c : AudioDirection.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static AudioDirection valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static AudioDirection forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<AudioDirection>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/CallInterruptStatus.html b/apidocs/com/telapi/api/domain/enums/CallInterruptStatus.html new file mode 100644 index 0000000..3ab2e7d --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/CallInterruptStatus.html @@ -0,0 +1,362 @@ + + + + + + + +CallInterruptStatus (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums +
+Enum CallInterruptStatus

+
+java.lang.Object
+  extended by java.lang.Enum<CallInterruptStatus>
+      extended by com.telapi.api.domain.enums.CallInterruptStatus
+
+
+
All Implemented Interfaces:
Serializable, Comparable<CallInterruptStatus>
+
+
+
+
public enum CallInterruptStatus
extends Enum<CallInterruptStatus>
+ + +

+


+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
CANCELED + +
+           
COMPLETED + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static CallInterruptStatusforValue(String s) + +
+           
+ StringtoString() + +
+           
+static CallInterruptStatusvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static CallInterruptStatus[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+CANCELED

+
+public static final CallInterruptStatus CANCELED
+
+
+
+
+
+ +

+COMPLETED

+
+public static final CallInterruptStatus COMPLETED
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static CallInterruptStatus[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (CallInterruptStatus c : CallInterruptStatus.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static CallInterruptStatus valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static CallInterruptStatus forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<CallInterruptStatus>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/CallStatus.html b/apidocs/com/telapi/api/domain/enums/CallStatus.html new file mode 100644 index 0000000..74b2ff7 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/CallStatus.html @@ -0,0 +1,458 @@ + + + + + + + +CallStatus (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums +
+Enum CallStatus

+
+java.lang.Object
+  extended by java.lang.Enum<CallStatus>
+      extended by com.telapi.api.domain.enums.CallStatus
+
+
+
All Implemented Interfaces:
Serializable, Comparable<CallStatus>
+
+
+
+
public enum CallStatus
extends Enum<CallStatus>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
BUSY + +
+           
COMPLETED + +
+           
FAILED + +
+           
IN_PROGRESS + +
+           
NO_ANSWER + +
+           
QUEUED + +
+           
RINGING + +
+           
UNKNOWN + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static CallStatusforValue(String s) + +
+           
+ StringtoString() + +
+           
+static CallStatusvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static CallStatus[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+QUEUED

+
+public static final CallStatus QUEUED
+
+
+
+
+
+ +

+RINGING

+
+public static final CallStatus RINGING
+
+
+
+
+
+ +

+IN_PROGRESS

+
+public static final CallStatus IN_PROGRESS
+
+
+
+
+
+ +

+COMPLETED

+
+public static final CallStatus COMPLETED
+
+
+
+
+
+ +

+FAILED

+
+public static final CallStatus FAILED
+
+
+
+
+
+ +

+BUSY

+
+public static final CallStatus BUSY
+
+
+
+
+
+ +

+NO_ANSWER

+
+public static final CallStatus NO_ANSWER
+
+
+
+
+
+ +

+UNKNOWN

+
+public static final CallStatus UNKNOWN
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static CallStatus[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (CallStatus c : CallStatus.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static CallStatus valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static CallStatus forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<CallStatus>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/CarrierLookupStatus.html b/apidocs/com/telapi/api/domain/enums/CarrierLookupStatus.html new file mode 100644 index 0000000..109a9cd --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/CarrierLookupStatus.html @@ -0,0 +1,394 @@ + + + + + + + +CarrierLookupStatus (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums +
+Enum CarrierLookupStatus

+
+java.lang.Object
+  extended by java.lang.Enum<CarrierLookupStatus>
+      extended by com.telapi.api.domain.enums.CarrierLookupStatus
+
+
+
All Implemented Interfaces:
Serializable, Comparable<CarrierLookupStatus>
+
+
+
+
public enum CarrierLookupStatus
extends Enum<CarrierLookupStatus>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
DELIVRD + +
+           
REJECTED + +
+           
UNDELIV + +
+           
UNKNOWN + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static CarrierLookupStatusforValue(String s) + +
+           
+ StringtoString() + +
+           
+static CarrierLookupStatusvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static CarrierLookupStatus[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+DELIVRD

+
+public static final CarrierLookupStatus DELIVRD
+
+
+
+
+
+ +

+UNDELIV

+
+public static final CarrierLookupStatus UNDELIV
+
+
+
+
+
+ +

+UNKNOWN

+
+public static final CarrierLookupStatus UNKNOWN
+
+
+
+
+
+ +

+REJECTED

+
+public static final CarrierLookupStatus REJECTED
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static CarrierLookupStatus[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (CarrierLookupStatus c : CarrierLookupStatus.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static CarrierLookupStatus valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static CarrierLookupStatus forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<CarrierLookupStatus>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/HttpMethod.html b/apidocs/com/telapi/api/domain/enums/HttpMethod.html new file mode 100644 index 0000000..c7c78c2 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/HttpMethod.html @@ -0,0 +1,362 @@ + + + + + + + +HttpMethod (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums +
+Enum HttpMethod

+
+java.lang.Object
+  extended by java.lang.Enum<HttpMethod>
+      extended by com.telapi.api.domain.enums.HttpMethod
+
+
+
All Implemented Interfaces:
Serializable, Comparable<HttpMethod>
+
+
+
+
public enum HttpMethod
extends Enum<HttpMethod>
+ + +

+


+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
GET + +
+           
POST + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static HttpMethodforValue(String s) + +
+           
+ StringtoString() + +
+           
+static HttpMethodvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static HttpMethod[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+GET

+
+public static final HttpMethod GET
+
+
+
+
+
+ +

+POST

+
+public static final HttpMethod POST
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static HttpMethod[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (HttpMethod c : HttpMethod.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static HttpMethod valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static HttpMethod forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<HttpMethod>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/Legs.html b/apidocs/com/telapi/api/domain/enums/Legs.html new file mode 100644 index 0000000..0707d0d --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/Legs.html @@ -0,0 +1,378 @@ + + + + + + + +Legs (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums +
+Enum Legs

+
+java.lang.Object
+  extended by java.lang.Enum<Legs>
+      extended by com.telapi.api.domain.enums.Legs
+
+
+
All Implemented Interfaces:
Serializable, Comparable<Legs>
+
+
+
+
public enum Legs
extends Enum<Legs>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
ALEG + +
+           
BLEG + +
+           
BOTH + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static LegsforValue(String s) + +
+           
+ StringtoString() + +
+           
+static LegsvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static Legs[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+ALEG

+
+public static final Legs ALEG
+
+
+
+
+
+ +

+BLEG

+
+public static final Legs BLEG
+
+
+
+
+
+ +

+BOTH

+
+public static final Legs BOTH
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static Legs[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (Legs c : Legs.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static Legs valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static Legs forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<Legs>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/LogLevel.html b/apidocs/com/telapi/api/domain/enums/LogLevel.html new file mode 100644 index 0000000..0b9c04c --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/LogLevel.html @@ -0,0 +1,378 @@ + + + + + + + +LogLevel (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums +
+Enum LogLevel

+
+java.lang.Object
+  extended by java.lang.Enum<LogLevel>
+      extended by com.telapi.api.domain.enums.LogLevel
+
+
+
All Implemented Interfaces:
Serializable, Comparable<LogLevel>
+
+
+
+
public enum LogLevel
extends Enum<LogLevel>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
ERROR + +
+           
INFO + +
+           
WARNING + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static LogLevelforValue(String s) + +
+           
+ StringtoString() + +
+           
+static LogLevelvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static LogLevel[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+ERROR

+
+public static final LogLevel ERROR
+
+
+
+
+
+ +

+WARNING

+
+public static final LogLevel WARNING
+
+
+
+
+
+ +

+INFO

+
+public static final LogLevel INFO
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static LogLevel[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (LogLevel c : LogLevel.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static LogLevel valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static LogLevel forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<LogLevel>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/PhoneNumberType.html b/apidocs/com/telapi/api/domain/enums/PhoneNumberType.html new file mode 100644 index 0000000..1c6f0df --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/PhoneNumberType.html @@ -0,0 +1,394 @@ + + + + + + + +PhoneNumberType (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums +
+Enum PhoneNumberType

+
+java.lang.Object
+  extended by java.lang.Enum<PhoneNumberType>
+      extended by com.telapi.api.domain.enums.PhoneNumberType
+
+
+
All Implemented Interfaces:
Serializable, Comparable<PhoneNumberType>
+
+
+
+
public enum PhoneNumberType
extends Enum<PhoneNumberType>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
INTERNATIONAL + +
+           
LOCAL + +
+           
TOLL_FREE + +
+           
UNKNOWN + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static PhoneNumberTypeforValue(String s) + +
+           
+ StringtoString() + +
+           
+static PhoneNumberTypevalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static PhoneNumberType[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+LOCAL

+
+public static final PhoneNumberType LOCAL
+
+
+
+
+
+ +

+INTERNATIONAL

+
+public static final PhoneNumberType INTERNATIONAL
+
+
+
+
+
+ +

+TOLL_FREE

+
+public static final PhoneNumberType TOLL_FREE
+
+
+
+
+
+ +

+UNKNOWN

+
+public static final PhoneNumberType UNKNOWN
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static PhoneNumberType[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (PhoneNumberType c : PhoneNumberType.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static PhoneNumberType valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static PhoneNumberType forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<PhoneNumberType>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/SmsDirection.html b/apidocs/com/telapi/api/domain/enums/SmsDirection.html new file mode 100644 index 0000000..2472e48 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/SmsDirection.html @@ -0,0 +1,410 @@ + + + + + + + +SmsDirection (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums +
+Enum SmsDirection

+
+java.lang.Object
+  extended by java.lang.Enum<SmsDirection>
+      extended by com.telapi.api.domain.enums.SmsDirection
+
+
+
All Implemented Interfaces:
Serializable, Comparable<SmsDirection>
+
+
+
+
public enum SmsDirection
extends Enum<SmsDirection>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
INCOMING + +
+           
OUTBOUND_API + +
+           
OUTBOUND_CALL + +
+           
OUTBOUND_REPLY + +
+           
UNKNOWN + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static SmsDirectionforValue(String s) + +
+           
+ StringtoString() + +
+           
+static SmsDirectionvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static SmsDirection[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+OUTBOUND_API

+
+public static final SmsDirection OUTBOUND_API
+
+
+
+
+
+ +

+INCOMING

+
+public static final SmsDirection INCOMING
+
+
+
+
+
+ +

+OUTBOUND_CALL

+
+public static final SmsDirection OUTBOUND_CALL
+
+
+
+
+
+ +

+OUTBOUND_REPLY

+
+public static final SmsDirection OUTBOUND_REPLY
+
+
+
+
+
+ +

+UNKNOWN

+
+public static final SmsDirection UNKNOWN
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static SmsDirection[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (SmsDirection c : SmsDirection.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static SmsDirection valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static SmsDirection forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<SmsDirection>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/TranscriptionStatus.html b/apidocs/com/telapi/api/domain/enums/TranscriptionStatus.html new file mode 100644 index 0000000..9e419a7 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/TranscriptionStatus.html @@ -0,0 +1,378 @@ + + + + + + + +TranscriptionStatus (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums +
+Enum TranscriptionStatus

+
+java.lang.Object
+  extended by java.lang.Enum<TranscriptionStatus>
+      extended by com.telapi.api.domain.enums.TranscriptionStatus
+
+
+
All Implemented Interfaces:
Serializable, Comparable<TranscriptionStatus>
+
+
+
+
public enum TranscriptionStatus
extends Enum<TranscriptionStatus>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
COMPLETED + +
+           
FAILED + +
+           
IN_PROGRESS + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static TranscriptionStatusforValue(String s) + +
+           
+ StringtoString() + +
+           
+static TranscriptionStatusvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static TranscriptionStatus[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+COMPLETED

+
+public static final TranscriptionStatus COMPLETED
+
+
+
+
+
+ +

+IN_PROGRESS

+
+public static final TranscriptionStatus IN_PROGRESS
+
+
+
+
+
+ +

+FAILED

+
+public static final TranscriptionStatus FAILED
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static TranscriptionStatus[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (TranscriptionStatus c : TranscriptionStatus.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static TranscriptionStatus valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static TranscriptionStatus forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<TranscriptionStatus>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/TranscriptionType.html b/apidocs/com/telapi/api/domain/enums/TranscriptionType.html new file mode 100644 index 0000000..974b3ab --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/TranscriptionType.html @@ -0,0 +1,394 @@ + + + + + + + +TranscriptionType (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums +
+Enum TranscriptionType

+
+java.lang.Object
+  extended by java.lang.Enum<TranscriptionType>
+      extended by com.telapi.api.domain.enums.TranscriptionType
+
+
+
All Implemented Interfaces:
Serializable, Comparable<TranscriptionType>
+
+
+
+
public enum TranscriptionType
extends Enum<TranscriptionType>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
AUTO + +
+           
GOLD + +
+           
PLATINUM + +
+           
SILVER + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static TranscriptionTypeforValue(String s) + +
+           
+ StringtoString() + +
+           
+static TranscriptionTypevalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static TranscriptionType[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+AUTO

+
+public static final TranscriptionType AUTO
+
+
+
+
+
+ +

+SILVER

+
+public static final TranscriptionType SILVER
+
+
+
+
+
+ +

+GOLD

+
+public static final TranscriptionType GOLD
+
+
+
+
+
+ +

+PLATINUM

+
+public static final TranscriptionType PLATINUM
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static TranscriptionType[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (TranscriptionType c : TranscriptionType.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static TranscriptionType valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static TranscriptionType forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<TranscriptionType>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/class-use/AnsweredBy.html b/apidocs/com/telapi/api/domain/enums/class-use/AnsweredBy.html new file mode 100644 index 0000000..d93c10e --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/class-use/AnsweredBy.html @@ -0,0 +1,241 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.AnsweredBy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.AnsweredBy

+
+ + + + + + + + + + + + + +
+Packages that use AnsweredBy
com.telapi.api.domain  
com.telapi.api.domain.enums  
+  +

+ + + + + +
+Uses of AnsweredBy in com.telapi.api.domain
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain that return AnsweredBy
+ AnsweredByCall.getAnsweredBy() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type AnsweredBy
+ voidCall.setAnsweredBy(AnsweredBy answeredBy) + +
+           
+  +

+ + + + + +
+Uses of AnsweredBy in com.telapi.api.domain.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain.enums that return AnsweredBy
+static AnsweredByAnsweredBy.forValue(String s) + +
+           
+static AnsweredByAnsweredBy.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static AnsweredBy[]AnsweredBy.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/class-use/AudioDirection.html b/apidocs/com/telapi/api/domain/enums/class-use/AudioDirection.html new file mode 100644 index 0000000..12ce496 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/class-use/AudioDirection.html @@ -0,0 +1,280 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.AudioDirection (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.AudioDirection

+
+ + + + + + + + + + + + + + + + + +
+Packages that use AudioDirection
com.telapi.api  
com.telapi.api.domain.enums  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of AudioDirection in com.telapi.api
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api with parameters of type AudioDirection
+ CallTelapiConnector.voiceEffects(String callSid, + AudioDirection audioDirection, + Double pitch, + Long pitchSemiTones, + Long pitchOctaves, + Double rate) + +
+          With TelAPI you can modify the way a callers voice sounds by changing + things such as speed and pitch of the audio.
+ CallTelapiConnector.voiceEffects(String accountSid, + String callSid, + AudioDirection audioDirection, + Double pitch, + Long pitchSemiTones, + Long pitchOctaves, + Double rate) + +
+           
+  +

+ + + + + +
+Uses of AudioDirection in com.telapi.api.domain.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain.enums that return AudioDirection
+static AudioDirectionAudioDirection.forValue(String s) + +
+           
+static AudioDirectionAudioDirection.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static AudioDirection[]AudioDirection.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of AudioDirection in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies with parameters of type AudioDirection
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.voiceEffects(String accountSid, + String callSid, + AudioDirection audioDirection, + Double pitch, + Long pitchSemiTones, + Long pitchOctaves, + Double rate) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/class-use/CallInterruptStatus.html b/apidocs/com/telapi/api/domain/enums/class-use/CallInterruptStatus.html new file mode 100644 index 0000000..73c8487 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/class-use/CallInterruptStatus.html @@ -0,0 +1,239 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.CallInterruptStatus (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.CallInterruptStatus

+
+ + + + + + + + + + + + + +
+Packages that use CallInterruptStatus
com.telapi.api.domain.enums  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of CallInterruptStatus in com.telapi.api.domain.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain.enums that return CallInterruptStatus
+static CallInterruptStatusCallInterruptStatus.forValue(String s) + +
+           
+static CallInterruptStatusCallInterruptStatus.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static CallInterruptStatus[]CallInterruptStatus.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of CallInterruptStatus in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies with parameters of type CallInterruptStatus
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.hangupCall(String accountSid, + String callSid, + CallInterruptStatus status) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.interruptLiveCall(String accountSid, + String callSid, + String url, + HttpMethod method, + CallInterruptStatus status) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/class-use/CallStatus.html b/apidocs/com/telapi/api/domain/enums/class-use/CallStatus.html new file mode 100644 index 0000000..ae643d6 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/class-use/CallStatus.html @@ -0,0 +1,328 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.CallStatus (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.CallStatus

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use CallStatus
com.telapi.api  
com.telapi.api.domain  
com.telapi.api.domain.enums  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of CallStatus in com.telapi.api
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api with parameters of type CallStatus
+ CallListTelapiConnector.listCalls(String to, + String from, + CallStatus status, + Date startTimeGte, + Date startTimeLt, + Long page, + Long pageSize) + +
+          To view a list of all inbound and outbound call resources associated with + a given account, use this method.
+ CallListTelapiConnector.listCalls(String accountSid, + String to, + String from, + CallStatus status, + Date startTimeGte, + Date startTimeLt, + Long page, + Long pageSize) + +
+           
+  +

+ + + + + +
+Uses of CallStatus in com.telapi.api.domain
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain that return CallStatus
+ CallStatusCall.getStatus() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type CallStatus
+ voidCall.setStatus(CallStatus status) + +
+           
+  +

+ + + + + +
+Uses of CallStatus in com.telapi.api.domain.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain.enums that return CallStatus
+static CallStatusCallStatus.forValue(String s) + +
+           
+static CallStatusCallStatus.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static CallStatus[]CallStatus.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of CallStatus in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies with parameters of type CallStatus
+ org.jboss.resteasy.client.ClientResponse<CallList>CallProxy.listCalls(String accountSid, + String to, + String from, + CallStatus status, + String startTimeGte, + String startTimeLt, + Long page, + Long pageSize) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/class-use/CarrierLookupStatus.html b/apidocs/com/telapi/api/domain/enums/class-use/CarrierLookupStatus.html new file mode 100644 index 0000000..c85ca1c --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/class-use/CarrierLookupStatus.html @@ -0,0 +1,241 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.CarrierLookupStatus (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.CarrierLookupStatus

+
+ + + + + + + + + + + + + +
+Packages that use CarrierLookupStatus
com.telapi.api.domain  
com.telapi.api.domain.enums  
+  +

+ + + + + +
+Uses of CarrierLookupStatus in com.telapi.api.domain
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain that return CarrierLookupStatus
+ CarrierLookupStatusCarrierLookup.getStat() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type CarrierLookupStatus
+ voidCarrierLookup.setStat(CarrierLookupStatus stat) + +
+           
+  +

+ + + + + +
+Uses of CarrierLookupStatus in com.telapi.api.domain.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain.enums that return CarrierLookupStatus
+static CarrierLookupStatusCarrierLookupStatus.forValue(String s) + +
+           
+static CarrierLookupStatusCarrierLookupStatus.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static CarrierLookupStatus[]CarrierLookupStatus.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/class-use/HttpMethod.html b/apidocs/com/telapi/api/domain/enums/class-use/HttpMethod.html new file mode 100644 index 0000000..18cf998 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/class-use/HttpMethod.html @@ -0,0 +1,1404 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.HttpMethod (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.HttpMethod

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use HttpMethod
com.telapi.api  
com.telapi.api.domain  
com.telapi.api.domain.enums  
com.telapi.api.inboundxml.elements  
com.telapi.api.inboundxml.parameters  
com.telapi.api.requests  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of HttpMethod in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api with parameters of type HttpMethod
+ ApplicationTelapiConnector.createApplication(String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+          Creates a new application for managing TelAPI phone numbers,
+ ApplicationTelapiConnector.createApplication(String accountSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ CallTelapiConnector.makeCall(String to, + String from, + String url, + HttpMethod method, + String fallbackUrl, + HttpMethod fallbackMethod, + String statusCallback, + HttpMethod statusCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom, + String sendDigits, + Long timeout, + Boolean hideCallerId, + Boolean record, + String recordCallback, + HttpMethod recordCallbackMethod, + Boolean transcribe, + String transcribeCallback, + HttpMethod transcribeCallbackMethod) + +
+          Makes a call.
+ CallTelapiConnector.makeCall(String accountSid, + String to, + String from, + String url, + HttpMethod method, + String fallbackUrl, + HttpMethod fallbackMethod, + String statusCallback, + HttpMethod statusCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom, + String sendDigits, + Long timeout, + Boolean hideCallerId, + Boolean record, + String recordCallback, + HttpMethod recordCallbackMethod, + Boolean transcribe, + String transcribeCallback, + HttpMethod transcribeCallbackMethod) + +
+           
+ TranscriptionTelapiConnector.transcribeAudioUrl(String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+          Transcribes audio found on an URL.
+ TranscriptionTelapiConnector.transcribeAudioUrl(String accountSid, + String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ TranscriptionTelapiConnector.transcribeRecording(String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+          Transcribes a recording.
+ TranscriptionTelapiConnector.transcribeRecording(String accountSid, + String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ ApplicationTelapiConnector.updateApplication(String applicationSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+          Used to update an existing application.
+ ApplicationTelapiConnector.updateApplication(String accountSid, + String applicationSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ IncomingPhoneNumberTelapiConnector.updateIncomingPhoneNumber(String incomingPhoneNumberSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod) + +
+          Updates properties of an IncomingPhoneNumber.
+ IncomingPhoneNumberTelapiConnector.updateIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod) + +
+           
+  +

+ + + + + +
+Uses of HttpMethod in com.telapi.api.domain
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain that return HttpMethod
+ HttpMethodTranscription.getCallbackMethod() + +
+           
+ HttpMethodBaseTelapiObjectWithMethods.getHangupCallbackMethod() + +
+           
+ HttpMethodBaseTelapiObjectWithMethods.getHeartbeatMethod() + +
+           
+ HttpMethodNotification.getRequestMethod() + +
+           
+ HttpMethodBaseTelapiObjectWithMethods.getSmsFallbackMethod() + +
+           
+ HttpMethodBaseTelapiObjectWithMethods.getSmsMethod() + +
+           
+ HttpMethodBaseTelapiObjectWithMethods.getSmsStatusCallbackMethod() + +
+           
+ HttpMethodBaseTelapiObjectWithMethods.getStatusCallbackMethod() + +
+           
+ HttpMethodBaseTelapiObjectWithMethods.getVoiceFallbackMethod() + +
+           
+ HttpMethodBaseTelapiObjectWithMethods.getVoiceMethod() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type HttpMethod
+ voidTranscription.setCallbackMethod(HttpMethod callbackMethod) + +
+           
+ voidBaseTelapiObjectWithMethods.setHangupCallbackMethod(HttpMethod hangupCallbackMethod) + +
+           
+ voidBaseTelapiObjectWithMethods.setHeartbeatMethod(HttpMethod heartbeatMethod) + +
+           
+ voidNotification.setRequestMethod(HttpMethod requestMethod) + +
+           
+ voidBaseTelapiObjectWithMethods.setSmsFallbackMethod(HttpMethod smsFallbackMethod) + +
+           
+ voidBaseTelapiObjectWithMethods.setSmsMethod(HttpMethod smsMethod) + +
+           
+ voidBaseTelapiObjectWithMethods.setSmsStatusCallbackMethod(HttpMethod smsStatusCallbackMethod) + +
+           
+ voidBaseTelapiObjectWithMethods.setStatusCallbackMethod(HttpMethod statusCallbackMethod) + +
+           
+ voidBaseTelapiObjectWithMethods.setVoiceFallbackMethod(HttpMethod voiceFallbackMethod) + +
+           
+ voidBaseTelapiObjectWithMethods.setVoiceMethod(HttpMethod voiceMethod) + +
+           
+  +

+ + + + + +
+Uses of HttpMethod in com.telapi.api.domain.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain.enums that return HttpMethod
+static HttpMethodHttpMethod.forValue(String s) + +
+           
+static HttpMethodHttpMethod.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static HttpMethod[]HttpMethod.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of HttpMethod in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements with parameters of type HttpMethod
+ DialDial.conference(String conferenceName, + Boolean muted, + Boolean beep, + Boolean startConferenceOnEnter, + Boolean endConferenceOnExit, + Long maxParticipants, + String waitUrl, + HttpMethod waitMethod, + Boolean hangupOnStar, + String callbackUrl, + HttpMethod callbackMethod, + String waitSound, + HttpMethod waitSoundMethod, + String digitsMatch, + Boolean stayAlone) + +
+          Appends a conference element to the dial element.
+static DialDial.createDial(String number, + String action, + HttpMethod method, + Long timeout, + Boolean hangupOnStar, + Long timeLimit, + String callerId, + Boolean hideCallerId, + String dialMusic, + String callbackUrl, + HttpMethod callbackMethod, + Boolean confirmSound, + String digitsMatch, + Boolean straightToVm, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom) + +
+          Creates a new Dial element.
+static GatherGather.createGather(String action, + HttpMethod method, + Long timeout, + String finishOnKey, + Long numDigits) + +
+          Creates a Gather element.
+static GetSpeechGetSpeech.createGetSpeech(String grammar, + String action, + HttpMethod method, + Long timeout, + Boolean playBeep) + +
+          Creates a new GetSpeech element.
+ DialDial.number(String number, + String sendDigits, + String url, + HttpMethod callbackMethod) + +
+          Creates a Number element.
+ ResponseResponse.record(String action, + HttpMethod method, + Long timeout, + String finishOnKey, + Long maxLength, + Boolean transcribe, + String transcribeCallback, + Boolean playBeep, + Boolean bothLegs, + RecordingFileFormat fileFormat) + +
+          Adds a Record element to a Response element.
+ ResponseResponse.redirect(String url, + HttpMethod method) + +
+          Adds a Redirect element to the Response element.
+ DialDial.sip(String sipAddress, + String sendDigits, + String url, + HttpMethod method) + +
+          The Sip element is nested within the Dial element, and is used to call to + sip addresses.
+ ResponseResponse.sms(String text, + String to, + String from, + String action, + HttpMethod method, + String statusCallback) + +
+          Appends an SMS Element to the current Response element.
+  +

+ + + + + +
+Uses of HttpMethod in com.telapi.api.inboundxml.parameters
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.inboundxml.parameters that return HttpMethod
+ HttpMethodDialParameters.getCallbackMethod() + +
+           
+ HttpMethodConferenceParameters.getCallbackMethod() + +
+           
+ HttpMethodDialParameters.getHeartbeatMethod() + +
+           
+ HttpMethodDialParameters.getMethod() + +
+           
+ HttpMethodRecordParameters.getMethod() + +
+           
+ HttpMethodConferenceParameters.getWaitMethod() + +
+           
+ HttpMethodConferenceParameters.getWaitSoundMethod() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.inboundxml.parameters with parameters of type HttpMethod
+ voidDialParameters.setCallbackMethod(HttpMethod callbackMethod) + +
+           
+ voidConferenceParameters.setCallbackMethod(HttpMethod callbackMethod) + +
+           
+ voidDialParameters.setHeartbeatMethod(HttpMethod heartbeatMethod) + +
+           
+ voidDialParameters.setMethod(HttpMethod method) + +
+           
+ voidRecordParameters.setMethod(HttpMethod method) + +
+           
+ voidConferenceParameters.setWaitMethod(HttpMethod waitMethod) + +
+           
+ voidConferenceParameters.setWaitSoundMethod(HttpMethod waitSoundMethod) + +
+           
+  +

+ + + + + +
+Uses of HttpMethod in com.telapi.api.requests
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.requests that return HttpMethod
+ HttpMethodCallRequest.getFallbackMethod() + +
+           
+ HttpMethodIncomingPhoneNumberRequest.getHangupCallbackMethod() + +
+           
+ HttpMethodIncomingPhoneNumberRequest.getHeartbeatMethod() + +
+           
+ HttpMethodCallRequest.getHeartbeatMethod() + +
+           
+ HttpMethodApplicationRequest.getHeartbeatMethod() + +
+           
+ HttpMethodCallRequest.getMethod() + +
+           
+ HttpMethodCallRequest.getRecordCallbackMethod() + +
+           
+ HttpMethodIncomingPhoneNumberRequest.getSmsFallbackMethod() + +
+           
+ HttpMethodApplicationRequest.getSmsFallbackMethod() + +
+           
+ HttpMethodIncomingPhoneNumberRequest.getSmsMethod() + +
+           
+ HttpMethodApplicationRequest.getSmsMethod() + +
+           
+ HttpMethodCallRequest.getStatusCallbackMethod() + +
+           
+ HttpMethodApplicationRequest.getStatusCallbackMethod() + +
+           
+ HttpMethodCallRequest.getTranscribeCallbackMethod() + +
+           
+ HttpMethodIncomingPhoneNumberRequest.getVoiceFallbackMethod() + +
+           
+ HttpMethodApplicationRequest.getVoiceFallbackMethod() + +
+           
+ HttpMethodIncomingPhoneNumberRequest.getVoiceMethod() + +
+           
+ HttpMethodApplicationRequest.getVoiceMethod() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.requests with parameters of type HttpMethod
+ voidCallRequest.setFallbackMethod(HttpMethod fallbackMethod) + +
+           
+ voidIncomingPhoneNumberRequest.setHangupCallbackMethod(HttpMethod hangupCallbackMethod) + +
+           
+ voidIncomingPhoneNumberRequest.setHeartbeatMethod(HttpMethod heartbeatMethod) + +
+           
+ voidCallRequest.setHeartbeatMethod(HttpMethod heartbeatMethod) + +
+           
+ voidApplicationRequest.setHeartbeatMethod(HttpMethod heartbeatMethod) + +
+           
+ voidCallRequest.setMethod(HttpMethod method) + +
+           
+ voidCallRequest.setRecordCallbackMethod(HttpMethod recordCallbackMethod) + +
+           
+ voidIncomingPhoneNumberRequest.setSmsFallbackMethod(HttpMethod smsFallbackMethod) + +
+           
+ voidApplicationRequest.setSmsFallbackMethod(HttpMethod smsFallbackMethod) + +
+           
+ voidIncomingPhoneNumberRequest.setSmsMethod(HttpMethod smsMethod) + +
+           
+ voidApplicationRequest.setSmsMethod(HttpMethod smsMethod) + +
+           
+ voidCallRequest.setStatusCallbackMethod(HttpMethod statusCallbackMethod) + +
+           
+ voidApplicationRequest.setStatusCallbackMethod(HttpMethod statusCallbackMethod) + +
+           
+ voidCallRequest.setTranscribeCallbackMethod(HttpMethod transcribeCallbackMethod) + +
+           
+ voidIncomingPhoneNumberRequest.setVoiceFallbackMethod(HttpMethod voiceFallbackMethod) + +
+           
+ voidApplicationRequest.setVoiceFallbackMethod(HttpMethod voiceFallbackMethod) + +
+           
+ voidIncomingPhoneNumberRequest.setVoiceMethod(HttpMethod voiceMethod) + +
+           
+ voidApplicationRequest.setVoiceMethod(HttpMethod voiceMethod) + +
+           
+  +

+ + + + + +
+Uses of HttpMethod in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies with parameters of type HttpMethod
+ org.jboss.resteasy.client.ClientResponse<Application>ApplicationProxy.createApplication(String accountSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.interruptLiveCall(String accountSid, + String callSid, + String url, + HttpMethod method, + CallInterruptStatus status) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.makeCall(String accountSid, + String to, + String from, + String url, + HttpMethod method, + String fallbackUrl, + HttpMethod fallbackMethod, + String statusCallback, + HttpMethod StatusCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom, + String sendDigits, + Long timeout, + Boolean hideCallerId, + Boolean record, + String recordCallback, + HttpMethod recordCallbackMethod, + Boolean transcribe, + String transcribeCallback, + HttpMethod transcribeCallbackMethod) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Transcription>TranscriptionProxy.transcribeAudioUrl(String accountSid, + String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Transcription>TranscriptionProxy.transcribeRecording(String accountSid, + String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Application>ApplicationProxy.updateApplication(String accountSid, + String applicationSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber>IncomingPhoneNumberProxy.updateIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/class-use/Legs.html b/apidocs/com/telapi/api/domain/enums/class-use/Legs.html new file mode 100644 index 0000000..896ea68 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/class-use/Legs.html @@ -0,0 +1,311 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.Legs (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.Legs

+
+ + + + + + + + + + + + + + + + + +
+Packages that use Legs
com.telapi.api  
com.telapi.api.domain.enums  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of Legs in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api with parameters of type Legs
+ CallTelapiConnector.playAudioToCall(String callSid, + String soundsUrl, + Long length, + Legs legs, + Boolean loop, + Boolean mix) + +
+          TelAPI allows you to play an audio file during a call.
+ CallTelapiConnector.playAudioToCall(String accountSid, + String callSid, + String soundsUrl, + Long length, + Legs legs, + Boolean loop, + Boolean mix) + +
+           
+ CallTelapiConnector.sendDigits(String callSid, + String playDtfm, + Legs dtmfLeg) + +
+          DTMFs, aka touch tone signals, can be sent to a call.
+ CallTelapiConnector.sendDigits(String accountSid, + String callSid, + String playDtfm, + Legs dtmfLeg) + +
+           
+  +

+ + + + + +
+Uses of Legs in com.telapi.api.domain.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain.enums that return Legs
+static LegsLegs.forValue(String s) + +
+           
+static LegsLegs.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static Legs[]Legs.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of Legs in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies with parameters of type Legs
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.playAudio(String accountSid, + String callSid, + String audioUrl, + Long length, + Legs legs, + Boolean loop, + Boolean mix) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>CallProxy.sendDigits(String accountSid, + String callSid, + String playDtfm, + Legs dtmfLeg) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/class-use/LogLevel.html b/apidocs/com/telapi/api/domain/enums/class-use/LogLevel.html new file mode 100644 index 0000000..c729de8 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/class-use/LogLevel.html @@ -0,0 +1,350 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.LogLevel (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.LogLevel

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use LogLevel
com.telapi.api  
com.telapi.api.domain  
com.telapi.api.domain.enums  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of LogLevel in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api with parameters of type LogLevel
+ NotificationListTelapiConnector.listCallNotifications(String callSid, + LogLevel log, + Long page, + Long pageSize) + +
+          Returns a list of notifications associated with a certain Call.
+ NotificationListTelapiConnector.listCallNotifications(String accountSid, + String callSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+ NotificationListTelapiConnector.listNotifications(LogLevel log, + Long page, + Long pageSize) + +
+          Returns a list of notifications associated with the account.
+ NotificationListTelapiConnector.listNotifications(String accountSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+  +

+ + + + + +
+Uses of LogLevel in com.telapi.api.domain
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain that return LogLevel
+ LogLevelNotification.getLog() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type LogLevel
+ voidNotification.setLog(LogLevel log) + +
+           
+  +

+ + + + + +
+Uses of LogLevel in com.telapi.api.domain.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain.enums that return LogLevel
+static LogLevelLogLevel.forValue(String s) + +
+           
+static LogLevelLogLevel.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static LogLevel[]LogLevel.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of LogLevel in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies with parameters of type LogLevel
+ org.jboss.resteasy.client.ClientResponse<NotificationList>NotificationProxy.listCallNotifications(String accountSid, + String callSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<NotificationList>NotificationProxy.listNotifications(String accountSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/class-use/PhoneNumberType.html b/apidocs/com/telapi/api/domain/enums/class-use/PhoneNumberType.html new file mode 100644 index 0000000..e8e7fee --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/class-use/PhoneNumberType.html @@ -0,0 +1,257 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.PhoneNumberType (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.PhoneNumberType

+
+ + + + + + + + + + + + + +
+Packages that use PhoneNumberType
com.telapi.api.domain  
com.telapi.api.domain.enums  
+  +

+ + + + + +
+Uses of PhoneNumberType in com.telapi.api.domain
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.domain that return PhoneNumberType
+ PhoneNumberTypeAvailablePhoneNumber.getType() + +
+           
+ PhoneNumberTypeIncomingPhoneNumber.getType() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type PhoneNumberType
+ voidAvailablePhoneNumber.setType(PhoneNumberType type) + +
+           
+ voidIncomingPhoneNumber.setType(PhoneNumberType type) + +
+           
+  +

+ + + + + +
+Uses of PhoneNumberType in com.telapi.api.domain.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain.enums that return PhoneNumberType
+static PhoneNumberTypePhoneNumberType.forValue(String s) + +
+           
+static PhoneNumberTypePhoneNumberType.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static PhoneNumberType[]PhoneNumberType.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/class-use/SmsDirection.html b/apidocs/com/telapi/api/domain/enums/class-use/SmsDirection.html new file mode 100644 index 0000000..cb3f90a --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/class-use/SmsDirection.html @@ -0,0 +1,257 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.SmsDirection (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.SmsDirection

+
+ + + + + + + + + + + + + +
+Packages that use SmsDirection
com.telapi.api.domain  
com.telapi.api.domain.enums  
+  +

+ + + + + +
+Uses of SmsDirection in com.telapi.api.domain
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.domain that return SmsDirection
+ SmsDirectionSmsMessage.getDirection() + +
+           
+ SmsDirectionCall.getDirection() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type SmsDirection
+ voidSmsMessage.setDirection(SmsDirection direction) + +
+           
+ voidCall.setDirection(SmsDirection direction) + +
+           
+  +

+ + + + + +
+Uses of SmsDirection in com.telapi.api.domain.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain.enums that return SmsDirection
+static SmsDirectionSmsDirection.forValue(String s) + +
+           
+static SmsDirectionSmsDirection.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static SmsDirection[]SmsDirection.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/class-use/TranscriptionStatus.html b/apidocs/com/telapi/api/domain/enums/class-use/TranscriptionStatus.html new file mode 100644 index 0000000..e86f635 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/class-use/TranscriptionStatus.html @@ -0,0 +1,362 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.TranscriptionStatus (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.TranscriptionStatus

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use TranscriptionStatus
com.telapi.api  
com.telapi.api.domain  
com.telapi.api.domain.enums  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of TranscriptionStatus in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api with parameters of type TranscriptionStatus
+ TranscriptionListTelapiConnector.listRecordingTranscriptions(String accountSid, + String recordingSid, + TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+ TranscriptionListTelapiConnector.listRecordingTranscriptions(String recordingSid, + TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+          Lists all the transcriptions belonging to an account.
+ TranscriptionListTelapiConnector.listTranscriptions(String accountSid, + TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+ TranscriptionListTelapiConnector.listTranscriptions(TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+          Lists transcriptions belonging to an account.
+  +

+ + + + + +
+Uses of TranscriptionStatus in com.telapi.api.domain
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain that return TranscriptionStatus
+ TranscriptionStatusTranscription.getStatus() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type TranscriptionStatus
+ voidTranscription.setStatus(TranscriptionStatus status) + +
+           
+  +

+ + + + + +
+Uses of TranscriptionStatus in com.telapi.api.domain.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain.enums that return TranscriptionStatus
+static TranscriptionStatusTranscriptionStatus.forValue(String s) + +
+           
+static TranscriptionStatusTranscriptionStatus.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static TranscriptionStatus[]TranscriptionStatus.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of TranscriptionStatus in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies with parameters of type TranscriptionStatus
+ org.jboss.resteasy.client.ClientResponse<TranscriptionList>TranscriptionProxy.listRecordingTranscriptions(String accountSid, + String recordingSid, + TranscriptionStatus status, + String dateTranscribedGte, + String dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<TranscriptionList>TranscriptionProxy.listTranscriptions(String accountSid, + TranscriptionStatus status, + String dateTranscribedGte, + String dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/class-use/TranscriptionType.html b/apidocs/com/telapi/api/domain/enums/class-use/TranscriptionType.html new file mode 100644 index 0000000..3e178e2 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/class-use/TranscriptionType.html @@ -0,0 +1,353 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.TranscriptionType (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.TranscriptionType

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use TranscriptionType
com.telapi.api  
com.telapi.api.domain  
com.telapi.api.domain.enums  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of TranscriptionType in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api with parameters of type TranscriptionType
+ TranscriptionTelapiConnector.transcribeAudioUrl(String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+          Transcribes audio found on an URL.
+ TranscriptionTelapiConnector.transcribeAudioUrl(String accountSid, + String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ TranscriptionTelapiConnector.transcribeRecording(String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+          Transcribes a recording.
+ TranscriptionTelapiConnector.transcribeRecording(String accountSid, + String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+  +

+ + + + + +
+Uses of TranscriptionType in com.telapi.api.domain
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain that return TranscriptionType
+ TranscriptionTypeTranscription.getType() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.domain with parameters of type TranscriptionType
+ voidTranscription.setType(TranscriptionType type) + +
+           
+  +

+ + + + + +
+Uses of TranscriptionType in com.telapi.api.domain.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.domain.enums that return TranscriptionType
+static TranscriptionTypeTranscriptionType.forValue(String s) + +
+           
+static TranscriptionTypeTranscriptionType.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static TranscriptionType[]TranscriptionType.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of TranscriptionType in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies with parameters of type TranscriptionType
+ org.jboss.resteasy.client.ClientResponse<Transcription>TranscriptionProxy.transcribeAudioUrl(String accountSid, + String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Transcription>TranscriptionProxy.transcribeRecording(String accountSid, + String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/package-frame.html b/apidocs/com/telapi/api/domain/enums/package-frame.html new file mode 100644 index 0000000..fc2bf66 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/package-frame.html @@ -0,0 +1,55 @@ + + + + + + + +com.telapi.api.domain.enums (Telapi Java API) + + + + + + + + + + + +com.telapi.api.domain.enums + + + + +
+Enums  + +
+AnsweredBy +
+AudioDirection +
+CallInterruptStatus +
+CallStatus +
+CarrierLookupStatus +
+HttpMethod +
+Legs +
+LogLevel +
+PhoneNumberType +
+SmsDirection +
+TranscriptionStatus +
+TranscriptionType
+ + + + diff --git a/apidocs/com/telapi/api/domain/enums/package-summary.html b/apidocs/com/telapi/api/domain/enums/package-summary.html new file mode 100644 index 0000000..8ebda2a --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/package-summary.html @@ -0,0 +1,200 @@ + + + + + + + +com.telapi.api.domain.enums (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.domain.enums +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Summary
AnsweredBy 
AudioDirection 
CallInterruptStatus 
CallStatus 
CarrierLookupStatus 
HttpMethod 
Legs 
LogLevel 
PhoneNumberType 
SmsDirection 
TranscriptionStatus 
TranscriptionType 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/package-tree.html b/apidocs/com/telapi/api/domain/enums/package-tree.html new file mode 100644 index 0000000..5876d36 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/package-tree.html @@ -0,0 +1,155 @@ + + + + + + + +com.telapi.api.domain.enums Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.domain.enums +

+
+
+
Package Hierarchies:
All Packages
+
+

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/package-use.html b/apidocs/com/telapi/api/domain/enums/package-use.html new file mode 100644 index 0000000..f4757ea --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/package-use.html @@ -0,0 +1,475 @@ + + + + + + + +Uses of Package com.telapi.api.domain.enums (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.domain.enums

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use com.telapi.api.domain.enums
com.telapi.api  
com.telapi.api.domain  
com.telapi.api.domain.enums  
com.telapi.api.inboundxml.elements  
com.telapi.api.inboundxml.parameters  
com.telapi.api.requests  
com.telapi.api.restproxies  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.telapi.api.domain.enums used by com.telapi.api
AudioDirection + +
+           
CallStatus + +
+           
HttpMethod + +
+           
Legs + +
+           
LogLevel + +
+           
TranscriptionStatus + +
+           
TranscriptionType + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.telapi.api.domain.enums used by com.telapi.api.domain
AnsweredBy + +
+           
CallStatus + +
+           
CarrierLookupStatus + +
+           
HttpMethod + +
+           
LogLevel + +
+           
PhoneNumberType + +
+           
SmsDirection + +
+           
TranscriptionStatus + +
+           
TranscriptionType + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.telapi.api.domain.enums used by com.telapi.api.domain.enums
AnsweredBy + +
+           
AudioDirection + +
+           
CallInterruptStatus + +
+           
CallStatus + +
+           
CarrierLookupStatus + +
+           
HttpMethod + +
+           
Legs + +
+           
LogLevel + +
+           
PhoneNumberType + +
+           
SmsDirection + +
+           
TranscriptionStatus + +
+           
TranscriptionType + +
+           
+  +

+ + + + + + + + +
+Classes in com.telapi.api.domain.enums used by com.telapi.api.inboundxml.elements
HttpMethod + +
+           
+  +

+ + + + + + + + +
+Classes in com.telapi.api.domain.enums used by com.telapi.api.inboundxml.parameters
HttpMethod + +
+           
+  +

+ + + + + + + + +
+Classes in com.telapi.api.domain.enums used by com.telapi.api.requests
HttpMethod + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.telapi.api.domain.enums used by com.telapi.api.restproxies
AudioDirection + +
+           
CallInterruptStatus + +
+           
CallStatus + +
+           
HttpMethod + +
+           
Legs + +
+           
LogLevel + +
+           
TranscriptionStatus + +
+           
TranscriptionType + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/util/EnumUtil.html b/apidocs/com/telapi/api/domain/enums/util/EnumUtil.html new file mode 100644 index 0000000..1a7b4d8 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/util/EnumUtil.html @@ -0,0 +1,262 @@ + + + + + + + +EnumUtil (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.enums.util +
+Class EnumUtil

+
+java.lang.Object
+  extended by com.telapi.api.domain.enums.util.EnumUtil
+
+
+
+
public class EnumUtil
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
EnumUtil() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static + + + + +
+<T> T
+
getValue(String s, + Map<T,String> map, + T unknown) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EnumUtil

+
+public EnumUtil()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getValue

+
+public static <T> T getValue(String s,
+                             Map<T,String> map,
+                             T unknown)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/util/class-use/EnumUtil.html b/apidocs/com/telapi/api/domain/enums/util/class-use/EnumUtil.html new file mode 100644 index 0000000..e0b9dfb --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/util/class-use/EnumUtil.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.domain.enums.util.EnumUtil (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.enums.util.EnumUtil

+
+No usage of com.telapi.api.domain.enums.util.EnumUtil +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/util/package-frame.html b/apidocs/com/telapi/api/domain/enums/util/package-frame.html new file mode 100644 index 0000000..3b07888 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/util/package-frame.html @@ -0,0 +1,33 @@ + + + + + + + +com.telapi.api.domain.enums.util (Telapi Java API) + + + + + + + + + + + +com.telapi.api.domain.enums.util + + + + +
+Classes  + +
+EnumUtil
+ + + + diff --git a/apidocs/com/telapi/api/domain/enums/util/package-summary.html b/apidocs/com/telapi/api/domain/enums/util/package-summary.html new file mode 100644 index 0000000..b49ef50 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/util/package-summary.html @@ -0,0 +1,156 @@ + + + + + + + +com.telapi.api.domain.enums.util (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.domain.enums.util +

+ + + + + + + + + +
+Class Summary
EnumUtil 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/util/package-tree.html b/apidocs/com/telapi/api/domain/enums/util/package-tree.html new file mode 100644 index 0000000..5688aff --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/util/package-tree.html @@ -0,0 +1,152 @@ + + + + + + + +com.telapi.api.domain.enums.util Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.domain.enums.util +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/enums/util/package-use.html b/apidocs/com/telapi/api/domain/enums/util/package-use.html new file mode 100644 index 0000000..b348667 --- /dev/null +++ b/apidocs/com/telapi/api/domain/enums/util/package-use.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Package com.telapi.api.domain.enums.util (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.domain.enums.util

+
+No usage of com.telapi.api.domain.enums.util +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/AccountsList.html b/apidocs/com/telapi/api/domain/list/AccountsList.html new file mode 100644 index 0000000..28b2a39 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/AccountsList.html @@ -0,0 +1,236 @@ + + + + + + + +AccountsList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class AccountsList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<Account>
+      extended by com.telapi.api.domain.list.AccountsList
+
+
+
All Implemented Interfaces:
Iterable<Account>
+
+
+
+
public class AccountsList
extends TelapiList<Account>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AccountsList() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AccountsList

+
+public AccountsList()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/ApplicationList.html b/apidocs/com/telapi/api/domain/list/ApplicationList.html new file mode 100644 index 0000000..a127bb4 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/ApplicationList.html @@ -0,0 +1,236 @@ + + + + + + + +ApplicationList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class ApplicationList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<Application>
+      extended by com.telapi.api.domain.list.ApplicationList
+
+
+
All Implemented Interfaces:
Iterable<Application>
+
+
+
+
public class ApplicationList
extends TelapiList<Application>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ApplicationList() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ApplicationList

+
+public ApplicationList()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/AvailablePhoneNumberList.html b/apidocs/com/telapi/api/domain/list/AvailablePhoneNumberList.html new file mode 100644 index 0000000..fb42be2 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/AvailablePhoneNumberList.html @@ -0,0 +1,236 @@ + + + + + + + +AvailablePhoneNumberList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class AvailablePhoneNumberList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<AvailablePhoneNumber>
+      extended by com.telapi.api.domain.list.AvailablePhoneNumberList
+
+
+
All Implemented Interfaces:
Iterable<AvailablePhoneNumber>
+
+
+
+
public class AvailablePhoneNumberList
extends TelapiList<AvailablePhoneNumber>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AvailablePhoneNumberList() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AvailablePhoneNumberList

+
+public AvailablePhoneNumberList()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/CallList.html b/apidocs/com/telapi/api/domain/list/CallList.html new file mode 100644 index 0000000..0372c06 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/CallList.html @@ -0,0 +1,236 @@ + + + + + + + +CallList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class CallList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<Call>
+      extended by com.telapi.api.domain.list.CallList
+
+
+
All Implemented Interfaces:
Iterable<Call>
+
+
+
+
public class CallList
extends TelapiList<Call>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CallList() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CallList

+
+public CallList()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/CarrierLookupList.html b/apidocs/com/telapi/api/domain/list/CarrierLookupList.html new file mode 100644 index 0000000..752d9c6 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/CarrierLookupList.html @@ -0,0 +1,236 @@ + + + + + + + +CarrierLookupList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class CarrierLookupList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<CarrierLookup>
+      extended by com.telapi.api.domain.list.CarrierLookupList
+
+
+
All Implemented Interfaces:
Iterable<CarrierLookup>
+
+
+
+
public class CarrierLookupList
extends TelapiList<CarrierLookup>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CarrierLookupList() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CarrierLookupList

+
+public CarrierLookupList()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/CnamDipList.html b/apidocs/com/telapi/api/domain/list/CnamDipList.html new file mode 100644 index 0000000..da96711 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/CnamDipList.html @@ -0,0 +1,236 @@ + + + + + + + +CnamDipList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class CnamDipList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<CnamDip>
+      extended by com.telapi.api.domain.list.CnamDipList
+
+
+
All Implemented Interfaces:
Iterable<CnamDip>
+
+
+
+
public class CnamDipList
extends TelapiList<CnamDip>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CnamDipList() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CnamDipList

+
+public CnamDipList()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/ConferenceList.html b/apidocs/com/telapi/api/domain/list/ConferenceList.html new file mode 100644 index 0000000..793cbd2 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/ConferenceList.html @@ -0,0 +1,236 @@ + + + + + + + +ConferenceList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class ConferenceList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<Conference>
+      extended by com.telapi.api.domain.list.ConferenceList
+
+
+
All Implemented Interfaces:
Iterable<Conference>
+
+
+
+
public class ConferenceList
extends TelapiList<Conference>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ConferenceList() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConferenceList

+
+public ConferenceList()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/FraudList.html b/apidocs/com/telapi/api/domain/list/FraudList.html new file mode 100644 index 0000000..c607a25 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/FraudList.html @@ -0,0 +1,283 @@ + + + + + + + +FraudList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class FraudList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<Fraud>
+      extended by com.telapi.api.domain.list.FraudList
+
+
+
All Implemented Interfaces:
Iterable<Fraud>
+
+
+
+
public class FraudList
extends TelapiList<Fraud>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
FraudList() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ FraudgetFrauds() + +
+           
+ voidsetFrauds(Fraud frauds) + +
+           
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FraudList

+
+public FraudList()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getFrauds

+
+public Fraud getFrauds()
+
+
+
+
+
+
+ +

+setFrauds

+
+public void setFrauds(Fraud frauds)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/IncomingPhoneNumberList.html b/apidocs/com/telapi/api/domain/list/IncomingPhoneNumberList.html new file mode 100644 index 0000000..3b22dad --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/IncomingPhoneNumberList.html @@ -0,0 +1,236 @@ + + + + + + + +IncomingPhoneNumberList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class IncomingPhoneNumberList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<IncomingPhoneNumber>
+      extended by com.telapi.api.domain.list.IncomingPhoneNumberList
+
+
+
All Implemented Interfaces:
Iterable<IncomingPhoneNumber>
+
+
+
+
public class IncomingPhoneNumberList
extends TelapiList<IncomingPhoneNumber>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
IncomingPhoneNumberList() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IncomingPhoneNumberList

+
+public IncomingPhoneNumberList()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/NotificationList.html b/apidocs/com/telapi/api/domain/list/NotificationList.html new file mode 100644 index 0000000..add9227 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/NotificationList.html @@ -0,0 +1,236 @@ + + + + + + + +NotificationList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class NotificationList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<Notification>
+      extended by com.telapi.api.domain.list.NotificationList
+
+
+
All Implemented Interfaces:
Iterable<Notification>
+
+
+
+
public class NotificationList
extends TelapiList<Notification>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
NotificationList() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NotificationList

+
+public NotificationList()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/RecordingList.html b/apidocs/com/telapi/api/domain/list/RecordingList.html new file mode 100644 index 0000000..4006010 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/RecordingList.html @@ -0,0 +1,236 @@ + + + + + + + +RecordingList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class RecordingList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<Recording>
+      extended by com.telapi.api.domain.list.RecordingList
+
+
+
All Implemented Interfaces:
Iterable<Recording>
+
+
+
+
public class RecordingList
extends TelapiList<Recording>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RecordingList() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RecordingList

+
+public RecordingList()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/SmsMessageList.html b/apidocs/com/telapi/api/domain/list/SmsMessageList.html new file mode 100644 index 0000000..dcee993 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/SmsMessageList.html @@ -0,0 +1,236 @@ + + + + + + + +SmsMessageList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class SmsMessageList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<SmsMessage>
+      extended by com.telapi.api.domain.list.SmsMessageList
+
+
+
All Implemented Interfaces:
Iterable<SmsMessage>
+
+
+
+
public class SmsMessageList
extends TelapiList<SmsMessage>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SmsMessageList() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SmsMessageList

+
+public SmsMessageList()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/TranscriptionList.html b/apidocs/com/telapi/api/domain/list/TranscriptionList.html new file mode 100644 index 0000000..46efb4b --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/TranscriptionList.html @@ -0,0 +1,236 @@ + + + + + + + +TranscriptionList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.domain.list +
+Class TranscriptionList

+
+java.lang.Object
+  extended by com.telapi.api.domain.TelapiList<Transcription>
+      extended by com.telapi.api.domain.list.TranscriptionList
+
+
+
All Implemented Interfaces:
Iterable<Transcription>
+
+
+
+
public class TranscriptionList
extends TelapiList<Transcription>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TranscriptionList() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.telapi.api.domain.TelapiList
getEnd, getFirstPageUri, getLastPageUri, getNextPageUri, getNumpages, getPage, getPagesize, getPreviousPageUri, getStart, getTotal, getUri, iterator, setEnd, setFirstPageUri, setLastPageUri, setNextPageUri, setNumpages, setPage, setPagesize, setPreviousPageUri, setStart, setTotal, setUri
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TranscriptionList

+
+public TranscriptionList()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/AccountsList.html b/apidocs/com/telapi/api/domain/list/class-use/AccountsList.html new file mode 100644 index 0000000..c5d3db0 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/AccountsList.html @@ -0,0 +1,208 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.AccountsList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.AccountsList

+
+ + + + + + + + + + + + + +
+Packages that use AccountsList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of AccountsList in com.telapi.api
+  +

+ + + + + + + + + +
Methods in com.telapi.api that return AccountsList
+ AccountsListTelapiConnector.viewAccounts() + +
+           
+  +

+ + + + + +
+Uses of AccountsList in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type AccountsList
+ org.jboss.resteasy.client.ClientResponse<AccountsList>AccountsProxy.getAccounts() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/ApplicationList.html b/apidocs/com/telapi/api/domain/list/class-use/ApplicationList.html new file mode 100644 index 0000000..d8bdfd8 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/ApplicationList.html @@ -0,0 +1,234 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.ApplicationList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.ApplicationList

+
+ + + + + + + + + + + + + +
+Packages that use ApplicationList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of ApplicationList in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return ApplicationList
+ ApplicationListTelapiConnector.listApplications() + +
+          Used to get a list of all application resources associated with a given + account.
+ ApplicationListTelapiConnector.listApplications(String friendlyName, + Long page, + Long pageSize) + +
+          Used to get a list of application resources associated with a given + account.
+ ApplicationListTelapiConnector.listApplications(String accountSid, + String friendlyName, + Long page, + Long pageSize) + +
+           
+  +

+ + + + + +
+Uses of ApplicationList in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type ApplicationList
+ org.jboss.resteasy.client.ClientResponse<ApplicationList>ApplicationProxy.listApplications(String accountSid, + String friendlyName, + Long page, + Long pageSize) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/AvailablePhoneNumberList.html b/apidocs/com/telapi/api/domain/list/class-use/AvailablePhoneNumberList.html new file mode 100644 index 0000000..bb6c1cd --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/AvailablePhoneNumberList.html @@ -0,0 +1,237 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.AvailablePhoneNumberList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.AvailablePhoneNumberList

+
+ + + + + + + + + + + + + +
+Packages that use AvailablePhoneNumberList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of AvailablePhoneNumberList in com.telapi.api
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api that return AvailablePhoneNumberList
+ AvailablePhoneNumberListTelapiConnector.listAvailablePhoneNumbers(String isoCountryCode, + String areaCode, + String contains, + String inRegion, + String inPostalCode, + Long page, + Long pageSize) + +
+          If you want to add a new TelAPI number, you need to know what ones are + available.
+ AvailablePhoneNumberListTelapiConnector.listAvailablePhoneNumbers(String accountSid, + String isoCountryCode, + String areaCode, + String contains, + String inRegion, + String inPostalCode, + Long page, + Long pageSize) + +
+           
+  +

+ + + + + +
+Uses of AvailablePhoneNumberList in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type AvailablePhoneNumberList
+ org.jboss.resteasy.client.ClientResponse<AvailablePhoneNumberList>AvailablePhoneNumberProxy.listAvailablePhoneNumbers(String accountSid, + String isoCountryCode, + String areaCode, + String contains, + String inRegion, + String inPostalCode, + Long page, + Long pageSize) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/CallList.html b/apidocs/com/telapi/api/domain/list/class-use/CallList.html new file mode 100644 index 0000000..017f24b --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/CallList.html @@ -0,0 +1,246 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.CallList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.CallList

+
+ + + + + + + + + + + + + +
+Packages that use CallList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of CallList in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return CallList
+ CallListTelapiConnector.listCalls() + +
+          To view a list of all inbound and outbound call resources associated with + a given account, use this method.
+ CallListTelapiConnector.listCalls(String to, + String from, + CallStatus status, + Date startTimeGte, + Date startTimeLt, + Long page, + Long pageSize) + +
+          To view a list of all inbound and outbound call resources associated with + a given account, use this method.
+ CallListTelapiConnector.listCalls(String accountSid, + String to, + String from, + CallStatus status, + Date startTimeGte, + Date startTimeLt, + Long page, + Long pageSize) + +
+           
+  +

+ + + + + +
+Uses of CallList in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type CallList
+ org.jboss.resteasy.client.ClientResponse<CallList>CallProxy.listCalls(String accountSid, + String to, + String from, + CallStatus status, + String startTimeGte, + String startTimeLt, + Long page, + Long pageSize) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/CarrierLookupList.html b/apidocs/com/telapi/api/domain/list/class-use/CarrierLookupList.html new file mode 100644 index 0000000..dae640e --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/CarrierLookupList.html @@ -0,0 +1,244 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.CarrierLookupList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.CarrierLookupList

+
+ + + + + + + + + + + + + +
+Packages that use CarrierLookupList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of CarrierLookupList in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return CarrierLookupList
+ CarrierLookupListTelapiConnector.carrierLookup(List<String> phoneNumber) + +
+          Provides a way to look up the carrier of phone numbers.
+ CarrierLookupListTelapiConnector.carrierLookup(String phoneNumber) + +
+          Provides a way to look up the carrier of a phone number.
+ CarrierLookupListTelapiConnector.carrierLookup(String accountSid, + List<String> phoneNumber) + +
+           
+ CarrierLookupListTelapiConnector.carrierLookup(String accountSid, + String phoneNumber) + +
+           
+  +

+ + + + + +
+Uses of CarrierLookupList in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type CarrierLookupList
+ org.jboss.resteasy.client.ClientResponse<CarrierLookupList>CarrierLookupProxy.carrierLookup(String accountSid, + List<String> phoneNumber) + +
+           
+ org.jboss.resteasy.client.ClientResponse<CarrierLookupList>CarrierLookupProxy.carrierLookup(String accountSid, + String phoneNumber) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/CnamDipList.html b/apidocs/com/telapi/api/domain/list/class-use/CnamDipList.html new file mode 100644 index 0000000..412be9b --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/CnamDipList.html @@ -0,0 +1,244 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.CnamDipList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.CnamDipList

+
+ + + + + + + + + + + + + +
+Packages that use CnamDipList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of CnamDipList in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return CnamDipList
+ CnamDipListTelapiConnector.cnamLookup(List<String> phoneNumbers) + +
+          Performs a CNAM lookup for multiple phone numbers.
+ CnamDipListTelapiConnector.cnamLookup(String phoneNumber) + +
+          Performs a CNAM lookup for a phone number.
+ CnamDipListTelapiConnector.cnamLookup(String accountSid, + List<String> phoneNumbers) + +
+           
+ CnamDipListTelapiConnector.cnamLookup(String accountSid, + String phoneNumber) + +
+           
+  +

+ + + + + +
+Uses of CnamDipList in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type CnamDipList
+ org.jboss.resteasy.client.ClientResponse<CnamDipList>CarrierLookupProxy.cnamLookup(String accountSid, + List<String> phoneNumbers) + +
+           
+ org.jboss.resteasy.client.ClientResponse<CnamDipList>CarrierLookupProxy.cnamLookup(String accountSid, + String phoneNumber) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/ConferenceList.html b/apidocs/com/telapi/api/domain/list/class-use/ConferenceList.html new file mode 100644 index 0000000..1c0e436 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/ConferenceList.html @@ -0,0 +1,249 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.ConferenceList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.ConferenceList

+
+ + + + + + + + + + + + + +
+Packages that use ConferenceList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of ConferenceList in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return ConferenceList
+ ConferenceListTelapiConnector.listConferences() + +
+          To view a list of all conference resources associated with a given + account, the URI below is provided.
+ ConferenceListTelapiConnector.listConferences(String friendlyName, + String status, + Date dateCreatedGte, + Date dateCreatedLt, + Date dateUpdatedGte, + Date dateUpdatedLt, + Long page, + Long pageSize) + +
+          To view a list of all conference resources associated with a given + account, the URI below is provided.
+ ConferenceListTelapiConnector.listConferences(String accountSid, + String friendlyName, + String status, + Date dateCreatedGte, + Date dateCreatedLt, + Date dateUpdatedGte, + Date dateUpdatedLt, + Long page, + Long pageSize) + +
+           
+  +

+ + + + + +
+Uses of ConferenceList in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type ConferenceList
+ org.jboss.resteasy.client.ClientResponse<ConferenceList>ConferenceProxy.listConferences(String accountSid, + String friendlyName, + String status, + String dateCreatedGte, + String dateCreatedLt, + String dateUpdatedGte, + String dateUpdatedLt, + Long page, + Long pageSize) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/FraudList.html b/apidocs/com/telapi/api/domain/list/class-use/FraudList.html new file mode 100644 index 0000000..4743cd1 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/FraudList.html @@ -0,0 +1,373 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.FraudList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.FraudList

+
+ + + + + + + + + + + + + +
+Packages that use FraudList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of FraudList in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return FraudList
+ FraudListTelapiConnector.authorizeDestination(String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+          Used to authorize previously blocked destinations for outbound calls and + sms messages.
+ FraudListTelapiConnector.authorizeDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ FraudListTelapiConnector.blockDestination(String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+          TelAPI will restrict outbound calls and sms messages to blocked + destinations.
+ FraudListTelapiConnector.blockDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ FraudListTelapiConnector.extendDestinationAuth(String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+          By default, authorized destinations will expire and return to fully + blocked status after 30 days.
+ FraudListTelapiConnector.extendDestinationAuth(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ FraudListTelapiConnector.listFraudControlResources() + +
+          Gets a list of Fraud control resources for a certain account.
+ FraudListTelapiConnector.listFraudControlResources(Long page, + Long pageSize) + +
+          Gets a list of Fraud control resources for a certain account.
+ FraudListTelapiConnector.listFraudControlResources(String accountSid, + Long page, + Long pageSize) + +
+           
+ FraudListTelapiConnector.whitelistDestination(String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+          Whitelisting is provided for destinations you wish to permanently + authorize.
+ FraudListTelapiConnector.whitelistDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+  +

+ + + + + +
+Uses of FraudList in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type FraudList
+ org.jboss.resteasy.client.ClientResponse<FraudList>FraudControlProxy.authorizeDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ org.jboss.resteasy.client.ClientResponse<FraudList>FraudControlProxy.blockDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ org.jboss.resteasy.client.ClientResponse<FraudList>FraudControlProxy.extendDestinationAuth(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ org.jboss.resteasy.client.ClientResponse<FraudList>FraudControlProxy.listFraudControlResources(String accountSid, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<FraudList>FraudControlProxy.whitelistDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/IncomingPhoneNumberList.html b/apidocs/com/telapi/api/domain/list/class-use/IncomingPhoneNumberList.html new file mode 100644 index 0000000..a3054c0 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/IncomingPhoneNumberList.html @@ -0,0 +1,237 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.IncomingPhoneNumberList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.IncomingPhoneNumberList

+
+ + + + + + + + + + + + + +
+Packages that use IncomingPhoneNumberList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of IncomingPhoneNumberList in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return IncomingPhoneNumberList
+ IncomingPhoneNumberListTelapiConnector.listIncomingPhoneNumbers() + +
+          Retrieves a list of all incoming phone number resources associated with a + given account.
+ IncomingPhoneNumberListTelapiConnector.listIncomingPhoneNumbers(String phoneNumber, + String friendlyName, + Long page, + Long pageSize) + +
+          Retrieves a list of incoming phone number resources associated with a + given account.
+ IncomingPhoneNumberListTelapiConnector.listIncomingPhoneNumbers(String accountSid, + String phoneNumber, + String friendlyName, + Long page, + Long pageSize) + +
+           
+  +

+ + + + + +
+Uses of IncomingPhoneNumberList in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type IncomingPhoneNumberList
+ org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumberList>IncomingPhoneNumberProxy.listIncomingPhoneNumbers(String accountSid, + String phoneNumber, + String friendlyName, + Long page, + Long pageSize) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/NotificationList.html b/apidocs/com/telapi/api/domain/list/class-use/NotificationList.html new file mode 100644 index 0000000..bef9250 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/NotificationList.html @@ -0,0 +1,267 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.NotificationList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.NotificationList

+
+ + + + + + + + + + + + + +
+Packages that use NotificationList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of NotificationList in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return NotificationList
+ NotificationListTelapiConnector.listCallNotifications(String callSid, + LogLevel log, + Long page, + Long pageSize) + +
+          Returns a list of notifications associated with a certain Call.
+ NotificationListTelapiConnector.listCallNotifications(String accountSid, + String callSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+ NotificationListTelapiConnector.listNotifications() + +
+          Returns a list of all notifications associated with the account.
+ NotificationListTelapiConnector.listNotifications(LogLevel log, + Long page, + Long pageSize) + +
+          Returns a list of notifications associated with the account.
+ NotificationListTelapiConnector.listNotifications(String accountSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+  +

+ + + + + +
+Uses of NotificationList in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type NotificationList
+ org.jboss.resteasy.client.ClientResponse<NotificationList>NotificationProxy.listCallNotifications(String accountSid, + String callSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<NotificationList>NotificationProxy.listNotifications(String accountSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/RecordingList.html b/apidocs/com/telapi/api/domain/list/class-use/RecordingList.html new file mode 100644 index 0000000..dffa894 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/RecordingList.html @@ -0,0 +1,308 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.RecordingList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.RecordingList

+
+ + + + + + + + + + + + + +
+Packages that use RecordingList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of RecordingList in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return RecordingList
+ RecordingListTelapiConnector.listCallRecordings(String callSid, + Date dateCreatedGte, + Date dateCreatedLt, + Long page, + Long pageSize) + +
+          Gets a list of Recordings which belong to a specified Call.
+ RecordingListTelapiConnector.listCallRecordings(String accountSid, + String callSid, + Date dateCreatedGte, + Date dateCreatedLt, + Long page, + Long pageSize) + +
+           
+ RecordingListTelapiConnector.listRecordings() + +
+          Gets a list of all Recordings.
+ RecordingListTelapiConnector.listRecordings(Date dateCreatedGte, + Date dateCreatedLt, + Long page, + Long pageSize) + +
+          Gets a list of Recordings.
+ RecordingListTelapiConnector.listRecordings(String accountSid, + Date dateCreatedGte, + Date dateCreatedLt, + Long page, + Long pageSize) + +
+           
+ RecordingListTelapiConnector.recordCall(String callSid, + Boolean record, + Long timeLimit, + String callbackUrl) + +
+          TelAPI offers a way to both initiate or end a call recording.
+ RecordingListTelapiConnector.recordCall(String accountSid, + String callSid, + Boolean record, + Long timeLimit, + String callbackUrl) + +
+           
+  +

+ + + + + +
+Uses of RecordingList in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type RecordingList
+ org.jboss.resteasy.client.ClientResponse<RecordingList>RecordingProxy.listCallRecordings(String accountSid, + String callSid, + String dateCreatedGte, + String dateCreatedLt, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<RecordingList>RecordingProxy.listRecordings(String accountSid, + String dateCreatedGte, + String dateCreatedLt, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<RecordingList>CallProxy.recordCall(String accountSid, + String callSid, + Boolean record, + Long timeLimit, + String callbackUrl) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/SmsMessageList.html b/apidocs/com/telapi/api/domain/list/class-use/SmsMessageList.html new file mode 100644 index 0000000..afce7a9 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/SmsMessageList.html @@ -0,0 +1,242 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.SmsMessageList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.SmsMessageList

+
+ + + + + + + + + + + + + +
+Packages that use SmsMessageList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of SmsMessageList in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return SmsMessageList
+ SmsMessageListTelapiConnector.listSmsMessages() + +
+          Lists all Sms Messages for the configured account.
+ SmsMessageListTelapiConnector.listSmsMessages(String to, + String from, + Date dateSentGte, + Date dateSentLt, + Long page, + Long pageSize) + +
+          Just as with calls, a list of all messages sent to and from a given + TelAPI account's phone numbers can be requested via our REST API.
+ SmsMessageListTelapiConnector.listSmsMessages(String accountSid, + String to, + String from, + Date dateSentGte, + Date dateSentLt, + Long page, + Long pageSize) + +
+           
+  +

+ + + + + +
+Uses of SmsMessageList in com.telapi.api.restproxies
+  +

+ + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type SmsMessageList
+ org.jboss.resteasy.client.ClientResponse<SmsMessageList>SmsProxy.getSmsMessageList(String accountSid, + String to, + String from, + String dateSentGte, + String dateSentLt, + Long page, + Long pageSize) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/class-use/TranscriptionList.html b/apidocs/com/telapi/api/domain/list/class-use/TranscriptionList.html new file mode 100644 index 0000000..51cef1b --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/class-use/TranscriptionList.html @@ -0,0 +1,279 @@ + + + + + + + +Uses of Class com.telapi.api.domain.list.TranscriptionList (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.domain.list.TranscriptionList

+
+ + + + + + + + + + + + + +
+Packages that use TranscriptionList
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + +
+Uses of TranscriptionList in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that return TranscriptionList
+ TranscriptionListTelapiConnector.listRecordingTranscriptions(String accountSid, + String recordingSid, + TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+ TranscriptionListTelapiConnector.listRecordingTranscriptions(String recordingSid, + TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+          Lists all the transcriptions belonging to an account.
+ TranscriptionListTelapiConnector.listTranscriptions() + +
+          Lists all the transcriptions belonging to an account.
+ TranscriptionListTelapiConnector.listTranscriptions(String accountSid, + TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+ TranscriptionListTelapiConnector.listTranscriptions(TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+          Lists transcriptions belonging to an account.
+  +

+ + + + + +
+Uses of TranscriptionList in com.telapi.api.restproxies
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api.restproxies that return types with arguments of type TranscriptionList
+ org.jboss.resteasy.client.ClientResponse<TranscriptionList>TranscriptionProxy.listRecordingTranscriptions(String accountSid, + String recordingSid, + TranscriptionStatus status, + String dateTranscribedGte, + String dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<TranscriptionList>TranscriptionProxy.listTranscriptions(String accountSid, + TranscriptionStatus status, + String dateTranscribedGte, + String dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/package-frame.html b/apidocs/com/telapi/api/domain/list/package-frame.html new file mode 100644 index 0000000..6780db8 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/package-frame.html @@ -0,0 +1,57 @@ + + + + + + + +com.telapi.api.domain.list (Telapi Java API) + + + + + + + + + + + +com.telapi.api.domain.list + + + + +
+Classes  + +
+AccountsList +
+ApplicationList +
+AvailablePhoneNumberList +
+CallList +
+CarrierLookupList +
+CnamDipList +
+ConferenceList +
+FraudList +
+IncomingPhoneNumberList +
+NotificationList +
+RecordingList +
+SmsMessageList +
+TranscriptionList
+ + + + diff --git a/apidocs/com/telapi/api/domain/list/package-summary.html b/apidocs/com/telapi/api/domain/list/package-summary.html new file mode 100644 index 0000000..074dbcb --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/package-summary.html @@ -0,0 +1,204 @@ + + + + + + + +com.telapi.api.domain.list (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.domain.list +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AccountsList 
ApplicationList 
AvailablePhoneNumberList 
CallList 
CarrierLookupList 
CnamDipList 
ConferenceList 
FraudList 
IncomingPhoneNumberList 
NotificationList 
RecordingList 
SmsMessageList 
TranscriptionList 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/package-tree.html b/apidocs/com/telapi/api/domain/list/package-tree.html new file mode 100644 index 0000000..db109db --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/package-tree.html @@ -0,0 +1,155 @@ + + + + + + + +com.telapi.api.domain.list Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.domain.list +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/list/package-use.html b/apidocs/com/telapi/api/domain/list/package-use.html new file mode 100644 index 0000000..b898772 --- /dev/null +++ b/apidocs/com/telapi/api/domain/list/package-use.html @@ -0,0 +1,332 @@ + + + + + + + +Uses of Package com.telapi.api.domain.list (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.domain.list

+
+ + + + + + + + + + + + + +
+Packages that use com.telapi.api.domain.list
com.telapi.api  
com.telapi.api.restproxies  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.telapi.api.domain.list used by com.telapi.api
AccountsList + +
+           
ApplicationList + +
+           
AvailablePhoneNumberList + +
+           
CallList + +
+           
CarrierLookupList + +
+           
CnamDipList + +
+           
ConferenceList + +
+           
FraudList + +
+           
IncomingPhoneNumberList + +
+           
NotificationList + +
+           
RecordingList + +
+           
SmsMessageList + +
+           
TranscriptionList + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.telapi.api.domain.list used by com.telapi.api.restproxies
AccountsList + +
+           
ApplicationList + +
+           
AvailablePhoneNumberList + +
+           
CallList + +
+           
CarrierLookupList + +
+           
CnamDipList + +
+           
ConferenceList + +
+           
FraudList + +
+           
IncomingPhoneNumberList + +
+           
NotificationList + +
+           
RecordingList + +
+           
SmsMessageList + +
+           
TranscriptionList + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/package-frame.html b/apidocs/com/telapi/api/domain/package-frame.html new file mode 100644 index 0000000..90c0365 --- /dev/null +++ b/apidocs/com/telapi/api/domain/package-frame.html @@ -0,0 +1,79 @@ + + + + + + + +com.telapi.api.domain (Telapi Java API) + + + + + + + + + + + +com.telapi.api.domain + + + + +
+Classes  + +
+Account +
+Application +
+AvailablePhoneNumber +
+BaseTelapiObject +
+BaseTelapiObjectWithMethods +
+Call +
+CallSubresourceUris +
+CarrierLookup +
+CnamDip +
+Conference +
+ConferenceSubresourceUris +
+Destination +
+DestinationFraudControlGroup +
+Fraud +
+IncomingPhoneNumber +
+Notification +
+Participant +
+PhoneNumberCapabilities +
+Recording +
+SmsMessage +
+StatusResponse +
+SubresourceUris +
+TelapiList +
+Transcription
+ + + + diff --git a/apidocs/com/telapi/api/domain/package-summary.html b/apidocs/com/telapi/api/domain/package-summary.html new file mode 100644 index 0000000..01289eb --- /dev/null +++ b/apidocs/com/telapi/api/domain/package-summary.html @@ -0,0 +1,254 @@ + + + + + + + +com.telapi.api.domain (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.domain +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AccountAn account resource provides information about a single TelAPI account.
ApplicationTelAPI offers the ability to preset all voice and sms urls for a given + application name.
AvailablePhoneNumberIf you want to add a new TelAPI number, you need to know what ones are + available.
BaseTelapiObjectA base resource object containing properties present in all of the other + resource objects.
BaseTelapiObjectWithMethods 
CallA call resource provides information about an individual call that has + occurred through TelAPI.
CallSubresourceUrisList of a calls various subresources and their URI path.
CarrierLookupCarrier lookup information.
CnamDipProvides CNAM caller ID information.
ConferenceResource properties about conference calls that occurred through a TelAPI + account can be requested using our REST API.
ConferenceSubresourceUrisList of a calls various subresources and their URI path.
DestinationContains Fraud Control information about a Destination.
DestinationFraudControlGroupContains Fraud control information about various Destinations.
FraudLists Fraud control resource information.
IncomingPhoneNumberTelAPI phone numbers associated with an account are represented with the IncomingPhoneNumber resource.
NotificationNotifications that TelAPI sends to users regarding their account and TelAPI + phone numbers activity.
Participant 
PhoneNumberCapabilitiesThe features available with this incoming phone number.
RecordingRecorded calls can be viewed using the REST API.
SmsMessageText messages sent to and from TelAPI phone numbers are represented with the Sms resource.
StatusResponse 
SubresourceUrisList of an accounts various subresources and their URI path.
TelapiList<T> 
TranscriptionThis resource represents a transcription of a Recording or audio.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/package-tree.html b/apidocs/com/telapi/api/domain/package-tree.html new file mode 100644 index 0000000..9b57200 --- /dev/null +++ b/apidocs/com/telapi/api/domain/package-tree.html @@ -0,0 +1,157 @@ + + + + + + + +com.telapi.api.domain Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.domain +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/domain/package-use.html b/apidocs/com/telapi/api/domain/package-use.html new file mode 100644 index 0000000..a17dbcc --- /dev/null +++ b/apidocs/com/telapi/api/domain/package-use.html @@ -0,0 +1,391 @@ + + + + + + + +Uses of Package com.telapi.api.domain (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.domain

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use com.telapi.api.domain
com.telapi.api  
com.telapi.api.domain  
com.telapi.api.domain.list  
com.telapi.api.restproxies  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.telapi.api.domain used by com.telapi.api
Account + +
+          An account resource provides information about a single TelAPI account.
Application + +
+          TelAPI offers the ability to preset all voice and sms urls for a given + application name.
Call + +
+          A call resource provides information about an individual call that has + occurred through TelAPI.
Conference + +
+          Resource properties about conference calls that occurred through a TelAPI + account can be requested using our REST API.
IncomingPhoneNumber + +
+          TelAPI phone numbers associated with an account are represented with the IncomingPhoneNumber resource.
Notification + +
+          Notifications that TelAPI sends to users regarding their account and TelAPI + phone numbers activity.
Participant + +
+           
Recording + +
+          Recorded calls can be viewed using the REST API.
SmsMessage + +
+          Text messages sent to and from TelAPI phone numbers are represented with the Sms resource.
Transcription + +
+          This resource represents a transcription of a Recording or audio.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.telapi.api.domain used by com.telapi.api.domain
BaseTelapiObject + +
+          A base resource object containing properties present in all of the other + resource objects.
BaseTelapiObjectWithMethods + +
+           
CallSubresourceUris + +
+          List of a calls various subresources and their URI path.
ConferenceSubresourceUris + +
+          List of a calls various subresources and their URI path.
Destination + +
+          Contains Fraud Control information about a Destination.
DestinationFraudControlGroup + +
+          Contains Fraud control information about various Destinations.
PhoneNumberCapabilities + +
+          The features available with this incoming phone number.
SubresourceUris + +
+          List of an accounts various subresources and their URI path.
+  +

+ + + + + + + + + + + +
+Classes in com.telapi.api.domain used by com.telapi.api.domain.list
Fraud + +
+          Lists Fraud control resource information.
TelapiList + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.telapi.api.domain used by com.telapi.api.restproxies
Account + +
+          An account resource provides information about a single TelAPI account.
Application + +
+          TelAPI offers the ability to preset all voice and sms urls for a given + application name.
Call + +
+          A call resource provides information about an individual call that has + occurred through TelAPI.
Conference + +
+          Resource properties about conference calls that occurred through a TelAPI + account can be requested using our REST API.
IncomingPhoneNumber + +
+          TelAPI phone numbers associated with an account are represented with the IncomingPhoneNumber resource.
Notification + +
+          Notifications that TelAPI sends to users regarding their account and TelAPI + phone numbers activity.
Participant + +
+           
Recording + +
+          Recorded calls can be viewed using the REST API.
SmsMessage + +
+          Text messages sent to and from TelAPI phone numbers are represented with the Sms resource.
Transcription + +
+          This resource represents a transcription of a Recording or audio.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/AddOrDeleteIncomingPhoneNumberExample.html b/apidocs/com/telapi/api/example/AddOrDeleteIncomingPhoneNumberExample.html new file mode 100644 index 0000000..1476a5a --- /dev/null +++ b/apidocs/com/telapi/api/example/AddOrDeleteIncomingPhoneNumberExample.html @@ -0,0 +1,251 @@ + + + + + + + +AddOrDeleteIncomingPhoneNumberExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class AddOrDeleteIncomingPhoneNumberExample

+
+java.lang.Object
+  extended by com.telapi.api.example.AddOrDeleteIncomingPhoneNumberExample
+
+
+
+
public class AddOrDeleteIncomingPhoneNumberExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AddOrDeleteIncomingPhoneNumberExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AddOrDeleteIncomingPhoneNumberExample

+
+public AddOrDeleteIncomingPhoneNumberExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/AuthorizeDestinationExample.html b/apidocs/com/telapi/api/example/AuthorizeDestinationExample.html new file mode 100644 index 0000000..4e0ae44 --- /dev/null +++ b/apidocs/com/telapi/api/example/AuthorizeDestinationExample.html @@ -0,0 +1,251 @@ + + + + + + + +AuthorizeDestinationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class AuthorizeDestinationExample

+
+java.lang.Object
+  extended by com.telapi.api.example.AuthorizeDestinationExample
+
+
+
+
public class AuthorizeDestinationExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AuthorizeDestinationExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AuthorizeDestinationExample

+
+public AuthorizeDestinationExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/BlockDestinationExample.html b/apidocs/com/telapi/api/example/BlockDestinationExample.html new file mode 100644 index 0000000..bd194a9 --- /dev/null +++ b/apidocs/com/telapi/api/example/BlockDestinationExample.html @@ -0,0 +1,251 @@ + + + + + + + +BlockDestinationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class BlockDestinationExample

+
+java.lang.Object
+  extended by com.telapi.api.example.BlockDestinationExample
+
+
+
+
public class BlockDestinationExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
BlockDestinationExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BlockDestinationExample

+
+public BlockDestinationExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/CarrierLookupExample.html b/apidocs/com/telapi/api/example/CarrierLookupExample.html new file mode 100644 index 0000000..8f3e654 --- /dev/null +++ b/apidocs/com/telapi/api/example/CarrierLookupExample.html @@ -0,0 +1,251 @@ + + + + + + + +CarrierLookupExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class CarrierLookupExample

+
+java.lang.Object
+  extended by com.telapi.api.example.CarrierLookupExample
+
+
+
+
public class CarrierLookupExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CarrierLookupExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CarrierLookupExample

+
+public CarrierLookupExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/CnamLookupExample.html b/apidocs/com/telapi/api/example/CnamLookupExample.html new file mode 100644 index 0000000..ae5c9dc --- /dev/null +++ b/apidocs/com/telapi/api/example/CnamLookupExample.html @@ -0,0 +1,251 @@ + + + + + + + +CnamLookupExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class CnamLookupExample

+
+java.lang.Object
+  extended by com.telapi.api.example.CnamLookupExample
+
+
+
+
public class CnamLookupExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CnamLookupExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CnamLookupExample

+
+public CnamLookupExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/CreateApplicationExample.html b/apidocs/com/telapi/api/example/CreateApplicationExample.html new file mode 100644 index 0000000..60c7da9 --- /dev/null +++ b/apidocs/com/telapi/api/example/CreateApplicationExample.html @@ -0,0 +1,251 @@ + + + + + + + +CreateApplicationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class CreateApplicationExample

+
+java.lang.Object
+  extended by com.telapi.api.example.CreateApplicationExample
+
+
+
+
public class CreateApplicationExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CreateApplicationExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CreateApplicationExample

+
+public CreateApplicationExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/DeafOrMuteParticipantExample.html b/apidocs/com/telapi/api/example/DeafOrMuteParticipantExample.html new file mode 100644 index 0000000..67ac85c --- /dev/null +++ b/apidocs/com/telapi/api/example/DeafOrMuteParticipantExample.html @@ -0,0 +1,251 @@ + + + + + + + +DeafOrMuteParticipantExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class DeafOrMuteParticipantExample

+
+java.lang.Object
+  extended by com.telapi.api.example.DeafOrMuteParticipantExample
+
+
+
+
public class DeafOrMuteParticipantExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DeafOrMuteParticipantExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DeafOrMuteParticipantExample

+
+public DeafOrMuteParticipantExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/DeleteApplicationExample.html b/apidocs/com/telapi/api/example/DeleteApplicationExample.html new file mode 100644 index 0000000..7e3e38c --- /dev/null +++ b/apidocs/com/telapi/api/example/DeleteApplicationExample.html @@ -0,0 +1,251 @@ + + + + + + + +DeleteApplicationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class DeleteApplicationExample

+
+java.lang.Object
+  extended by com.telapi.api.example.DeleteApplicationExample
+
+
+
+
public class DeleteApplicationExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DeleteApplicationExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DeleteApplicationExample

+
+public DeleteApplicationExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ExtendDestinationExample.html b/apidocs/com/telapi/api/example/ExtendDestinationExample.html new file mode 100644 index 0000000..4c78b27 --- /dev/null +++ b/apidocs/com/telapi/api/example/ExtendDestinationExample.html @@ -0,0 +1,251 @@ + + + + + + + +ExtendDestinationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ExtendDestinationExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ExtendDestinationExample
+
+
+
+
public class ExtendDestinationExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ExtendDestinationExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ExtendDestinationExample

+
+public ExtendDestinationExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/HangupCallExample.html b/apidocs/com/telapi/api/example/HangupCallExample.html new file mode 100644 index 0000000..d5a24b9 --- /dev/null +++ b/apidocs/com/telapi/api/example/HangupCallExample.html @@ -0,0 +1,251 @@ + + + + + + + +HangupCallExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class HangupCallExample

+
+java.lang.Object
+  extended by com.telapi.api.example.HangupCallExample
+
+
+
+
public class HangupCallExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
HangupCallExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HangupCallExample

+
+public HangupCallExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/HangupParticipantExample.html b/apidocs/com/telapi/api/example/HangupParticipantExample.html new file mode 100644 index 0000000..ea49a80 --- /dev/null +++ b/apidocs/com/telapi/api/example/HangupParticipantExample.html @@ -0,0 +1,251 @@ + + + + + + + +HangupParticipantExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class HangupParticipantExample

+
+java.lang.Object
+  extended by com.telapi.api.example.HangupParticipantExample
+
+
+
+
public class HangupParticipantExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
HangupParticipantExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HangupParticipantExample

+
+public HangupParticipantExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ListApplicationsExample.html b/apidocs/com/telapi/api/example/ListApplicationsExample.html new file mode 100644 index 0000000..3c8451a --- /dev/null +++ b/apidocs/com/telapi/api/example/ListApplicationsExample.html @@ -0,0 +1,251 @@ + + + + + + + +ListApplicationsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ListApplicationsExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ListApplicationsExample
+
+
+
+
public class ListApplicationsExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListApplicationsExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListApplicationsExample

+
+public ListApplicationsExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ListAvailablePhoneNumbersExample.html b/apidocs/com/telapi/api/example/ListAvailablePhoneNumbersExample.html new file mode 100644 index 0000000..9ae71f7 --- /dev/null +++ b/apidocs/com/telapi/api/example/ListAvailablePhoneNumbersExample.html @@ -0,0 +1,251 @@ + + + + + + + +ListAvailablePhoneNumbersExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ListAvailablePhoneNumbersExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ListAvailablePhoneNumbersExample
+
+
+
+
public class ListAvailablePhoneNumbersExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListAvailablePhoneNumbersExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListAvailablePhoneNumbersExample

+
+public ListAvailablePhoneNumbersExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ListCallsExample.html b/apidocs/com/telapi/api/example/ListCallsExample.html new file mode 100644 index 0000000..504b4c6 --- /dev/null +++ b/apidocs/com/telapi/api/example/ListCallsExample.html @@ -0,0 +1,251 @@ + + + + + + + +ListCallsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ListCallsExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ListCallsExample
+
+
+
+
public class ListCallsExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListCallsExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListCallsExample

+
+public ListCallsExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ListConferencesExample.html b/apidocs/com/telapi/api/example/ListConferencesExample.html new file mode 100644 index 0000000..38fe135 --- /dev/null +++ b/apidocs/com/telapi/api/example/ListConferencesExample.html @@ -0,0 +1,251 @@ + + + + + + + +ListConferencesExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ListConferencesExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ListConferencesExample
+
+
+
+
public class ListConferencesExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListConferencesExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListConferencesExample

+
+public ListConferencesExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ListFraudControResourcesExample.html b/apidocs/com/telapi/api/example/ListFraudControResourcesExample.html new file mode 100644 index 0000000..2c8bee1 --- /dev/null +++ b/apidocs/com/telapi/api/example/ListFraudControResourcesExample.html @@ -0,0 +1,251 @@ + + + + + + + +ListFraudControResourcesExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ListFraudControResourcesExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ListFraudControResourcesExample
+
+
+
+
public class ListFraudControResourcesExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListFraudControResourcesExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListFraudControResourcesExample

+
+public ListFraudControResourcesExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ListIncomingPhoneNumbersExample.html b/apidocs/com/telapi/api/example/ListIncomingPhoneNumbersExample.html new file mode 100644 index 0000000..9022e58 --- /dev/null +++ b/apidocs/com/telapi/api/example/ListIncomingPhoneNumbersExample.html @@ -0,0 +1,251 @@ + + + + + + + +ListIncomingPhoneNumbersExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ListIncomingPhoneNumbersExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ListIncomingPhoneNumbersExample
+
+
+
+
public class ListIncomingPhoneNumbersExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListIncomingPhoneNumbersExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListIncomingPhoneNumbersExample

+
+public ListIncomingPhoneNumbersExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ListNotificationsExample.html b/apidocs/com/telapi/api/example/ListNotificationsExample.html new file mode 100644 index 0000000..6b77a2f --- /dev/null +++ b/apidocs/com/telapi/api/example/ListNotificationsExample.html @@ -0,0 +1,251 @@ + + + + + + + +ListNotificationsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ListNotificationsExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ListNotificationsExample
+
+
+
+
public class ListNotificationsExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListNotificationsExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListNotificationsExample

+
+public ListNotificationsExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ListParticipantsExample.html b/apidocs/com/telapi/api/example/ListParticipantsExample.html new file mode 100644 index 0000000..34e7ebd --- /dev/null +++ b/apidocs/com/telapi/api/example/ListParticipantsExample.html @@ -0,0 +1,251 @@ + + + + + + + +ListParticipantsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ListParticipantsExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ListParticipantsExample
+
+
+
+
public class ListParticipantsExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListParticipantsExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListParticipantsExample

+
+public ListParticipantsExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ListRecordingsExample.html b/apidocs/com/telapi/api/example/ListRecordingsExample.html new file mode 100644 index 0000000..a910920 --- /dev/null +++ b/apidocs/com/telapi/api/example/ListRecordingsExample.html @@ -0,0 +1,251 @@ + + + + + + + +ListRecordingsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ListRecordingsExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ListRecordingsExample
+
+
+
+
public class ListRecordingsExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListRecordingsExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListRecordingsExample

+
+public ListRecordingsExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ListSmsExample.html b/apidocs/com/telapi/api/example/ListSmsExample.html new file mode 100644 index 0000000..cf3098c --- /dev/null +++ b/apidocs/com/telapi/api/example/ListSmsExample.html @@ -0,0 +1,251 @@ + + + + + + + +ListSmsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ListSmsExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ListSmsExample
+
+
+
+
public class ListSmsExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListSmsExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListSmsExample

+
+public ListSmsExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ListTranscriptionsExample.html b/apidocs/com/telapi/api/example/ListTranscriptionsExample.html new file mode 100644 index 0000000..1aad38d --- /dev/null +++ b/apidocs/com/telapi/api/example/ListTranscriptionsExample.html @@ -0,0 +1,251 @@ + + + + + + + +ListTranscriptionsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ListTranscriptionsExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ListTranscriptionsExample
+
+
+
+
public class ListTranscriptionsExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListTranscriptionsExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListTranscriptionsExample

+
+public ListTranscriptionsExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/MakeCallExample.html b/apidocs/com/telapi/api/example/MakeCallExample.html new file mode 100644 index 0000000..164a01f --- /dev/null +++ b/apidocs/com/telapi/api/example/MakeCallExample.html @@ -0,0 +1,251 @@ + + + + + + + +MakeCallExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class MakeCallExample

+
+java.lang.Object
+  extended by com.telapi.api.example.MakeCallExample
+
+
+
+
public class MakeCallExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MakeCallExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MakeCallExample

+
+public MakeCallExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/PlayAudioExample.html b/apidocs/com/telapi/api/example/PlayAudioExample.html new file mode 100644 index 0000000..f271c84 --- /dev/null +++ b/apidocs/com/telapi/api/example/PlayAudioExample.html @@ -0,0 +1,251 @@ + + + + + + + +PlayAudioExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class PlayAudioExample

+
+java.lang.Object
+  extended by com.telapi.api.example.PlayAudioExample
+
+
+
+
public class PlayAudioExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PlayAudioExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PlayAudioExample

+
+public PlayAudioExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/PlayAudioToParticipantExample.html b/apidocs/com/telapi/api/example/PlayAudioToParticipantExample.html new file mode 100644 index 0000000..f952a13 --- /dev/null +++ b/apidocs/com/telapi/api/example/PlayAudioToParticipantExample.html @@ -0,0 +1,251 @@ + + + + + + + +PlayAudioToParticipantExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class PlayAudioToParticipantExample

+
+java.lang.Object
+  extended by com.telapi.api.example.PlayAudioToParticipantExample
+
+
+
+
public class PlayAudioToParticipantExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PlayAudioToParticipantExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PlayAudioToParticipantExample

+
+public PlayAudioToParticipantExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/RecordCallExample.html b/apidocs/com/telapi/api/example/RecordCallExample.html new file mode 100644 index 0000000..18d8f4f --- /dev/null +++ b/apidocs/com/telapi/api/example/RecordCallExample.html @@ -0,0 +1,251 @@ + + + + + + + +RecordCallExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class RecordCallExample

+
+java.lang.Object
+  extended by com.telapi.api.example.RecordCallExample
+
+
+
+
public class RecordCallExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RecordCallExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RecordCallExample

+
+public RecordCallExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/SendDigitsExample.html b/apidocs/com/telapi/api/example/SendDigitsExample.html new file mode 100644 index 0000000..c78ecbf --- /dev/null +++ b/apidocs/com/telapi/api/example/SendDigitsExample.html @@ -0,0 +1,251 @@ + + + + + + + +SendDigitsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class SendDigitsExample

+
+java.lang.Object
+  extended by com.telapi.api.example.SendDigitsExample
+
+
+
+
public class SendDigitsExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SendDigitsExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SendDigitsExample

+
+public SendDigitsExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/SendSmsExample.html b/apidocs/com/telapi/api/example/SendSmsExample.html new file mode 100644 index 0000000..76ec9e5 --- /dev/null +++ b/apidocs/com/telapi/api/example/SendSmsExample.html @@ -0,0 +1,251 @@ + + + + + + + +SendSmsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class SendSmsExample

+
+java.lang.Object
+  extended by com.telapi.api.example.SendSmsExample
+
+
+
+
public class SendSmsExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SendSmsExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SendSmsExample

+
+public SendSmsExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/TranscribeAudioUrlExample.html b/apidocs/com/telapi/api/example/TranscribeAudioUrlExample.html new file mode 100644 index 0000000..a06a74f --- /dev/null +++ b/apidocs/com/telapi/api/example/TranscribeAudioUrlExample.html @@ -0,0 +1,251 @@ + + + + + + + +TranscribeAudioUrlExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class TranscribeAudioUrlExample

+
+java.lang.Object
+  extended by com.telapi.api.example.TranscribeAudioUrlExample
+
+
+
+
public class TranscribeAudioUrlExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TranscribeAudioUrlExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TranscribeAudioUrlExample

+
+public TranscribeAudioUrlExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/TranscribeRecordingExample.html b/apidocs/com/telapi/api/example/TranscribeRecordingExample.html new file mode 100644 index 0000000..907e6ce --- /dev/null +++ b/apidocs/com/telapi/api/example/TranscribeRecordingExample.html @@ -0,0 +1,251 @@ + + + + + + + +TranscribeRecordingExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class TranscribeRecordingExample

+
+java.lang.Object
+  extended by com.telapi.api.example.TranscribeRecordingExample
+
+
+
+
public class TranscribeRecordingExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TranscribeRecordingExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TranscribeRecordingExample

+
+public TranscribeRecordingExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/UpdateApplicationExample.html b/apidocs/com/telapi/api/example/UpdateApplicationExample.html new file mode 100644 index 0000000..37dbc70 --- /dev/null +++ b/apidocs/com/telapi/api/example/UpdateApplicationExample.html @@ -0,0 +1,251 @@ + + + + + + + +UpdateApplicationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class UpdateApplicationExample

+
+java.lang.Object
+  extended by com.telapi.api.example.UpdateApplicationExample
+
+
+
+
public class UpdateApplicationExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateApplicationExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateApplicationExample

+
+public UpdateApplicationExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/UpdateIncomingPhoneNumberExample.html b/apidocs/com/telapi/api/example/UpdateIncomingPhoneNumberExample.html new file mode 100644 index 0000000..e38034c --- /dev/null +++ b/apidocs/com/telapi/api/example/UpdateIncomingPhoneNumberExample.html @@ -0,0 +1,251 @@ + + + + + + + +UpdateIncomingPhoneNumberExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class UpdateIncomingPhoneNumberExample

+
+java.lang.Object
+  extended by com.telapi.api.example.UpdateIncomingPhoneNumberExample
+
+
+
+
public class UpdateIncomingPhoneNumberExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateIncomingPhoneNumberExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateIncomingPhoneNumberExample

+
+public UpdateIncomingPhoneNumberExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ViewAccountExample.html b/apidocs/com/telapi/api/example/ViewAccountExample.html new file mode 100644 index 0000000..a4ed5e5 --- /dev/null +++ b/apidocs/com/telapi/api/example/ViewAccountExample.html @@ -0,0 +1,251 @@ + + + + + + + +ViewAccountExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ViewAccountExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ViewAccountExample
+
+
+
+
public class ViewAccountExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ViewAccountExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ViewAccountExample

+
+public ViewAccountExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ViewApplicationExample.html b/apidocs/com/telapi/api/example/ViewApplicationExample.html new file mode 100644 index 0000000..8f88f34 --- /dev/null +++ b/apidocs/com/telapi/api/example/ViewApplicationExample.html @@ -0,0 +1,251 @@ + + + + + + + +ViewApplicationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ViewApplicationExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ViewApplicationExample
+
+
+
+
public class ViewApplicationExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ViewApplicationExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ViewApplicationExample

+
+public ViewApplicationExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ViewCallExample.html b/apidocs/com/telapi/api/example/ViewCallExample.html new file mode 100644 index 0000000..73a5db2 --- /dev/null +++ b/apidocs/com/telapi/api/example/ViewCallExample.html @@ -0,0 +1,251 @@ + + + + + + + +ViewCallExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ViewCallExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ViewCallExample
+
+
+
+
public class ViewCallExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ViewCallExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ViewCallExample

+
+public ViewCallExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ViewConferenceExample.html b/apidocs/com/telapi/api/example/ViewConferenceExample.html new file mode 100644 index 0000000..37fc37e --- /dev/null +++ b/apidocs/com/telapi/api/example/ViewConferenceExample.html @@ -0,0 +1,251 @@ + + + + + + + +ViewConferenceExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ViewConferenceExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ViewConferenceExample
+
+
+
+
public class ViewConferenceExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ViewConferenceExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ViewConferenceExample

+
+public ViewConferenceExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ViewIncomingPhoneNumberExample.html b/apidocs/com/telapi/api/example/ViewIncomingPhoneNumberExample.html new file mode 100644 index 0000000..bb099d1 --- /dev/null +++ b/apidocs/com/telapi/api/example/ViewIncomingPhoneNumberExample.html @@ -0,0 +1,251 @@ + + + + + + + +ViewIncomingPhoneNumberExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ViewIncomingPhoneNumberExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ViewIncomingPhoneNumberExample
+
+
+
+
public class ViewIncomingPhoneNumberExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ViewIncomingPhoneNumberExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ViewIncomingPhoneNumberExample

+
+public ViewIncomingPhoneNumberExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ViewNotificationExample.html b/apidocs/com/telapi/api/example/ViewNotificationExample.html new file mode 100644 index 0000000..68d2ae8 --- /dev/null +++ b/apidocs/com/telapi/api/example/ViewNotificationExample.html @@ -0,0 +1,251 @@ + + + + + + + +ViewNotificationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ViewNotificationExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ViewNotificationExample
+
+
+
+
public class ViewNotificationExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ViewNotificationExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ViewNotificationExample

+
+public ViewNotificationExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ViewParticipantExample.html b/apidocs/com/telapi/api/example/ViewParticipantExample.html new file mode 100644 index 0000000..eb96864 --- /dev/null +++ b/apidocs/com/telapi/api/example/ViewParticipantExample.html @@ -0,0 +1,251 @@ + + + + + + + +ViewParticipantExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ViewParticipantExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ViewParticipantExample
+
+
+
+
public class ViewParticipantExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ViewParticipantExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ViewParticipantExample

+
+public ViewParticipantExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ViewRecordingExample.html b/apidocs/com/telapi/api/example/ViewRecordingExample.html new file mode 100644 index 0000000..be63157 --- /dev/null +++ b/apidocs/com/telapi/api/example/ViewRecordingExample.html @@ -0,0 +1,251 @@ + + + + + + + +ViewRecordingExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ViewRecordingExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ViewRecordingExample
+
+
+
+
public class ViewRecordingExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ViewRecordingExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ViewRecordingExample

+
+public ViewRecordingExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ViewSmsExample.html b/apidocs/com/telapi/api/example/ViewSmsExample.html new file mode 100644 index 0000000..53ef7cd --- /dev/null +++ b/apidocs/com/telapi/api/example/ViewSmsExample.html @@ -0,0 +1,251 @@ + + + + + + + +ViewSmsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ViewSmsExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ViewSmsExample
+
+
+
+
public class ViewSmsExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ViewSmsExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ViewSmsExample

+
+public ViewSmsExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/ViewTranscriptionExample.html b/apidocs/com/telapi/api/example/ViewTranscriptionExample.html new file mode 100644 index 0000000..fe5a944 --- /dev/null +++ b/apidocs/com/telapi/api/example/ViewTranscriptionExample.html @@ -0,0 +1,251 @@ + + + + + + + +ViewTranscriptionExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class ViewTranscriptionExample

+
+java.lang.Object
+  extended by com.telapi.api.example.ViewTranscriptionExample
+
+
+
+
public class ViewTranscriptionExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ViewTranscriptionExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ViewTranscriptionExample

+
+public ViewTranscriptionExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/VoiceEffectsExample.html b/apidocs/com/telapi/api/example/VoiceEffectsExample.html new file mode 100644 index 0000000..4ed983d --- /dev/null +++ b/apidocs/com/telapi/api/example/VoiceEffectsExample.html @@ -0,0 +1,251 @@ + + + + + + + +VoiceEffectsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class VoiceEffectsExample

+
+java.lang.Object
+  extended by com.telapi.api.example.VoiceEffectsExample
+
+
+
+
public class VoiceEffectsExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
VoiceEffectsExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VoiceEffectsExample

+
+public VoiceEffectsExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/WhitelistDestinationExample.html b/apidocs/com/telapi/api/example/WhitelistDestinationExample.html new file mode 100644 index 0000000..9c08e64 --- /dev/null +++ b/apidocs/com/telapi/api/example/WhitelistDestinationExample.html @@ -0,0 +1,251 @@ + + + + + + + +WhitelistDestinationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.example +
+Class WhitelistDestinationExample

+
+java.lang.Object
+  extended by com.telapi.api.example.WhitelistDestinationExample
+
+
+
+
public class WhitelistDestinationExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
WhitelistDestinationExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WhitelistDestinationExample

+
+public WhitelistDestinationExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/AddOrDeleteIncomingPhoneNumberExample.html b/apidocs/com/telapi/api/example/class-use/AddOrDeleteIncomingPhoneNumberExample.html new file mode 100644 index 0000000..d15464a --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/AddOrDeleteIncomingPhoneNumberExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.AddOrDeleteIncomingPhoneNumberExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.AddOrDeleteIncomingPhoneNumberExample

+
+No usage of com.telapi.api.example.AddOrDeleteIncomingPhoneNumberExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/AuthorizeDestinationExample.html b/apidocs/com/telapi/api/example/class-use/AuthorizeDestinationExample.html new file mode 100644 index 0000000..fb5a603 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/AuthorizeDestinationExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.AuthorizeDestinationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.AuthorizeDestinationExample

+
+No usage of com.telapi.api.example.AuthorizeDestinationExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/BlockDestinationExample.html b/apidocs/com/telapi/api/example/class-use/BlockDestinationExample.html new file mode 100644 index 0000000..58d2454 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/BlockDestinationExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.BlockDestinationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.BlockDestinationExample

+
+No usage of com.telapi.api.example.BlockDestinationExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/CarrierLookupExample.html b/apidocs/com/telapi/api/example/class-use/CarrierLookupExample.html new file mode 100644 index 0000000..e811901 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/CarrierLookupExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.CarrierLookupExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.CarrierLookupExample

+
+No usage of com.telapi.api.example.CarrierLookupExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/CnamLookupExample.html b/apidocs/com/telapi/api/example/class-use/CnamLookupExample.html new file mode 100644 index 0000000..99e6f4f --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/CnamLookupExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.CnamLookupExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.CnamLookupExample

+
+No usage of com.telapi.api.example.CnamLookupExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/CreateApplicationExample.html b/apidocs/com/telapi/api/example/class-use/CreateApplicationExample.html new file mode 100644 index 0000000..a33ccc5 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/CreateApplicationExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.CreateApplicationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.CreateApplicationExample

+
+No usage of com.telapi.api.example.CreateApplicationExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/DeafOrMuteParticipantExample.html b/apidocs/com/telapi/api/example/class-use/DeafOrMuteParticipantExample.html new file mode 100644 index 0000000..17fe754 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/DeafOrMuteParticipantExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.DeafOrMuteParticipantExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.DeafOrMuteParticipantExample

+
+No usage of com.telapi.api.example.DeafOrMuteParticipantExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/DeleteApplicationExample.html b/apidocs/com/telapi/api/example/class-use/DeleteApplicationExample.html new file mode 100644 index 0000000..0159005 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/DeleteApplicationExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.DeleteApplicationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.DeleteApplicationExample

+
+No usage of com.telapi.api.example.DeleteApplicationExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ExtendDestinationExample.html b/apidocs/com/telapi/api/example/class-use/ExtendDestinationExample.html new file mode 100644 index 0000000..081d7aa --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ExtendDestinationExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ExtendDestinationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ExtendDestinationExample

+
+No usage of com.telapi.api.example.ExtendDestinationExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/HangupCallExample.html b/apidocs/com/telapi/api/example/class-use/HangupCallExample.html new file mode 100644 index 0000000..1d4872a --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/HangupCallExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.HangupCallExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.HangupCallExample

+
+No usage of com.telapi.api.example.HangupCallExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/HangupParticipantExample.html b/apidocs/com/telapi/api/example/class-use/HangupParticipantExample.html new file mode 100644 index 0000000..79c5741 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/HangupParticipantExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.HangupParticipantExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.HangupParticipantExample

+
+No usage of com.telapi.api.example.HangupParticipantExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ListApplicationsExample.html b/apidocs/com/telapi/api/example/class-use/ListApplicationsExample.html new file mode 100644 index 0000000..46551a1 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ListApplicationsExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ListApplicationsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ListApplicationsExample

+
+No usage of com.telapi.api.example.ListApplicationsExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ListAvailablePhoneNumbersExample.html b/apidocs/com/telapi/api/example/class-use/ListAvailablePhoneNumbersExample.html new file mode 100644 index 0000000..81b3e05 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ListAvailablePhoneNumbersExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ListAvailablePhoneNumbersExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ListAvailablePhoneNumbersExample

+
+No usage of com.telapi.api.example.ListAvailablePhoneNumbersExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ListCallsExample.html b/apidocs/com/telapi/api/example/class-use/ListCallsExample.html new file mode 100644 index 0000000..c8af193 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ListCallsExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ListCallsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ListCallsExample

+
+No usage of com.telapi.api.example.ListCallsExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ListConferencesExample.html b/apidocs/com/telapi/api/example/class-use/ListConferencesExample.html new file mode 100644 index 0000000..64b9c1d --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ListConferencesExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ListConferencesExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ListConferencesExample

+
+No usage of com.telapi.api.example.ListConferencesExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ListFraudControResourcesExample.html b/apidocs/com/telapi/api/example/class-use/ListFraudControResourcesExample.html new file mode 100644 index 0000000..57bd54a --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ListFraudControResourcesExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ListFraudControResourcesExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ListFraudControResourcesExample

+
+No usage of com.telapi.api.example.ListFraudControResourcesExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ListIncomingPhoneNumbersExample.html b/apidocs/com/telapi/api/example/class-use/ListIncomingPhoneNumbersExample.html new file mode 100644 index 0000000..fc554ac --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ListIncomingPhoneNumbersExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ListIncomingPhoneNumbersExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ListIncomingPhoneNumbersExample

+
+No usage of com.telapi.api.example.ListIncomingPhoneNumbersExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ListNotificationsExample.html b/apidocs/com/telapi/api/example/class-use/ListNotificationsExample.html new file mode 100644 index 0000000..3be25fb --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ListNotificationsExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ListNotificationsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ListNotificationsExample

+
+No usage of com.telapi.api.example.ListNotificationsExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ListParticipantsExample.html b/apidocs/com/telapi/api/example/class-use/ListParticipantsExample.html new file mode 100644 index 0000000..0d394d1 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ListParticipantsExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ListParticipantsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ListParticipantsExample

+
+No usage of com.telapi.api.example.ListParticipantsExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ListRecordingsExample.html b/apidocs/com/telapi/api/example/class-use/ListRecordingsExample.html new file mode 100644 index 0000000..63ab969 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ListRecordingsExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ListRecordingsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ListRecordingsExample

+
+No usage of com.telapi.api.example.ListRecordingsExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ListSmsExample.html b/apidocs/com/telapi/api/example/class-use/ListSmsExample.html new file mode 100644 index 0000000..70d2178 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ListSmsExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ListSmsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ListSmsExample

+
+No usage of com.telapi.api.example.ListSmsExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ListTranscriptionsExample.html b/apidocs/com/telapi/api/example/class-use/ListTranscriptionsExample.html new file mode 100644 index 0000000..b666a21 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ListTranscriptionsExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ListTranscriptionsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ListTranscriptionsExample

+
+No usage of com.telapi.api.example.ListTranscriptionsExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/MakeCallExample.html b/apidocs/com/telapi/api/example/class-use/MakeCallExample.html new file mode 100644 index 0000000..6254459 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/MakeCallExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.MakeCallExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.MakeCallExample

+
+No usage of com.telapi.api.example.MakeCallExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/PlayAudioExample.html b/apidocs/com/telapi/api/example/class-use/PlayAudioExample.html new file mode 100644 index 0000000..0273de5 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/PlayAudioExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.PlayAudioExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.PlayAudioExample

+
+No usage of com.telapi.api.example.PlayAudioExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/PlayAudioToParticipantExample.html b/apidocs/com/telapi/api/example/class-use/PlayAudioToParticipantExample.html new file mode 100644 index 0000000..7c02fdf --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/PlayAudioToParticipantExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.PlayAudioToParticipantExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.PlayAudioToParticipantExample

+
+No usage of com.telapi.api.example.PlayAudioToParticipantExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/RecordCallExample.html b/apidocs/com/telapi/api/example/class-use/RecordCallExample.html new file mode 100644 index 0000000..197bba5 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/RecordCallExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.RecordCallExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.RecordCallExample

+
+No usage of com.telapi.api.example.RecordCallExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/SendDigitsExample.html b/apidocs/com/telapi/api/example/class-use/SendDigitsExample.html new file mode 100644 index 0000000..592b2e2 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/SendDigitsExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.SendDigitsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.SendDigitsExample

+
+No usage of com.telapi.api.example.SendDigitsExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/SendSmsExample.html b/apidocs/com/telapi/api/example/class-use/SendSmsExample.html new file mode 100644 index 0000000..52db81c --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/SendSmsExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.SendSmsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.SendSmsExample

+
+No usage of com.telapi.api.example.SendSmsExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/TranscribeAudioUrlExample.html b/apidocs/com/telapi/api/example/class-use/TranscribeAudioUrlExample.html new file mode 100644 index 0000000..a211199 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/TranscribeAudioUrlExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.TranscribeAudioUrlExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.TranscribeAudioUrlExample

+
+No usage of com.telapi.api.example.TranscribeAudioUrlExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/TranscribeRecordingExample.html b/apidocs/com/telapi/api/example/class-use/TranscribeRecordingExample.html new file mode 100644 index 0000000..b7c1a20 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/TranscribeRecordingExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.TranscribeRecordingExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.TranscribeRecordingExample

+
+No usage of com.telapi.api.example.TranscribeRecordingExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/UpdateApplicationExample.html b/apidocs/com/telapi/api/example/class-use/UpdateApplicationExample.html new file mode 100644 index 0000000..ee1a798 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/UpdateApplicationExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.UpdateApplicationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.UpdateApplicationExample

+
+No usage of com.telapi.api.example.UpdateApplicationExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/UpdateIncomingPhoneNumberExample.html b/apidocs/com/telapi/api/example/class-use/UpdateIncomingPhoneNumberExample.html new file mode 100644 index 0000000..46fc69e --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/UpdateIncomingPhoneNumberExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.UpdateIncomingPhoneNumberExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.UpdateIncomingPhoneNumberExample

+
+No usage of com.telapi.api.example.UpdateIncomingPhoneNumberExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ViewAccountExample.html b/apidocs/com/telapi/api/example/class-use/ViewAccountExample.html new file mode 100644 index 0000000..01c2bc3 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ViewAccountExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ViewAccountExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ViewAccountExample

+
+No usage of com.telapi.api.example.ViewAccountExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ViewApplicationExample.html b/apidocs/com/telapi/api/example/class-use/ViewApplicationExample.html new file mode 100644 index 0000000..ed4e26e --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ViewApplicationExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ViewApplicationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ViewApplicationExample

+
+No usage of com.telapi.api.example.ViewApplicationExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ViewCallExample.html b/apidocs/com/telapi/api/example/class-use/ViewCallExample.html new file mode 100644 index 0000000..65bb7d4 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ViewCallExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ViewCallExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ViewCallExample

+
+No usage of com.telapi.api.example.ViewCallExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ViewConferenceExample.html b/apidocs/com/telapi/api/example/class-use/ViewConferenceExample.html new file mode 100644 index 0000000..59b8841 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ViewConferenceExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ViewConferenceExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ViewConferenceExample

+
+No usage of com.telapi.api.example.ViewConferenceExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ViewIncomingPhoneNumberExample.html b/apidocs/com/telapi/api/example/class-use/ViewIncomingPhoneNumberExample.html new file mode 100644 index 0000000..f8401c6 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ViewIncomingPhoneNumberExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ViewIncomingPhoneNumberExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ViewIncomingPhoneNumberExample

+
+No usage of com.telapi.api.example.ViewIncomingPhoneNumberExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ViewNotificationExample.html b/apidocs/com/telapi/api/example/class-use/ViewNotificationExample.html new file mode 100644 index 0000000..ab83ecc --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ViewNotificationExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ViewNotificationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ViewNotificationExample

+
+No usage of com.telapi.api.example.ViewNotificationExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ViewParticipantExample.html b/apidocs/com/telapi/api/example/class-use/ViewParticipantExample.html new file mode 100644 index 0000000..74df5db --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ViewParticipantExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ViewParticipantExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ViewParticipantExample

+
+No usage of com.telapi.api.example.ViewParticipantExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ViewRecordingExample.html b/apidocs/com/telapi/api/example/class-use/ViewRecordingExample.html new file mode 100644 index 0000000..24f937d --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ViewRecordingExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ViewRecordingExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ViewRecordingExample

+
+No usage of com.telapi.api.example.ViewRecordingExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ViewSmsExample.html b/apidocs/com/telapi/api/example/class-use/ViewSmsExample.html new file mode 100644 index 0000000..ffb66b8 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ViewSmsExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ViewSmsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ViewSmsExample

+
+No usage of com.telapi.api.example.ViewSmsExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/ViewTranscriptionExample.html b/apidocs/com/telapi/api/example/class-use/ViewTranscriptionExample.html new file mode 100644 index 0000000..b6a4206 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/ViewTranscriptionExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.ViewTranscriptionExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.ViewTranscriptionExample

+
+No usage of com.telapi.api.example.ViewTranscriptionExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/VoiceEffectsExample.html b/apidocs/com/telapi/api/example/class-use/VoiceEffectsExample.html new file mode 100644 index 0000000..9951f4d --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/VoiceEffectsExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.VoiceEffectsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.VoiceEffectsExample

+
+No usage of com.telapi.api.example.VoiceEffectsExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/class-use/WhitelistDestinationExample.html b/apidocs/com/telapi/api/example/class-use/WhitelistDestinationExample.html new file mode 100644 index 0000000..7deb099 --- /dev/null +++ b/apidocs/com/telapi/api/example/class-use/WhitelistDestinationExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.example.WhitelistDestinationExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.example.WhitelistDestinationExample

+
+No usage of com.telapi.api.example.WhitelistDestinationExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/package-frame.html b/apidocs/com/telapi/api/example/package-frame.html new file mode 100644 index 0000000..49b2d9b --- /dev/null +++ b/apidocs/com/telapi/api/example/package-frame.html @@ -0,0 +1,119 @@ + + + + + + + +com.telapi.api.example (Telapi Java API) + + + + + + + + + + + +com.telapi.api.example + + + + +
+Classes  + +
+AddOrDeleteIncomingPhoneNumberExample +
+AuthorizeDestinationExample +
+BlockDestinationExample +
+CarrierLookupExample +
+CnamLookupExample +
+CreateApplicationExample +
+DeafOrMuteParticipantExample +
+DeleteApplicationExample +
+ExtendDestinationExample +
+HangupCallExample +
+HangupParticipantExample +
+ListApplicationsExample +
+ListAvailablePhoneNumbersExample +
+ListCallsExample +
+ListConferencesExample +
+ListFraudControResourcesExample +
+ListIncomingPhoneNumbersExample +
+ListNotificationsExample +
+ListParticipantsExample +
+ListRecordingsExample +
+ListSmsExample +
+ListTranscriptionsExample +
+MakeCallExample +
+PlayAudioExample +
+PlayAudioToParticipantExample +
+RecordCallExample +
+SendDigitsExample +
+SendSmsExample +
+TranscribeAudioUrlExample +
+TranscribeRecordingExample +
+UpdateApplicationExample +
+UpdateIncomingPhoneNumberExample +
+ViewAccountExample +
+ViewApplicationExample +
+ViewCallExample +
+ViewConferenceExample +
+ViewIncomingPhoneNumberExample +
+ViewNotificationExample +
+ViewParticipantExample +
+ViewRecordingExample +
+ViewSmsExample +
+ViewTranscriptionExample +
+VoiceEffectsExample +
+WhitelistDestinationExample
+ + + + diff --git a/apidocs/com/telapi/api/example/package-summary.html b/apidocs/com/telapi/api/example/package-summary.html new file mode 100644 index 0000000..d06886d --- /dev/null +++ b/apidocs/com/telapi/api/example/package-summary.html @@ -0,0 +1,328 @@ + + + + + + + +com.telapi.api.example (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.example +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AddOrDeleteIncomingPhoneNumberExample 
AuthorizeDestinationExample 
BlockDestinationExample 
CarrierLookupExample 
CnamLookupExample 
CreateApplicationExample 
DeafOrMuteParticipantExample 
DeleteApplicationExample 
ExtendDestinationExample 
HangupCallExample 
HangupParticipantExample 
ListApplicationsExample 
ListAvailablePhoneNumbersExample 
ListCallsExample 
ListConferencesExample 
ListFraudControResourcesExample 
ListIncomingPhoneNumbersExample 
ListNotificationsExample 
ListParticipantsExample 
ListRecordingsExample 
ListSmsExample 
ListTranscriptionsExample 
MakeCallExample 
PlayAudioExample 
PlayAudioToParticipantExample 
RecordCallExample 
SendDigitsExample 
SendSmsExample 
TranscribeAudioUrlExample 
TranscribeRecordingExample 
UpdateApplicationExample 
UpdateIncomingPhoneNumberExample 
ViewAccountExample 
ViewApplicationExample 
ViewCallExample 
ViewConferenceExample 
ViewIncomingPhoneNumberExample 
ViewNotificationExample 
ViewParticipantExample 
ViewRecordingExample 
ViewSmsExample 
ViewTranscriptionExample 
VoiceEffectsExample 
WhitelistDestinationExample 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/package-tree.html b/apidocs/com/telapi/api/example/package-tree.html new file mode 100644 index 0000000..bc02f07 --- /dev/null +++ b/apidocs/com/telapi/api/example/package-tree.html @@ -0,0 +1,152 @@ + + + + + + + +com.telapi.api.example Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.example +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/example/package-use.html b/apidocs/com/telapi/api/example/package-use.html new file mode 100644 index 0000000..e12d24c --- /dev/null +++ b/apidocs/com/telapi/api/example/package-use.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Package com.telapi.api.example (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.example

+
+No usage of com.telapi.api.example +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/exceptions/TelapiException.html b/apidocs/com/telapi/api/exceptions/TelapiException.html new file mode 100644 index 0000000..71b1c31 --- /dev/null +++ b/apidocs/com/telapi/api/exceptions/TelapiException.html @@ -0,0 +1,396 @@ + + + + + + + +TelapiException (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.exceptions +
+Class TelapiException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by com.telapi.api.exceptions.TelapiException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class TelapiException
extends Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
TelapiException() + +
+           
TelapiException(Long status, + String message, + String code, + String moreInfo) + +
+           
TelapiException(String message) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCode() + +
+           
+ StringgetMoreInfo() + +
+           
+ LonggetStatus() + +
+           
+ voidsetCode(String code) + +
+           
+ voidsetMoreInfo(String moreInfo) + +
+           
+ voidsetStatus(Long status) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TelapiException

+
+public TelapiException()
+
+
+
+ +

+TelapiException

+
+public TelapiException(String message)
+
+
+
+ +

+TelapiException

+
+public TelapiException(Long status,
+                       String message,
+                       String code,
+                       String moreInfo)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getStatus

+
+public Long getStatus()
+
+
+
+
+
+
+ +

+setStatus

+
+public void setStatus(Long status)
+
+
+
+
+
+
+ +

+getCode

+
+public String getCode()
+
+
+
+
+
+
+ +

+setCode

+
+public void setCode(String code)
+
+
+
+
+
+
+ +

+getMoreInfo

+
+public String getMoreInfo()
+
+
+
+
+
+
+ +

+setMoreInfo

+
+public void setMoreInfo(String moreInfo)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/exceptions/class-use/TelapiException.html b/apidocs/com/telapi/api/exceptions/class-use/TelapiException.html new file mode 100644 index 0000000..879557d --- /dev/null +++ b/apidocs/com/telapi/api/exceptions/class-use/TelapiException.html @@ -0,0 +1,1524 @@ + + + + + + + +Uses of Class com.telapi.api.exceptions.TelapiException (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.exceptions.TelapiException

+
+ + + + + + + + + +
+Packages that use TelapiException
com.telapi.api  
+  +

+ + + + + +
+Uses of TelapiException in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api that throw TelapiException
+ IncomingPhoneNumberTelapiConnector.addIncomingPhoneNumber(String phoneNumber, + String areaCode) + +
+          TelAPI incoming phone numbers can be added or removed from an account + through our REST API.
+ IncomingPhoneNumberTelapiConnector.addIncomingPhoneNumber(String accountSid, + String phoneNumber, + String areaCode) + +
+           
+ FraudListTelapiConnector.authorizeDestination(String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+          Used to authorize previously blocked destinations for outbound calls and + sms messages.
+ FraudListTelapiConnector.authorizeDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ FraudListTelapiConnector.blockDestination(String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+          TelAPI will restrict outbound calls and sms messages to blocked + destinations.
+ FraudListTelapiConnector.blockDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ CarrierLookupListTelapiConnector.carrierLookup(List<String> phoneNumber) + +
+          Provides a way to look up the carrier of phone numbers.
+ CarrierLookupListTelapiConnector.carrierLookup(String phoneNumber) + +
+          Provides a way to look up the carrier of a phone number.
+ CarrierLookupListTelapiConnector.carrierLookup(String accountSid, + List<String> phoneNumber) + +
+           
+ CarrierLookupListTelapiConnector.carrierLookup(String accountSid, + String phoneNumber) + +
+           
+ CnamDipListTelapiConnector.cnamLookup(List<String> phoneNumbers) + +
+          Performs a CNAM lookup for multiple phone numbers.
+ CnamDipListTelapiConnector.cnamLookup(String phoneNumber) + +
+          Performs a CNAM lookup for a phone number.
+ CnamDipListTelapiConnector.cnamLookup(String accountSid, + List<String> phoneNumbers) + +
+           
+ CnamDipListTelapiConnector.cnamLookup(String accountSid, + String phoneNumber) + +
+           
+ ApplicationTelapiConnector.createApplication(ApplicationRequest applicationRequest) + +
+           
+ ApplicationTelapiConnector.createApplication(String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+          Creates a new application for managing TelAPI phone numbers,
+ ApplicationTelapiConnector.createApplication(String accountSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ ParticipantTelapiConnector.deafOrMuteParticipant(String conferenceSid, + String callSid, + Boolean muted, + Boolean deaf) + +
+          Conference participants can be muted or deafed by calling this method.
+ ParticipantTelapiConnector.deafOrMuteParticipant(String accountSid, + String conferenceSid, + String callSid, + Boolean muted, + Boolean deaf) + +
+           
+ ApplicationTelapiConnector.deleteApplication(String applicationSid) + +
+          Deletes an existing application.
+ ApplicationTelapiConnector.deleteApplication(String accountSid, + String applicationSid) + +
+           
+ IncomingPhoneNumberTelapiConnector.deleteIncomingPhoneNumber(String incomingPhoneNumberSid) + +
+          Deletes an IncomingPhoneNumber from your account.
+ IncomingPhoneNumberTelapiConnector.deleteIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid) + +
+           
+ FraudListTelapiConnector.extendDestinationAuth(String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+          By default, authorized destinations will expire and return to fully + blocked status after 30 days.
+ FraudListTelapiConnector.extendDestinationAuth(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ StringTelapiConnector.getRecordingUrl(String recordingSid) + +
+          Gets the URL of the audio file containing the recording.
+ StringTelapiConnector.getRecordingUrl(String accountSid, + String recordingSid) + +
+           
+ CallTelapiConnector.hangUpCall(String callSid) + +
+          Hangs up a call.
+ CallTelapiConnector.hangUpCall(String accountSid, + String callSid) + +
+           
+ ParticipantTelapiConnector.hangupParticipant(String conferenceSid, + String callSid) + +
+          Hangup conference members by conference sid and call sid.
+ ParticipantTelapiConnector.hangupParticipant(String accountSid, + String conferenceSid, + String callSid) + +
+           
+ ApplicationListTelapiConnector.listApplications() + +
+          Used to get a list of all application resources associated with a given + account.
+ ApplicationListTelapiConnector.listApplications(String friendlyName, + Long page, + Long pageSize) + +
+          Used to get a list of application resources associated with a given + account.
+ ApplicationListTelapiConnector.listApplications(String accountSid, + String friendlyName, + Long page, + Long pageSize) + +
+           
+ AvailablePhoneNumberListTelapiConnector.listAvailablePhoneNumbers(String isoCountryCode, + String areaCode, + String contains, + String inRegion, + String inPostalCode, + Long page, + Long pageSize) + +
+          If you want to add a new TelAPI number, you need to know what ones are + available.
+ AvailablePhoneNumberListTelapiConnector.listAvailablePhoneNumbers(String accountSid, + String isoCountryCode, + String areaCode, + String contains, + String inRegion, + String inPostalCode, + Long page, + Long pageSize) + +
+           
+ NotificationListTelapiConnector.listCallNotifications(String callSid, + LogLevel log, + Long page, + Long pageSize) + +
+          Returns a list of notifications associated with a certain Call.
+ NotificationListTelapiConnector.listCallNotifications(String accountSid, + String callSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+ RecordingListTelapiConnector.listCallRecordings(String callSid, + Date dateCreatedGte, + Date dateCreatedLt, + Long page, + Long pageSize) + +
+          Gets a list of Recordings which belong to a specified Call.
+ RecordingListTelapiConnector.listCallRecordings(String accountSid, + String callSid, + Date dateCreatedGte, + Date dateCreatedLt, + Long page, + Long pageSize) + +
+           
+ CallListTelapiConnector.listCalls() + +
+          To view a list of all inbound and outbound call resources associated with + a given account, use this method.
+ CallListTelapiConnector.listCalls(String to, + String from, + CallStatus status, + Date startTimeGte, + Date startTimeLt, + Long page, + Long pageSize) + +
+          To view a list of all inbound and outbound call resources associated with + a given account, use this method.
+ CallListTelapiConnector.listCalls(String accountSid, + String to, + String from, + CallStatus status, + Date startTimeGte, + Date startTimeLt, + Long page, + Long pageSize) + +
+           
+ ConferenceListTelapiConnector.listConferences() + +
+          To view a list of all conference resources associated with a given + account, the URI below is provided.
+ ConferenceListTelapiConnector.listConferences(String friendlyName, + String status, + Date dateCreatedGte, + Date dateCreatedLt, + Date dateUpdatedGte, + Date dateUpdatedLt, + Long page, + Long pageSize) + +
+          To view a list of all conference resources associated with a given + account, the URI below is provided.
+ ConferenceListTelapiConnector.listConferences(String accountSid, + String friendlyName, + String status, + Date dateCreatedGte, + Date dateCreatedLt, + Date dateUpdatedGte, + Date dateUpdatedLt, + Long page, + Long pageSize) + +
+           
+ FraudListTelapiConnector.listFraudControlResources() + +
+          Gets a list of Fraud control resources for a certain account.
+ FraudListTelapiConnector.listFraudControlResources(Long page, + Long pageSize) + +
+          Gets a list of Fraud control resources for a certain account.
+ FraudListTelapiConnector.listFraudControlResources(String accountSid, + Long page, + Long pageSize) + +
+           
+ IncomingPhoneNumberListTelapiConnector.listIncomingPhoneNumbers() + +
+          Retrieves a list of all incoming phone number resources associated with a + given account.
+ IncomingPhoneNumberListTelapiConnector.listIncomingPhoneNumbers(String phoneNumber, + String friendlyName, + Long page, + Long pageSize) + +
+          Retrieves a list of incoming phone number resources associated with a + given account.
+ IncomingPhoneNumberListTelapiConnector.listIncomingPhoneNumbers(String accountSid, + String phoneNumber, + String friendlyName, + Long page, + Long pageSize) + +
+           
+ NotificationListTelapiConnector.listNotifications() + +
+          Returns a list of all notifications associated with the account.
+ NotificationListTelapiConnector.listNotifications(LogLevel log, + Long page, + Long pageSize) + +
+          Returns a list of notifications associated with the account.
+ NotificationListTelapiConnector.listNotifications(String accountSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+ List<Participant>TelapiConnector.listParticipants(String conferenceSid) + +
+          Convenience method.
+ List<Participant>TelapiConnector.listParticipants(String conferenceSid, + Boolean muted, + Boolean deaf, + Long page, + Long pageSize) + +
+          Used to get a list of participants currently connected to a particular + conference.
+ List<Participant>TelapiConnector.listParticipants(String accountSid, + String conferenceSid, + Boolean muted, + Boolean deaf, + Long page, + Long pageSize) + +
+           
+ RecordingListTelapiConnector.listRecordings() + +
+          Gets a list of all Recordings.
+ RecordingListTelapiConnector.listRecordings(Date dateCreatedGte, + Date dateCreatedLt, + Long page, + Long pageSize) + +
+          Gets a list of Recordings.
+ RecordingListTelapiConnector.listRecordings(String accountSid, + Date dateCreatedGte, + Date dateCreatedLt, + Long page, + Long pageSize) + +
+           
+ TranscriptionListTelapiConnector.listRecordingTranscriptions(String accountSid, + String recordingSid, + TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+ TranscriptionListTelapiConnector.listRecordingTranscriptions(String recordingSid, + TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+          Lists all the transcriptions belonging to an account.
+ SmsMessageListTelapiConnector.listSmsMessages() + +
+          Lists all Sms Messages for the configured account.
+ SmsMessageListTelapiConnector.listSmsMessages(String to, + String from, + Date dateSentGte, + Date dateSentLt, + Long page, + Long pageSize) + +
+          Just as with calls, a list of all messages sent to and from a given + TelAPI account's phone numbers can be requested via our REST API.
+ SmsMessageListTelapiConnector.listSmsMessages(String accountSid, + String to, + String from, + Date dateSentGte, + Date dateSentLt, + Long page, + Long pageSize) + +
+           
+ TranscriptionListTelapiConnector.listTranscriptions() + +
+          Lists all the transcriptions belonging to an account.
+ TranscriptionListTelapiConnector.listTranscriptions(String accountSid, + TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+ TranscriptionListTelapiConnector.listTranscriptions(TranscriptionStatus status, + Date dateTranscribedGte, + Date dateTranscribedLt, + Long page, + Long pageSize) + +
+          Lists transcriptions belonging to an account.
+ CallTelapiConnector.makeCall(CallRequest callRequest) + +
+          Convenience method which accepts a CallRequest object containing + parameters.
+ CallTelapiConnector.makeCall(String to, + String from, + String url, + HttpMethod method, + String fallbackUrl, + HttpMethod fallbackMethod, + String statusCallback, + HttpMethod statusCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom, + String sendDigits, + Long timeout, + Boolean hideCallerId, + Boolean record, + String recordCallback, + HttpMethod recordCallbackMethod, + Boolean transcribe, + String transcribeCallback, + HttpMethod transcribeCallbackMethod) + +
+          Makes a call.
+ CallTelapiConnector.makeCall(String accountSid, + String to, + String from, + String url, + HttpMethod method, + String fallbackUrl, + HttpMethod fallbackMethod, + String statusCallback, + HttpMethod statusCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom, + String sendDigits, + Long timeout, + Boolean hideCallerId, + Boolean record, + String recordCallback, + HttpMethod recordCallbackMethod, + Boolean transcribe, + String transcribeCallback, + HttpMethod transcribeCallbackMethod) + +
+           
+ CallTelapiConnector.playAudioToCall(String callSid, + String soundsUrl) + +
+          TelAPI allows you to play an audio file during a call.
+ CallTelapiConnector.playAudioToCall(String callSid, + String soundsUrl, + Long length, + Legs legs, + Boolean loop, + Boolean mix) + +
+          TelAPI allows you to play an audio file during a call.
+ CallTelapiConnector.playAudioToCall(String accountSid, + String callSid, + String soundsUrl, + Long length, + Legs legs, + Boolean loop, + Boolean mix) + +
+           
+ ParticipantTelapiConnector.playAudioToParticipant(String conferenceSid, + String callSid, + String audioUrl) + +
+          Pre-recorded sound from a file can be played to conference members.
+ ParticipantTelapiConnector.playAudioToParticipant(String accountSid, + String conferenceSid, + String callSid, + String url) + +
+           
+ RecordingListTelapiConnector.recordCall(String callSid, + Boolean record, + Long timeLimit, + String callbackUrl) + +
+          TelAPI offers a way to both initiate or end a call recording.
+ RecordingListTelapiConnector.recordCall(String accountSid, + String callSid, + Boolean record, + Long timeLimit, + String callbackUrl) + +
+           
+ CallTelapiConnector.sendDigits(String callSid, + String playDtfm, + Legs dtmfLeg) + +
+          DTMFs, aka touch tone signals, can be sent to a call.
+ CallTelapiConnector.sendDigits(String accountSid, + String callSid, + String playDtfm, + Legs dtmfLeg) + +
+           
+ SmsMessageTelapiConnector.sendSmsMessage(String to, + String from, + String body, + String statusCallback) + +
+          Sends an SMS message.
+ SmsMessageTelapiConnector.sendSmsMessage(String accountSid, + String to, + String from, + String body, + String statusCallback) + +
+           
+ TranscriptionTelapiConnector.transcribeAudioUrl(String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+          Transcribes audio found on an URL.
+ TranscriptionTelapiConnector.transcribeAudioUrl(String accountSid, + String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ TranscriptionTelapiConnector.transcribeRecording(String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+          Transcribes a recording.
+ TranscriptionTelapiConnector.transcribeRecording(String accountSid, + String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ ApplicationTelapiConnector.updateApplication(ApplicationRequest applicationRequest) + +
+           
+ ApplicationTelapiConnector.updateApplication(String applicationSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+          Used to update an existing application.
+ ApplicationTelapiConnector.updateApplication(String accountSid, + String applicationSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ IncomingPhoneNumberTelapiConnector.updateIncomingPhoneNumber(IncomingPhoneNumberRequest ipnRequest) + +
+           
+ IncomingPhoneNumberTelapiConnector.updateIncomingPhoneNumber(String incomingPhoneNumberSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod) + +
+          Updates properties of an IncomingPhoneNumber.
+ IncomingPhoneNumberTelapiConnector.updateIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod) + +
+           
+ AccountTelapiConnector.viewAccount() + +
+           
+ AccountTelapiConnector.viewAccount(String accountSid) + +
+          An account resource provides information about a single TelAPI account.
+ AccountsListTelapiConnector.viewAccounts() + +
+           
+ ApplicationTelapiConnector.viewApplication(String applicationSid) + +
+          TelAPI offers the ability to preset all voice and sms urls for a given + application name.
+ ApplicationTelapiConnector.viewApplication(String accountSid, + String applicationSid) + +
+           
+ CallTelapiConnector.viewCall(String callSid) + +
+          Gets the specified call resource.
+ CallTelapiConnector.viewCall(String accountSid, + String callSid) + +
+           
+ ConferenceTelapiConnector.viewConference(String conferenceSid) + +
+          Resource properties about conference calls that occurred through a TelAPI + account can be requested using our API.
+ ConferenceTelapiConnector.viewConference(String accountSid, + String conferenceSid) + +
+           
+ IncomingPhoneNumberTelapiConnector.viewIncomingPhoneNumber(String incomingPhoneNumberSid) + +
+          TelAPI phone numbers associated with an account are represented with the + IncomingPhoneNumber resource.
+ IncomingPhoneNumberTelapiConnector.viewIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid) + +
+           
+ NotificationTelapiConnector.viewNotification(String notificationSid) + +
+          Retrieves details about a Notification.
+ NotificationTelapiConnector.viewNotification(String accountSid, + String notificationSid) + +
+           
+ ParticipantTelapiConnector.viewParticipant(String conferenceSid, + String callSid) + +
+          Participants of a conference are identified by the CallSid created when + they dial into the conference.
+ ParticipantTelapiConnector.viewParticipant(String accountSid, + String conferenceSid, + String callSid) + +
+           
+ RecordingTelapiConnector.viewRecording(String recordingSid) + +
+          A single recording details can be viewed by calling this method.
+ RecordingTelapiConnector.viewRecording(String accountSid, + String recordingSid) + +
+           
+ SmsMessageTelapiConnector.viewSmsMessage(String smsMessageSid) + +
+          Text messages sent to and from TelAPI phone numbers are represented with + the Sms resource.
+ SmsMessageTelapiConnector.viewSmsMessage(String sid, + String smsMessageSid) + +
+          Used for specifying a different accountSid.
+ TranscriptionTelapiConnector.viewTranscription(String transcriptionSid) + +
+          Gets the details of a Transcription resource.
+ TranscriptionTelapiConnector.viewTranscription(String accountSid, + String transcriptionSid) + +
+           
+ StringTelapiConnector.viewTranscriptionText(String transcriptionSid) + +
+          Gets just the transcription text of a Transcription.
+ StringTelapiConnector.viewTranscriptionText(String accountSid, + String transcriptionSid) + +
+           
+ CallTelapiConnector.voiceEffects(String callSid, + AudioDirection audioDirection, + Double pitch, + Long pitchSemiTones, + Long pitchOctaves, + Double rate) + +
+          With TelAPI you can modify the way a callers voice sounds by changing + things such as speed and pitch of the audio.
+ CallTelapiConnector.voiceEffects(String accountSid, + String callSid, + AudioDirection audioDirection, + Double pitch, + Long pitchSemiTones, + Long pitchOctaves, + Double rate) + +
+           
+ FraudListTelapiConnector.whitelistDestination(String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+          Whitelisting is provided for destinations you wish to permanently + authorize.
+ FraudListTelapiConnector.whitelistDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/exceptions/package-frame.html b/apidocs/com/telapi/api/exceptions/package-frame.html new file mode 100644 index 0000000..8935a98 --- /dev/null +++ b/apidocs/com/telapi/api/exceptions/package-frame.html @@ -0,0 +1,33 @@ + + + + + + + +com.telapi.api.exceptions (Telapi Java API) + + + + + + + + + + + +com.telapi.api.exceptions + + + + +
+Exceptions  + +
+TelapiException
+ + + + diff --git a/apidocs/com/telapi/api/exceptions/package-summary.html b/apidocs/com/telapi/api/exceptions/package-summary.html new file mode 100644 index 0000000..daabe0c --- /dev/null +++ b/apidocs/com/telapi/api/exceptions/package-summary.html @@ -0,0 +1,156 @@ + + + + + + + +com.telapi.api.exceptions (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.exceptions +

+ + + + + + + + + +
+Exception Summary
TelapiException 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/exceptions/package-tree.html b/apidocs/com/telapi/api/exceptions/package-tree.html new file mode 100644 index 0000000..c292813 --- /dev/null +++ b/apidocs/com/telapi/api/exceptions/package-tree.html @@ -0,0 +1,157 @@ + + + + + + + +com.telapi.api.exceptions Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.exceptions +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/exceptions/package-use.html b/apidocs/com/telapi/api/exceptions/package-use.html new file mode 100644 index 0000000..8a2994d --- /dev/null +++ b/apidocs/com/telapi/api/exceptions/package-use.html @@ -0,0 +1,169 @@ + + + + + + + +Uses of Package com.telapi.api.exceptions (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.exceptions

+
+ + + + + + + + + +
+Packages that use com.telapi.api.exceptions
com.telapi.api  
+  +

+ + + + + + + + +
+Classes in com.telapi.api.exceptions used by com.telapi.api
TelapiException + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/http/RestExecutor.html b/apidocs/com/telapi/api/http/RestExecutor.html new file mode 100644 index 0000000..5394ca1 --- /dev/null +++ b/apidocs/com/telapi/api/http/RestExecutor.html @@ -0,0 +1,218 @@ + + + + + + + +RestExecutor (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.http +
+Class RestExecutor

+
+java.lang.Object
+  extended by com.telapi.api.http.RestExecutor
+
+
+
+
public class RestExecutor
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+static org.jboss.resteasy.client.core.executors.ApacheHttpClient4ExecutorcreateExecutor(TelapiConfiguration conf) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+createExecutor

+
+public static org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor createExecutor(TelapiConfiguration conf)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/http/class-use/RestExecutor.html b/apidocs/com/telapi/api/http/class-use/RestExecutor.html new file mode 100644 index 0000000..54084cb --- /dev/null +++ b/apidocs/com/telapi/api/http/class-use/RestExecutor.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.http.RestExecutor (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.http.RestExecutor

+
+No usage of com.telapi.api.http.RestExecutor +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/http/package-frame.html b/apidocs/com/telapi/api/http/package-frame.html new file mode 100644 index 0000000..18b2862 --- /dev/null +++ b/apidocs/com/telapi/api/http/package-frame.html @@ -0,0 +1,33 @@ + + + + + + + +com.telapi.api.http (Telapi Java API) + + + + + + + + + + + +com.telapi.api.http + + + + +
+Classes  + +
+RestExecutor
+ + + + diff --git a/apidocs/com/telapi/api/http/package-summary.html b/apidocs/com/telapi/api/http/package-summary.html new file mode 100644 index 0000000..1df178d --- /dev/null +++ b/apidocs/com/telapi/api/http/package-summary.html @@ -0,0 +1,156 @@ + + + + + + + +com.telapi.api.http (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.http +

+ + + + + + + + + +
+Class Summary
RestExecutor 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/http/package-tree.html b/apidocs/com/telapi/api/http/package-tree.html new file mode 100644 index 0000000..9270b8d --- /dev/null +++ b/apidocs/com/telapi/api/http/package-tree.html @@ -0,0 +1,152 @@ + + + + + + + +com.telapi.api.http Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.http +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/http/package-use.html b/apidocs/com/telapi/api/http/package-use.html new file mode 100644 index 0000000..07f7674 --- /dev/null +++ b/apidocs/com/telapi/api/http/package-use.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Package com.telapi.api.http (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.http

+
+No usage of com.telapi.api.http +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Conference.html b/apidocs/com/telapi/api/inboundxml/elements/Conference.html new file mode 100644 index 0000000..b47454d --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Conference.html @@ -0,0 +1,195 @@ + + + + + + + +Conference (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Conference

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Conference
+
+
+
All Implemented Interfaces:
DialElement
+
+
+
+
@XStreamConverter(value=com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter.class,
+                  strings="conferenceName")
+public class Conference
extends Object
implements DialElement
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Dial.html b/apidocs/com/telapi/api/inboundxml/elements/Dial.html new file mode 100644 index 0000000..381b667 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Dial.html @@ -0,0 +1,621 @@ + + + + + + + +Dial (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Dial

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Dial
+
+
+
All Implemented Interfaces:
ResponseElement
+
+
+
+
@XStreamConverter(value=com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter.class,
+                  strings="number")
+public class Dial
extends Object
implements ResponseElement
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Dialconference(ConferenceParameters params) + +
+          Convenience method for creating a Conference element.
+ Dialconference(String conferenceName) + +
+          Convenience method for creating a Conference element.
+ Dialconference(String conferenceName, + Boolean muted, + Boolean beep, + Boolean startConferenceOnEnter, + Boolean endConferenceOnExit, + Long maxParticipants, + String waitUrl, + HttpMethod waitMethod, + Boolean hangupOnStar, + String callbackUrl, + HttpMethod callbackMethod, + String waitSound, + HttpMethod waitSoundMethod, + String digitsMatch, + Boolean stayAlone) + +
+          Appends a conference element to the dial element.
+static DialcreateDial() + +
+          Convenience method for creating a Dial element.
+static DialcreateDial(DialParameters params) + +
+          Convenience method for creating a Dial element.
+static DialcreateDial(String number) + +
+          Convenience method for creating a Dial element.
+static DialcreateDial(String number, + String action, + HttpMethod method, + Long timeout, + Boolean hangupOnStar, + Long timeLimit, + String callerId, + Boolean hideCallerId, + String dialMusic, + String callbackUrl, + HttpMethod callbackMethod, + Boolean confirmSound, + String digitsMatch, + Boolean straightToVm, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom) + +
+          Creates a new Dial element.
+ Dialnumber(String number, + String sendDigits, + String url, + HttpMethod callbackMethod) + +
+          Creates a Number element.
+ Dialsip(String sipAddress) + +
+          Convenience method for creating a new Sip element.
+ Dialsip(String sipAddress, + String sendDigits, + String url, + HttpMethod method) + +
+          The Sip element is nested within the Dial element, and is used to call to + sip addresses.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+createDial

+
+public static Dial createDial(String number,
+                              String action,
+                              HttpMethod method,
+                              Long timeout,
+                              Boolean hangupOnStar,
+                              Long timeLimit,
+                              String callerId,
+                              Boolean hideCallerId,
+                              String dialMusic,
+                              String callbackUrl,
+                              HttpMethod callbackMethod,
+                              Boolean confirmSound,
+                              String digitsMatch,
+                              Boolean straightToVm,
+                              String heartbeatUrl,
+                              HttpMethod heartbeatMethod,
+                              String forwardedFrom)
+
+
Creates a new Dial element. The Dial element starts an outgoing dial from + the current call. Once the dial is complete, the next element in the + InboundXML document will be processed unless the action attribute is set. + In that case the result of the dial is submitted as a GET or POST + (depending on the method attribute) to the action URL, and the call + continues using the InboundXML of that URL. + + By default the outgoing call will timeout if it is not answered after 30 + seconds; however, the timeout attribute can be used to set a custom time. + The length of the call is limited by the timeLimit attribute, which is 4 + hours (14400 seconds) by default. + + Setting the hangupOnStar attribute to 'true' will allow the original call + to terminate the outgoing call without having to hang up by dialing '*'. + The original call then continues with the current InboundXML document, or + if a URL was passed, the response from the action attribute. + + The callerId attribute can be set to any number, and will default to the + caller id of the original caller. The number to be dialed should be + nested within the Dial element. For more options, use the Number or + Conference elements instead of a simple phone number. +

+

+
+
+
+
Parameters:
number - The number which is to be dialed. If used, no other element + can be appended to the Dial element.
action - URL where some parameters specific to Dial will be sent for + further processing. The calling party can be redirected here + upon the hang up of the B leg caller.
method - Method used to request the action URL. Defaults to POST.
timeout - The number of seconds calls made with are allowed + silence before ending. Defaults to 30.
hangupOnStar - Boolean value specifying if pressing * should end the dial. + Defaults to false.
timeLimit - The duration in seconds a call made through should + occur for before ending. Defaults to 14400.
callerId - Number to display as calling. Defaults to the ID of phone + being used. Defaults to the caller's caller ID.
hideCallerId - Boolean value specifying if the caller ID should be hidden or + not. Defaults to false.
dialMusic - URL containing an audio file that can be played during the + dial.
callbackUrl - URL requested once the dialed call connects.
callbackMethod - Method used to request the callback URL. Defaults to POST.
confirmSound - Boolean value specifying if a sound should play when dial is + successful. Defaults to false.
digitsMatch - Specifies digits that TelAPI should listen for and send to the + callbackUrl if a caller inputs them. Separate additional + digits or digit patterns with a comma. Allowed values are + digits, # and *.
straightToVm - Boolean value specifying if call should be redirected to voice + mail immediately. Defaults to false.
heartbeatUrl - A URL TelAPI can request every 60 seconds during the call to + notify of elapsed time and pass other general information.
heartbeatMethod - Method used to request the heartbeat URL. Defaults to POST.
forwardedFrom - Specifies the number to list the call as forwarded from. +
Returns:
A new Dial element.
+
+
+
+ +

+createDial

+
+public static Dial createDial(DialParameters params)
+
+
Convenience method for creating a Dial element. +

+

+
+
+
+
Parameters:
params - The parameters from which the Dial element is created. +
Returns:
A new Dial element.
See Also:
#createDial(String, String, HttpMethod, Long, Boolean, Long, String, Boolean, String, String, String, HttpMethod, Boolean, String, Boolean, String, HttpMethod, String)
+
+
+
+ +

+createDial

+
+public static Dial createDial(String number)
+
+
Convenience method for creating a Dial element. +

+

+
+
+
+
Parameters:
number - The number to dial. +
Returns:
A new Dial element.
See Also:
#createDial(String, String, HttpMethod, Long, Boolean, Long, String, Boolean, String, String, String, HttpMethod, Boolean, String, Boolean, String, HttpMethod, String)
+
+
+
+ +

+createDial

+
+public static Dial createDial()
+
+
Convenience method for creating a Dial element. +

+

+
+
+
+ +
Returns:
A new Dial element.
See Also:
#createDial(String, String, HttpMethod, Long, Boolean, Long, String, Boolean, String, String, String, HttpMethod, Boolean, String, Boolean, String, HttpMethod, String)
+
+
+
+ +

+number

+
+public Dial number(String number,
+                   String sendDigits,
+                   String url,
+                   HttpMethod callbackMethod)
+
+
Creates a Number element. The Number element must be nested within the + Dial element. It can be used to send DTFM tones or redirect to InboundXML + when called parties when they are answered. Number can also be used to + dial multiple phones simultaneously by using additional Number elements. + If multiple Number elements are used to specify additional calls, the + first call to answer is connected, and the rest of the outgoing calls are + canceled. +

+

+
+
+
+
Parameters:
number - The number to be called (required).
sendDigits - Specifies which DTFM tones to play to the called party. w + indicates a half second pause.
url - URL that the called party can be directed to before the call + beings.
callbackMethod - Method used to request the url. Defaults to POST. +
Returns:
The Dial element to which the current Number element will be + added.
+
+
+
+ +

+conference

+
+public Dial conference(String conferenceName,
+                       Boolean muted,
+                       Boolean beep,
+                       Boolean startConferenceOnEnter,
+                       Boolean endConferenceOnExit,
+                       Long maxParticipants,
+                       String waitUrl,
+                       HttpMethod waitMethod,
+                       Boolean hangupOnStar,
+                       String callbackUrl,
+                       HttpMethod callbackMethod,
+                       String waitSound,
+                       HttpMethod waitSoundMethod,
+                       String digitsMatch,
+                       Boolean stayAlone)
+
+
Appends a conference element to the dial element. Like the Number + element, the Conference element is only nested within the Dial element. + Instead of dialing a number, the Conference element allows the ongoing + call to connect to a conference room. + + The conference room name is nested within the Conference element, and all + calls connected to the same conference room name will be in the room + together. + + By default all callers will hear hold music until two callers are in the + room. To change this behavior, startConferenceOnEnter may be set to + 'true' or 'false'. The waitUrl attribute may be used to set a custom MP3, + or for greater customization, the URL of a InboundXML document to use + while callers are waiting. If a InboundXML document is used, the Gather , + Record and Dial elements are not allowed. + + When callers enter or exit the room, a beep is heard if the beep + attribute is set to the default value of 'true'. A participant can be + initially muted by setting the muted attribute to 'true'. + + The conference room can be limited to a certain number of participants by + setting the maxParticipants attribute. The endConferenceOnExit attribute + is used to end a conference when an specific user (or any one of many + users) exits. +

+

+
+
+
+
Parameters:
conferenceName - The conference name (required).
muted - Boolean value specifying if the conference should be muted. + Defaults to false.
beep - Boolean value specifying if a beep should play upon entrance + to conference. Defaults to false.
startConferenceOnEnter - Boolean value specifying if conference should begin upon + entrance. Defaults to true.
endConferenceOnExit - Boolean value specifying if conference should begin upon exit. + Defaults to true.
maxParticipants - The maximum number of participants allowed in the conference + call. Defaults to 40.
waitUrl - URL conference participants can be sent to while they wait for + entrance into the conference.
waitMethod - Method used to request waitUrl. Defaults to POST.
hangupOnStar - Boolean value specifying if pressing * should end the + conference. Defaults to false.
callbackUrl - URL where some parameters specific to Conference will be sent + once it is completed.
callbackMethod - Method used to request the callback URL. Defaults to POST.
waitSound - URL to sound that can be played while waiting to enter the + conference.
waitSoundMethod - Method used to request the waitsound URL. Defaults to POST.
digitsMatch - Specifies digits that TelAPI should listen for and send to the + callbackUrl if a caller inputs them. Seperate additional + digits or digit patterns with a comma. Can be a digit, # or *.
stayAlone - Boolean value specifying if the caller should stay alone in + the conference call. Defaults to true. +
Returns:
The Dial element to which the current Conference element will be + added.
+
+
+
+ +

+conference

+
+public Dial conference(String conferenceName)
+
+
Convenience method for creating a Conference element. +

+

+
+
+
+
Parameters:
conferenceName - The name of the created Conference. +
Returns:
The Dial element to which the current Conference element will be + added.
See Also:
conference(String, Boolean, Boolean, Boolean, Boolean, Long, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, Boolean)
+
+
+
+ +

+conference

+
+public Dial conference(ConferenceParameters params)
+
+
Convenience method for creating a Conference element. +

+

+
+
+
+
Parameters:
params - The parameters from which the Conference element is created. +
Returns:
The Dial element to which the current Conference element will be + added.
See Also:
conference(String, Boolean, Boolean, Boolean, Boolean, Long, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, Boolean)
+
+
+
+ +

+sip

+
+public Dial sip(String sipAddress,
+                String sendDigits,
+                String url,
+                HttpMethod method)
+
+
The Sip element is nested within the Dial element, and is used to call to + sip addresses. The desired sip address to call is nested within the + opening and closing Sip elements, just as with a number when using the + Number element. The opening and closing sip tags may be omitted + completely by simply prefixing the desired sip address with "sip:" when + using it within the Dial element like so: + Dialsip:username@domain.comDial. + + If multiple Sip elements are used, the first call to answer is connected, + and the rest of the outgoing calls are canceled. +

+

+
+
+
+
Parameters:
sipAddress - The sip address (required).
sendDigits - Specifies which DTFM tones to play to the called party. w + indicates a half second pause. Allowed values are numbers, and + w.
url - URL that the called party can be directed to before the call + beings.
method - Method used to request the url. Defaults to POST. +
Returns:
The Dial element to which the current Sip element will be added.
+
+
+
+ +

+sip

+
+public Dial sip(String sipAddress)
+
+
Convenience method for creating a new Sip element. +

+

+
+
+
+
Parameters:
sipAddress - The sip address (required). +
Returns:
The Dial element to which the current Sip element will be added.
See Also:
sip(String, String, String, HttpMethod)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/DialElement.html b/apidocs/com/telapi/api/inboundxml/elements/DialElement.html new file mode 100644 index 0000000..30e3e4f --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/DialElement.html @@ -0,0 +1,170 @@ + + + + + + + +DialElement (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Interface DialElement

+
+
All Known Implementing Classes:
Conference, Number, Sip
+
+
+
+
public interface DialElement
+ + +

+


+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Gather.html b/apidocs/com/telapi/api/inboundxml/elements/Gather.html new file mode 100644 index 0000000..eef535c --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Gather.html @@ -0,0 +1,392 @@ + + + + + + + +Gather (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Gather

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Gather
+
+
+
All Implemented Interfaces:
ResponseElement
+
+
+
+
public class Gather
extends Object
implements ResponseElement
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static GathercreateGather(String action) + +
+          Convenience method for creating a new Gather element.
+static GathercreateGather(String action, + HttpMethod method, + Long timeout, + String finishOnKey, + Long numDigits) + +
+          Creates a Gather element.
+ Gatherpause() + +
+           
+ Gatherpause(Long length) + +
+           
+ Gatherplay(Long loop, + String resource) + +
+           
+ Gathersay(String text) + +
+           
+ Gathersay(String text, + Voice voice, + Long loop) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+createGather

+
+public static Gather createGather(String action,
+                                  HttpMethod method,
+                                  Long timeout,
+                                  String finishOnKey,
+                                  Long numDigits)
+
+
Creates a Gather element. The Gather element allows callers to input + digits to the call using their keypads which are then sent via POST or + GET to a URL for further processing. There are many ways to get creative + with Gather but its most common use case is in creating IVR menus. This + is accomplished by nesting prompts for input from the caller using the + Say or Play elements. + + By default an unlimited number of digits can be gathered, the Gather will + timeout after 5 seconds pass without any new digits or once the '#' key + is pressed, and the gathered digits will be submitted to the current + InboundXML document. This default behavior of Gather can be altered using + its provided element attributes. +

+

+
+
+
+
Parameters:
action - URL where the gathered digits will be sent for further processing (required).
method - Method used to request the action URL. Defaults to POST.
timeout - The number of seconds Gather should wait for digits to be entered before requesting the action URL. Timeout resets with each new digit input. Defaults to 5.
finishOnKey - The key a caller can press to end the Gather. Allowed values are digits, # and *. Defaults to #.
numDigits - The maximum number of digits to Gather. A number greater than or equal to 0. Defaults to no limit. +
Returns:
The Gather element which is being created.
+
+
+
+ +

+createGather

+
+public static Gather createGather(String action)
+
+
Convenience method for creating a new Gather element. +

+

+
+
+
+
Parameters:
action - URL where the gathered digits will be sent for further processing (required). +
Returns:
The Gather element which is being created.
+
+
+
+ +

+play

+
+public Gather play(Long loop,
+                   String resource)
+
+
+
+
+
+
Parameters:
loop -
resource - +
Returns:
See Also:
Response.play(Long, String)
+
+
+
+ +

+say

+
+public Gather say(String text,
+                  Voice voice,
+                  Long loop)
+
+
+
+
+
+
Parameters:
text -
voice -
loop - +
Returns:
See Also:
Response.say(String, Voice, Long)
+
+
+
+ +

+say

+
+public Gather say(String text)
+
+
+
+
+
+
Parameters:
text - +
Returns:
See Also:
Response.say(String)
+
+
+
+ +

+pause

+
+public Gather pause(Long length)
+
+
+
+
+
+
Parameters:
length - +
Returns:
See Also:
Response.pause(Long)
+
+
+
+ +

+pause

+
+public Gather pause()
+
+
+
+
+
+ +
Returns:
See Also:
Response.pause()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/GatherElement.html b/apidocs/com/telapi/api/inboundxml/elements/GatherElement.html new file mode 100644 index 0000000..a6a146b --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/GatherElement.html @@ -0,0 +1,170 @@ + + + + + + + +GatherElement (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Interface GatherElement

+
+
All Known Implementing Classes:
Pause, Play, Say
+
+
+
+
public interface GatherElement
+ + +

+


+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/GetSpeech.html b/apidocs/com/telapi/api/inboundxml/elements/GetSpeech.html new file mode 100644 index 0000000..9ab20ad --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/GetSpeech.html @@ -0,0 +1,394 @@ + + + + + + + +GetSpeech (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class GetSpeech

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.GetSpeech
+
+
+
All Implemented Interfaces:
ResponseElement
+
+
+
+
public class GetSpeech
extends Object
implements ResponseElement
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static GetSpeechcreateGetSpeech(String grammar, + String action) + +
+          Convenience method for creating a new GetSpeech element.
+static GetSpeechcreateGetSpeech(String grammar, + String action, + HttpMethod method, + Long timeout, + Boolean playBeep) + +
+          Creates a new GetSpeech element.
+ GetSpeechpause() + +
+           
+ GetSpeechpause(Long length) + +
+           
+ GetSpeechplay(Long loop, + String resource) + +
+           
+ GetSpeechsay(String text) + +
+           
+ GetSpeechsay(String text, + Voice voice, + Long loop) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+createGetSpeech

+
+public static GetSpeech createGetSpeech(String grammar,
+                                        String action,
+                                        HttpMethod method,
+                                        Long timeout,
+                                        Boolean playBeep)
+
+
Creates a new GetSpeech element. The GetSpeech element is used to + translate a callers voice into text. That translated text is then + submitted to an action URL for further processing and use in your + application. +

+

+
+
+
+
Parameters:
grammar - The URL of an XML file defining acceptable words and phrases + that a user might say during the call. For information on + creating grammar files see this + W3 reference.
action - A URL where the converted voice text will be forwarded.
method - Method used to request the action URL. Defaults to POST.
timeout - Amount of seconds GetSpeech should wait in silence before + requesting the action URL. Defaults to 5.
playBeep - Specifies if a beep should play back to the caller when + GetSpeech begins. Defaults to false. +
Returns:
A new GetSpeech element.
+
+
+
+ +

+createGetSpeech

+
+public static GetSpeech createGetSpeech(String grammar,
+                                        String action)
+
+
Convenience method for creating a new GetSpeech element. +

+

+
+
+
+
Parameters:
grammar - The URL of an XML file defining acceptable words and phrases + that a user might say during the call. For information on + creating grammar files see this + W3 reference.
action - A URL where the converted voice text will be forwarded. +
Returns:
A new GetSpeech element.
See Also:
createGetSpeech(String, String, HttpMethod, Long, Boolean)
+
+
+
+ +

+play

+
+public GetSpeech play(Long loop,
+                      String resource)
+
+
+
+
+
+
Parameters:
loop -
resource - +
Returns:
See Also:
Response.play(Long, String)
+
+
+
+ +

+say

+
+public GetSpeech say(String text,
+                     Voice voice,
+                     Long loop)
+
+
+
+
+
+
Parameters:
text -
voice -
loop - +
Returns:
See Also:
Response.say(String, Voice, Long)
+
+
+
+ +

+say

+
+public GetSpeech say(String text)
+
+
+
+
+
+
Parameters:
text - +
Returns:
See Also:
Response.say(String)
+
+
+
+ +

+pause

+
+public GetSpeech pause(Long length)
+
+
+
+
+
+
Parameters:
length - +
Returns:
See Also:
Response.pause(Long)
+
+
+
+ +

+pause

+
+public GetSpeech pause()
+
+
+
+
+
+ +
Returns:
See Also:
Response.pause()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Hangup.html b/apidocs/com/telapi/api/inboundxml/elements/Hangup.html new file mode 100644 index 0000000..331afea --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Hangup.html @@ -0,0 +1,193 @@ + + + + + + + +Hangup (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Hangup

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Hangup
+
+
+
All Implemented Interfaces:
ResponseElement
+
+
+
+
public class Hangup
extends Object
implements ResponseElement
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Number.html b/apidocs/com/telapi/api/inboundxml/elements/Number.html new file mode 100644 index 0000000..ae46023 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Number.html @@ -0,0 +1,195 @@ + + + + + + + +Number (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Number

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Number
+
+
+
All Implemented Interfaces:
DialElement
+
+
+
+
@XStreamConverter(value=com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter.class,
+                  strings="number")
+public class Number
extends Object
implements DialElement
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Pause.html b/apidocs/com/telapi/api/inboundxml/elements/Pause.html new file mode 100644 index 0000000..6be8a44 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Pause.html @@ -0,0 +1,193 @@ + + + + + + + +Pause (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Pause

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Pause
+
+
+
All Implemented Interfaces:
GatherElement, ResponseElement
+
+
+
+
public class Pause
extends Object
implements ResponseElement, GatherElement
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Play.html b/apidocs/com/telapi/api/inboundxml/elements/Play.html new file mode 100644 index 0000000..c7b1c02 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Play.html @@ -0,0 +1,195 @@ + + + + + + + +Play (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Play

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Play
+
+
+
All Implemented Interfaces:
GatherElement, ResponseElement
+
+
+
+
@XStreamConverter(value=com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter.class,
+                  strings="resource")
+public class Play
extends Object
implements ResponseElement, GatherElement
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Record.html b/apidocs/com/telapi/api/inboundxml/elements/Record.html new file mode 100644 index 0000000..d4ab829 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Record.html @@ -0,0 +1,193 @@ + + + + + + + +Record (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Record

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Record
+
+
+
All Implemented Interfaces:
ResponseElement
+
+
+
+
public class Record
extends Object
implements ResponseElement
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Redirect.html b/apidocs/com/telapi/api/inboundxml/elements/Redirect.html new file mode 100644 index 0000000..ecbe253 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Redirect.html @@ -0,0 +1,195 @@ + + + + + + + +Redirect (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Redirect

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Redirect
+
+
+
All Implemented Interfaces:
ResponseElement
+
+
+
+
@XStreamConverter(value=com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter.class,
+                  strings="url")
+public class Redirect
extends Object
implements ResponseElement
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Reject.html b/apidocs/com/telapi/api/inboundxml/elements/Reject.html new file mode 100644 index 0000000..8bbf137 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Reject.html @@ -0,0 +1,193 @@ + + + + + + + +Reject (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Reject

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Reject
+
+
+
All Implemented Interfaces:
ResponseElement
+
+
+
+
public class Reject
extends Object
implements ResponseElement
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Response.html b/apidocs/com/telapi/api/inboundxml/elements/Response.html new file mode 100644 index 0000000..a359a03 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Response.html @@ -0,0 +1,799 @@ + + + + + + + +Response (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Response

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Response
+
+
+
+
public class Response
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static Responsecreate() + +
+          Creates a new basic response object.
+ StringcreateXml() + +
+           
+ Responsedial(Dial dial) + +
+          Adds a Dial element to a Response element.
+ Responsegather(Gather gather) + +
+          Adds a Gather element to the current Response element.
+ ResponsegetSpeech(GetSpeech getSpeech) + +
+          Adds a GetSpeech element to the current Response element.
+ Responsehangup() + +
+          Conveniece method for creating a new Hangup element.
+ Responsehangup(Long schedule) + +
+          Adds a Hangup element to the Response element.
+ Responsepause() + +
+          Adds a Pause element to the Response element.
+ Responsepause(Long length) + +
+          Adds a Pause element to the Response element.
+ Responseplay(Long loop, + String resource) + +
+          Adds a Play element to a Response element.
+ Responserecord(RecordParameters params) + +
+          Convenience method for appending a new Record element.
+ Responserecord(String action) + +
+          Convenience method for appending a new Record element.
+ Responserecord(String action, + HttpMethod method, + Long timeout, + String finishOnKey, + Long maxLength, + Boolean transcribe, + String transcribeCallback, + Boolean playBeep, + Boolean bothLegs, + RecordingFileFormat fileFormat) + +
+          Adds a Record element to a Response element.
+ Responseredirect(String url) + +
+          Convenience method for creating a redirect element.
+ Responseredirect(String url, + HttpMethod method) + +
+          Adds a Redirect element to the Response element.
+ Responsereject() + +
+          Convenience method for adding a Reject element to the current Response + element.
+ Responsereject(RejectReason reason) + +
+          Adds a Reject element to the Response element.
+ Responsesay(String text) + +
+          Convenience method for creating a Say element.
+ Responsesay(String text, + Voice voice, + Long loop) + +
+          Adds a Say element to a Response element.
+ Responsesms(String text, + String to, + String from) + +
+          Convenience method for adding an Sms element.
+ Responsesms(String text, + String to, + String from, + String action, + HttpMethod method, + String statusCallback) + +
+          Appends an SMS Element to the current Response element.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static Response create()
+
+
Creates a new basic response object. This should be called at the + beginning of each InboundXML generation. +

+

+ +
Returns:
A newly generated Response element.
+
+
+
+ +

+play

+
+public Response play(Long loop,
+                     String resource)
+
+
Adds a Play element to a Response element. The element plays an + mp3 file for the caller. +

+

+
Parameters:
loop - The amount of times the Play should be repeated. Zero + indicates an infinite loop. The allowed values are greater + than or equal to 0. Defaults to 1.
resource - The URL to the mp3 file which should be played (required). +
Returns:
The Response element which is being created.
+
+
+
+ +

+say

+
+public Response say(String text,
+                    Voice voice,
+                    Long loop)
+
+
Adds a Say element to a Response element. The Say element reads text to + the caller using a text-to-speech engine. Say is good to use with dynamic + data, while Play may be a better choice for static information or + prompts. +

+

+
Parameters:
text - The text to be spoken (required).
voice - The type of voice that will read the text to the caller. Defaults to WOMAN.
loop - The amount of times the spoken text should be repeated. Zero + indicates an infinite loop. The allowed values are greater + than or equal to 0. Defaults to 1. +
Returns:
The Response element which is being created.
+
+
+
+ +

+say

+
+public Response say(String text)
+
+
Convenience method for creating a Say element. Will be spoken in the + WOMAN voice without looping. +

+

+
Parameters:
text - The text to be spoken. +
Returns:
The Response element which is being created.
+
+
+
+ +

+record

+
+public Response record(String action,
+                       HttpMethod method,
+                       Long timeout,
+                       String finishOnKey,
+                       Long maxLength,
+                       Boolean transcribe,
+                       String transcribeCallback,
+                       Boolean playBeep,
+                       Boolean bothLegs,
+                       RecordingFileFormat fileFormat)
+
+
Adds a Record element to a Response element. The Record element is used + to record audio during a call. It can occur anywhere within an InboundXML + document but will only begin recording once it has been reached. This + means Record would have to be the first element after Response for the + entire call to be recorded. When the recording is complete, a URL of the + recorded audio is created and submitted as a GET or POST to the action + URL. + + Similar to the Gather element, a timeout value sets how much silence to + allow before the recording ends, maxLength sets how long the recording + may be, and the finishOnKey is used to set which keys will end the + recording. By default, the action and method specify that Record should + make a POST to the URL of the current InboundXML document. +

+

+
Parameters:
action - URL where some parameters specific to Record will be sent for + further processing (required).
method - Specifies the method to use when requesting the action or + transcribeCallback URL.
timeout - The number of seconds Record should wait during silence before + ending. Greater than or equal to 0. Defaults to 5.
finishOnKey - The key a caller can press to end the Record. Allowed values + are 0-9, # or *. Defaults to #.
maxLength - The maximum length in seconds a recording should be. Defaults + to 3600.
transcribe - Boolean value specifying if the recording should be + transcribed. Defaults to false.
transcribeCallback - URL where the recording transcription will be sent. Defaults + to the current InboundXML document.
playBeep - Boolean value specifying if a beep should be played when the + recording begins. Defaults to false.
bothLegs - Boolean value specifying if both call legs should be recorded. + Defaults to false.
fileFormat - The recording file format. Can be mp3 or wav. Default is mp3. +
Returns:
The Response element which is being created.
+
+
+
+ +

+record

+
+public Response record(String action)
+
+
Convenience method for appending a new Record element. +

+

+
Parameters:
action - URL where some parameters specific to Record will be sent for + further processing (required). +
Returns:
The Response element which is being created.
See Also:
record(String, HttpMethod, Long, String, Long, Boolean, String, + Boolean, Boolean, RecordingFileFormat)
+
+
+
+ +

+record

+
+public Response record(RecordParameters params)
+
+
Convenience method for appending a new Record element. +

+

+
Parameters:
params - The RecordParameters used to create the Record element. +
Returns:
The Response element which is being created.
See Also:
record(String, HttpMethod, Long, String, Long, Boolean, String, + Boolean, Boolean, RecordingFileFormat)
+
+
+
+ +

+dial

+
+public Response dial(Dial dial)
+
+
Adds a Dial element to a Response element. The Dial element starts an + outgoing dial from the current call. Once the dial is complete, the next + element in the InboundXML document will be processed unless the action + attribute is set. In that case the result of the dial is submitted as a + GET or POST (depending on the method attribute) to the action URL, and + the call continues using the InboundXML of that URL. + + By default the outgoing call will timeout if it is not answered after 30 + seconds; however, the timeout attribute can be used to set a custom time. + The length of the call is limited by the timeLimit attribute, which is 4 + hours (14400 seconds) by default. + + Setting the hangupOnStar attribute to 'true' will allow the original call + to terminate the outgoing call without having to hang up by dialing '*'. + The original call then continues with the current InboundXML document, or + if a URL was passed, the response from the action attribute. + + The callerId attribute can be set to any number, and will default to the + caller id of the original caller. The number to be dialed should be + nested within the Dial element. For more options, use the Number or + Conference elements instead of a simple phone number. +

+

+
Parameters:
dial - A new Dial element which must be created by calling + Dial.create(...). +
Returns:
The Response element which is being created.
+
+
+
+ +

+hangup

+
+public Response hangup(Long schedule)
+
+
Adds a Hangup element to the Response element. The Hangup element will + hangup the current call. +

+

+
Parameters:
schedule - Specifies in seconds when a hangup should occur during a call. + Defaults to 0 +
Returns:
The Response element which is being created.
+
+
+
+ +

+hangup

+
+public Response hangup()
+
+
Conveniece method for creating a new Hangup element. +

+

+ +
Returns:
The Response element which is being created.
See Also:
hangup(Long)
+
+
+
+ +

+redirect

+
+public Response redirect(String url)
+
+
Convenience method for creating a redirect element. +

+

+
Parameters:
url - The URL to which to redirect. +
Returns:
The Response element which is being created.
See Also:
redirect(String, HttpMethod)
+
+
+
+ +

+redirect

+
+public Response redirect(String url,
+                         HttpMethod method)
+
+
Adds a Redirect element to the Response element. The Redirect element + directs the call to another InboundXML document. The URL of the + InboundXML document is nested within the Redirect element, and the method + attribute sets if the request will be a GET or a POST. In addition to the + default voice request parameters, the parameter UrlBase will also be + forwarded when the redirect request is made. UrlBase points to the base + InboundXML document where the Redirect occurred. +

+

+
Parameters:
url - The URL to which to redirect.
method - Method used to request the InboundXML doucment the call is + being redirected to. Defaults to POST. +
Returns:
The Response element which is being created.
+
+
+
+ +

+reject

+
+public Response reject(RejectReason reason)
+
+
Adds a Reject element to the Response element. The Reject element will + reject an incoming call. The reason attribute determines if the caller + hears a busy signal or a not-in-service message. +

+

+
Parameters:
reason - The reason to list as why the call was rejected. Defaults to + rejected. +
Returns:
The response element which is being created.
+
+
+
+ +

+reject

+
+public Response reject()
+
+
Convenience method for adding a Reject element to the current Response + element. +

+

+ +
Returns:
The Response element which is being created.
See Also:
reject(RejectReason)
+
+
+
+ +

+pause

+
+public Response pause(Long length)
+
+
Adds a Pause element to the Response element. The Pause element will + pause the call, holding for the number of seconds set by the length + attribute. +

+

+
Parameters:
length - The length in seconds the pause should be. Allowed values are + 1 or greater. Defaults to 1. +
Returns:
The Response element which is being created.
+
+
+
+ +

+pause

+
+public Response pause()
+
+
Adds a Pause element to the Response element. Pauses for one second. +

+

+ +
Returns:
The response element which is being created.
See Also:
pause(Long)
+
+
+
+ +

+sms

+
+public Response sms(String text,
+                    String to,
+                    String from,
+                    String action,
+                    HttpMethod method,
+                    String statusCallback)
+
+
Appends an SMS Element to the current Response element. TelAPI allows SMS + messages to be sent during a call using the Sms element. The SMS receiver + (to attribute) must be a valid phone number and the sender (from + attribute) must be one of your registered TelAPI numbers. Text of the + message should be placed inside the element and can not be longer than + 160 characters. + + The action attribute can be used to direct the SMS to a new InboundXML + document for processing. If directed to a new InboundXML using the action + attribute, all InboundXML beneath the Sms element in the originating + InboundXML document is disregarded. Similarly, the statusCallback + attribute is provided to report the outcome of the SMS transmission. +

+

+
Parameters:
text - The content of the SMS.
to - The phone number that will receive the SMS message (required).
from - The number that will display as sending the SMS message + (required).
action - URL where parameters specific to Sms are sent.
method - Method used to request the action URL. Defaults to POST.
statusCallback - URL where the status of the SMS can be sent. +
Returns:
The Response element which is being created.
+
+
+
+ +

+sms

+
+public Response sms(String text,
+                    String to,
+                    String from)
+
+
Convenience method for adding an Sms element. +

+

+
Parameters:
text - The content of the SMS.
to - The phone number that will receive the SMS message (required).
from - The number that will display as sending the SMS message + (required). +
Returns:
The Response element which is being created.
See Also:
sms(String, String, String, String, HttpMethod, String)
+
+
+
+ +

+gather

+
+public Response gather(Gather gather)
+
+
Adds a Gather element to the current Response element. The Gather element + allows callers to input digits to the call using their keypads which are + then sent via POST or GET to a URL for further processing. There are many + ways to get creative with Gather but its most common use case is in + creating IVR menus. This is accomplished by nesting prompts for input + from the caller using the Say or Play elements. + + By default an unlimited number of digits can be gathered, the Gather will + timeout after 5 seconds pass without any new digits or once the '#' key + is pressed, and the gathered digits will be submitted to the current + InboundXML document. This default behavior of Gather can be altered using + its provided element attributes. +

+

+
Parameters:
gather - The Gather element to add. It must be created by calling the + Gather.create(...) method. +
Returns:
The Response element which is being created.
+
+
+
+ +

+getSpeech

+
+public Response getSpeech(GetSpeech getSpeech)
+
+
Adds a GetSpeech element to the current Response element. The GetSpeech + element is used to translate a callers voice into text. That translated + text is then submitted to an action URL for further processing and use in + your application. +

+

+
Parameters:
getSpeech - The GetSpeech element to add. It must be created by calling + the GetSpeech.create(...) method. +
Returns:
The Response element which is being created.
+
+
+
+ +

+createXml

+
+public String createXml()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/ResponseElement.html b/apidocs/com/telapi/api/inboundxml/elements/ResponseElement.html new file mode 100644 index 0000000..7f36a3c --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/ResponseElement.html @@ -0,0 +1,170 @@ + + + + + + + +ResponseElement (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Interface ResponseElement

+
+
All Known Implementing Classes:
Dial, Gather, GetSpeech, Hangup, Pause, Play, Record, Redirect, Reject, Say, Sms
+
+
+
+
public interface ResponseElement
+ + +

+


+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Say.html b/apidocs/com/telapi/api/inboundxml/elements/Say.html new file mode 100644 index 0000000..21d11be --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Say.html @@ -0,0 +1,195 @@ + + + + + + + +Say (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Say

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Say
+
+
+
All Implemented Interfaces:
GatherElement, ResponseElement
+
+
+
+
@XStreamConverter(value=com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter.class,
+                  strings="text")
+public class Say
extends Object
implements ResponseElement, GatherElement
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Sip.html b/apidocs/com/telapi/api/inboundxml/elements/Sip.html new file mode 100644 index 0000000..bcb0969 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Sip.html @@ -0,0 +1,195 @@ + + + + + + + +Sip (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Sip

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Sip
+
+
+
All Implemented Interfaces:
DialElement
+
+
+
+
@XStreamConverter(value=com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter.class,
+                  strings="sipAddress")
+public class Sip
extends Object
implements DialElement
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/Sms.html b/apidocs/com/telapi/api/inboundxml/elements/Sms.html new file mode 100644 index 0000000..423d21d --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/Sms.html @@ -0,0 +1,195 @@ + + + + + + + +Sms (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements +
+Class Sms

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.elements.Sms
+
+
+
All Implemented Interfaces:
ResponseElement
+
+
+
+
@XStreamConverter(value=com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter.class,
+                  strings="text")
+public class Sms
extends Object
implements ResponseElement
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Conference.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Conference.html new file mode 100644 index 0000000..8f0b988 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Conference.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Conference (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Conference

+
+No usage of com.telapi.api.inboundxml.elements.Conference +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Dial.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Dial.html new file mode 100644 index 0000000..fb66730 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Dial.html @@ -0,0 +1,304 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Dial (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Dial

+
+ + + + + + + + + +
+Packages that use Dial
com.telapi.api.inboundxml.elements  
+  +

+ + + + + +
+Uses of Dial in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements that return Dial
+ DialDial.conference(ConferenceParameters params) + +
+          Convenience method for creating a Conference element.
+ DialDial.conference(String conferenceName) + +
+          Convenience method for creating a Conference element.
+ DialDial.conference(String conferenceName, + Boolean muted, + Boolean beep, + Boolean startConferenceOnEnter, + Boolean endConferenceOnExit, + Long maxParticipants, + String waitUrl, + HttpMethod waitMethod, + Boolean hangupOnStar, + String callbackUrl, + HttpMethod callbackMethod, + String waitSound, + HttpMethod waitSoundMethod, + String digitsMatch, + Boolean stayAlone) + +
+          Appends a conference element to the dial element.
+static DialDial.createDial() + +
+          Convenience method for creating a Dial element.
+static DialDial.createDial(DialParameters params) + +
+          Convenience method for creating a Dial element.
+static DialDial.createDial(String number) + +
+          Convenience method for creating a Dial element.
+static DialDial.createDial(String number, + String action, + HttpMethod method, + Long timeout, + Boolean hangupOnStar, + Long timeLimit, + String callerId, + Boolean hideCallerId, + String dialMusic, + String callbackUrl, + HttpMethod callbackMethod, + Boolean confirmSound, + String digitsMatch, + Boolean straightToVm, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom) + +
+          Creates a new Dial element.
+ DialDial.number(String number, + String sendDigits, + String url, + HttpMethod callbackMethod) + +
+          Creates a Number element.
+ DialDial.sip(String sipAddress) + +
+          Convenience method for creating a new Sip element.
+ DialDial.sip(String sipAddress, + String sendDigits, + String url, + HttpMethod method) + +
+          The Sip element is nested within the Dial element, and is used to call to + sip addresses.
+  +

+ + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements with parameters of type Dial
+ ResponseResponse.dial(Dial dial) + +
+          Adds a Dial element to a Response element.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/DialElement.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/DialElement.html new file mode 100644 index 0000000..259f57d --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/DialElement.html @@ -0,0 +1,195 @@ + + + + + + + +Uses of Interface com.telapi.api.inboundxml.elements.DialElement (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.inboundxml.elements.DialElement

+
+ + + + + + + + + +
+Packages that use DialElement
com.telapi.api.inboundxml.elements  
+  +

+ + + + + +
+Uses of DialElement in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + + + + + + + + + +
Classes in com.telapi.api.inboundxml.elements that implement DialElement
+ classConference + +
+           
+ classNumber + +
+           
+ classSip + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Gather.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Gather.html new file mode 100644 index 0000000..3a1b88b --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Gather.html @@ -0,0 +1,250 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Gather (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Gather

+
+ + + + + + + + + +
+Packages that use Gather
com.telapi.api.inboundxml.elements  
+  +

+ + + + + +
+Uses of Gather in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements that return Gather
+static GatherGather.createGather(String action) + +
+          Convenience method for creating a new Gather element.
+static GatherGather.createGather(String action, + HttpMethod method, + Long timeout, + String finishOnKey, + Long numDigits) + +
+          Creates a Gather element.
+ GatherGather.pause() + +
+           
+ GatherGather.pause(Long length) + +
+           
+ GatherGather.play(Long loop, + String resource) + +
+           
+ GatherGather.say(String text) + +
+           
+ GatherGather.say(String text, + Voice voice, + Long loop) + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements with parameters of type Gather
+ ResponseResponse.gather(Gather gather) + +
+          Adds a Gather element to the current Response element.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/GatherElement.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/GatherElement.html new file mode 100644 index 0000000..863c1d0 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/GatherElement.html @@ -0,0 +1,195 @@ + + + + + + + +Uses of Interface com.telapi.api.inboundxml.elements.GatherElement (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.inboundxml.elements.GatherElement

+
+ + + + + + + + + +
+Packages that use GatherElement
com.telapi.api.inboundxml.elements  
+  +

+ + + + + +
+Uses of GatherElement in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + + + + + + + + + +
Classes in com.telapi.api.inboundxml.elements that implement GatherElement
+ classPause + +
+           
+ classPlay + +
+           
+ classSay + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/GetSpeech.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/GetSpeech.html new file mode 100644 index 0000000..5637a45 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/GetSpeech.html @@ -0,0 +1,251 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.GetSpeech (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.GetSpeech

+
+ + + + + + + + + +
+Packages that use GetSpeech
com.telapi.api.inboundxml.elements  
+  +

+ + + + + +
+Uses of GetSpeech in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements that return GetSpeech
+static GetSpeechGetSpeech.createGetSpeech(String grammar, + String action) + +
+          Convenience method for creating a new GetSpeech element.
+static GetSpeechGetSpeech.createGetSpeech(String grammar, + String action, + HttpMethod method, + Long timeout, + Boolean playBeep) + +
+          Creates a new GetSpeech element.
+ GetSpeechGetSpeech.pause() + +
+           
+ GetSpeechGetSpeech.pause(Long length) + +
+           
+ GetSpeechGetSpeech.play(Long loop, + String resource) + +
+           
+ GetSpeechGetSpeech.say(String text) + +
+           
+ GetSpeechGetSpeech.say(String text, + Voice voice, + Long loop) + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements with parameters of type GetSpeech
+ ResponseResponse.getSpeech(GetSpeech getSpeech) + +
+          Adds a GetSpeech element to the current Response element.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Hangup.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Hangup.html new file mode 100644 index 0000000..c488b49 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Hangup.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Hangup (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Hangup

+
+No usage of com.telapi.api.inboundxml.elements.Hangup +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Number.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Number.html new file mode 100644 index 0000000..274885e --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Number.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Number (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Number

+
+No usage of com.telapi.api.inboundxml.elements.Number +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Pause.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Pause.html new file mode 100644 index 0000000..bc842c4 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Pause.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Pause (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Pause

+
+No usage of com.telapi.api.inboundxml.elements.Pause +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Play.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Play.html new file mode 100644 index 0000000..3cdf39c --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Play.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Play (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Play

+
+No usage of com.telapi.api.inboundxml.elements.Play +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Record.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Record.html new file mode 100644 index 0000000..2814b41 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Record.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Record (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Record

+
+No usage of com.telapi.api.inboundxml.elements.Record +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Redirect.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Redirect.html new file mode 100644 index 0000000..9d4b966 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Redirect.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Redirect (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Redirect

+
+No usage of com.telapi.api.inboundxml.elements.Redirect +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Reject.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Reject.html new file mode 100644 index 0000000..2bd40ae --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Reject.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Reject (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Reject

+
+No usage of com.telapi.api.inboundxml.elements.Reject +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Response.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Response.html new file mode 100644 index 0000000..489515e --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Response.html @@ -0,0 +1,352 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Response (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Response

+
+ + + + + + + + + +
+Packages that use Response
com.telapi.api.inboundxml.elements  
+  +

+ + + + + +
+Uses of Response in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements that return Response
+static ResponseResponse.create() + +
+          Creates a new basic response object.
+ ResponseResponse.dial(Dial dial) + +
+          Adds a Dial element to a Response element.
+ ResponseResponse.gather(Gather gather) + +
+          Adds a Gather element to the current Response element.
+ ResponseResponse.getSpeech(GetSpeech getSpeech) + +
+          Adds a GetSpeech element to the current Response element.
+ ResponseResponse.hangup() + +
+          Conveniece method for creating a new Hangup element.
+ ResponseResponse.hangup(Long schedule) + +
+          Adds a Hangup element to the Response element.
+ ResponseResponse.pause() + +
+          Adds a Pause element to the Response element.
+ ResponseResponse.pause(Long length) + +
+          Adds a Pause element to the Response element.
+ ResponseResponse.play(Long loop, + String resource) + +
+          Adds a Play element to a Response element.
+ ResponseResponse.record(RecordParameters params) + +
+          Convenience method for appending a new Record element.
+ ResponseResponse.record(String action) + +
+          Convenience method for appending a new Record element.
+ ResponseResponse.record(String action, + HttpMethod method, + Long timeout, + String finishOnKey, + Long maxLength, + Boolean transcribe, + String transcribeCallback, + Boolean playBeep, + Boolean bothLegs, + RecordingFileFormat fileFormat) + +
+          Adds a Record element to a Response element.
+ ResponseResponse.redirect(String url) + +
+          Convenience method for creating a redirect element.
+ ResponseResponse.redirect(String url, + HttpMethod method) + +
+          Adds a Redirect element to the Response element.
+ ResponseResponse.reject() + +
+          Convenience method for adding a Reject element to the current Response + element.
+ ResponseResponse.reject(RejectReason reason) + +
+          Adds a Reject element to the Response element.
+ ResponseResponse.say(String text) + +
+          Convenience method for creating a Say element.
+ ResponseResponse.say(String text, + Voice voice, + Long loop) + +
+          Adds a Say element to a Response element.
+ ResponseResponse.sms(String text, + String to, + String from) + +
+          Convenience method for adding an Sms element.
+ ResponseResponse.sms(String text, + String to, + String from, + String action, + HttpMethod method, + String statusCallback) + +
+          Appends an SMS Element to the current Response element.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/ResponseElement.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/ResponseElement.html new file mode 100644 index 0000000..2caeead --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/ResponseElement.html @@ -0,0 +1,259 @@ + + + + + + + +Uses of Interface com.telapi.api.inboundxml.elements.ResponseElement (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.inboundxml.elements.ResponseElement

+
+ + + + + + + + + +
+Packages that use ResponseElement
com.telapi.api.inboundxml.elements  
+  +

+ + + + + +
+Uses of ResponseElement in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in com.telapi.api.inboundxml.elements that implement ResponseElement
+ classDial + +
+           
+ classGather + +
+           
+ classGetSpeech + +
+           
+ classHangup + +
+           
+ classPause + +
+           
+ classPlay + +
+           
+ classRecord + +
+           
+ classRedirect + +
+           
+ classReject + +
+           
+ classSay + +
+           
+ classSms + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Say.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Say.html new file mode 100644 index 0000000..73568ca --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Say.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Say (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Say

+
+No usage of com.telapi.api.inboundxml.elements.Say +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Sip.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Sip.html new file mode 100644 index 0000000..a197e74 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Sip.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Sip (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Sip

+
+No usage of com.telapi.api.inboundxml.elements.Sip +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/class-use/Sms.html b/apidocs/com/telapi/api/inboundxml/elements/class-use/Sms.html new file mode 100644 index 0000000..e19ec5e --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/class-use/Sms.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.Sms (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.Sms

+
+No usage of com.telapi.api.inboundxml.elements.Sms +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/enums/RecordingFileFormat.html b/apidocs/com/telapi/api/inboundxml/elements/enums/RecordingFileFormat.html new file mode 100644 index 0000000..0ad8ec1 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/enums/RecordingFileFormat.html @@ -0,0 +1,362 @@ + + + + + + + +RecordingFileFormat (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements.enums +
+Enum RecordingFileFormat

+
+java.lang.Object
+  extended by java.lang.Enum<RecordingFileFormat>
+      extended by com.telapi.api.inboundxml.elements.enums.RecordingFileFormat
+
+
+
All Implemented Interfaces:
Serializable, Comparable<RecordingFileFormat>
+
+
+
+
public enum RecordingFileFormat
extends Enum<RecordingFileFormat>
+ + +

+


+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
MP3 + +
+           
WAV + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static RecordingFileFormatforValue(String s) + +
+           
+ StringtoString() + +
+           
+static RecordingFileFormatvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static RecordingFileFormat[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+MP3

+
+public static final RecordingFileFormat MP3
+
+
+
+
+
+ +

+WAV

+
+public static final RecordingFileFormat WAV
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static RecordingFileFormat[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (RecordingFileFormat c : RecordingFileFormat.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static RecordingFileFormat valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static RecordingFileFormat forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<RecordingFileFormat>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/enums/RejectReason.html b/apidocs/com/telapi/api/inboundxml/elements/enums/RejectReason.html new file mode 100644 index 0000000..914960d --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/enums/RejectReason.html @@ -0,0 +1,362 @@ + + + + + + + +RejectReason (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements.enums +
+Enum RejectReason

+
+java.lang.Object
+  extended by java.lang.Enum<RejectReason>
+      extended by com.telapi.api.inboundxml.elements.enums.RejectReason
+
+
+
All Implemented Interfaces:
Serializable, Comparable<RejectReason>
+
+
+
+
public enum RejectReason
extends Enum<RejectReason>
+ + +

+


+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
BUSY + +
+           
REJECTED + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static RejectReasonforValue(String s) + +
+           
+ StringtoString() + +
+           
+static RejectReasonvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static RejectReason[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+BUSY

+
+public static final RejectReason BUSY
+
+
+
+
+
+ +

+REJECTED

+
+public static final RejectReason REJECTED
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static RejectReason[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (RejectReason c : RejectReason.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static RejectReason valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static RejectReason forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<RejectReason>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/enums/Voice.html b/apidocs/com/telapi/api/inboundxml/elements/enums/Voice.html new file mode 100644 index 0000000..e392ef7 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/enums/Voice.html @@ -0,0 +1,362 @@ + + + + + + + +Voice (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.elements.enums +
+Enum Voice

+
+java.lang.Object
+  extended by java.lang.Enum<Voice>
+      extended by com.telapi.api.inboundxml.elements.enums.Voice
+
+
+
All Implemented Interfaces:
Serializable, Comparable<Voice>
+
+
+
+
public enum Voice
extends Enum<Voice>
+ + +

+


+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
MAN + +
+           
WOMAN + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static VoiceforValue(String s) + +
+           
+ StringtoString() + +
+           
+static VoicevalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static Voice[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+MAN

+
+public static final Voice MAN
+
+
+
+
+
+ +

+WOMAN

+
+public static final Voice WOMAN
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static Voice[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (Voice c : Voice.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static Voice valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+forValue

+
+public static Voice forValue(String s)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<Voice>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/enums/class-use/RecordingFileFormat.html b/apidocs/com/telapi/api/inboundxml/elements/enums/class-use/RecordingFileFormat.html new file mode 100644 index 0000000..13bfa94 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/enums/class-use/RecordingFileFormat.html @@ -0,0 +1,279 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.enums.RecordingFileFormat (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.enums.RecordingFileFormat

+
+ + + + + + + + + + + + + + + + + +
+Packages that use RecordingFileFormat
com.telapi.api.inboundxml.elements  
com.telapi.api.inboundxml.elements.enums  
com.telapi.api.inboundxml.parameters  
+  +

+ + + + + +
+Uses of RecordingFileFormat in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements with parameters of type RecordingFileFormat
+ ResponseResponse.record(String action, + HttpMethod method, + Long timeout, + String finishOnKey, + Long maxLength, + Boolean transcribe, + String transcribeCallback, + Boolean playBeep, + Boolean bothLegs, + RecordingFileFormat fileFormat) + +
+          Adds a Record element to a Response element.
+  +

+ + + + + +
+Uses of RecordingFileFormat in com.telapi.api.inboundxml.elements.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements.enums that return RecordingFileFormat
+static RecordingFileFormatRecordingFileFormat.forValue(String s) + +
+           
+static RecordingFileFormatRecordingFileFormat.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static RecordingFileFormat[]RecordingFileFormat.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of RecordingFileFormat in com.telapi.api.inboundxml.parameters
+  +

+ + + + + + + + + +
Methods in com.telapi.api.inboundxml.parameters that return RecordingFileFormat
+ RecordingFileFormatRecordParameters.getFileFormat() + +
+           
+  +

+ + + + + + + + + +
Methods in com.telapi.api.inboundxml.parameters with parameters of type RecordingFileFormat
+ voidRecordParameters.setFileFormat(RecordingFileFormat fileFormat) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/enums/class-use/RejectReason.html b/apidocs/com/telapi/api/inboundxml/elements/enums/class-use/RejectReason.html new file mode 100644 index 0000000..4e69d06 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/enums/class-use/RejectReason.html @@ -0,0 +1,225 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.enums.RejectReason (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.enums.RejectReason

+
+ + + + + + + + + + + + + +
+Packages that use RejectReason
com.telapi.api.inboundxml.elements  
com.telapi.api.inboundxml.elements.enums  
+  +

+ + + + + +
+Uses of RejectReason in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements with parameters of type RejectReason
+ ResponseResponse.reject(RejectReason reason) + +
+          Adds a Reject element to the Response element.
+  +

+ + + + + +
+Uses of RejectReason in com.telapi.api.inboundxml.elements.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements.enums that return RejectReason
+static RejectReasonRejectReason.forValue(String s) + +
+           
+static RejectReasonRejectReason.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static RejectReason[]RejectReason.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/enums/class-use/Voice.html b/apidocs/com/telapi/api/inboundxml/elements/enums/class-use/Voice.html new file mode 100644 index 0000000..2d059bd --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/enums/class-use/Voice.html @@ -0,0 +1,247 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.elements.enums.Voice (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.elements.enums.Voice

+
+ + + + + + + + + + + + + +
+Packages that use Voice
com.telapi.api.inboundxml.elements  
com.telapi.api.inboundxml.elements.enums  
+  +

+ + + + + +
+Uses of Voice in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements with parameters of type Voice
+ GetSpeechGetSpeech.say(String text, + Voice voice, + Long loop) + +
+           
+ ResponseResponse.say(String text, + Voice voice, + Long loop) + +
+          Adds a Say element to a Response element.
+ GatherGather.say(String text, + Voice voice, + Long loop) + +
+           
+  +

+ + + + + +
+Uses of Voice in com.telapi.api.inboundxml.elements.enums
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements.enums that return Voice
+static VoiceVoice.forValue(String s) + +
+           
+static VoiceVoice.valueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static Voice[]Voice.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/enums/package-frame.html b/apidocs/com/telapi/api/inboundxml/elements/enums/package-frame.html new file mode 100644 index 0000000..d7a1e5e --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/enums/package-frame.html @@ -0,0 +1,37 @@ + + + + + + + +com.telapi.api.inboundxml.elements.enums (Telapi Java API) + + + + + + + + + + + +com.telapi.api.inboundxml.elements.enums + + + + +
+Enums  + +
+RecordingFileFormat +
+RejectReason +
+Voice
+ + + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/enums/package-summary.html b/apidocs/com/telapi/api/inboundxml/elements/enums/package-summary.html new file mode 100644 index 0000000..1c20c0b --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/enums/package-summary.html @@ -0,0 +1,164 @@ + + + + + + + +com.telapi.api.inboundxml.elements.enums (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.inboundxml.elements.enums +

+ + + + + + + + + + + + + + + + + +
+Enum Summary
RecordingFileFormat 
RejectReason 
Voice 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/enums/package-tree.html b/apidocs/com/telapi/api/inboundxml/elements/enums/package-tree.html new file mode 100644 index 0000000..c2b155a --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/enums/package-tree.html @@ -0,0 +1,155 @@ + + + + + + + +com.telapi.api.inboundxml.elements.enums Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.inboundxml.elements.enums +

+
+
+
Package Hierarchies:
All Packages
+
+

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/enums/package-use.html b/apidocs/com/telapi/api/inboundxml/elements/enums/package-use.html new file mode 100644 index 0000000..75d8038 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/enums/package-use.html @@ -0,0 +1,231 @@ + + + + + + + +Uses of Package com.telapi.api.inboundxml.elements.enums (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.inboundxml.elements.enums

+
+ + + + + + + + + + + + + + + + + +
+Packages that use com.telapi.api.inboundxml.elements.enums
com.telapi.api.inboundxml.elements  
com.telapi.api.inboundxml.elements.enums  
com.telapi.api.inboundxml.parameters  
+  +

+ + + + + + + + + + + + + + +
+Classes in com.telapi.api.inboundxml.elements.enums used by com.telapi.api.inboundxml.elements
RecordingFileFormat + +
+           
RejectReason + +
+           
Voice + +
+           
+  +

+ + + + + + + + + + + + + + +
+Classes in com.telapi.api.inboundxml.elements.enums used by com.telapi.api.inboundxml.elements.enums
RecordingFileFormat + +
+           
RejectReason + +
+           
Voice + +
+           
+  +

+ + + + + + + + +
+Classes in com.telapi.api.inboundxml.elements.enums used by com.telapi.api.inboundxml.parameters
RecordingFileFormat + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/package-frame.html b/apidocs/com/telapi/api/inboundxml/elements/package-frame.html new file mode 100644 index 0000000..f94e337 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/package-frame.html @@ -0,0 +1,76 @@ + + + + + + + +com.telapi.api.inboundxml.elements (Telapi Java API) + + + + + + + + + + + +com.telapi.api.inboundxml.elements + + + + +
+Interfaces  + +
+DialElement +
+GatherElement +
+ResponseElement
+ + + + + + +
+Classes  + +
+Conference +
+Dial +
+Gather +
+GetSpeech +
+Hangup +
+Number +
+Pause +
+Play +
+Record +
+Redirect +
+Reject +
+Response +
+Say +
+Sip +
+Sms
+ + + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/package-summary.html b/apidocs/com/telapi/api/inboundxml/elements/package-summary.html new file mode 100644 index 0000000..fc6739e --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/package-summary.html @@ -0,0 +1,234 @@ + + + + + + + +com.telapi.api.inboundxml.elements (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.inboundxml.elements +

+ + + + + + + + + + + + + + + + + +
+Interface Summary
DialElement 
GatherElement 
ResponseElement 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
Conference 
Dial 
Gather 
GetSpeech 
Hangup 
Number 
Pause 
Play 
Record 
Redirect 
Reject 
Response 
Say 
Sip 
Sms 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/package-tree.html b/apidocs/com/telapi/api/inboundxml/elements/package-tree.html new file mode 100644 index 0000000..a20684f --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/package-tree.html @@ -0,0 +1,171 @@ + + + + + + + +com.telapi.api.inboundxml.elements Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.inboundxml.elements +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/elements/package-use.html b/apidocs/com/telapi/api/inboundxml/elements/package-use.html new file mode 100644 index 0000000..f643314 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/elements/package-use.html @@ -0,0 +1,205 @@ + + + + + + + +Uses of Package com.telapi.api.inboundxml.elements (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.inboundxml.elements

+
+ + + + + + + + + +
+Packages that use com.telapi.api.inboundxml.elements
com.telapi.api.inboundxml.elements  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.telapi.api.inboundxml.elements used by com.telapi.api.inboundxml.elements
Dial + +
+           
DialElement + +
+           
Gather + +
+           
GatherElement + +
+           
GetSpeech + +
+           
Response + +
+           
ResponseElement + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/ConferenceExample.html b/apidocs/com/telapi/api/inboundxml/example/ConferenceExample.html new file mode 100644 index 0000000..fa21c6b --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/ConferenceExample.html @@ -0,0 +1,251 @@ + + + + + + + +ConferenceExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class ConferenceExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.ConferenceExample
+
+
+
+
public class ConferenceExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ConferenceExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConferenceExample

+
+public ConferenceExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/DialExample.html b/apidocs/com/telapi/api/inboundxml/example/DialExample.html new file mode 100644 index 0000000..0674515 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/DialExample.html @@ -0,0 +1,251 @@ + + + + + + + +DialExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class DialExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.DialExample
+
+
+
+
public class DialExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DialExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DialExample

+
+public DialExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/GatherExample.html b/apidocs/com/telapi/api/inboundxml/example/GatherExample.html new file mode 100644 index 0000000..b3cc151 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/GatherExample.html @@ -0,0 +1,251 @@ + + + + + + + +GatherExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class GatherExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.GatherExample
+
+
+
+
public class GatherExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
GatherExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GatherExample

+
+public GatherExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/GetSpeechExample.html b/apidocs/com/telapi/api/inboundxml/example/GetSpeechExample.html new file mode 100644 index 0000000..8093a1c --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/GetSpeechExample.html @@ -0,0 +1,251 @@ + + + + + + + +GetSpeechExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class GetSpeechExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.GetSpeechExample
+
+
+
+
public class GetSpeechExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
GetSpeechExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GetSpeechExample

+
+public GetSpeechExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/HangupExample.html b/apidocs/com/telapi/api/inboundxml/example/HangupExample.html new file mode 100644 index 0000000..a942649 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/HangupExample.html @@ -0,0 +1,251 @@ + + + + + + + +HangupExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class HangupExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.HangupExample
+
+
+
+
public class HangupExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
HangupExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HangupExample

+
+public HangupExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/NumberExample.html b/apidocs/com/telapi/api/inboundxml/example/NumberExample.html new file mode 100644 index 0000000..8e98038 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/NumberExample.html @@ -0,0 +1,251 @@ + + + + + + + +NumberExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class NumberExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.NumberExample
+
+
+
+
public class NumberExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
NumberExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NumberExample

+
+public NumberExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/PauseExample.html b/apidocs/com/telapi/api/inboundxml/example/PauseExample.html new file mode 100644 index 0000000..b1a0050 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/PauseExample.html @@ -0,0 +1,251 @@ + + + + + + + +PauseExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class PauseExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.PauseExample
+
+
+
+
public class PauseExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PauseExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PauseExample

+
+public PauseExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/PlayExample.html b/apidocs/com/telapi/api/inboundxml/example/PlayExample.html new file mode 100644 index 0000000..9aa0c9c --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/PlayExample.html @@ -0,0 +1,251 @@ + + + + + + + +PlayExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class PlayExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.PlayExample
+
+
+
+
public class PlayExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PlayExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PlayExample

+
+public PlayExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/RecordExample.html b/apidocs/com/telapi/api/inboundxml/example/RecordExample.html new file mode 100644 index 0000000..2ec5e2e --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/RecordExample.html @@ -0,0 +1,251 @@ + + + + + + + +RecordExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class RecordExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.RecordExample
+
+
+
+
public class RecordExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RecordExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RecordExample

+
+public RecordExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/RedirectExample.html b/apidocs/com/telapi/api/inboundxml/example/RedirectExample.html new file mode 100644 index 0000000..f4126a1 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/RedirectExample.html @@ -0,0 +1,251 @@ + + + + + + + +RedirectExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class RedirectExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.RedirectExample
+
+
+
+
public class RedirectExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RedirectExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RedirectExample

+
+public RedirectExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/RejectExample.html b/apidocs/com/telapi/api/inboundxml/example/RejectExample.html new file mode 100644 index 0000000..70443de --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/RejectExample.html @@ -0,0 +1,251 @@ + + + + + + + +RejectExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class RejectExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.RejectExample
+
+
+
+
public class RejectExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RejectExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RejectExample

+
+public RejectExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/SayExample.html b/apidocs/com/telapi/api/inboundxml/example/SayExample.html new file mode 100644 index 0000000..824b044 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/SayExample.html @@ -0,0 +1,251 @@ + + + + + + + +SayExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class SayExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.SayExample
+
+
+
+
public class SayExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SayExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SayExample

+
+public SayExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/SipExample.html b/apidocs/com/telapi/api/inboundxml/example/SipExample.html new file mode 100644 index 0000000..258a12e --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/SipExample.html @@ -0,0 +1,251 @@ + + + + + + + +SipExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class SipExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.SipExample
+
+
+
+
public class SipExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SipExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SipExample

+
+public SipExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/SmsExample.html b/apidocs/com/telapi/api/inboundxml/example/SmsExample.html new file mode 100644 index 0000000..ae95121 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/SmsExample.html @@ -0,0 +1,251 @@ + + + + + + + +SmsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class SmsExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.SmsExample
+
+
+
+
public class SmsExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SmsExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SmsExample

+
+public SmsExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/SmsRedirectExample.html b/apidocs/com/telapi/api/inboundxml/example/SmsRedirectExample.html new file mode 100644 index 0000000..4909451 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/SmsRedirectExample.html @@ -0,0 +1,251 @@ + + + + + + + +SmsRedirectExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.example +
+Class SmsRedirectExample

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.example.SmsRedirectExample
+
+
+
+
public class SmsRedirectExample
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SmsRedirectExample() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SmsRedirectExample

+
+public SmsRedirectExample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/ConferenceExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/ConferenceExample.html new file mode 100644 index 0000000..9aa279a --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/ConferenceExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.ConferenceExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.ConferenceExample

+
+No usage of com.telapi.api.inboundxml.example.ConferenceExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/DialExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/DialExample.html new file mode 100644 index 0000000..e836113 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/DialExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.DialExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.DialExample

+
+No usage of com.telapi.api.inboundxml.example.DialExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/GatherExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/GatherExample.html new file mode 100644 index 0000000..d0bfbf4 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/GatherExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.GatherExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.GatherExample

+
+No usage of com.telapi.api.inboundxml.example.GatherExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/GetSpeechExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/GetSpeechExample.html new file mode 100644 index 0000000..46bf299 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/GetSpeechExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.GetSpeechExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.GetSpeechExample

+
+No usage of com.telapi.api.inboundxml.example.GetSpeechExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/HangupExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/HangupExample.html new file mode 100644 index 0000000..f3ae450 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/HangupExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.HangupExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.HangupExample

+
+No usage of com.telapi.api.inboundxml.example.HangupExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/NumberExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/NumberExample.html new file mode 100644 index 0000000..1ec8a0b --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/NumberExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.NumberExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.NumberExample

+
+No usage of com.telapi.api.inboundxml.example.NumberExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/PauseExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/PauseExample.html new file mode 100644 index 0000000..b1d8b4a --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/PauseExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.PauseExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.PauseExample

+
+No usage of com.telapi.api.inboundxml.example.PauseExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/PlayExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/PlayExample.html new file mode 100644 index 0000000..7b67e57 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/PlayExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.PlayExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.PlayExample

+
+No usage of com.telapi.api.inboundxml.example.PlayExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/RecordExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/RecordExample.html new file mode 100644 index 0000000..1ab8354 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/RecordExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.RecordExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.RecordExample

+
+No usage of com.telapi.api.inboundxml.example.RecordExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/RedirectExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/RedirectExample.html new file mode 100644 index 0000000..f4629f5 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/RedirectExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.RedirectExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.RedirectExample

+
+No usage of com.telapi.api.inboundxml.example.RedirectExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/RejectExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/RejectExample.html new file mode 100644 index 0000000..15a08c7 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/RejectExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.RejectExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.RejectExample

+
+No usage of com.telapi.api.inboundxml.example.RejectExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/SayExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/SayExample.html new file mode 100644 index 0000000..b45924f --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/SayExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.SayExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.SayExample

+
+No usage of com.telapi.api.inboundxml.example.SayExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/SipExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/SipExample.html new file mode 100644 index 0000000..671d48e --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/SipExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.SipExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.SipExample

+
+No usage of com.telapi.api.inboundxml.example.SipExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/SmsExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/SmsExample.html new file mode 100644 index 0000000..1031dbf --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/SmsExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.SmsExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.SmsExample

+
+No usage of com.telapi.api.inboundxml.example.SmsExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/class-use/SmsRedirectExample.html b/apidocs/com/telapi/api/inboundxml/example/class-use/SmsRedirectExample.html new file mode 100644 index 0000000..cf55bed --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/class-use/SmsRedirectExample.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.example.SmsRedirectExample (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.example.SmsRedirectExample

+
+No usage of com.telapi.api.inboundxml.example.SmsRedirectExample +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/package-frame.html b/apidocs/com/telapi/api/inboundxml/example/package-frame.html new file mode 100644 index 0000000..1c6826e --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/package-frame.html @@ -0,0 +1,61 @@ + + + + + + + +com.telapi.api.inboundxml.example (Telapi Java API) + + + + + + + + + + + +com.telapi.api.inboundxml.example + + + + +
+Classes  + +
+ConferenceExample +
+DialExample +
+GatherExample +
+GetSpeechExample +
+HangupExample +
+NumberExample +
+PauseExample +
+PlayExample +
+RecordExample +
+RedirectExample +
+RejectExample +
+SayExample +
+SipExample +
+SmsExample +
+SmsRedirectExample
+ + + + diff --git a/apidocs/com/telapi/api/inboundxml/example/package-summary.html b/apidocs/com/telapi/api/inboundxml/example/package-summary.html new file mode 100644 index 0000000..ddf3b35 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/package-summary.html @@ -0,0 +1,212 @@ + + + + + + + +com.telapi.api.inboundxml.example (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.inboundxml.example +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ConferenceExample 
DialExample 
GatherExample 
GetSpeechExample 
HangupExample 
NumberExample 
PauseExample 
PlayExample 
RecordExample 
RedirectExample 
RejectExample 
SayExample 
SipExample 
SmsExample 
SmsRedirectExample 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/package-tree.html b/apidocs/com/telapi/api/inboundxml/example/package-tree.html new file mode 100644 index 0000000..21dc022 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/package-tree.html @@ -0,0 +1,152 @@ + + + + + + + +com.telapi.api.inboundxml.example Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.inboundxml.example +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/example/package-use.html b/apidocs/com/telapi/api/inboundxml/example/package-use.html new file mode 100644 index 0000000..d7daf56 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/example/package-use.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Package com.telapi.api.inboundxml.example (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.inboundxml.example

+
+No usage of com.telapi.api.inboundxml.example +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/parameters/ConferenceParameters.html b/apidocs/com/telapi/api/inboundxml/parameters/ConferenceParameters.html new file mode 100644 index 0000000..012926e --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/parameters/ConferenceParameters.html @@ -0,0 +1,814 @@ + + + + + + + +ConferenceParameters (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.parameters +
+Class ConferenceParameters

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.parameters.ConferenceParameters
+
+
+
+
public class ConferenceParameters
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ConferenceParameters() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ BooleangetBeep() + +
+           
+ HttpMethodgetCallbackMethod() + +
+           
+ StringgetCallbackUrl() + +
+           
+ StringgetConferenceName() + +
+           
+ StringgetDigitsMatch() + +
+           
+ BooleangetEndConferenceOnExit() + +
+           
+ BooleangetHangupOnStar() + +
+           
+ LonggetMaxParticipants() + +
+           
+ BooleangetMuted() + +
+           
+ BooleangetStartConferenceOnEnter() + +
+           
+ BooleangetStayAlone() + +
+           
+ HttpMethodgetWaitMethod() + +
+           
+ StringgetWaitSound() + +
+           
+ HttpMethodgetWaitSoundMethod() + +
+           
+ StringgetWaitUrl() + +
+           
+ voidsetBeep(Boolean beep) + +
+           
+ voidsetCallbackMethod(HttpMethod callbackMethod) + +
+           
+ voidsetCallbackUrl(String callbackUrl) + +
+           
+ voidsetConferenceName(String conferenceName) + +
+           
+ voidsetDigitsMatch(String digitsMatch) + +
+           
+ voidsetEndConferenceOnExit(Boolean endConferenceOnExit) + +
+           
+ voidsetHangupOnStar(Boolean hangupOnStar) + +
+           
+ voidsetMaxParticipants(Long maxParticipants) + +
+           
+ voidsetMuted(Boolean muted) + +
+           
+ voidsetStartConferenceOnEnter(Boolean startConferenceOnEnter) + +
+           
+ voidsetStayAlone(Boolean stayAlone) + +
+           
+ voidsetWaitMethod(HttpMethod waitMethod) + +
+           
+ voidsetWaitSound(String waitSound) + +
+           
+ voidsetWaitSoundMethod(HttpMethod waitSoundMethod) + +
+           
+ voidsetWaitUrl(String waitUrl) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConferenceParameters

+
+public ConferenceParameters()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getConferenceName

+
+public String getConferenceName()
+
+
+
+
+
+
+ +

+setConferenceName

+
+public void setConferenceName(String conferenceName)
+
+
+
Parameters:
conferenceName - The conference name (required).
+
+
+
+ +

+getMuted

+
+public Boolean getMuted()
+
+
+
+
+
+
+ +

+setMuted

+
+public void setMuted(Boolean muted)
+
+
+
Parameters:
muted - Boolean value specifying if the conference should be muted. + Defaults to false.
+
+
+
+ +

+getBeep

+
+public Boolean getBeep()
+
+
+
+
+
+
+ +

+setBeep

+
+public void setBeep(Boolean beep)
+
+
+
Parameters:
beep - Boolean value specifying if a beep should play upon entrance + to conference. Defaults to false.
+
+
+
+ +

+getStartConferenceOnEnter

+
+public Boolean getStartConferenceOnEnter()
+
+
+
+
+
+
+ +

+setStartConferenceOnEnter

+
+public void setStartConferenceOnEnter(Boolean startConferenceOnEnter)
+
+
+
Parameters:
startConferenceOnEnter - Boolean value specifying if conference should begin upon + entrance. Defaults to true.
+
+
+
+ +

+getEndConferenceOnExit

+
+public Boolean getEndConferenceOnExit()
+
+
+
+
+
+
+ +

+setEndConferenceOnExit

+
+public void setEndConferenceOnExit(Boolean endConferenceOnExit)
+
+
+
Parameters:
endConferenceOnExit - Boolean value specifying if conference should begin upon exit. + Defaults to true.
+
+
+
+ +

+getMaxParticipants

+
+public Long getMaxParticipants()
+
+
+
+
+
+
+ +

+setMaxParticipants

+
+public void setMaxParticipants(Long maxParticipants)
+
+
+
Parameters:
maxParticipants - The maximum number of participants allowed in the conference + call. Defaults to 40.
+
+
+
+ +

+getWaitUrl

+
+public String getWaitUrl()
+
+
+
+
+
+
+ +

+setWaitUrl

+
+public void setWaitUrl(String waitUrl)
+
+
+
Parameters:
waitUrl - URL conference participants can be sent to while they wait for + entrance into the conference.
+
+
+
+ +

+getWaitMethod

+
+public HttpMethod getWaitMethod()
+
+
+
+
+
+
+ +

+setWaitMethod

+
+public void setWaitMethod(HttpMethod waitMethod)
+
+
+
Parameters:
waitMethod - Method used to request waitUrl. Defaults to POST.
+
+
+
+ +

+getHangupOnStar

+
+public Boolean getHangupOnStar()
+
+
+
+
+
+
+ +

+setHangupOnStar

+
+public void setHangupOnStar(Boolean hangupOnStar)
+
+
+
Parameters:
hangupOnStar - Boolean value specifying if pressing * should end the + conference. Defaults to false.
+
+
+
+ +

+getCallbackUrl

+
+public String getCallbackUrl()
+
+
+
+
+
+
+ +

+setCallbackUrl

+
+public void setCallbackUrl(String callbackUrl)
+
+
+
Parameters:
callbackUrl - URL where some parameters specific to Conference will be sent + once it is completed.
+
+
+
+ +

+getCallbackMethod

+
+public HttpMethod getCallbackMethod()
+
+
+
+
+
+
+ +

+setCallbackMethod

+
+public void setCallbackMethod(HttpMethod callbackMethod)
+
+
+
Parameters:
callbackMethod - Method used to request the callback URL. Defaults to POST.
+
+
+
+ +

+getWaitSound

+
+public String getWaitSound()
+
+
+
+
+
+
+ +

+setWaitSound

+
+public void setWaitSound(String waitSound)
+
+
+
Parameters:
waitSound - URL to sound that can be played while waiting to enter the + conference.
+
+
+
+ +

+getWaitSoundMethod

+
+public HttpMethod getWaitSoundMethod()
+
+
+
+
+
+
+ +

+setWaitSoundMethod

+
+public void setWaitSoundMethod(HttpMethod waitSoundMethod)
+
+
+
Parameters:
waitSoundMethod - Method used to request the waitsound URL. Defaults to POST.
+
+
+
+ +

+getDigitsMatch

+
+public String getDigitsMatch()
+
+
+
+
+
+
+ +

+setDigitsMatch

+
+public void setDigitsMatch(String digitsMatch)
+
+
+
Parameters:
digitsMatch - Specifies digits that TelAPI should listen for and send to the + callbackUrl if a caller inputs them. Seperate additional + digits or digit patterns with a comma. Can be a digit, # or *.
+
+
+
+ +

+getStayAlone

+
+public Boolean getStayAlone()
+
+
+
+
+
+
+ +

+setStayAlone

+
+public void setStayAlone(Boolean stayAlone)
+
+
+
Parameters:
stayAlone - Boolean value specifying if the caller should stay alone in + the conference call. Defaults to true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/parameters/DialParameters.html b/apidocs/com/telapi/api/inboundxml/parameters/DialParameters.html new file mode 100644 index 0000000..9ea044f --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/parameters/DialParameters.html @@ -0,0 +1,880 @@ + + + + + + + +DialParameters (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.parameters +
+Class DialParameters

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.parameters.DialParameters
+
+
+
+
public class DialParameters
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DialParameters() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAction() + +
+           
+ HttpMethodgetCallbackMethod() + +
+           
+ StringgetCallbackUrl() + +
+           
+ StringgetCallerId() + +
+           
+ BooleangetConfirmSound() + +
+           
+ StringgetDialMusic() + +
+           
+ StringgetDigitsMatch() + +
+           
+ StringgetForwardedFrom() + +
+           
+ BooleangetHangupOnStar() + +
+           
+ HttpMethodgetHeartbeatMethod() + +
+           
+ StringgetHeartbeatUrl() + +
+           
+ BooleangetHideCallerId() + +
+           
+ HttpMethodgetMethod() + +
+           
+ StringgetNumber() + +
+           
+ BooleangetStraightToVm() + +
+           
+ LonggetTimeLimit() + +
+           
+ LonggetTimeout() + +
+           
+ voidsetAction(String action) + +
+           
+ voidsetCallbackMethod(HttpMethod callbackMethod) + +
+           
+ voidsetCallbackUrl(String callbackUrl) + +
+           
+ voidsetCallerId(String callerId) + +
+           
+ voidsetConfirmSound(Boolean confirmSound) + +
+           
+ voidsetDialMusic(String dialMusic) + +
+           
+ voidsetDigitsMatch(String digitsMatch) + +
+           
+ voidsetForwardedFrom(String forwardedFrom) + +
+           
+ voidsetHangupOnStar(Boolean hangupOnStar) + +
+           
+ voidsetHeartbeatMethod(HttpMethod heartbeatMethod) + +
+           
+ voidsetHeartbeatUrl(String heartbeatUrl) + +
+           
+ voidsetHideCallerId(Boolean hideCallerId) + +
+           
+ voidsetMethod(HttpMethod method) + +
+           
+ voidsetNumber(String number) + +
+          The number which is to be dialed.
+ voidsetStraightToVm(Boolean straightToVm) + +
+           
+ voidsetTimeLimit(Long timeLimit) + +
+           
+ voidsetTimeout(Long timeout) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DialParameters

+
+public DialParameters()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getNumber

+
+public String getNumber()
+
+
+
+
+
+
+ +

+setNumber

+
+public void setNumber(String number)
+
+
The number which is to be dialed. If used, you cannot append elements to the Dial element. +

+

+
Parameters:
number - The number which is to be dialed.
+
+
+
+ +

+getAction

+
+public String getAction()
+
+
+
+
+
+
+ +

+setAction

+
+public void setAction(String action)
+
+
+
Parameters:
action - URL where some parameters specific to Dial will be sent for further processing. The calling party can be redirected here upon the hang up of the B leg caller.
+
+
+
+ +

+getMethod

+
+public HttpMethod getMethod()
+
+
+
+
+
+
+ +

+setMethod

+
+public void setMethod(HttpMethod method)
+
+
+
Parameters:
method - Method used to request the action URL. Defaults to POST.
+
+
+
+ +

+getTimeout

+
+public Long getTimeout()
+
+
+
+
+
+
+ +

+setTimeout

+
+public void setTimeout(Long timeout)
+
+
+
Parameters:
timeout - The number of seconds calls made with are allowed silence before ending. Defaults to 30.
+
+
+
+ +

+getHangupOnStar

+
+public Boolean getHangupOnStar()
+
+
+
+
+
+
+ +

+setHangupOnStar

+
+public void setHangupOnStar(Boolean hangupOnStar)
+
+
+
Parameters:
hangupOnStar - Boolean value specifying if pressing * should end the dial. Defaults to false.
+
+
+
+ +

+getTimeLimit

+
+public Long getTimeLimit()
+
+
+
+
+
+
+ +

+setTimeLimit

+
+public void setTimeLimit(Long timeLimit)
+
+
+
Parameters:
timeLimit - The duration in seconds a call made through should occur for before ending. Defaults to 14400.
+
+
+
+ +

+getCallerId

+
+public String getCallerId()
+
+
+
+
+
+
+ +

+setCallerId

+
+public void setCallerId(String callerId)
+
+
+
Parameters:
callerId - Number to display as calling. Defaults to the ID of phone being used. Defaults to the caller's caller ID.
+
+
+
+ +

+getHideCallerId

+
+public Boolean getHideCallerId()
+
+
+
+
+
+
+ +

+setHideCallerId

+
+public void setHideCallerId(Boolean hideCallerId)
+
+
+
Parameters:
hideCallerId - hideCallerId Boolean value specifying if the caller ID should be hidden or not. Defaults to false.
+
+
+
+ +

+getDialMusic

+
+public String getDialMusic()
+
+
+
+
+
+
+ +

+setDialMusic

+
+public void setDialMusic(String dialMusic)
+
+
+
Parameters:
dialMusic - URL containing an audio file that can be played during the dial.
+
+
+
+ +

+getCallbackUrl

+
+public String getCallbackUrl()
+
+
+
+
+
+
+ +

+setCallbackUrl

+
+public void setCallbackUrl(String callbackUrl)
+
+
+
Parameters:
callbackUrl - URL requested once the dialed call connects.
+
+
+
+ +

+getCallbackMethod

+
+public HttpMethod getCallbackMethod()
+
+
+
+
+
+
+ +

+setCallbackMethod

+
+public void setCallbackMethod(HttpMethod callbackMethod)
+
+
+
Parameters:
callbackMethod - Method used to request the callback URL. Defaults to POST.
+
+
+
+ +

+getConfirmSound

+
+public Boolean getConfirmSound()
+
+
+
+
+
+
+ +

+setConfirmSound

+
+public void setConfirmSound(Boolean confirmSound)
+
+
+
Parameters:
confirmSound - Boolean value specifying if a sound should play when dial is successful. Defaults to false.
+
+
+
+ +

+getDigitsMatch

+
+public String getDigitsMatch()
+
+
+
+
+
+
+ +

+setDigitsMatch

+
+public void setDigitsMatch(String digitsMatch)
+
+
+
Parameters:
digitsMatch - Specifies digits that TelAPI should listen for and send to the callbackUrl if a caller inputs them. Separate additional digits or digit patterns with a comma. Allowed values are digits, # and *.
+
+
+
+ +

+getStraightToVm

+
+public Boolean getStraightToVm()
+
+
+
+
+
+
+ +

+setStraightToVm

+
+public void setStraightToVm(Boolean straightToVm)
+
+
+
Parameters:
straightToVm - Boolean value specifying if call should be redirected to voice mail immediately. Defaults to false.
+
+
+
+ +

+getHeartbeatUrl

+
+public String getHeartbeatUrl()
+
+
+
+
+
+
+ +

+setHeartbeatUrl

+
+public void setHeartbeatUrl(String heartbeatUrl)
+
+
+
Parameters:
heartbeatUrl - A URL TelAPI can request every 60 seconds during the call to notify of elapsed time and pass other general information.
+
+
+
+ +

+getHeartbeatMethod

+
+public HttpMethod getHeartbeatMethod()
+
+
+
+
+
+
+ +

+setHeartbeatMethod

+
+public void setHeartbeatMethod(HttpMethod heartbeatMethod)
+
+
+
Parameters:
heartbeatMethod - Method used to request the heartbeat URL. Defaults to POST.
+
+
+
+ +

+getForwardedFrom

+
+public String getForwardedFrom()
+
+
+
+
+
+
+ +

+setForwardedFrom

+
+public void setForwardedFrom(String forwardedFrom)
+
+
+
Parameters:
forwardedFrom - Specifies the number to list the call as forwarded from.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/parameters/RecordParameters.html b/apidocs/com/telapi/api/inboundxml/parameters/RecordParameters.html new file mode 100644 index 0000000..4d3ad26 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/parameters/RecordParameters.html @@ -0,0 +1,614 @@ + + + + + + + +RecordParameters (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml.parameters +
+Class RecordParameters

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.parameters.RecordParameters
+
+
+
+
public class RecordParameters
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RecordParameters(String action) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAction() + +
+           
+ BooleangetBothLegs() + +
+           
+ RecordingFileFormatgetFileFormat() + +
+           
+ StringgetFinishOnKey() + +
+           
+ LonggetMaxLength() + +
+           
+ HttpMethodgetMethod() + +
+           
+ BooleangetPlayBeep() + +
+           
+ LonggetTimeout() + +
+           
+ BooleangetTranscribe() + +
+           
+ StringgetTranscribeCallback() + +
+           
+ voidsetAction(String action) + +
+           
+ voidsetBothLegs(Boolean bothLegs) + +
+           
+ voidsetFileFormat(RecordingFileFormat fileFormat) + +
+           
+ voidsetFinishOnKey(String finishOnKey) + +
+           
+ voidsetMaxLength(Long maxLength) + +
+           
+ voidsetMethod(HttpMethod method) + +
+           
+ voidsetPlayBeep(Boolean playBeep) + +
+           
+ voidsetTimeout(Long timeout) + +
+           
+ voidsetTranscribe(Boolean transcribe) + +
+           
+ voidsetTranscribeCallback(String transcribeCallback) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RecordParameters

+
+public RecordParameters(String action)
+
+
+
Parameters:
action - URL where some parameters specific to Record will be sent for further processing (required).
+
+ + + + + + + + +
+Method Detail
+ +

+getAction

+
+public String getAction()
+
+
+
+
+
+
+ +

+setAction

+
+public void setAction(String action)
+
+
+
Parameters:
action - URL where some parameters specific to Record will be sent for further processing (required).
+
+
+
+ +

+getMethod

+
+public HttpMethod getMethod()
+
+
+
+
+
+
+ +

+setMethod

+
+public void setMethod(HttpMethod method)
+
+
+
Parameters:
method - Specifies the method to use when requesting the action or transcribeCallback URL.
+
+
+
+ +

+getTimeout

+
+public Long getTimeout()
+
+
+
+
+
+
+ +

+setTimeout

+
+public void setTimeout(Long timeout)
+
+
+
Parameters:
timeout - The number of seconds Record should wait during silence before ending. Greater than or equal to 0. Defaults to 5.
+
+
+
+ +

+getFinishOnKey

+
+public String getFinishOnKey()
+
+
+
+
+
+
+ +

+setFinishOnKey

+
+public void setFinishOnKey(String finishOnKey)
+
+
+
Parameters:
finishOnKey - The key a caller can press to end the Record. Allowed values are 0-9, # or *. Defaults to #.
+
+
+
+ +

+getMaxLength

+
+public Long getMaxLength()
+
+
+
+
+
+
+ +

+setMaxLength

+
+public void setMaxLength(Long maxLength)
+
+
+
Parameters:
maxLength - The maximum length in seconds a recording should be. Defaults to 3600.
+
+
+
+ +

+getTranscribe

+
+public Boolean getTranscribe()
+
+
+
+
+
+
+ +

+setTranscribe

+
+public void setTranscribe(Boolean transcribe)
+
+
+
Parameters:
transcribe - Boolean value specifying if the recording should be transcribed. Defaults to false.
+
+
+
+ +

+getTranscribeCallback

+
+public String getTranscribeCallback()
+
+
+
+
+
+
+ +

+setTranscribeCallback

+
+public void setTranscribeCallback(String transcribeCallback)
+
+
+
Parameters:
transcribeCallback - URL where the recording transcription will be sent. Defaults to the current InboundXML document.
+
+
+
+ +

+getPlayBeep

+
+public Boolean getPlayBeep()
+
+
+
+
+
+
+ +

+setPlayBeep

+
+public void setPlayBeep(Boolean playBeep)
+
+
+
Parameters:
playBeep - Boolean value specifying if a beep should be played when the recording begins. Defaults to false.
+
+
+
+ +

+getBothLegs

+
+public Boolean getBothLegs()
+
+
+
+
+
+
+ +

+setBothLegs

+
+public void setBothLegs(Boolean bothLegs)
+
+
+
Parameters:
bothLegs - Boolean value specifying if both call legs should be recorded. Defaults to false.
+
+
+
+ +

+getFileFormat

+
+public RecordingFileFormat getFileFormat()
+
+
+
+
+
+
+ +

+setFileFormat

+
+public void setFileFormat(RecordingFileFormat fileFormat)
+
+
+
Parameters:
fileFormat - The recording file format. Can be mp3 or wav. Default is mp3.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/parameters/class-use/ConferenceParameters.html b/apidocs/com/telapi/api/inboundxml/parameters/class-use/ConferenceParameters.html new file mode 100644 index 0000000..a3ed833 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/parameters/class-use/ConferenceParameters.html @@ -0,0 +1,179 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.parameters.ConferenceParameters (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.parameters.ConferenceParameters

+
+ + + + + + + + + +
+Packages that use ConferenceParameters
com.telapi.api.inboundxml.elements  
+  +

+ + + + + +
+Uses of ConferenceParameters in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements with parameters of type ConferenceParameters
+ DialDial.conference(ConferenceParameters params) + +
+          Convenience method for creating a Conference element.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/parameters/class-use/DialParameters.html b/apidocs/com/telapi/api/inboundxml/parameters/class-use/DialParameters.html new file mode 100644 index 0000000..b4eb91e --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/parameters/class-use/DialParameters.html @@ -0,0 +1,179 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.parameters.DialParameters (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.parameters.DialParameters

+
+ + + + + + + + + +
+Packages that use DialParameters
com.telapi.api.inboundxml.elements  
+  +

+ + + + + +
+Uses of DialParameters in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements with parameters of type DialParameters
+static DialDial.createDial(DialParameters params) + +
+          Convenience method for creating a Dial element.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/parameters/class-use/RecordParameters.html b/apidocs/com/telapi/api/inboundxml/parameters/class-use/RecordParameters.html new file mode 100644 index 0000000..d9a4ba4 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/parameters/class-use/RecordParameters.html @@ -0,0 +1,179 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.parameters.RecordParameters (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.parameters.RecordParameters

+
+ + + + + + + + + +
+Packages that use RecordParameters
com.telapi.api.inboundxml.elements  
+  +

+ + + + + +
+Uses of RecordParameters in com.telapi.api.inboundxml.elements
+  +

+ + + + + + + + + +
Methods in com.telapi.api.inboundxml.elements with parameters of type RecordParameters
+ ResponseResponse.record(RecordParameters params) + +
+          Convenience method for appending a new Record element.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/parameters/package-frame.html b/apidocs/com/telapi/api/inboundxml/parameters/package-frame.html new file mode 100644 index 0000000..a2b360d --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/parameters/package-frame.html @@ -0,0 +1,37 @@ + + + + + + + +com.telapi.api.inboundxml.parameters (Telapi Java API) + + + + + + + + + + + +com.telapi.api.inboundxml.parameters + + + + +
+Classes  + +
+ConferenceParameters +
+DialParameters +
+RecordParameters
+ + + + diff --git a/apidocs/com/telapi/api/inboundxml/parameters/package-summary.html b/apidocs/com/telapi/api/inboundxml/parameters/package-summary.html new file mode 100644 index 0000000..8df0f0f --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/parameters/package-summary.html @@ -0,0 +1,164 @@ + + + + + + + +com.telapi.api.inboundxml.parameters (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.inboundxml.parameters +

+ + + + + + + + + + + + + + + + + +
+Class Summary
ConferenceParameters 
DialParameters 
RecordParameters 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/parameters/package-tree.html b/apidocs/com/telapi/api/inboundxml/parameters/package-tree.html new file mode 100644 index 0000000..d408a96 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/parameters/package-tree.html @@ -0,0 +1,152 @@ + + + + + + + +com.telapi.api.inboundxml.parameters Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.inboundxml.parameters +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/inboundxml/parameters/package-use.html b/apidocs/com/telapi/api/inboundxml/parameters/package-use.html new file mode 100644 index 0000000..62e6bb7 --- /dev/null +++ b/apidocs/com/telapi/api/inboundxml/parameters/package-use.html @@ -0,0 +1,181 @@ + + + + + + + +Uses of Package com.telapi.api.inboundxml.parameters (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.inboundxml.parameters

+
+ + + + + + + + + +
+Packages that use com.telapi.api.inboundxml.parameters
com.telapi.api.inboundxml.elements  
+  +

+ + + + + + + + + + + + + + +
+Classes in com.telapi.api.inboundxml.parameters used by com.telapi.api.inboundxml.elements
ConferenceParameters + +
+           
DialParameters + +
+           
RecordParameters + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/json/JsonBooleanParser.html b/apidocs/com/telapi/api/json/JsonBooleanParser.html new file mode 100644 index 0000000..7e3b74e --- /dev/null +++ b/apidocs/com/telapi/api/json/JsonBooleanParser.html @@ -0,0 +1,290 @@ + + + + + + + +JsonBooleanParser (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.json +
+Class JsonBooleanParser

+
+java.lang.Object
+  extended by org.codehaus.jackson.map.JsonDeserializer<Boolean>
+      extended by com.telapi.api.json.JsonBooleanParser
+
+
+
+
public class JsonBooleanParser
extends org.codehaus.jackson.map.JsonDeserializer<Boolean>
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonDeserializer
org.codehaus.jackson.map.JsonDeserializer.None
+  + + + + + + + + + + + +
+Constructor Summary
JsonBooleanParser() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ Booleandeserialize(org.codehaus.jackson.JsonParser jsonparser, + org.codehaus.jackson.map.DeserializationContext deserializationcontext) + +
+           
+ + + + + + + +
Methods inherited from class org.codehaus.jackson.map.JsonDeserializer
deserialize, deserializeWithType, getNullValue
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JsonBooleanParser

+
+public JsonBooleanParser()
+
+
+ + + + + + + + +
+Method Detail
+ +

+deserialize

+
+public Boolean deserialize(org.codehaus.jackson.JsonParser jsonparser,
+                           org.codehaus.jackson.map.DeserializationContext deserializationcontext)
+                    throws IOException,
+                           org.codehaus.jackson.JsonProcessingException
+
+
+
Specified by:
deserialize in class org.codehaus.jackson.map.JsonDeserializer<Boolean>
+
+
+ +
Throws: +
IOException +
org.codehaus.jackson.JsonProcessingException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/json/JsonDateParser.html b/apidocs/com/telapi/api/json/JsonDateParser.html new file mode 100644 index 0000000..4e95552 --- /dev/null +++ b/apidocs/com/telapi/api/json/JsonDateParser.html @@ -0,0 +1,290 @@ + + + + + + + +JsonDateParser (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.json +
+Class JsonDateParser

+
+java.lang.Object
+  extended by org.codehaus.jackson.map.JsonDeserializer<Date>
+      extended by com.telapi.api.json.JsonDateParser
+
+
+
+
public class JsonDateParser
extends org.codehaus.jackson.map.JsonDeserializer<Date>
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonDeserializer
org.codehaus.jackson.map.JsonDeserializer.None
+  + + + + + + + + + + + +
+Constructor Summary
JsonDateParser() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ Datedeserialize(org.codehaus.jackson.JsonParser jsonparser, + org.codehaus.jackson.map.DeserializationContext deserializationcontext) + +
+           
+ + + + + + + +
Methods inherited from class org.codehaus.jackson.map.JsonDeserializer
deserialize, deserializeWithType, getNullValue
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JsonDateParser

+
+public JsonDateParser()
+
+
+ + + + + + + + +
+Method Detail
+ +

+deserialize

+
+public Date deserialize(org.codehaus.jackson.JsonParser jsonparser,
+                        org.codehaus.jackson.map.DeserializationContext deserializationcontext)
+                 throws IOException,
+                        org.codehaus.jackson.JsonProcessingException
+
+
+
Specified by:
deserialize in class org.codehaus.jackson.map.JsonDeserializer<Date>
+
+
+ +
Throws: +
IOException +
org.codehaus.jackson.JsonProcessingException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/json/JsonDurationParser.html b/apidocs/com/telapi/api/json/JsonDurationParser.html new file mode 100644 index 0000000..f8de803 --- /dev/null +++ b/apidocs/com/telapi/api/json/JsonDurationParser.html @@ -0,0 +1,290 @@ + + + + + + + +JsonDurationParser (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.json +
+Class JsonDurationParser

+
+java.lang.Object
+  extended by org.codehaus.jackson.map.JsonDeserializer<Long>
+      extended by com.telapi.api.json.JsonDurationParser
+
+
+
+
public class JsonDurationParser
extends org.codehaus.jackson.map.JsonDeserializer<Long>
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonDeserializer
org.codehaus.jackson.map.JsonDeserializer.None
+  + + + + + + + + + + + +
+Constructor Summary
JsonDurationParser() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ Longdeserialize(org.codehaus.jackson.JsonParser jsonparser, + org.codehaus.jackson.map.DeserializationContext deserializationcontext) + +
+           
+ + + + + + + +
Methods inherited from class org.codehaus.jackson.map.JsonDeserializer
deserialize, deserializeWithType, getNullValue
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JsonDurationParser

+
+public JsonDurationParser()
+
+
+ + + + + + + + +
+Method Detail
+ +

+deserialize

+
+public Long deserialize(org.codehaus.jackson.JsonParser jsonparser,
+                        org.codehaus.jackson.map.DeserializationContext deserializationcontext)
+                 throws IOException,
+                        org.codehaus.jackson.JsonProcessingException
+
+
+
Specified by:
deserialize in class org.codehaus.jackson.map.JsonDeserializer<Long>
+
+
+ +
Throws: +
IOException +
org.codehaus.jackson.JsonProcessingException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/json/class-use/JsonBooleanParser.html b/apidocs/com/telapi/api/json/class-use/JsonBooleanParser.html new file mode 100644 index 0000000..bb847f6 --- /dev/null +++ b/apidocs/com/telapi/api/json/class-use/JsonBooleanParser.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.json.JsonBooleanParser (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.json.JsonBooleanParser

+
+No usage of com.telapi.api.json.JsonBooleanParser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/json/class-use/JsonDateParser.html b/apidocs/com/telapi/api/json/class-use/JsonDateParser.html new file mode 100644 index 0000000..ffa740f --- /dev/null +++ b/apidocs/com/telapi/api/json/class-use/JsonDateParser.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.json.JsonDateParser (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.json.JsonDateParser

+
+No usage of com.telapi.api.json.JsonDateParser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/json/class-use/JsonDurationParser.html b/apidocs/com/telapi/api/json/class-use/JsonDurationParser.html new file mode 100644 index 0000000..45264cb --- /dev/null +++ b/apidocs/com/telapi/api/json/class-use/JsonDurationParser.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.json.JsonDurationParser (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.json.JsonDurationParser

+
+No usage of com.telapi.api.json.JsonDurationParser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/json/package-frame.html b/apidocs/com/telapi/api/json/package-frame.html new file mode 100644 index 0000000..ae48fa6 --- /dev/null +++ b/apidocs/com/telapi/api/json/package-frame.html @@ -0,0 +1,37 @@ + + + + + + + +com.telapi.api.json (Telapi Java API) + + + + + + + + + + + +com.telapi.api.json + + + + +
+Classes  + +
+JsonBooleanParser +
+JsonDateParser +
+JsonDurationParser
+ + + + diff --git a/apidocs/com/telapi/api/json/package-summary.html b/apidocs/com/telapi/api/json/package-summary.html new file mode 100644 index 0000000..30c0b7f --- /dev/null +++ b/apidocs/com/telapi/api/json/package-summary.html @@ -0,0 +1,164 @@ + + + + + + + +com.telapi.api.json (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.json +

+ + + + + + + + + + + + + + + + + +
+Class Summary
JsonBooleanParser 
JsonDateParser 
JsonDurationParser 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/json/package-tree.html b/apidocs/com/telapi/api/json/package-tree.html new file mode 100644 index 0000000..a63a598 --- /dev/null +++ b/apidocs/com/telapi/api/json/package-tree.html @@ -0,0 +1,154 @@ + + + + + + + +com.telapi.api.json Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.json +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/json/package-use.html b/apidocs/com/telapi/api/json/package-use.html new file mode 100644 index 0000000..d3863d9 --- /dev/null +++ b/apidocs/com/telapi/api/json/package-use.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Package com.telapi.api.json (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.json

+
+No usage of com.telapi.api.json +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/package-frame.html b/apidocs/com/telapi/api/package-frame.html new file mode 100644 index 0000000..b8f43a1 --- /dev/null +++ b/apidocs/com/telapi/api/package-frame.html @@ -0,0 +1,33 @@ + + + + + + + +com.telapi.api (Telapi Java API) + + + + + + + + + + + +com.telapi.api + + + + +
+Classes  + +
+TelapiConnector
+ + + + diff --git a/apidocs/com/telapi/api/package-summary.html b/apidocs/com/telapi/api/package-summary.html new file mode 100644 index 0000000..04e5be8 --- /dev/null +++ b/apidocs/com/telapi/api/package-summary.html @@ -0,0 +1,156 @@ + + + + + + + +com.telapi.api (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api +

+ + + + + + + + + +
+Class Summary
TelapiConnectorThe class used for all forms of communication with the Telapi REST API.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/package-tree.html b/apidocs/com/telapi/api/package-tree.html new file mode 100644 index 0000000..58752d5 --- /dev/null +++ b/apidocs/com/telapi/api/package-tree.html @@ -0,0 +1,152 @@ + + + + + + + +com.telapi.api Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/package-use.html b/apidocs/com/telapi/api/package-use.html new file mode 100644 index 0000000..3ac0cee --- /dev/null +++ b/apidocs/com/telapi/api/package-use.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Package com.telapi.api (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api

+
+No usage of com.telapi.api +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/requests/ApplicationRequest.html b/apidocs/com/telapi/api/requests/ApplicationRequest.html new file mode 100644 index 0000000..95be42c --- /dev/null +++ b/apidocs/com/telapi/api/requests/ApplicationRequest.html @@ -0,0 +1,840 @@ + + + + + + + +ApplicationRequest (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.requests +
+Class ApplicationRequest

+
+java.lang.Object
+  extended by com.telapi.api.requests.ApplicationRequest
+
+
+
+
public class ApplicationRequest
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ApplicationRequest() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAccountSid() + +
+           
+ StringgetFriendlyName() + +
+           
+ HttpMethodgetHeartbeatMethod() + +
+           
+ StringgetHeartbeatUrl() + +
+           
+ StringgetSid() + +
+           
+ HttpMethodgetSmsFallbackMethod() + +
+           
+ StringgetSmsFallbackUrl() + +
+           
+ HttpMethodgetSmsMethod() + +
+           
+ StringgetSmsUrl() + +
+           
+ StringgetStatusCallback() + +
+           
+ HttpMethodgetStatusCallbackMethod() + +
+           
+ BooleangetVoiceCallerIdLookup() + +
+           
+ HttpMethodgetVoiceFallbackMethod() + +
+           
+ StringgetVoiceFallbackUrl() + +
+           
+ HttpMethodgetVoiceMethod() + +
+           
+ StringgetVoiceUrl() + +
+           
+ voidsetAccountSid(String accountSid) + +
+           
+ voidsetFriendlyName(String friendlyName) + +
+           
+ voidsetHeartbeatMethod(HttpMethod heartbeatMethod) + +
+           
+ voidsetHeartbeatUrl(String heartbeatUrl) + +
+           
+ voidsetSid(String sid) + +
+           
+ voidsetSmsFallbackMethod(HttpMethod smsFallbackMethod) + +
+           
+ voidsetSmsFallbackUrl(String smsFallbackUrl) + +
+           
+ voidsetSmsMethod(HttpMethod smsMethod) + +
+           
+ voidsetSmsUrl(String smsUrl) + +
+           
+ voidsetStatusCallback(String statusCallback) + +
+           
+ voidsetStatusCallbackMethod(HttpMethod statusCallbackMethod) + +
+           
+ voidsetVoiceCallerIdLookup(Boolean voiceCallerIdLookup) + +
+           
+ voidsetVoiceFallbackMethod(HttpMethod voiceFallbackMethod) + +
+           
+ voidsetVoiceFallbackUrl(String voiceFallbackUrl) + +
+           
+ voidsetVoiceMethod(HttpMethod voiceMethod) + +
+           
+ voidsetVoiceUrl(String voiceUrl) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ApplicationRequest

+
+public ApplicationRequest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSid

+
+public String getSid()
+
+
+
+
+
+
+ +

+setSid

+
+public void setSid(String sid)
+
+
+
+
+
+
+ +

+getAccountSid

+
+public String getAccountSid()
+
+
+
+
+
+
+ +

+setAccountSid

+
+public void setAccountSid(String accountSid)
+
+
+
+
+
+
+ +

+getFriendlyName

+
+public String getFriendlyName()
+
+
+
+
+
+
+ +

+setFriendlyName

+
+public void setFriendlyName(String friendlyName)
+
+
+
+
+
+
+ +

+getVoiceUrl

+
+public String getVoiceUrl()
+
+
+
+
+
+
+ +

+setVoiceUrl

+
+public void setVoiceUrl(String voiceUrl)
+
+
+
+
+
+
+ +

+getVoiceMethod

+
+public HttpMethod getVoiceMethod()
+
+
+
+
+
+
+ +

+setVoiceMethod

+
+public void setVoiceMethod(HttpMethod voiceMethod)
+
+
+
+
+
+
+ +

+getVoiceFallbackUrl

+
+public String getVoiceFallbackUrl()
+
+
+
+
+
+
+ +

+setVoiceFallbackUrl

+
+public void setVoiceFallbackUrl(String voiceFallbackUrl)
+
+
+
+
+
+
+ +

+getVoiceFallbackMethod

+
+public HttpMethod getVoiceFallbackMethod()
+
+
+
+
+
+
+ +

+setVoiceFallbackMethod

+
+public void setVoiceFallbackMethod(HttpMethod voiceFallbackMethod)
+
+
+
+
+
+
+ +

+getVoiceCallerIdLookup

+
+public Boolean getVoiceCallerIdLookup()
+
+
+
+
+
+
+ +

+setVoiceCallerIdLookup

+
+public void setVoiceCallerIdLookup(Boolean voiceCallerIdLookup)
+
+
+
+
+
+
+ +

+getSmsUrl

+
+public String getSmsUrl()
+
+
+
+
+
+
+ +

+setSmsUrl

+
+public void setSmsUrl(String smsUrl)
+
+
+
+
+
+
+ +

+getSmsMethod

+
+public HttpMethod getSmsMethod()
+
+
+
+
+
+
+ +

+setSmsMethod

+
+public void setSmsMethod(HttpMethod smsMethod)
+
+
+
+
+
+
+ +

+getSmsFallbackUrl

+
+public String getSmsFallbackUrl()
+
+
+
+
+
+
+ +

+setSmsFallbackUrl

+
+public void setSmsFallbackUrl(String smsFallbackUrl)
+
+
+
+
+
+
+ +

+getSmsFallbackMethod

+
+public HttpMethod getSmsFallbackMethod()
+
+
+
+
+
+
+ +

+setSmsFallbackMethod

+
+public void setSmsFallbackMethod(HttpMethod smsFallbackMethod)
+
+
+
+
+
+
+ +

+getHeartbeatUrl

+
+public String getHeartbeatUrl()
+
+
+
+
+
+
+ +

+setHeartbeatUrl

+
+public void setHeartbeatUrl(String heartbeatUrl)
+
+
+
+
+
+
+ +

+getHeartbeatMethod

+
+public HttpMethod getHeartbeatMethod()
+
+
+
+
+
+
+ +

+setHeartbeatMethod

+
+public void setHeartbeatMethod(HttpMethod heartbeatMethod)
+
+
+
+
+
+
+ +

+getStatusCallback

+
+public String getStatusCallback()
+
+
+
+
+
+
+ +

+setStatusCallback

+
+public void setStatusCallback(String statusCallback)
+
+
+
+
+
+
+ +

+getStatusCallbackMethod

+
+public HttpMethod getStatusCallbackMethod()
+
+
+
+
+
+
+ +

+setStatusCallbackMethod

+
+public void setStatusCallbackMethod(HttpMethod statusCallbackMethod)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/requests/CallRequest.html b/apidocs/com/telapi/api/requests/CallRequest.html new file mode 100644 index 0000000..e5c179b --- /dev/null +++ b/apidocs/com/telapi/api/requests/CallRequest.html @@ -0,0 +1,1030 @@ + + + + + + + +CallRequest (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.requests +
+Class CallRequest

+
+java.lang.Object
+  extended by com.telapi.api.requests.CallRequest
+
+
+
+
public class CallRequest
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CallRequest() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAccountSid() + +
+           
+ HttpMethodgetFallbackMethod() + +
+           
+ StringgetFallbackUrl() + +
+           
+ StringgetForwardedFrom() + +
+           
+ StringgetFrom() + +
+           
+ HttpMethodgetHeartbeatMethod() + +
+           
+ StringgetHeartbeatUrl() + +
+           
+ BooleangetHideCallerId() + +
+           
+ HttpMethodgetMethod() + +
+           
+ BooleangetRecord() + +
+           
+ StringgetRecordCallback() + +
+           
+ HttpMethodgetRecordCallbackMethod() + +
+           
+ StringgetSendDigits() + +
+           
+ StringgetStatusCallback() + +
+           
+ HttpMethodgetStatusCallbackMethod() + +
+           
+ LonggetTimeout() + +
+           
+ StringgetTo() + +
+           
+ BooleangetTranscribe() + +
+           
+ StringgetTranscribeCallback() + +
+           
+ HttpMethodgetTranscribeCallbackMethod() + +
+           
+ StringgetUrl() + +
+           
+ voidsetAccountSid(String accountSid) + +
+           
+ voidsetFallbackMethod(HttpMethod fallbackMethod) + +
+           
+ voidsetFallbackUrl(String fallbackUrl) + +
+           
+ voidsetForwardedFrom(String forwardedFrom) + +
+           
+ voidsetFrom(String from) + +
+           
+ voidsetHeartbeatMethod(HttpMethod heartbeatMethod) + +
+           
+ voidsetHeartbeatUrl(String heartbeatUrl) + +
+           
+ voidsetHideCallerId(Boolean hideCallerId) + +
+           
+ voidsetMethod(HttpMethod method) + +
+           
+ voidsetRecord(Boolean record) + +
+           
+ voidsetRecordCallback(String recordCallback) + +
+           
+ voidsetRecordCallbackMethod(HttpMethod recordCallbackMethod) + +
+           
+ voidsetSendDigits(String sendDigits) + +
+           
+ voidsetStatusCallback(String statusCallback) + +
+           
+ voidsetStatusCallbackMethod(HttpMethod statusCallbackMethod) + +
+           
+ voidsetTimeout(Long timeout) + +
+           
+ voidsetTo(String to) + +
+           
+ voidsetTranscribe(Boolean transcribe) + +
+           
+ voidsetTranscribeCallback(String transcribeCallback) + +
+           
+ voidsetTranscribeCallbackMethod(HttpMethod transcribeCallbackMethod) + +
+           
+ voidsetUrl(String url) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CallRequest

+
+public CallRequest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAccountSid

+
+public String getAccountSid()
+
+
+
+
+
+
+ +

+setAccountSid

+
+public void setAccountSid(String accountSid)
+
+
+
+
+
+
+ +

+getTo

+
+public String getTo()
+
+
+
+
+
+
+ +

+setTo

+
+public void setTo(String to)
+
+
+
+
+
+
+ +

+getFrom

+
+public String getFrom()
+
+
+
+
+
+
+ +

+setFrom

+
+public void setFrom(String from)
+
+
+
+
+
+
+ +

+getUrl

+
+public String getUrl()
+
+
+
+
+
+
+ +

+setUrl

+
+public void setUrl(String url)
+
+
+
+
+
+
+ +

+getForwardedFrom

+
+public String getForwardedFrom()
+
+
+
+
+
+
+ +

+setForwardedFrom

+
+public void setForwardedFrom(String forwardedFrom)
+
+
+
+
+
+
+ +

+getMethod

+
+public HttpMethod getMethod()
+
+
+
+
+
+
+ +

+setMethod

+
+public void setMethod(HttpMethod method)
+
+
+
+
+
+
+ +

+getFallbackUrl

+
+public String getFallbackUrl()
+
+
+
+
+
+
+ +

+setFallbackUrl

+
+public void setFallbackUrl(String fallbackUrl)
+
+
+
+
+
+
+ +

+getFallbackMethod

+
+public HttpMethod getFallbackMethod()
+
+
+
+
+
+
+ +

+setFallbackMethod

+
+public void setFallbackMethod(HttpMethod fallbackMethod)
+
+
+
+
+
+
+ +

+getStatusCallback

+
+public String getStatusCallback()
+
+
+
+
+
+
+ +

+setStatusCallback

+
+public void setStatusCallback(String statusCallback)
+
+
+
+
+
+
+ +

+getStatusCallbackMethod

+
+public HttpMethod getStatusCallbackMethod()
+
+
+
+
+
+
+ +

+setStatusCallbackMethod

+
+public void setStatusCallbackMethod(HttpMethod statusCallbackMethod)
+
+
+
+
+
+
+ +

+getSendDigits

+
+public String getSendDigits()
+
+
+
+
+
+
+ +

+setSendDigits

+
+public void setSendDigits(String sendDigits)
+
+
+
+
+
+
+ +

+getTimeout

+
+public Long getTimeout()
+
+
+
+
+
+
+ +

+setTimeout

+
+public void setTimeout(Long timeout)
+
+
+
+
+
+
+ +

+getHideCallerId

+
+public Boolean getHideCallerId()
+
+
+
+
+
+
+ +

+setHideCallerId

+
+public void setHideCallerId(Boolean hideCallerId)
+
+
+
+
+
+
+ +

+getHeartbeatUrl

+
+public String getHeartbeatUrl()
+
+
+
+
+
+
+ +

+setHeartbeatUrl

+
+public void setHeartbeatUrl(String heartbeatUrl)
+
+
+
+
+
+
+ +

+getHeartbeatMethod

+
+public HttpMethod getHeartbeatMethod()
+
+
+
+
+
+
+ +

+setHeartbeatMethod

+
+public void setHeartbeatMethod(HttpMethod heartbeatMethod)
+
+
+
+
+
+
+ +

+getRecord

+
+public Boolean getRecord()
+
+
+
+
+
+
+ +

+setRecord

+
+public void setRecord(Boolean record)
+
+
+
+
+
+
+ +

+getRecordCallback

+
+public String getRecordCallback()
+
+
+
+
+
+
+ +

+setRecordCallback

+
+public void setRecordCallback(String recordCallback)
+
+
+
+
+
+
+ +

+getRecordCallbackMethod

+
+public HttpMethod getRecordCallbackMethod()
+
+
+
+
+
+
+ +

+setRecordCallbackMethod

+
+public void setRecordCallbackMethod(HttpMethod recordCallbackMethod)
+
+
+
+
+
+
+ +

+getTranscribe

+
+public Boolean getTranscribe()
+
+
+
+
+
+
+ +

+setTranscribe

+
+public void setTranscribe(Boolean transcribe)
+
+
+
+
+
+
+ +

+getTranscribeCallback

+
+public String getTranscribeCallback()
+
+
+
+
+
+
+ +

+setTranscribeCallback

+
+public void setTranscribeCallback(String transcribeCallback)
+
+
+
+
+
+
+ +

+getTranscribeCallbackMethod

+
+public HttpMethod getTranscribeCallbackMethod()
+
+
+
+
+
+
+ +

+setTranscribeCallbackMethod

+
+public void setTranscribeCallbackMethod(HttpMethod transcribeCallbackMethod)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/requests/IncomingPhoneNumberRequest.html b/apidocs/com/telapi/api/requests/IncomingPhoneNumberRequest.html new file mode 100644 index 0000000..1963f19 --- /dev/null +++ b/apidocs/com/telapi/api/requests/IncomingPhoneNumberRequest.html @@ -0,0 +1,840 @@ + + + + + + + +IncomingPhoneNumberRequest (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.requests +
+Class IncomingPhoneNumberRequest

+
+java.lang.Object
+  extended by com.telapi.api.requests.IncomingPhoneNumberRequest
+
+
+
+
public class IncomingPhoneNumberRequest
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
IncomingPhoneNumberRequest() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAccountSid() + +
+           
+ StringgetFriendlyName() + +
+           
+ StringgetHangupCallback() + +
+           
+ HttpMethodgetHangupCallbackMethod() + +
+           
+ HttpMethodgetHeartbeatMethod() + +
+           
+ StringgetHeartbeatUrl() + +
+           
+ StringgetIncomingPhoneNumberSid() + +
+           
+ HttpMethodgetSmsFallbackMethod() + +
+           
+ StringgetSmsFallbackUrl() + +
+           
+ HttpMethodgetSmsMethod() + +
+           
+ StringgetSmsUrl() + +
+           
+ BooleangetVoiceCallerIdLookup() + +
+           
+ HttpMethodgetVoiceFallbackMethod() + +
+           
+ StringgetVoiceFallbackUrl() + +
+           
+ HttpMethodgetVoiceMethod() + +
+           
+ StringgetVoiceUrl() + +
+           
+ voidsetAccountSid(String accountSid) + +
+           
+ voidsetFriendlyName(String friendlyName) + +
+           
+ voidsetHangupCallback(String hangupCallback) + +
+           
+ voidsetHangupCallbackMethod(HttpMethod hangupCallbackMethod) + +
+           
+ voidsetHeartbeatMethod(HttpMethod heartbeatMethod) + +
+           
+ voidsetHeartbeatUrl(String heartbeatUrl) + +
+           
+ voidsetIncomingPhoneNumberSid(String incomingPhoneNumberSid) + +
+           
+ voidsetSmsFallbackMethod(HttpMethod smsFallbackMethod) + +
+           
+ voidsetSmsFallbackUrl(String smsFallbackUrl) + +
+           
+ voidsetSmsMethod(HttpMethod smsMethod) + +
+           
+ voidsetSmsUrl(String smsUrl) + +
+           
+ voidsetVoiceCallerIdLookup(Boolean voiceCallerIdLookup) + +
+           
+ voidsetVoiceFallbackMethod(HttpMethod voiceFallbackMethod) + +
+           
+ voidsetVoiceFallbackUrl(String voiceFallbackUrl) + +
+           
+ voidsetVoiceMethod(HttpMethod voiceMethod) + +
+           
+ voidsetVoiceUrl(String voiceUrl) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IncomingPhoneNumberRequest

+
+public IncomingPhoneNumberRequest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAccountSid

+
+public String getAccountSid()
+
+
+
+
+
+
+ +

+setAccountSid

+
+public void setAccountSid(String accountSid)
+
+
+
+
+
+
+ +

+getIncomingPhoneNumberSid

+
+public String getIncomingPhoneNumberSid()
+
+
+
+
+
+
+ +

+setIncomingPhoneNumberSid

+
+public void setIncomingPhoneNumberSid(String incomingPhoneNumberSid)
+
+
+
+
+
+
+ +

+getFriendlyName

+
+public String getFriendlyName()
+
+
+
+
+
+
+ +

+setFriendlyName

+
+public void setFriendlyName(String friendlyName)
+
+
+
+
+
+
+ +

+getVoiceUrl

+
+public String getVoiceUrl()
+
+
+
+
+
+
+ +

+setVoiceUrl

+
+public void setVoiceUrl(String voiceUrl)
+
+
+
+
+
+
+ +

+getVoiceMethod

+
+public HttpMethod getVoiceMethod()
+
+
+
+
+
+
+ +

+setVoiceMethod

+
+public void setVoiceMethod(HttpMethod voiceMethod)
+
+
+
+
+
+
+ +

+getVoiceFallbackUrl

+
+public String getVoiceFallbackUrl()
+
+
+
+
+
+
+ +

+setVoiceFallbackUrl

+
+public void setVoiceFallbackUrl(String voiceFallbackUrl)
+
+
+
+
+
+
+ +

+getVoiceFallbackMethod

+
+public HttpMethod getVoiceFallbackMethod()
+
+
+
+
+
+
+ +

+setVoiceFallbackMethod

+
+public void setVoiceFallbackMethod(HttpMethod voiceFallbackMethod)
+
+
+
+
+
+
+ +

+getVoiceCallerIdLookup

+
+public Boolean getVoiceCallerIdLookup()
+
+
+
+
+
+
+ +

+setVoiceCallerIdLookup

+
+public void setVoiceCallerIdLookup(Boolean voiceCallerIdLookup)
+
+
+
+
+
+
+ +

+getSmsUrl

+
+public String getSmsUrl()
+
+
+
+
+
+
+ +

+setSmsUrl

+
+public void setSmsUrl(String smsUrl)
+
+
+
+
+
+
+ +

+getSmsMethod

+
+public HttpMethod getSmsMethod()
+
+
+
+
+
+
+ +

+setSmsMethod

+
+public void setSmsMethod(HttpMethod smsMethod)
+
+
+
+
+
+
+ +

+getSmsFallbackUrl

+
+public String getSmsFallbackUrl()
+
+
+
+
+
+
+ +

+setSmsFallbackUrl

+
+public void setSmsFallbackUrl(String smsFallbackUrl)
+
+
+
+
+
+
+ +

+getSmsFallbackMethod

+
+public HttpMethod getSmsFallbackMethod()
+
+
+
+
+
+
+ +

+setSmsFallbackMethod

+
+public void setSmsFallbackMethod(HttpMethod smsFallbackMethod)
+
+
+
+
+
+
+ +

+getHangupCallback

+
+public String getHangupCallback()
+
+
+
+
+
+
+ +

+setHangupCallback

+
+public void setHangupCallback(String hangupCallback)
+
+
+
+
+
+
+ +

+getHangupCallbackMethod

+
+public HttpMethod getHangupCallbackMethod()
+
+
+
+
+
+
+ +

+setHangupCallbackMethod

+
+public void setHangupCallbackMethod(HttpMethod hangupCallbackMethod)
+
+
+
+
+
+
+ +

+getHeartbeatUrl

+
+public String getHeartbeatUrl()
+
+
+
+
+
+
+ +

+setHeartbeatUrl

+
+public void setHeartbeatUrl(String heartbeatUrl)
+
+
+
+
+
+
+ +

+getHeartbeatMethod

+
+public HttpMethod getHeartbeatMethod()
+
+
+
+
+
+
+ +

+setHeartbeatMethod

+
+public void setHeartbeatMethod(HttpMethod heartbeatMethod)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/requests/class-use/ApplicationRequest.html b/apidocs/com/telapi/api/requests/class-use/ApplicationRequest.html new file mode 100644 index 0000000..081c854 --- /dev/null +++ b/apidocs/com/telapi/api/requests/class-use/ApplicationRequest.html @@ -0,0 +1,187 @@ + + + + + + + +Uses of Class com.telapi.api.requests.ApplicationRequest (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.requests.ApplicationRequest

+
+ + + + + + + + + +
+Packages that use ApplicationRequest
com.telapi.api  
+  +

+ + + + + +
+Uses of ApplicationRequest in com.telapi.api
+  +

+ + + + + + + + + + + + + +
Methods in com.telapi.api with parameters of type ApplicationRequest
+ ApplicationTelapiConnector.createApplication(ApplicationRequest applicationRequest) + +
+           
+ ApplicationTelapiConnector.updateApplication(ApplicationRequest applicationRequest) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/requests/class-use/CallRequest.html b/apidocs/com/telapi/api/requests/class-use/CallRequest.html new file mode 100644 index 0000000..8ff6bf3 --- /dev/null +++ b/apidocs/com/telapi/api/requests/class-use/CallRequest.html @@ -0,0 +1,180 @@ + + + + + + + +Uses of Class com.telapi.api.requests.CallRequest (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.requests.CallRequest

+
+ + + + + + + + + +
+Packages that use CallRequest
com.telapi.api  
+  +

+ + + + + +
+Uses of CallRequest in com.telapi.api
+  +

+ + + + + + + + + +
Methods in com.telapi.api with parameters of type CallRequest
+ CallTelapiConnector.makeCall(CallRequest callRequest) + +
+          Convenience method which accepts a CallRequest object containing + parameters.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/requests/class-use/IncomingPhoneNumberRequest.html b/apidocs/com/telapi/api/requests/class-use/IncomingPhoneNumberRequest.html new file mode 100644 index 0000000..6c73eb0 --- /dev/null +++ b/apidocs/com/telapi/api/requests/class-use/IncomingPhoneNumberRequest.html @@ -0,0 +1,179 @@ + + + + + + + +Uses of Class com.telapi.api.requests.IncomingPhoneNumberRequest (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.requests.IncomingPhoneNumberRequest

+
+ + + + + + + + + +
+Packages that use IncomingPhoneNumberRequest
com.telapi.api  
+  +

+ + + + + +
+Uses of IncomingPhoneNumberRequest in com.telapi.api
+  +

+ + + + + + + + + +
Methods in com.telapi.api with parameters of type IncomingPhoneNumberRequest
+ IncomingPhoneNumberTelapiConnector.updateIncomingPhoneNumber(IncomingPhoneNumberRequest ipnRequest) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/requests/package-frame.html b/apidocs/com/telapi/api/requests/package-frame.html new file mode 100644 index 0000000..cd5cd64 --- /dev/null +++ b/apidocs/com/telapi/api/requests/package-frame.html @@ -0,0 +1,37 @@ + + + + + + + +com.telapi.api.requests (Telapi Java API) + + + + + + + + + + + +com.telapi.api.requests + + + + +
+Classes  + +
+ApplicationRequest +
+CallRequest +
+IncomingPhoneNumberRequest
+ + + + diff --git a/apidocs/com/telapi/api/requests/package-summary.html b/apidocs/com/telapi/api/requests/package-summary.html new file mode 100644 index 0000000..441e2c2 --- /dev/null +++ b/apidocs/com/telapi/api/requests/package-summary.html @@ -0,0 +1,164 @@ + + + + + + + +com.telapi.api.requests (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.requests +

+ + + + + + + + + + + + + + + + + +
+Class Summary
ApplicationRequest 
CallRequest 
IncomingPhoneNumberRequest 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/requests/package-tree.html b/apidocs/com/telapi/api/requests/package-tree.html new file mode 100644 index 0000000..c1f2397 --- /dev/null +++ b/apidocs/com/telapi/api/requests/package-tree.html @@ -0,0 +1,152 @@ + + + + + + + +com.telapi.api.requests Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.requests +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/requests/package-use.html b/apidocs/com/telapi/api/requests/package-use.html new file mode 100644 index 0000000..825f802 --- /dev/null +++ b/apidocs/com/telapi/api/requests/package-use.html @@ -0,0 +1,181 @@ + + + + + + + +Uses of Package com.telapi.api.requests (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.requests

+
+ + + + + + + + + +
+Packages that use com.telapi.api.requests
com.telapi.api  
+  +

+ + + + + + + + + + + + + + +
+Classes in com.telapi.api.requests used by com.telapi.api
ApplicationRequest + +
+           
CallRequest + +
+           
IncomingPhoneNumberRequest + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/AccountsProxy.html b/apidocs/com/telapi/api/restproxies/AccountsProxy.html new file mode 100644 index 0000000..2f8fe6d --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/AccountsProxy.html @@ -0,0 +1,224 @@ + + + + + + + +AccountsProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.restproxies +
+Interface AccountsProxy

+
+
+
public interface AccountsProxy
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ org.jboss.resteasy.client.ClientResponse<Account>getAccount(String accountSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<AccountsList>getAccounts() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getAccount

+
+org.jboss.resteasy.client.ClientResponse<Account> getAccount(String accountSid)
+
+
+
+
+
+
+ +

+getAccounts

+
+org.jboss.resteasy.client.ClientResponse<AccountsList> getAccounts()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/ApplicationProxy.html b/apidocs/com/telapi/api/restproxies/ApplicationProxy.html new file mode 100644 index 0000000..251301d --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/ApplicationProxy.html @@ -0,0 +1,349 @@ + + + + + + + +ApplicationProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.restproxies +
+Interface ApplicationProxy

+
+
+
public interface ApplicationProxy
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.jboss.resteasy.client.ClientResponse<Application>createApplication(String accountSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Application>deleteApplication(String accountSid, + String applicationSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<ApplicationList>listApplications(String accountSid, + String friendlyName, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Application>updateApplication(String accountSid, + String applicationSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Application>viewApplication(String accountSid, + String applicationSid) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+viewApplication

+
+org.jboss.resteasy.client.ClientResponse<Application> viewApplication(String accountSid,
+                                                                      String applicationSid)
+
+
+
+
+
+
+ +

+listApplications

+
+org.jboss.resteasy.client.ClientResponse<ApplicationList> listApplications(String accountSid,
+                                                                           String friendlyName,
+                                                                           Long page,
+                                                                           Long pageSize)
+
+
+
+
+
+
+ +

+createApplication

+
+org.jboss.resteasy.client.ClientResponse<Application> createApplication(String accountSid,
+                                                                        String friendlyName,
+                                                                        String voiceUrl,
+                                                                        HttpMethod voiceMethod,
+                                                                        String voiceFallbackUrl,
+                                                                        HttpMethod voiceFallbackMethod,
+                                                                        Boolean voiceCallerIdLookup,
+                                                                        String smsUrl,
+                                                                        HttpMethod smsMethod,
+                                                                        String smsFallbackUrl,
+                                                                        HttpMethod smsFallbackMethod,
+                                                                        String heartbeatUrl,
+                                                                        HttpMethod heartbeatMethod,
+                                                                        String hangupCallback,
+                                                                        HttpMethod hangupCallbackMethod)
+
+
+
+
+
+
+ +

+updateApplication

+
+org.jboss.resteasy.client.ClientResponse<Application> updateApplication(String accountSid,
+                                                                        String applicationSid,
+                                                                        String friendlyName,
+                                                                        String voiceUrl,
+                                                                        HttpMethod voiceMethod,
+                                                                        String voiceFallbackUrl,
+                                                                        HttpMethod voiceFallbackMethod,
+                                                                        Boolean voiceCallerIdLookup,
+                                                                        String smsUrl,
+                                                                        HttpMethod smsMethod,
+                                                                        String smsFallbackUrl,
+                                                                        HttpMethod smsFallbackMethod,
+                                                                        String heartbeatUrl,
+                                                                        HttpMethod heartbeatMethod,
+                                                                        String hangupCallback,
+                                                                        HttpMethod hangupCallbackMethod)
+
+
+
+
+
+
+ +

+deleteApplication

+
+org.jboss.resteasy.client.ClientResponse<Application> deleteApplication(String accountSid,
+                                                                        String applicationSid)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/AvailablePhoneNumberProxy.html b/apidocs/com/telapi/api/restproxies/AvailablePhoneNumberProxy.html new file mode 100644 index 0000000..1c2490f --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/AvailablePhoneNumberProxy.html @@ -0,0 +1,219 @@ + + + + + + + +AvailablePhoneNumberProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.restproxies +
+Interface AvailablePhoneNumberProxy

+
+
+
public interface AvailablePhoneNumberProxy
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ org.jboss.resteasy.client.ClientResponse<AvailablePhoneNumberList>listAvailablePhoneNumbers(String accountSid, + String isoCountryCode, + String areaCode, + String contains, + String inRegion, + String inPostalCode, + Long page, + Long pageSize) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+listAvailablePhoneNumbers

+
+org.jboss.resteasy.client.ClientResponse<AvailablePhoneNumberList> listAvailablePhoneNumbers(String accountSid,
+                                                                                             String isoCountryCode,
+                                                                                             String areaCode,
+                                                                                             String contains,
+                                                                                             String inRegion,
+                                                                                             String inPostalCode,
+                                                                                             Long page,
+                                                                                             Long pageSize)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/CallProxy.html b/apidocs/com/telapi/api/restproxies/CallProxy.html new file mode 100644 index 0000000..05d9ce0 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/CallProxy.html @@ -0,0 +1,463 @@ + + + + + + + +CallProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.restproxies +
+Interface CallProxy

+
+
+
public interface CallProxy
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.jboss.resteasy.client.ClientResponse<Call>hangupCall(String accountSid, + String callSid, + CallInterruptStatus status) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>interruptLiveCall(String accountSid, + String callSid, + String url, + HttpMethod method, + CallInterruptStatus status) + +
+           
+ org.jboss.resteasy.client.ClientResponse<CallList>listCalls(String accountSid, + String to, + String from, + CallStatus status, + String startTimeGte, + String startTimeLt, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>makeCall(String accountSid, + String to, + String from, + String url, + HttpMethod method, + String fallbackUrl, + HttpMethod fallbackMethod, + String statusCallback, + HttpMethod StatusCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod, + String forwardedFrom, + String sendDigits, + Long timeout, + Boolean hideCallerId, + Boolean record, + String recordCallback, + HttpMethod recordCallbackMethod, + Boolean transcribe, + String transcribeCallback, + HttpMethod transcribeCallbackMethod) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>playAudio(String accountSid, + String callSid, + String audioUrl, + Long length, + Legs legs, + Boolean loop, + Boolean mix) + +
+           
+ org.jboss.resteasy.client.ClientResponse<RecordingList>recordCall(String accountSid, + String callSid, + Boolean record, + Long timeLimit, + String callbackUrl) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>sendDigits(String accountSid, + String callSid, + String playDtfm, + Legs dtmfLeg) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>viewCall(String accountSid, + String callSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Call>voiceEffects(String accountSid, + String callSid, + AudioDirection audioDirection, + Double pitch, + Long pitchSemiTones, + Long pitchOctaves, + Double rate) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+viewCall

+
+org.jboss.resteasy.client.ClientResponse<Call> viewCall(String accountSid,
+                                                        String callSid)
+
+
+
+
+
+
+ +

+listCalls

+
+org.jboss.resteasy.client.ClientResponse<CallList> listCalls(String accountSid,
+                                                             String to,
+                                                             String from,
+                                                             CallStatus status,
+                                                             String startTimeGte,
+                                                             String startTimeLt,
+                                                             Long page,
+                                                             Long pageSize)
+
+
+
+
+
+
+ +

+makeCall

+
+org.jboss.resteasy.client.ClientResponse<Call> makeCall(String accountSid,
+                                                        String to,
+                                                        String from,
+                                                        String url,
+                                                        HttpMethod method,
+                                                        String fallbackUrl,
+                                                        HttpMethod fallbackMethod,
+                                                        String statusCallback,
+                                                        HttpMethod StatusCallbackMethod,
+                                                        String heartbeatUrl,
+                                                        HttpMethod heartbeatMethod,
+                                                        String forwardedFrom,
+                                                        String sendDigits,
+                                                        Long timeout,
+                                                        Boolean hideCallerId,
+                                                        Boolean record,
+                                                        String recordCallback,
+                                                        HttpMethod recordCallbackMethod,
+                                                        Boolean transcribe,
+                                                        String transcribeCallback,
+                                                        HttpMethod transcribeCallbackMethod)
+
+
+
+
+
+
+ +

+interruptLiveCall

+
+org.jboss.resteasy.client.ClientResponse<Call> interruptLiveCall(String accountSid,
+                                                                 String callSid,
+                                                                 String url,
+                                                                 HttpMethod method,
+                                                                 CallInterruptStatus status)
+
+
+
+
+
+
+ +

+hangupCall

+
+org.jboss.resteasy.client.ClientResponse<Call> hangupCall(String accountSid,
+                                                          String callSid,
+                                                          CallInterruptStatus status)
+
+
+
+
+
+
+ +

+sendDigits

+
+org.jboss.resteasy.client.ClientResponse<Call> sendDigits(String accountSid,
+                                                          String callSid,
+                                                          String playDtfm,
+                                                          Legs dtmfLeg)
+
+
+
+
+
+
+ +

+playAudio

+
+org.jboss.resteasy.client.ClientResponse<Call> playAudio(String accountSid,
+                                                         String callSid,
+                                                         String audioUrl,
+                                                         Long length,
+                                                         Legs legs,
+                                                         Boolean loop,
+                                                         Boolean mix)
+
+
+
+
+
+
+ +

+voiceEffects

+
+org.jboss.resteasy.client.ClientResponse<Call> voiceEffects(String accountSid,
+                                                            String callSid,
+                                                            AudioDirection audioDirection,
+                                                            Double pitch,
+                                                            Long pitchSemiTones,
+                                                            Long pitchOctaves,
+                                                            Double rate)
+
+
+
+
+
+
+ +

+recordCall

+
+org.jboss.resteasy.client.ClientResponse<RecordingList> recordCall(String accountSid,
+                                                                   String callSid,
+                                                                   Boolean record,
+                                                                   Long timeLimit,
+                                                                   String callbackUrl)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/CarrierLookupProxy.html b/apidocs/com/telapi/api/restproxies/CarrierLookupProxy.html new file mode 100644 index 0000000..66f45ea --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/CarrierLookupProxy.html @@ -0,0 +1,270 @@ + + + + + + + +CarrierLookupProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.restproxies +
+Interface CarrierLookupProxy

+
+
+
public interface CarrierLookupProxy
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.jboss.resteasy.client.ClientResponse<CarrierLookupList>carrierLookup(String accountSid, + List<String> phoneNumber) + +
+           
+ org.jboss.resteasy.client.ClientResponse<CarrierLookupList>carrierLookup(String accountSid, + String phoneNumber) + +
+           
+ org.jboss.resteasy.client.ClientResponse<CnamDipList>cnamLookup(String accountSid, + List<String> phoneNumbers) + +
+           
+ org.jboss.resteasy.client.ClientResponse<CnamDipList>cnamLookup(String accountSid, + String phoneNumber) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+carrierLookup

+
+org.jboss.resteasy.client.ClientResponse<CarrierLookupList> carrierLookup(String accountSid,
+                                                                          String phoneNumber)
+
+
+
+
+
+
+ +

+carrierLookup

+
+org.jboss.resteasy.client.ClientResponse<CarrierLookupList> carrierLookup(String accountSid,
+                                                                          List<String> phoneNumber)
+
+
+
+
+
+
+ +

+cnamLookup

+
+org.jboss.resteasy.client.ClientResponse<CnamDipList> cnamLookup(String accountSid,
+                                                                 String phoneNumber)
+
+
+
+
+
+
+ +

+cnamLookup

+
+org.jboss.resteasy.client.ClientResponse<CnamDipList> cnamLookup(String accountSid,
+                                                                 List<String> phoneNumbers)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/ConferenceProxy.html b/apidocs/com/telapi/api/restproxies/ConferenceProxy.html new file mode 100644 index 0000000..99c5e54 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/ConferenceProxy.html @@ -0,0 +1,369 @@ + + + + + + + +ConferenceProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.restproxies +
+Interface ConferenceProxy

+
+
+
public interface ConferenceProxy
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.jboss.resteasy.client.ClientResponse<Participant>hangupParticipant(String accountSid, + String conferenceSid, + String callSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<ConferenceList>listConferences(String accountSid, + String friendlyName, + String status, + String dateCreatedGte, + String dateCreatedLt, + String dateUpdatedGte, + String dateUpdatedLt, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<List<Participant>>listParticipants(String accountSid, + String conferenceSid, + Boolean muted, + Boolean deaf, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Participant>muteDeafParticipant(String accountSid, + String conferenceSid, + String callSid, + Boolean muted, + Boolean deaf) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Participant>playAudioToParticipant(String accountSid, + String conferenceSid, + String callSid, + String audioUrl) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Conference>viewConference(String accountSid, + String conferenceSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Participant>viewParticipant(String accountSid, + String conferenceSid, + String callSid) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+viewConference

+
+org.jboss.resteasy.client.ClientResponse<Conference> viewConference(String accountSid,
+                                                                    String conferenceSid)
+
+
+
+
+
+
+ +

+listConferences

+
+org.jboss.resteasy.client.ClientResponse<ConferenceList> listConferences(String accountSid,
+                                                                         String friendlyName,
+                                                                         String status,
+                                                                         String dateCreatedGte,
+                                                                         String dateCreatedLt,
+                                                                         String dateUpdatedGte,
+                                                                         String dateUpdatedLt,
+                                                                         Long page,
+                                                                         Long pageSize)
+
+
+
+
+
+
+ +

+viewParticipant

+
+org.jboss.resteasy.client.ClientResponse<Participant> viewParticipant(String accountSid,
+                                                                      String conferenceSid,
+                                                                      String callSid)
+
+
+
+
+
+
+ +

+listParticipants

+
+org.jboss.resteasy.client.ClientResponse<List<Participant>> listParticipants(String accountSid,
+                                                                             String conferenceSid,
+                                                                             Boolean muted,
+                                                                             Boolean deaf,
+                                                                             Long page,
+                                                                             Long pageSize)
+
+
+
+
+
+
+ +

+muteDeafParticipant

+
+org.jboss.resteasy.client.ClientResponse<Participant> muteDeafParticipant(String accountSid,
+                                                                          String conferenceSid,
+                                                                          String callSid,
+                                                                          Boolean muted,
+                                                                          Boolean deaf)
+
+
+
+
+
+
+ +

+hangupParticipant

+
+org.jboss.resteasy.client.ClientResponse<Participant> hangupParticipant(String accountSid,
+                                                                        String conferenceSid,
+                                                                        String callSid)
+
+
+
+
+
+
+ +

+playAudioToParticipant

+
+org.jboss.resteasy.client.ClientResponse<Participant> playAudioToParticipant(String accountSid,
+                                                                             String conferenceSid,
+                                                                             String callSid,
+                                                                             String audioUrl)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/FraudControlProxy.html b/apidocs/com/telapi/api/restproxies/FraudControlProxy.html new file mode 100644 index 0000000..bc8231b --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/FraudControlProxy.html @@ -0,0 +1,317 @@ + + + + + + + +FraudControlProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.restproxies +
+Interface FraudControlProxy

+
+
+
public interface FraudControlProxy
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.jboss.resteasy.client.ClientResponse<FraudList>authorizeDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ org.jboss.resteasy.client.ClientResponse<FraudList>blockDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ org.jboss.resteasy.client.ClientResponse<FraudList>extendDestinationAuth(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+ org.jboss.resteasy.client.ClientResponse<FraudList>listFraudControlResources(String accountSid, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<FraudList>whitelistDestination(String accountSid, + String countryCode, + Boolean mobileEnabled, + Boolean landlineEnabled, + Boolean smsEnabled) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+listFraudControlResources

+
+org.jboss.resteasy.client.ClientResponse<FraudList> listFraudControlResources(String accountSid,
+                                                                              Long page,
+                                                                              Long pageSize)
+
+
+
+
+
+
+ +

+authorizeDestination

+
+org.jboss.resteasy.client.ClientResponse<FraudList> authorizeDestination(String accountSid,
+                                                                         String countryCode,
+                                                                         Boolean mobileEnabled,
+                                                                         Boolean landlineEnabled,
+                                                                         Boolean smsEnabled)
+
+
+
+
+
+
+ +

+blockDestination

+
+org.jboss.resteasy.client.ClientResponse<FraudList> blockDestination(String accountSid,
+                                                                     String countryCode,
+                                                                     Boolean mobileEnabled,
+                                                                     Boolean landlineEnabled,
+                                                                     Boolean smsEnabled)
+
+
+
+
+
+
+ +

+extendDestinationAuth

+
+org.jboss.resteasy.client.ClientResponse<FraudList> extendDestinationAuth(String accountSid,
+                                                                          String countryCode,
+                                                                          Boolean mobileEnabled,
+                                                                          Boolean landlineEnabled,
+                                                                          Boolean smsEnabled)
+
+
+
+
+
+
+ +

+whitelistDestination

+
+org.jboss.resteasy.client.ClientResponse<FraudList> whitelistDestination(String accountSid,
+                                                                         String countryCode,
+                                                                         Boolean mobileEnabled,
+                                                                         Boolean landlineEnabled,
+                                                                         Boolean smsEnabled)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/IncomingPhoneNumberProxy.html b/apidocs/com/telapi/api/restproxies/IncomingPhoneNumberProxy.html new file mode 100644 index 0000000..9b1670c --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/IncomingPhoneNumberProxy.html @@ -0,0 +1,327 @@ + + + + + + + +IncomingPhoneNumberProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.restproxies +
+Interface IncomingPhoneNumberProxy

+
+
+
public interface IncomingPhoneNumberProxy
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber>addIncomingPhoneNumber(String accountSid, + String phoneNumber, + String areaCode) + +
+           
+ org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber>deleteIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumberList>listIncomingPhoneNumbers(String accountSid, + String phoneNumber, + String friendlyName, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber>updateIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid, + String friendlyName, + String voiceUrl, + HttpMethod voiceMethod, + String voiceFallbackUrl, + HttpMethod voiceFallbackMethod, + Boolean voiceCallerIdLookup, + String smsUrl, + HttpMethod smsMethod, + String smsFallbackUrl, + HttpMethod smsFallbackMethod, + String hangupCallback, + HttpMethod hangupCallbackMethod, + String heartbeatUrl, + HttpMethod heartbeatMethod) + +
+           
+ org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber>viewIncomingPhoneNumber(String accountSid, + String incomingPhoneNumberSid) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+viewIncomingPhoneNumber

+
+org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber> viewIncomingPhoneNumber(String accountSid,
+                                                                                      String incomingPhoneNumberSid)
+
+
+
+
+
+
+ +

+listIncomingPhoneNumbers

+
+org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumberList> listIncomingPhoneNumbers(String accountSid,
+                                                                                           String phoneNumber,
+                                                                                           String friendlyName,
+                                                                                           Long page,
+                                                                                           Long pageSize)
+
+
+
+
+
+
+ +

+addIncomingPhoneNumber

+
+org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber> addIncomingPhoneNumber(String accountSid,
+                                                                                     String phoneNumber,
+                                                                                     String areaCode)
+
+
+
+
+
+
+ +

+deleteIncomingPhoneNumber

+
+org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber> deleteIncomingPhoneNumber(String accountSid,
+                                                                                        String incomingPhoneNumberSid)
+
+
+
+
+
+
+ +

+updateIncomingPhoneNumber

+
+org.jboss.resteasy.client.ClientResponse<IncomingPhoneNumber> updateIncomingPhoneNumber(String accountSid,
+                                                                                        String incomingPhoneNumberSid,
+                                                                                        String friendlyName,
+                                                                                        String voiceUrl,
+                                                                                        HttpMethod voiceMethod,
+                                                                                        String voiceFallbackUrl,
+                                                                                        HttpMethod voiceFallbackMethod,
+                                                                                        Boolean voiceCallerIdLookup,
+                                                                                        String smsUrl,
+                                                                                        HttpMethod smsMethod,
+                                                                                        String smsFallbackUrl,
+                                                                                        HttpMethod smsFallbackMethod,
+                                                                                        String hangupCallback,
+                                                                                        HttpMethod hangupCallbackMethod,
+                                                                                        String heartbeatUrl,
+                                                                                        HttpMethod heartbeatMethod)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/NotificationProxy.html b/apidocs/com/telapi/api/restproxies/NotificationProxy.html new file mode 100644 index 0000000..0029d6f --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/NotificationProxy.html @@ -0,0 +1,259 @@ + + + + + + + +NotificationProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.restproxies +
+Interface NotificationProxy

+
+
+
public interface NotificationProxy
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.jboss.resteasy.client.ClientResponse<NotificationList>listCallNotifications(String accountSid, + String callSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<NotificationList>listNotifications(String accountSid, + LogLevel log, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Notification>viewNotification(String accountSid, + String notificationSid) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+viewNotification

+
+org.jboss.resteasy.client.ClientResponse<Notification> viewNotification(String accountSid,
+                                                                        String notificationSid)
+
+
+
+
+
+
+ +

+listNotifications

+
+org.jboss.resteasy.client.ClientResponse<NotificationList> listNotifications(String accountSid,
+                                                                             LogLevel log,
+                                                                             Long page,
+                                                                             Long pageSize)
+
+
+
+
+
+
+ +

+listCallNotifications

+
+org.jboss.resteasy.client.ClientResponse<NotificationList> listCallNotifications(String accountSid,
+                                                                                 String callSid,
+                                                                                 LogLevel log,
+                                                                                 Long page,
+                                                                                 Long pageSize)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/RecordingProxy.html b/apidocs/com/telapi/api/restproxies/RecordingProxy.html new file mode 100644 index 0000000..4f04fb0 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/RecordingProxy.html @@ -0,0 +1,284 @@ + + + + + + + +RecordingProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.restproxies +
+Interface RecordingProxy

+
+
+
public interface RecordingProxy
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.jboss.resteasy.client.ClientResponse<String>getRecording(String accountSid, + String recordingSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<RecordingList>listCallRecordings(String accountSid, + String callSid, + String dateCreatedGte, + String dateCreatedLt, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<RecordingList>listRecordings(String accountSid, + String dateCreatedGte, + String dateCreatedLt, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Recording>viewRecording(String accountSid, + String recordingSid) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+viewRecording

+
+org.jboss.resteasy.client.ClientResponse<Recording> viewRecording(String accountSid,
+                                                                  String recordingSid)
+
+
+
+
+
+
+ +

+getRecording

+
+org.jboss.resteasy.client.ClientResponse<String> getRecording(String accountSid,
+                                                              String recordingSid)
+
+
+
+
+
+
+ +

+listRecordings

+
+org.jboss.resteasy.client.ClientResponse<RecordingList> listRecordings(String accountSid,
+                                                                       String dateCreatedGte,
+                                                                       String dateCreatedLt,
+                                                                       Long page,
+                                                                       Long pageSize)
+
+
+
+
+
+
+ +

+listCallRecordings

+
+org.jboss.resteasy.client.ClientResponse<RecordingList> listCallRecordings(String accountSid,
+                                                                           String callSid,
+                                                                           String dateCreatedGte,
+                                                                           String dateCreatedLt,
+                                                                           Long page,
+                                                                           Long pageSize)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/SmsProxy.html b/apidocs/com/telapi/api/restproxies/SmsProxy.html new file mode 100644 index 0000000..699db84 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/SmsProxy.html @@ -0,0 +1,265 @@ + + + + + + + +SmsProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.restproxies +
+Interface SmsProxy

+
+
+
public interface SmsProxy
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.jboss.resteasy.client.ClientResponse<SmsMessage>getSmsMessage(String accountSid, + String smsMessageSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<SmsMessageList>getSmsMessageList(String accountSid, + String to, + String from, + String dateSentGte, + String dateSentLt, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<SmsMessage>sendSmsMessage(String accountSid, + String to, + String from, + String body, + String statusCallback) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getSmsMessage

+
+org.jboss.resteasy.client.ClientResponse<SmsMessage> getSmsMessage(String accountSid,
+                                                                   String smsMessageSid)
+
+
+
+
+
+
+ +

+getSmsMessageList

+
+org.jboss.resteasy.client.ClientResponse<SmsMessageList> getSmsMessageList(String accountSid,
+                                                                           String to,
+                                                                           String from,
+                                                                           String dateSentGte,
+                                                                           String dateSentLt,
+                                                                           Long page,
+                                                                           Long pageSize)
+
+
+
+
+
+
+ +

+sendSmsMessage

+
+org.jboss.resteasy.client.ClientResponse<SmsMessage> sendSmsMessage(String accountSid,
+                                                                    String to,
+                                                                    String from,
+                                                                    String body,
+                                                                    String statusCallback)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/TranscriptionProxy.html b/apidocs/com/telapi/api/restproxies/TranscriptionProxy.html new file mode 100644 index 0000000..957f817 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/TranscriptionProxy.html @@ -0,0 +1,342 @@ + + + + + + + +TranscriptionProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.restproxies +
+Interface TranscriptionProxy

+
+
+
public interface TranscriptionProxy
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.jboss.resteasy.client.ClientResponse<TranscriptionList>listRecordingTranscriptions(String accountSid, + String recordingSid, + TranscriptionStatus status, + String dateTranscribedGte, + String dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<TranscriptionList>listTranscriptions(String accountSid, + TranscriptionStatus status, + String dateTranscribedGte, + String dateTranscribedLt, + Long page, + Long pageSize) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Transcription>transcribeAudioUrl(String accountSid, + String audioUrl, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Transcription>transcribeRecording(String accountSid, + String recordingSid, + String transcribeCallback, + HttpMethod callbackMethod, + TranscriptionType quality) + +
+           
+ org.jboss.resteasy.client.ClientResponse<Transcription>viewTranscription(String accountSid, + String transcriptionSid) + +
+           
+ org.jboss.resteasy.client.ClientResponse<String>viewTranscriptionText(String accountSid, + String transcriptionSid) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+viewTranscription

+
+org.jboss.resteasy.client.ClientResponse<Transcription> viewTranscription(String accountSid,
+                                                                          String transcriptionSid)
+
+
+
+
+
+
+ +

+viewTranscriptionText

+
+org.jboss.resteasy.client.ClientResponse<String> viewTranscriptionText(String accountSid,
+                                                                       String transcriptionSid)
+
+
+
+
+
+
+ +

+listTranscriptions

+
+org.jboss.resteasy.client.ClientResponse<TranscriptionList> listTranscriptions(String accountSid,
+                                                                               TranscriptionStatus status,
+                                                                               String dateTranscribedGte,
+                                                                               String dateTranscribedLt,
+                                                                               Long page,
+                                                                               Long pageSize)
+
+
+
+
+
+
+ +

+listRecordingTranscriptions

+
+org.jboss.resteasy.client.ClientResponse<TranscriptionList> listRecordingTranscriptions(String accountSid,
+                                                                                        String recordingSid,
+                                                                                        TranscriptionStatus status,
+                                                                                        String dateTranscribedGte,
+                                                                                        String dateTranscribedLt,
+                                                                                        Long page,
+                                                                                        Long pageSize)
+
+
+
+
+
+
+ +

+transcribeRecording

+
+org.jboss.resteasy.client.ClientResponse<Transcription> transcribeRecording(String accountSid,
+                                                                            String recordingSid,
+                                                                            String transcribeCallback,
+                                                                            HttpMethod callbackMethod,
+                                                                            TranscriptionType quality)
+
+
+
+
+
+
+ +

+transcribeAudioUrl

+
+org.jboss.resteasy.client.ClientResponse<Transcription> transcribeAudioUrl(String accountSid,
+                                                                           String audioUrl,
+                                                                           String transcribeCallback,
+                                                                           HttpMethod callbackMethod,
+                                                                           TranscriptionType quality)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/class-use/AccountsProxy.html b/apidocs/com/telapi/api/restproxies/class-use/AccountsProxy.html new file mode 100644 index 0000000..027ef9b --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/class-use/AccountsProxy.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Interface com.telapi.api.restproxies.AccountsProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.restproxies.AccountsProxy

+
+No usage of com.telapi.api.restproxies.AccountsProxy +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/class-use/ApplicationProxy.html b/apidocs/com/telapi/api/restproxies/class-use/ApplicationProxy.html new file mode 100644 index 0000000..cdaf791 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/class-use/ApplicationProxy.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Interface com.telapi.api.restproxies.ApplicationProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.restproxies.ApplicationProxy

+
+No usage of com.telapi.api.restproxies.ApplicationProxy +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/class-use/AvailablePhoneNumberProxy.html b/apidocs/com/telapi/api/restproxies/class-use/AvailablePhoneNumberProxy.html new file mode 100644 index 0000000..0f46a94 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/class-use/AvailablePhoneNumberProxy.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Interface com.telapi.api.restproxies.AvailablePhoneNumberProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.restproxies.AvailablePhoneNumberProxy

+
+No usage of com.telapi.api.restproxies.AvailablePhoneNumberProxy +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/class-use/CallProxy.html b/apidocs/com/telapi/api/restproxies/class-use/CallProxy.html new file mode 100644 index 0000000..3bf0e02 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/class-use/CallProxy.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Interface com.telapi.api.restproxies.CallProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.restproxies.CallProxy

+
+No usage of com.telapi.api.restproxies.CallProxy +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/class-use/CarrierLookupProxy.html b/apidocs/com/telapi/api/restproxies/class-use/CarrierLookupProxy.html new file mode 100644 index 0000000..72c0027 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/class-use/CarrierLookupProxy.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Interface com.telapi.api.restproxies.CarrierLookupProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.restproxies.CarrierLookupProxy

+
+No usage of com.telapi.api.restproxies.CarrierLookupProxy +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/class-use/ConferenceProxy.html b/apidocs/com/telapi/api/restproxies/class-use/ConferenceProxy.html new file mode 100644 index 0000000..c560d7e --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/class-use/ConferenceProxy.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Interface com.telapi.api.restproxies.ConferenceProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.restproxies.ConferenceProxy

+
+No usage of com.telapi.api.restproxies.ConferenceProxy +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/class-use/FraudControlProxy.html b/apidocs/com/telapi/api/restproxies/class-use/FraudControlProxy.html new file mode 100644 index 0000000..20713ad --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/class-use/FraudControlProxy.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Interface com.telapi.api.restproxies.FraudControlProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.restproxies.FraudControlProxy

+
+No usage of com.telapi.api.restproxies.FraudControlProxy +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/class-use/IncomingPhoneNumberProxy.html b/apidocs/com/telapi/api/restproxies/class-use/IncomingPhoneNumberProxy.html new file mode 100644 index 0000000..c7687aa --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/class-use/IncomingPhoneNumberProxy.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Interface com.telapi.api.restproxies.IncomingPhoneNumberProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.restproxies.IncomingPhoneNumberProxy

+
+No usage of com.telapi.api.restproxies.IncomingPhoneNumberProxy +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/class-use/NotificationProxy.html b/apidocs/com/telapi/api/restproxies/class-use/NotificationProxy.html new file mode 100644 index 0000000..5890fc1 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/class-use/NotificationProxy.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Interface com.telapi.api.restproxies.NotificationProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.restproxies.NotificationProxy

+
+No usage of com.telapi.api.restproxies.NotificationProxy +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/class-use/RecordingProxy.html b/apidocs/com/telapi/api/restproxies/class-use/RecordingProxy.html new file mode 100644 index 0000000..e80d577 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/class-use/RecordingProxy.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Interface com.telapi.api.restproxies.RecordingProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.restproxies.RecordingProxy

+
+No usage of com.telapi.api.restproxies.RecordingProxy +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/class-use/SmsProxy.html b/apidocs/com/telapi/api/restproxies/class-use/SmsProxy.html new file mode 100644 index 0000000..f3e1efb --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/class-use/SmsProxy.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Interface com.telapi.api.restproxies.SmsProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.restproxies.SmsProxy

+
+No usage of com.telapi.api.restproxies.SmsProxy +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/class-use/TranscriptionProxy.html b/apidocs/com/telapi/api/restproxies/class-use/TranscriptionProxy.html new file mode 100644 index 0000000..c6df606 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/class-use/TranscriptionProxy.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Interface com.telapi.api.restproxies.TranscriptionProxy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.telapi.api.restproxies.TranscriptionProxy

+
+No usage of com.telapi.api.restproxies.TranscriptionProxy +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/package-frame.html b/apidocs/com/telapi/api/restproxies/package-frame.html new file mode 100644 index 0000000..479b372 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/package-frame.html @@ -0,0 +1,55 @@ + + + + + + + +com.telapi.api.restproxies (Telapi Java API) + + + + + + + + + + + +com.telapi.api.restproxies + + + + +
+Interfaces  + +
+AccountsProxy +
+ApplicationProxy +
+AvailablePhoneNumberProxy +
+CallProxy +
+CarrierLookupProxy +
+ConferenceProxy +
+FraudControlProxy +
+IncomingPhoneNumberProxy +
+NotificationProxy +
+RecordingProxy +
+SmsProxy +
+TranscriptionProxy
+ + + + diff --git a/apidocs/com/telapi/api/restproxies/package-summary.html b/apidocs/com/telapi/api/restproxies/package-summary.html new file mode 100644 index 0000000..89e5030 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/package-summary.html @@ -0,0 +1,200 @@ + + + + + + + +com.telapi.api.restproxies (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.restproxies +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
AccountsProxy 
ApplicationProxy 
AvailablePhoneNumberProxy 
CallProxy 
CarrierLookupProxy 
ConferenceProxy 
FraudControlProxy 
IncomingPhoneNumberProxy 
NotificationProxy 
RecordingProxy 
SmsProxy 
TranscriptionProxy 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/package-tree.html b/apidocs/com/telapi/api/restproxies/package-tree.html new file mode 100644 index 0000000..8999a5c --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/package-tree.html @@ -0,0 +1,150 @@ + + + + + + + +com.telapi.api.restproxies Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.restproxies +

+
+
+
Package Hierarchies:
All Packages
+
+

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/com/telapi/api/restproxies/package-use.html b/apidocs/com/telapi/api/restproxies/package-use.html new file mode 100644 index 0000000..a1448a9 --- /dev/null +++ b/apidocs/com/telapi/api/restproxies/package-use.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Package com.telapi.api.restproxies (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.restproxies

+
+No usage of com.telapi.api.restproxies +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/constant-values.html b/apidocs/constant-values.html new file mode 100644 index 0000000..2a89439 --- /dev/null +++ b/apidocs/constant-values.html @@ -0,0 +1,179 @@ + + + + + + + +Constant Field Values (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + + + + + + +
+com.telapi.*
+ +

+ + + + + + + + + + + + + + + + + +
com.telapi.api.configuration.TelapiConstants
+public static final StringAPI_VERSION"2011-07-01"
+public static final StringBASE_URL"https://api.telapi.com/"
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/deprecated-list.html b/apidocs/deprecated-list.html new file mode 100644 index 0000000..ceb5e8e --- /dev/null +++ b/apidocs/deprecated-list.html @@ -0,0 +1,145 @@ + + + + + + + +Deprecated List (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/index-all.html b/apidocs/index-all.html new file mode 100644 index 0000000..888c174 --- /dev/null +++ b/apidocs/index-all.html @@ -0,0 +1,3482 @@ + + + + + + + +Index (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P Q R S T U V W
+

+A

+
+
Account - Class in com.telapi.api.domain
An account resource provides information about a single TelAPI account.
Account() - +Constructor for class com.telapi.api.domain.Account +
  +
AccountsList - Class in com.telapi.api.domain.list
 
AccountsList() - +Constructor for class com.telapi.api.domain.list.AccountsList +
  +
AccountsProxy - Interface in com.telapi.api.restproxies
 
addIncomingPhoneNumber(String, String, String) - +Method in interface com.telapi.api.restproxies.IncomingPhoneNumberProxy +
  +
addIncomingPhoneNumber(String, String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
addIncomingPhoneNumber(String, String) - +Method in class com.telapi.api.TelapiConnector +
TelAPI incoming phone numbers can be added or removed from an account + through our REST API. +
AddOrDeleteIncomingPhoneNumberExample - Class in com.telapi.api.example
 
AddOrDeleteIncomingPhoneNumberExample() - +Constructor for class com.telapi.api.example.AddOrDeleteIncomingPhoneNumberExample +
  +
AnsweredBy - Enum in com.telapi.api.domain.enums
 
API_VERSION - +Static variable in class com.telapi.api.configuration.TelapiConstants +
  +
Application - Class in com.telapi.api.domain
TelAPI offers the ability to preset all voice and sms urls for a given + application name.
Application() - +Constructor for class com.telapi.api.domain.Application +
  +
ApplicationList - Class in com.telapi.api.domain.list
 
ApplicationList() - +Constructor for class com.telapi.api.domain.list.ApplicationList +
  +
ApplicationProxy - Interface in com.telapi.api.restproxies
 
ApplicationRequest - Class in com.telapi.api.requests
 
ApplicationRequest() - +Constructor for class com.telapi.api.requests.ApplicationRequest +
  +
AudioDirection - Enum in com.telapi.api.domain.enums
 
authorizeDestination(String, String, Boolean, Boolean, Boolean) - +Method in interface com.telapi.api.restproxies.FraudControlProxy +
  +
authorizeDestination(String, String, Boolean, Boolean, Boolean) - +Method in class com.telapi.api.TelapiConnector +
  +
authorizeDestination(String, Boolean, Boolean, Boolean) - +Method in class com.telapi.api.TelapiConnector +
Used to authorize previously blocked destinations for outbound calls and + sms messages. +
AuthorizeDestinationExample - Class in com.telapi.api.example
 
AuthorizeDestinationExample() - +Constructor for class com.telapi.api.example.AuthorizeDestinationExample +
  +
AvailablePhoneNumber - Class in com.telapi.api.domain
If you want to add a new TelAPI number, you need to know what ones are + available.
AvailablePhoneNumber() - +Constructor for class com.telapi.api.domain.AvailablePhoneNumber +
  +
AvailablePhoneNumberList - Class in com.telapi.api.domain.list
 
AvailablePhoneNumberList() - +Constructor for class com.telapi.api.domain.list.AvailablePhoneNumberList +
  +
AvailablePhoneNumberProxy - Interface in com.telapi.api.restproxies
 
+
+

+B

+
+
BASE_URL - +Static variable in class com.telapi.api.configuration.TelapiConstants +
  +
BaseTelapiObject - Class in com.telapi.api.domain
A base resource object containing properties present in all of the other + resource objects.
BaseTelapiObject() - +Constructor for class com.telapi.api.domain.BaseTelapiObject +
  +
BaseTelapiObjectWithMethods - Class in com.telapi.api.domain
 
BaseTelapiObjectWithMethods() - +Constructor for class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
BasicTelapiConfiguration - Class in com.telapi.api.configuration
Provides a basic POJO-like implementation of TelapiConfiguration.
BasicTelapiConfiguration() - +Constructor for class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
BasicTelapiConfiguration(String, String) - +Constructor for class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
blockDestination(String, String, Boolean, Boolean, Boolean) - +Method in interface com.telapi.api.restproxies.FraudControlProxy +
  +
blockDestination(String, String, Boolean, Boolean, Boolean) - +Method in class com.telapi.api.TelapiConnector +
  +
blockDestination(String, Boolean, Boolean, Boolean) - +Method in class com.telapi.api.TelapiConnector +
TelAPI will restrict outbound calls and sms messages to blocked + destinations. +
BlockDestinationExample - Class in com.telapi.api.example
 
BlockDestinationExample() - +Constructor for class com.telapi.api.example.BlockDestinationExample +
  +
+
+

+C

+
+
Call - Class in com.telapi.api.domain
A call resource provides information about an individual call that has + occurred through TelAPI.
Call() - +Constructor for class com.telapi.api.domain.Call +
  +
CallInterruptStatus - Enum in com.telapi.api.domain.enums
 
CallList - Class in com.telapi.api.domain.list
 
CallList() - +Constructor for class com.telapi.api.domain.list.CallList +
  +
CallProxy - Interface in com.telapi.api.restproxies
 
CallRequest - Class in com.telapi.api.requests
 
CallRequest() - +Constructor for class com.telapi.api.requests.CallRequest +
  +
CallStatus - Enum in com.telapi.api.domain.enums
 
CallSubresourceUris - Class in com.telapi.api.domain
List of a calls various subresources and their URI path.
CallSubresourceUris() - +Constructor for class com.telapi.api.domain.CallSubresourceUris +
  +
CarrierLookup - Class in com.telapi.api.domain
Carrier lookup information.
CarrierLookup() - +Constructor for class com.telapi.api.domain.CarrierLookup +
  +
carrierLookup(String, String) - +Method in interface com.telapi.api.restproxies.CarrierLookupProxy +
  +
carrierLookup(String, List<String>) - +Method in interface com.telapi.api.restproxies.CarrierLookupProxy +
  +
carrierLookup(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
carrierLookup(String, List<String>) - +Method in class com.telapi.api.TelapiConnector +
  +
carrierLookup(String) - +Method in class com.telapi.api.TelapiConnector +
Provides a way to look up the carrier of a phone number. +
carrierLookup(List<String>) - +Method in class com.telapi.api.TelapiConnector +
Provides a way to look up the carrier of phone numbers. +
CarrierLookupExample - Class in com.telapi.api.example
 
CarrierLookupExample() - +Constructor for class com.telapi.api.example.CarrierLookupExample +
  +
CarrierLookupList - Class in com.telapi.api.domain.list
 
CarrierLookupList() - +Constructor for class com.telapi.api.domain.list.CarrierLookupList +
  +
CarrierLookupProxy - Interface in com.telapi.api.restproxies
 
CarrierLookupStatus - Enum in com.telapi.api.domain.enums
 
CnamDip - Class in com.telapi.api.domain
Provides CNAM caller ID information.
CnamDip() - +Constructor for class com.telapi.api.domain.CnamDip +
  +
CnamDipList - Class in com.telapi.api.domain.list
 
CnamDipList() - +Constructor for class com.telapi.api.domain.list.CnamDipList +
  +
cnamLookup(String, String) - +Method in interface com.telapi.api.restproxies.CarrierLookupProxy +
  +
cnamLookup(String, List<String>) - +Method in interface com.telapi.api.restproxies.CarrierLookupProxy +
  +
cnamLookup(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
cnamLookup(String, List<String>) - +Method in class com.telapi.api.TelapiConnector +
  +
cnamLookup(String) - +Method in class com.telapi.api.TelapiConnector +
Performs a CNAM lookup for a phone number. +
cnamLookup(List<String>) - +Method in class com.telapi.api.TelapiConnector +
Performs a CNAM lookup for multiple phone numbers. +
CnamLookupExample - Class in com.telapi.api.example
 
CnamLookupExample() - +Constructor for class com.telapi.api.example.CnamLookupExample +
  +
com.telapi.api - package com.telapi.api
 
com.telapi.api.configuration - package com.telapi.api.configuration
 
com.telapi.api.domain - package com.telapi.api.domain
 
com.telapi.api.domain.enums - package com.telapi.api.domain.enums
 
com.telapi.api.domain.enums.util - package com.telapi.api.domain.enums.util
 
com.telapi.api.domain.list - package com.telapi.api.domain.list
 
com.telapi.api.example - package com.telapi.api.example
 
com.telapi.api.exceptions - package com.telapi.api.exceptions
 
com.telapi.api.http - package com.telapi.api.http
 
com.telapi.api.inboundxml.elements - package com.telapi.api.inboundxml.elements
 
com.telapi.api.inboundxml.elements.enums - package com.telapi.api.inboundxml.elements.enums
 
com.telapi.api.inboundxml.example - package com.telapi.api.inboundxml.example
 
com.telapi.api.inboundxml.parameters - package com.telapi.api.inboundxml.parameters
 
com.telapi.api.json - package com.telapi.api.json
 
com.telapi.api.requests - package com.telapi.api.requests
 
com.telapi.api.restproxies - package com.telapi.api.restproxies
 
Conference - Class in com.telapi.api.domain
Resource properties about conference calls that occurred through a TelAPI + account can be requested using our REST API.
Conference() - +Constructor for class com.telapi.api.domain.Conference +
  +
Conference - Class in com.telapi.api.inboundxml.elements
 
conference(String, Boolean, Boolean, Boolean, Boolean, Long, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, Boolean) - +Method in class com.telapi.api.inboundxml.elements.Dial +
Appends a conference element to the dial element. +
conference(String) - +Method in class com.telapi.api.inboundxml.elements.Dial +
Convenience method for creating a Conference element. +
conference(ConferenceParameters) - +Method in class com.telapi.api.inboundxml.elements.Dial +
Convenience method for creating a Conference element. +
ConferenceExample - Class in com.telapi.api.inboundxml.example
 
ConferenceExample() - +Constructor for class com.telapi.api.inboundxml.example.ConferenceExample +
  +
ConferenceList - Class in com.telapi.api.domain.list
 
ConferenceList() - +Constructor for class com.telapi.api.domain.list.ConferenceList +
  +
ConferenceParameters - Class in com.telapi.api.inboundxml.parameters
 
ConferenceParameters() - +Constructor for class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
ConferenceProxy - Interface in com.telapi.api.restproxies
 
ConferenceSubresourceUris - Class in com.telapi.api.domain
List of a calls various subresources and their URI path.
ConferenceSubresourceUris() - +Constructor for class com.telapi.api.domain.ConferenceSubresourceUris +
  +
create() - +Static method in class com.telapi.api.inboundxml.elements.Response +
Creates a new basic response object. +
createApplication(String, String, String, HttpMethod, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, HttpMethod) - +Method in interface com.telapi.api.restproxies.ApplicationProxy +
  +
createApplication(String, String, String, HttpMethod, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, HttpMethod) - +Method in class com.telapi.api.TelapiConnector +
  +
createApplication(ApplicationRequest) - +Method in class com.telapi.api.TelapiConnector +
  +
createApplication(String, String, HttpMethod, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, HttpMethod) - +Method in class com.telapi.api.TelapiConnector +
Creates a new application for managing TelAPI phone numbers, +
CreateApplicationExample - Class in com.telapi.api.example
 
CreateApplicationExample() - +Constructor for class com.telapi.api.example.CreateApplicationExample +
  +
createDial(String, String, HttpMethod, Long, Boolean, Long, String, Boolean, String, String, HttpMethod, Boolean, String, Boolean, String, HttpMethod, String) - +Static method in class com.telapi.api.inboundxml.elements.Dial +
Creates a new Dial element. +
createDial(DialParameters) - +Static method in class com.telapi.api.inboundxml.elements.Dial +
Convenience method for creating a Dial element. +
createDial(String) - +Static method in class com.telapi.api.inboundxml.elements.Dial +
Convenience method for creating a Dial element. +
createDial() - +Static method in class com.telapi.api.inboundxml.elements.Dial +
Convenience method for creating a Dial element. +
createExecutor(TelapiConfiguration) - +Static method in class com.telapi.api.http.RestExecutor +
  +
createGather(String, HttpMethod, Long, String, Long) - +Static method in class com.telapi.api.inboundxml.elements.Gather +
Creates a Gather element. +
createGather(String) - +Static method in class com.telapi.api.inboundxml.elements.Gather +
Convenience method for creating a new Gather element. +
createGetSpeech(String, String, HttpMethod, Long, Boolean) - +Static method in class com.telapi.api.inboundxml.elements.GetSpeech +
Creates a new GetSpeech element. +
createGetSpeech(String, String) - +Static method in class com.telapi.api.inboundxml.elements.GetSpeech +
Convenience method for creating a new GetSpeech element. +
createXml() - +Method in class com.telapi.api.inboundxml.elements.Response +
  +
+
+

+D

+
+
deafOrMuteParticipant(String, String, String, Boolean, Boolean) - +Method in class com.telapi.api.TelapiConnector +
  +
deafOrMuteParticipant(String, String, Boolean, Boolean) - +Method in class com.telapi.api.TelapiConnector +
Conference participants can be muted or deafed by calling this method. +
DeafOrMuteParticipantExample - Class in com.telapi.api.example
 
DeafOrMuteParticipantExample() - +Constructor for class com.telapi.api.example.DeafOrMuteParticipantExample +
  +
deleteApplication(String, String) - +Method in interface com.telapi.api.restproxies.ApplicationProxy +
  +
deleteApplication(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
deleteApplication(String) - +Method in class com.telapi.api.TelapiConnector +
Deletes an existing application. +
DeleteApplicationExample - Class in com.telapi.api.example
 
DeleteApplicationExample() - +Constructor for class com.telapi.api.example.DeleteApplicationExample +
  +
deleteIncomingPhoneNumber(String, String) - +Method in interface com.telapi.api.restproxies.IncomingPhoneNumberProxy +
  +
deleteIncomingPhoneNumber(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
deleteIncomingPhoneNumber(String) - +Method in class com.telapi.api.TelapiConnector +
Deletes an IncomingPhoneNumber from your account. +
deserialize(JsonParser, DeserializationContext) - +Method in class com.telapi.api.json.JsonBooleanParser +
  +
deserialize(JsonParser, DeserializationContext) - +Method in class com.telapi.api.json.JsonDateParser +
  +
deserialize(JsonParser, DeserializationContext) - +Method in class com.telapi.api.json.JsonDurationParser +
  +
Destination - Class in com.telapi.api.domain
Contains Fraud Control information about a Destination.
Destination() - +Constructor for class com.telapi.api.domain.Destination +
  +
DestinationFraudControlGroup - Class in com.telapi.api.domain
Contains Fraud control information about various Destinations.
DestinationFraudControlGroup() - +Constructor for class com.telapi.api.domain.DestinationFraudControlGroup +
  +
Dial - Class in com.telapi.api.inboundxml.elements
 
dial(Dial) - +Method in class com.telapi.api.inboundxml.elements.Response +
Adds a Dial element to a Response element. +
DialElement - Interface in com.telapi.api.inboundxml.elements
 
DialExample - Class in com.telapi.api.inboundxml.example
 
DialExample() - +Constructor for class com.telapi.api.inboundxml.example.DialExample +
  +
DialParameters - Class in com.telapi.api.inboundxml.parameters
 
DialParameters() - +Constructor for class com.telapi.api.inboundxml.parameters.DialParameters +
  +
+
+

+E

+
+
EnumUtil - Class in com.telapi.api.domain.enums.util
 
EnumUtil() - +Constructor for class com.telapi.api.domain.enums.util.EnumUtil +
  +
extendDestinationAuth(String, String, Boolean, Boolean, Boolean) - +Method in interface com.telapi.api.restproxies.FraudControlProxy +
  +
extendDestinationAuth(String, String, Boolean, Boolean, Boolean) - +Method in class com.telapi.api.TelapiConnector +
  +
extendDestinationAuth(String, Boolean, Boolean, Boolean) - +Method in class com.telapi.api.TelapiConnector +
By default, authorized destinations will expire and return to fully + blocked status after 30 days. +
ExtendDestinationExample - Class in com.telapi.api.example
 
ExtendDestinationExample() - +Constructor for class com.telapi.api.example.ExtendDestinationExample +
  +
+
+

+F

+
+
forValue(String) - +Static method in enum com.telapi.api.domain.enums.AnsweredBy +
  +
forValue(String) - +Static method in enum com.telapi.api.domain.enums.AudioDirection +
  +
forValue(String) - +Static method in enum com.telapi.api.domain.enums.CallInterruptStatus +
  +
forValue(String) - +Static method in enum com.telapi.api.domain.enums.CallStatus +
  +
forValue(String) - +Static method in enum com.telapi.api.domain.enums.CarrierLookupStatus +
  +
forValue(String) - +Static method in enum com.telapi.api.domain.enums.HttpMethod +
  +
forValue(String) - +Static method in enum com.telapi.api.domain.enums.Legs +
  +
forValue(String) - +Static method in enum com.telapi.api.domain.enums.LogLevel +
  +
forValue(String) - +Static method in enum com.telapi.api.domain.enums.PhoneNumberType +
  +
forValue(String) - +Static method in enum com.telapi.api.domain.enums.SmsDirection +
  +
forValue(String) - +Static method in enum com.telapi.api.domain.enums.TranscriptionStatus +
  +
forValue(String) - +Static method in enum com.telapi.api.domain.enums.TranscriptionType +
  +
forValue(String) - +Static method in enum com.telapi.api.inboundxml.elements.enums.RecordingFileFormat +
  +
forValue(String) - +Static method in enum com.telapi.api.inboundxml.elements.enums.RejectReason +
  +
forValue(String) - +Static method in enum com.telapi.api.inboundxml.elements.enums.Voice +
  +
Fraud - Class in com.telapi.api.domain
Lists Fraud control resource information.
Fraud() - +Constructor for class com.telapi.api.domain.Fraud +
  +
FraudControlProxy - Interface in com.telapi.api.restproxies
 
FraudList - Class in com.telapi.api.domain.list
 
FraudList() - +Constructor for class com.telapi.api.domain.list.FraudList +
  +
+
+

+G

+
+
Gather - Class in com.telapi.api.inboundxml.elements
 
gather(Gather) - +Method in class com.telapi.api.inboundxml.elements.Response +
Adds a Gather element to the current Response element. +
GatherElement - Interface in com.telapi.api.inboundxml.elements
 
GatherExample - Class in com.telapi.api.inboundxml.example
 
GatherExample() - +Constructor for class com.telapi.api.inboundxml.example.GatherExample +
  +
getAccount(String) - +Method in interface com.telapi.api.restproxies.AccountsProxy +
  +
getAccountBalance() - +Method in class com.telapi.api.domain.Account +
  +
getAccounts() - +Method in interface com.telapi.api.restproxies.AccountsProxy +
  +
getAccountSid() - +Method in class com.telapi.api.domain.BaseTelapiObject +
  +
getAccountSid() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getAccountSid() - +Method in class com.telapi.api.requests.CallRequest +
  +
getAccountSid() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getAction() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getAction() - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
getAnsweredBy() - +Method in class com.telapi.api.domain.Call +
  +
getApiVersion() - +Method in class com.telapi.api.domain.BaseTelapiObject +
  +
getApplications() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getAudioUrl() - +Method in class com.telapi.api.domain.Transcription +
  +
getAuthorized() - +Method in class com.telapi.api.domain.DestinationFraudControlGroup +
  +
getAuthToken() - +Method in class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
getAuthToken() - +Method in class com.telapi.api.configuration.PropertiesFileTelapiConfiguration +
  +
getAuthToken() - +Method in interface com.telapi.api.configuration.TelapiConfiguration +
  +
getAvailablePhoneNumbers() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getBaseUrl() - +Method in class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
getBaseUrl() - +Method in class com.telapi.api.configuration.PropertiesFileTelapiConfiguration +
  +
getBaseUrl() - +Method in interface com.telapi.api.configuration.TelapiConfiguration +
  +
getBeep() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getBlocked() - +Method in class com.telapi.api.domain.DestinationFraudControlGroup +
  +
getBody() - +Method in class com.telapi.api.domain.CnamDip +
  +
getBody() - +Method in class com.telapi.api.domain.SmsMessage +
  +
getBothLegs() - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
getCallbackMethod() - +Method in class com.telapi.api.domain.Transcription +
  +
getCallbackMethod() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getCallbackMethod() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getCallbackUrl() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getCallbackUrl() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getCallerId() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getCallerIdBlocked() - +Method in class com.telapi.api.domain.Call +
  +
getCallerName() - +Method in class com.telapi.api.domain.Call +
  +
getCallerName() - +Method in class com.telapi.api.domain.Participant +
  +
getCallerNumber() - +Method in class com.telapi.api.domain.Participant +
  +
getCalls() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getCallSid() - +Method in class com.telapi.api.domain.Notification +
  +
getCallSid() - +Method in class com.telapi.api.domain.Participant +
  +
getCallSid() - +Method in class com.telapi.api.domain.Recording +
  +
getCallSubresourceUris() - +Method in class com.telapi.api.domain.Call +
  +
getCapabilities() - +Method in class com.telapi.api.domain.IncomingPhoneNumber +
  +
getCarrier() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getCarrier() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getCity() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getCnam() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getCode() - +Method in exception com.telapi.api.exceptions.TelapiException +
  +
getConferenceName() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getConferences() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getConferenceSid() - +Method in class com.telapi.api.domain.Participant +
  +
getConfirmSound() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getCountry() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getCountryCode() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getCountryCode() - +Method in class com.telapi.api.domain.Destination +
  +
getCountryName() - +Method in class com.telapi.api.domain.Destination +
  +
getCountryPrefix() - +Method in class com.telapi.api.domain.Destination +
  +
getDateCreated() - +Method in class com.telapi.api.domain.Account +
  +
getDateCreated() - +Method in class com.telapi.api.domain.BaseTelapiObject +
  +
getDateCreated() - +Method in class com.telapi.api.domain.Destination +
  +
getDateSent() - +Method in class com.telapi.api.domain.SmsMessage +
  +
getDateUpdated() - +Method in class com.telapi.api.domain.Account +
  +
getDateUpdated() - +Method in class com.telapi.api.domain.BaseTelapiObject +
  +
getDateUpdated() - +Method in class com.telapi.api.domain.Destination +
  +
getDeaf() - +Method in class com.telapi.api.domain.Participant +
  +
getDestinations() - +Method in class com.telapi.api.domain.Fraud +
  +
getDialMusic() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getDigitsMatch() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getDigitsMatch() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getDirection() - +Method in class com.telapi.api.domain.Call +
  +
getDirection() - +Method in class com.telapi.api.domain.SmsMessage +
  +
getDuration() - +Method in class com.telapi.api.domain.Call +
  +
getDuration() - +Method in class com.telapi.api.domain.Participant +
  +
getDuration() - +Method in class com.telapi.api.domain.Recording +
  +
getDuration() - +Method in class com.telapi.api.domain.Transcription +
  +
getEnd() - +Method in class com.telapi.api.domain.TelapiList +
  +
getEndConferenceOnExit() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getEndTime() - +Method in class com.telapi.api.domain.Call +
  +
getErrorCode() - +Method in class com.telapi.api.domain.Notification +
  +
getExchange() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getExpirationDate() - +Method in class com.telapi.api.domain.Destination +
  +
getFallbackMethod() - +Method in class com.telapi.api.requests.CallRequest +
  +
getFallbackUrl() - +Method in class com.telapi.api.requests.CallRequest +
  +
getFileFormat() - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
getFinishOnKey() - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
getFirstPageUri() - +Method in class com.telapi.api.domain.TelapiList +
  +
getForwardedFrom() - +Method in class com.telapi.api.domain.Call +
  +
getForwardedFrom() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getForwardedFrom() - +Method in class com.telapi.api.requests.CallRequest +
  +
getFraud() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getFrauds() - +Method in class com.telapi.api.domain.list.FraudList +
  +
getFriendlyName() - +Method in class com.telapi.api.domain.Account +
  +
getFriendlyName() - +Method in class com.telapi.api.domain.Application +
  +
getFriendlyName() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getFriendlyName() - +Method in class com.telapi.api.domain.Conference +
  +
getFriendlyName() - +Method in class com.telapi.api.domain.IncomingPhoneNumber +
  +
getFriendlyName() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getFriendlyName() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getFrom() - +Method in class com.telapi.api.domain.Call +
  +
getFrom() - +Method in class com.telapi.api.domain.SmsMessage +
  +
getFrom() - +Method in class com.telapi.api.requests.CallRequest +
  +
getHangupCallback() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getHangupCallback() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getHangupCallbackMethod() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getHangupCallbackMethod() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getHangupOnStar() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getHangupOnStar() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getHeartbeatMethod() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getHeartbeatMethod() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getHeartbeatMethod() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getHeartbeatMethod() - +Method in class com.telapi.api.requests.CallRequest +
  +
getHeartbeatMethod() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getHeartbeatUrl() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getHeartbeatUrl() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getHeartbeatUrl() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getHeartbeatUrl() - +Method in class com.telapi.api.requests.CallRequest +
  +
getHeartbeatUrl() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getHideCallerId() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getHideCallerId() - +Method in class com.telapi.api.requests.CallRequest +
  +
getImsi() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getIncomingPhoneNumbers() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getIncomingPhoneNumberSid() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getIsLock() - +Method in class com.telapi.api.domain.Destination +
  +
getIsMobile() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getIsoCountry() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getIsPorted() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getIsRoaming() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getLandlineEnabled() - +Method in class com.telapi.api.domain.Destination +
  +
getLastPageUri() - +Method in class com.telapi.api.domain.TelapiList +
  +
getLata() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getLatitude() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getLog() - +Method in class com.telapi.api.domain.Notification +
  +
getLongitude() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getMaxLength() - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
getMaxOutboundLimit() - +Method in class com.telapi.api.domain.Account +
  +
getMaxOutboundRate() - +Method in class com.telapi.api.domain.Fraud +
  +
getMaxParticipants() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getMccmnc() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getMessage() - +Method in class com.telapi.api.domain.StatusResponse +
  +
getMessageDate() - +Method in class com.telapi.api.domain.Notification +
  +
getMessageText() - +Method in class com.telapi.api.domain.Notification +
  +
getMethod() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getMethod() - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
getMethod() - +Method in class com.telapi.api.requests.CallRequest +
  +
getMobileEnabled() - +Method in class com.telapi.api.domain.Destination +
  +
getMonthlyCost() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getMoreInfo() - +Method in class com.telapi.api.domain.Notification +
  +
getMoreInfo() - +Method in exception com.telapi.api.exceptions.TelapiException +
  +
getMuted() - +Method in class com.telapi.api.domain.Participant +
  +
getMuted() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getNextPageUri() - +Method in class com.telapi.api.domain.TelapiList +
  +
getNotifications() - +Method in class com.telapi.api.domain.CallSubresourceUris +
  +
getNotifications() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getNpa() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getNumber() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getNumpages() - +Method in class com.telapi.api.domain.TelapiList +
  +
getOcn() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getOcp() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getOnp() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getOrn() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getPage() - +Method in class com.telapi.api.domain.TelapiList +
  +
getPagesize() - +Method in class com.telapi.api.domain.TelapiList +
  +
getParentCallSid() - +Method in class com.telapi.api.domain.Call +
  +
getParticipantCount() - +Method in class com.telapi.api.domain.Conference +
  +
getParticipants() - +Method in class com.telapi.api.domain.ConferenceSubresourceUris +
  +
getPcn() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getPhoneNumber() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getPhoneNumber() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getPhoneNumber() - +Method in class com.telapi.api.domain.CnamDip +
  +
getPhoneNumber() - +Method in class com.telapi.api.domain.IncomingPhoneNumber +
  +
getPhoneNumberSid() - +Method in class com.telapi.api.domain.Call +
  +
getPlayBeep() - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
getPnp() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getPon() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getPostalCode() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getPreviousPageUri() - +Method in class com.telapi.api.domain.TelapiList +
  +
getPrice() - +Method in class com.telapi.api.domain.Call +
  +
getPrice() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getPrice() - +Method in class com.telapi.api.domain.CnamDip +
  +
getPrice() - +Method in class com.telapi.api.domain.SmsMessage +
  +
getPrice() - +Method in class com.telapi.api.domain.Transcription +
  +
getPrivacyHideNumber() - +Method in class com.telapi.api.domain.Call +
  +
getProxyHost() - +Method in class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
getProxyHost() - +Method in class com.telapi.api.configuration.PropertiesFileTelapiConfiguration +
  +
getProxyHost() - +Method in interface com.telapi.api.configuration.TelapiConfiguration +
  +
getProxyPort() - +Method in class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
getProxyPort() - +Method in class com.telapi.api.configuration.PropertiesFileTelapiConfiguration +
  +
getProxyPort() - +Method in interface com.telapi.api.configuration.TelapiConfiguration +
  +
getProxyProtocol() - +Method in class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
getProxyProtocol() - +Method in class com.telapi.api.configuration.PropertiesFileTelapiConfiguration +
  +
getProxyProtocol() - +Method in interface com.telapi.api.configuration.TelapiConfiguration +
  +
getRateCenter() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getRcn() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getRcp() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getRecord() - +Method in class com.telapi.api.requests.CallRequest +
  +
getRecordCallback() - +Method in class com.telapi.api.requests.CallRequest +
  +
getRecordCallbackMethod() - +Method in class com.telapi.api.requests.CallRequest +
  +
getRecording(String, String) - +Method in interface com.telapi.api.restproxies.RecordingProxy +
  +
getRecordings() - +Method in class com.telapi.api.domain.CallSubresourceUris +
  +
getRecordings() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getRecordingSid() - +Method in class com.telapi.api.domain.Transcription +
  +
getRecordingUrl() - +Method in class com.telapi.api.domain.Recording +
  +
getRecordingUrl(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
getRecordingUrl(String) - +Method in class com.telapi.api.TelapiConnector +
Gets the URL of the audio file containing the recording. +
getRegion() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getRequestMethod() - +Method in class com.telapi.api.domain.Notification +
  +
getRequestUrl() - +Method in class com.telapi.api.domain.Notification +
  +
getRequestVariables() - +Method in class com.telapi.api.domain.Notification +
  +
getResponseBody() - +Method in class com.telapi.api.domain.Notification +
  +
getResponseHeaders() - +Method in class com.telapi.api.domain.Notification +
  +
getRnp() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getRon() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getRunTime() - +Method in class com.telapi.api.domain.Conference +
  +
getSendDigits() - +Method in class com.telapi.api.requests.CallRequest +
  +
getSetupCost() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getSid() - +Method in class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
getSid() - +Method in class com.telapi.api.configuration.PropertiesFileTelapiConfiguration +
  +
getSid() - +Method in interface com.telapi.api.configuration.TelapiConfiguration +
  +
getSid() - +Method in class com.telapi.api.domain.Account +
  +
getSid() - +Method in class com.telapi.api.domain.BaseTelapiObject +
  +
getSid() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getSipPrivacy() - +Method in class com.telapi.api.domain.Call +
  +
getSms() - +Method in class com.telapi.api.domain.PhoneNumberCapabilities +
  +
getSmsApplicationSid() - +Method in class com.telapi.api.domain.IncomingPhoneNumber +
  +
getSmsEnabled() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getSmsEnabled() - +Method in class com.telapi.api.domain.Destination +
  +
getSmsFallbackMethod() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getSmsFallbackMethod() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getSmsFallbackMethod() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getSmsFallbackUrl() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getSmsFallbackUrl() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getSmsFallbackUrl() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getSmsMessage(String, String) - +Method in interface com.telapi.api.restproxies.SmsProxy +
  +
getSmsMessageList(String, String, String, String, String, Long, Long) - +Method in interface com.telapi.api.restproxies.SmsProxy +
  +
getSmsMessages() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getSmsMethod() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getSmsMethod() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getSmsMethod() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getSmsStatusCallbackMethod() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getSmsStatusCallbackUrl() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getSmsUrl() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getSmsUrl() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getSmsUrl() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
GetSpeech - Class in com.telapi.api.inboundxml.elements
 
getSpeech(GetSpeech) - +Method in class com.telapi.api.inboundxml.elements.Response +
Adds a GetSpeech element to the current Response element. +
GetSpeechExample - Class in com.telapi.api.inboundxml.example
 
GetSpeechExample() - +Constructor for class com.telapi.api.inboundxml.example.GetSpeechExample +
  +
getStart() - +Method in class com.telapi.api.domain.TelapiList +
  +
getStartConferenceOnEnter() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getStartTime() - +Method in class com.telapi.api.domain.Call +
  +
getStat() - +Method in class com.telapi.api.domain.CarrierLookup +
  +
getStatus() - +Method in class com.telapi.api.domain.Account +
  +
getStatus() - +Method in class com.telapi.api.domain.Call +
  +
getStatus() - +Method in class com.telapi.api.domain.Conference +
  +
getStatus() - +Method in class com.telapi.api.domain.SmsMessage +
  +
getStatus() - +Method in class com.telapi.api.domain.StatusResponse +
  +
getStatus() - +Method in class com.telapi.api.domain.Transcription +
  +
getStatus() - +Method in exception com.telapi.api.exceptions.TelapiException +
  +
getStatusCallback() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getStatusCallback() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getStatusCallback() - +Method in class com.telapi.api.requests.CallRequest +
  +
getStatusCallbackMethod() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getStatusCallbackMethod() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getStatusCallbackMethod() - +Method in class com.telapi.api.requests.CallRequest +
  +
getStayAlone() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getStraightToVm() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getSubresourceUris() - +Method in class com.telapi.api.domain.Account +
  +
getSubresourceUris() - +Method in class com.telapi.api.domain.Conference +
  +
getSupportsForwardedFrom() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getTimeLimit() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getTimeout() - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
getTimeout() - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
getTimeout() - +Method in class com.telapi.api.requests.CallRequest +
  +
getTimeZone() - +Method in class com.telapi.api.domain.Account +
  +
getTo() - +Method in class com.telapi.api.domain.Call +
  +
getTo() - +Method in class com.telapi.api.domain.SmsMessage +
  +
getTo() - +Method in class com.telapi.api.requests.CallRequest +
  +
getTotal() - +Method in class com.telapi.api.domain.TelapiList +
  +
getTransactions() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getTranscribe() - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
getTranscribe() - +Method in class com.telapi.api.requests.CallRequest +
  +
getTranscribeCallback() - +Method in class com.telapi.api.domain.Transcription +
  +
getTranscribeCallback() - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
getTranscribeCallback() - +Method in class com.telapi.api.requests.CallRequest +
  +
getTranscribeCallbackMethod() - +Method in class com.telapi.api.requests.CallRequest +
  +
getTranscriptions() - +Method in class com.telapi.api.domain.SubresourceUris +
  +
getTranscriptionText() - +Method in class com.telapi.api.domain.Transcription +
  +
getType() - +Method in class com.telapi.api.domain.Account +
  +
getType() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getType() - +Method in class com.telapi.api.domain.IncomingPhoneNumber +
  +
getType() - +Method in class com.telapi.api.domain.Transcription +
  +
getUnblockSupport() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getUri() - +Method in class com.telapi.api.domain.Account +
  +
getUri() - +Method in class com.telapi.api.domain.BaseTelapiObject +
  +
getUri() - +Method in class com.telapi.api.domain.TelapiList +
  +
getUrl() - +Method in class com.telapi.api.requests.CallRequest +
  +
getValue(String, Map<T, String>, T) - +Static method in class com.telapi.api.domain.enums.util.EnumUtil +
  +
getVoice() - +Method in class com.telapi.api.domain.PhoneNumberCapabilities +
  +
getVoiceApplicationSid() - +Method in class com.telapi.api.domain.IncomingPhoneNumber +
  +
getVoiceCallerIdLookup() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getVoiceCallerIdLookup() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getVoiceCallerIdLookup() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getVoiceEnabled() - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
getVoiceFallbackMethod() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getVoiceFallbackMethod() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getVoiceFallbackMethod() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getVoiceFallbackUrl() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getVoiceFallbackUrl() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getVoiceFallbackUrl() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getVoiceMethod() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getVoiceMethod() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getVoiceMethod() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getVoiceUrl() - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
getVoiceUrl() - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
getVoiceUrl() - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
getWaitMethod() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getWaitSound() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getWaitSoundMethod() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getWaitUrl() - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
getWhitelisted() - +Method in class com.telapi.api.domain.DestinationFraudControlGroup +
  +
+
+

+H

+
+
Hangup - Class in com.telapi.api.inboundxml.elements
 
hangup(Long) - +Method in class com.telapi.api.inboundxml.elements.Response +
Adds a Hangup element to the Response element. +
hangup() - +Method in class com.telapi.api.inboundxml.elements.Response +
Conveniece method for creating a new Hangup element. +
hangupCall(String, String, CallInterruptStatus) - +Method in interface com.telapi.api.restproxies.CallProxy +
  +
hangUpCall(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
hangUpCall(String) - +Method in class com.telapi.api.TelapiConnector +
Hangs up a call. +
HangupCallExample - Class in com.telapi.api.example
 
HangupCallExample() - +Constructor for class com.telapi.api.example.HangupCallExample +
  +
HangupExample - Class in com.telapi.api.inboundxml.example
 
HangupExample() - +Constructor for class com.telapi.api.inboundxml.example.HangupExample +
  +
hangupParticipant(String, String, String) - +Method in interface com.telapi.api.restproxies.ConferenceProxy +
  +
hangupParticipant(String, String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
hangupParticipant(String, String) - +Method in class com.telapi.api.TelapiConnector +
Hangup conference members by conference sid and call sid. +
HangupParticipantExample - Class in com.telapi.api.example
 
HangupParticipantExample() - +Constructor for class com.telapi.api.example.HangupParticipantExample +
  +
HttpMethod - Enum in com.telapi.api.domain.enums
 
+
+

+I

+
+
IncomingPhoneNumber - Class in com.telapi.api.domain
TelAPI phone numbers associated with an account are represented with the IncomingPhoneNumber resource.
IncomingPhoneNumber() - +Constructor for class com.telapi.api.domain.IncomingPhoneNumber +
  +
IncomingPhoneNumberList - Class in com.telapi.api.domain.list
 
IncomingPhoneNumberList() - +Constructor for class com.telapi.api.domain.list.IncomingPhoneNumberList +
  +
IncomingPhoneNumberProxy - Interface in com.telapi.api.restproxies
 
IncomingPhoneNumberRequest - Class in com.telapi.api.requests
 
IncomingPhoneNumberRequest() - +Constructor for class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
interruptLiveCall(String, String, String, HttpMethod, CallInterruptStatus) - +Method in interface com.telapi.api.restproxies.CallProxy +
  +
iterator() - +Method in class com.telapi.api.domain.TelapiList +
  +
+
+

+J

+
+
JsonBooleanParser - Class in com.telapi.api.json
 
JsonBooleanParser() - +Constructor for class com.telapi.api.json.JsonBooleanParser +
  +
jsonDateFormat - +Static variable in class com.telapi.api.configuration.TelapiConstants +
  +
JsonDateParser - Class in com.telapi.api.json
 
JsonDateParser() - +Constructor for class com.telapi.api.json.JsonDateParser +
  +
JsonDurationParser - Class in com.telapi.api.json
 
JsonDurationParser() - +Constructor for class com.telapi.api.json.JsonDurationParser +
  +
+
+

+L

+
+
Legs - Enum in com.telapi.api.domain.enums
 
listApplications(String, String, Long, Long) - +Method in interface com.telapi.api.restproxies.ApplicationProxy +
  +
listApplications(String, String, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listApplications(String, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
Used to get a list of application resources associated with a given + account. +
listApplications() - +Method in class com.telapi.api.TelapiConnector +
Used to get a list of all application resources associated with a given + account. +
ListApplicationsExample - Class in com.telapi.api.example
 
ListApplicationsExample() - +Constructor for class com.telapi.api.example.ListApplicationsExample +
  +
listAvailablePhoneNumbers(String, String, String, String, String, String, Long, Long) - +Method in interface com.telapi.api.restproxies.AvailablePhoneNumberProxy +
  +
listAvailablePhoneNumbers(String, String, String, String, String, String, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listAvailablePhoneNumbers(String, String, String, String, String, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
If you want to add a new TelAPI number, you need to know what ones are + available. +
ListAvailablePhoneNumbersExample - Class in com.telapi.api.example
 
ListAvailablePhoneNumbersExample() - +Constructor for class com.telapi.api.example.ListAvailablePhoneNumbersExample +
  +
listCallNotifications(String, String, LogLevel, Long, Long) - +Method in interface com.telapi.api.restproxies.NotificationProxy +
  +
listCallNotifications(String, String, LogLevel, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listCallNotifications(String, LogLevel, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
Returns a list of notifications associated with a certain Call. +
listCallRecordings(String, String, String, String, Long, Long) - +Method in interface com.telapi.api.restproxies.RecordingProxy +
  +
listCallRecordings(String, String, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listCallRecordings(String, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
Gets a list of Recordings which belong to a specified Call. +
listCalls(String, String, String, CallStatus, String, String, Long, Long) - +Method in interface com.telapi.api.restproxies.CallProxy +
  +
listCalls(String, String, String, CallStatus, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listCalls(String, String, CallStatus, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
To view a list of all inbound and outbound call resources associated with + a given account, use this method. +
listCalls() - +Method in class com.telapi.api.TelapiConnector +
To view a list of all inbound and outbound call resources associated with + a given account, use this method. +
ListCallsExample - Class in com.telapi.api.example
 
ListCallsExample() - +Constructor for class com.telapi.api.example.ListCallsExample +
  +
listConferences(String, String, String, String, String, String, String, Long, Long) - +Method in interface com.telapi.api.restproxies.ConferenceProxy +
  +
listConferences(String, String, String, Date, Date, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listConferences(String, String, Date, Date, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
To view a list of all conference resources associated with a given + account, the URI below is provided. +
listConferences() - +Method in class com.telapi.api.TelapiConnector +
To view a list of all conference resources associated with a given + account, the URI below is provided. +
ListConferencesExample - Class in com.telapi.api.example
 
ListConferencesExample() - +Constructor for class com.telapi.api.example.ListConferencesExample +
  +
listFraudControlResources(String, Long, Long) - +Method in interface com.telapi.api.restproxies.FraudControlProxy +
  +
listFraudControlResources(String, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listFraudControlResources(Long, Long) - +Method in class com.telapi.api.TelapiConnector +
Gets a list of Fraud control resources for a certain account. +
listFraudControlResources() - +Method in class com.telapi.api.TelapiConnector +
Gets a list of Fraud control resources for a certain account. +
ListFraudControResourcesExample - Class in com.telapi.api.example
 
ListFraudControResourcesExample() - +Constructor for class com.telapi.api.example.ListFraudControResourcesExample +
  +
listIncomingPhoneNumbers(String, String, String, Long, Long) - +Method in interface com.telapi.api.restproxies.IncomingPhoneNumberProxy +
  +
listIncomingPhoneNumbers(String, String, String, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listIncomingPhoneNumbers(String, String, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
Retrieves a list of incoming phone number resources associated with a + given account. +
listIncomingPhoneNumbers() - +Method in class com.telapi.api.TelapiConnector +
Retrieves a list of all incoming phone number resources associated with a + given account. +
ListIncomingPhoneNumbersExample - Class in com.telapi.api.example
 
ListIncomingPhoneNumbersExample() - +Constructor for class com.telapi.api.example.ListIncomingPhoneNumbersExample +
  +
listNotifications(String, LogLevel, Long, Long) - +Method in interface com.telapi.api.restproxies.NotificationProxy +
  +
listNotifications(String, LogLevel, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listNotifications(LogLevel, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
Returns a list of notifications associated with the account. +
listNotifications() - +Method in class com.telapi.api.TelapiConnector +
Returns a list of all notifications associated with the account. +
ListNotificationsExample - Class in com.telapi.api.example
 
ListNotificationsExample() - +Constructor for class com.telapi.api.example.ListNotificationsExample +
  +
listParticipants(String, String, Boolean, Boolean, Long, Long) - +Method in interface com.telapi.api.restproxies.ConferenceProxy +
  +
listParticipants(String, String, Boolean, Boolean, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listParticipants(String, Boolean, Boolean, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
Used to get a list of participants currently connected to a particular + conference. +
listParticipants(String) - +Method in class com.telapi.api.TelapiConnector +
Convenience method. +
ListParticipantsExample - Class in com.telapi.api.example
 
ListParticipantsExample() - +Constructor for class com.telapi.api.example.ListParticipantsExample +
  +
listRecordings(String, String, String, Long, Long) - +Method in interface com.telapi.api.restproxies.RecordingProxy +
  +
listRecordings(String, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listRecordings(Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
Gets a list of Recordings. +
listRecordings() - +Method in class com.telapi.api.TelapiConnector +
Gets a list of all Recordings. +
ListRecordingsExample - Class in com.telapi.api.example
 
ListRecordingsExample() - +Constructor for class com.telapi.api.example.ListRecordingsExample +
  +
listRecordingTranscriptions(String, String, TranscriptionStatus, String, String, Long, Long) - +Method in interface com.telapi.api.restproxies.TranscriptionProxy +
  +
listRecordingTranscriptions(String, String, TranscriptionStatus, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listRecordingTranscriptions(String, TranscriptionStatus, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
Lists all the transcriptions belonging to an account. +
ListSmsExample - Class in com.telapi.api.example
 
ListSmsExample() - +Constructor for class com.telapi.api.example.ListSmsExample +
  +
listSmsMessages(String, String, String, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listSmsMessages(String, String, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
Just as with calls, a list of all messages sent to and from a given + TelAPI account's phone numbers can be requested via our REST API. +
listSmsMessages() - +Method in class com.telapi.api.TelapiConnector +
Lists all Sms Messages for the configured account. +
listTranscriptions(String, TranscriptionStatus, String, String, Long, Long) - +Method in interface com.telapi.api.restproxies.TranscriptionProxy +
  +
listTranscriptions(String, TranscriptionStatus, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
  +
listTranscriptions(TranscriptionStatus, Date, Date, Long, Long) - +Method in class com.telapi.api.TelapiConnector +
Lists transcriptions belonging to an account. +
listTranscriptions() - +Method in class com.telapi.api.TelapiConnector +
Lists all the transcriptions belonging to an account. +
ListTranscriptionsExample - Class in com.telapi.api.example
 
ListTranscriptionsExample() - +Constructor for class com.telapi.api.example.ListTranscriptionsExample +
  +
LogLevel - Enum in com.telapi.api.domain.enums
 
+
+

+M

+
+
main(String[]) - +Static method in class com.telapi.api.example.AddOrDeleteIncomingPhoneNumberExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.AuthorizeDestinationExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.BlockDestinationExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.CarrierLookupExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.CnamLookupExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.CreateApplicationExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.DeafOrMuteParticipantExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.DeleteApplicationExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ExtendDestinationExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.HangupCallExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.HangupParticipantExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ListApplicationsExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ListAvailablePhoneNumbersExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ListCallsExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ListConferencesExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ListFraudControResourcesExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ListIncomingPhoneNumbersExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ListNotificationsExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ListParticipantsExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ListRecordingsExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ListSmsExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ListTranscriptionsExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.MakeCallExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.PlayAudioExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.PlayAudioToParticipantExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.RecordCallExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.SendDigitsExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.SendSmsExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.TranscribeAudioUrlExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.TranscribeRecordingExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.UpdateApplicationExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.UpdateIncomingPhoneNumberExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ViewAccountExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ViewApplicationExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ViewCallExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ViewConferenceExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ViewIncomingPhoneNumberExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ViewNotificationExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ViewParticipantExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ViewRecordingExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ViewSmsExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.ViewTranscriptionExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.VoiceEffectsExample +
  +
main(String[]) - +Static method in class com.telapi.api.example.WhitelistDestinationExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.ConferenceExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.DialExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.GatherExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.GetSpeechExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.HangupExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.NumberExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.PauseExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.PlayExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.RecordExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.RedirectExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.RejectExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.SayExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.SipExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.SmsExample +
  +
main(String[]) - +Static method in class com.telapi.api.inboundxml.example.SmsRedirectExample +
  +
makeCall(String, String, String, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, String, Long, Boolean, Boolean, String, HttpMethod, Boolean, String, HttpMethod) - +Method in interface com.telapi.api.restproxies.CallProxy +
  +
makeCall(String, String, String, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, String, Long, Boolean, Boolean, String, HttpMethod, Boolean, String, HttpMethod) - +Method in class com.telapi.api.TelapiConnector +
  +
makeCall(String, String, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, String, Long, Boolean, Boolean, String, HttpMethod, Boolean, String, HttpMethod) - +Method in class com.telapi.api.TelapiConnector +
Makes a call. +
makeCall(CallRequest) - +Method in class com.telapi.api.TelapiConnector +
Convenience method which accepts a CallRequest object containing + parameters. +
MakeCallExample - Class in com.telapi.api.example
 
MakeCallExample() - +Constructor for class com.telapi.api.example.MakeCallExample +
  +
muteDeafParticipant(String, String, String, Boolean, Boolean) - +Method in interface com.telapi.api.restproxies.ConferenceProxy +
  +
+
+

+N

+
+
Notification - Class in com.telapi.api.domain
Notifications that TelAPI sends to users regarding their account and TelAPI + phone numbers activity.
Notification() - +Constructor for class com.telapi.api.domain.Notification +
  +
NotificationList - Class in com.telapi.api.domain.list
 
NotificationList() - +Constructor for class com.telapi.api.domain.list.NotificationList +
  +
NotificationProxy - Interface in com.telapi.api.restproxies
 
number(String, String, String, HttpMethod) - +Method in class com.telapi.api.inboundxml.elements.Dial +
Creates a Number element. +
Number - Class in com.telapi.api.inboundxml.elements
 
NumberExample - Class in com.telapi.api.inboundxml.example
 
NumberExample() - +Constructor for class com.telapi.api.inboundxml.example.NumberExample +
  +
+
+

+P

+
+
Participant - Class in com.telapi.api.domain
 
Participant() - +Constructor for class com.telapi.api.domain.Participant +
  +
pause(Long) - +Method in class com.telapi.api.inboundxml.elements.Gather +
  +
pause() - +Method in class com.telapi.api.inboundxml.elements.Gather +
  +
pause(Long) - +Method in class com.telapi.api.inboundxml.elements.GetSpeech +
  +
pause() - +Method in class com.telapi.api.inboundxml.elements.GetSpeech +
  +
Pause - Class in com.telapi.api.inboundxml.elements
 
pause(Long) - +Method in class com.telapi.api.inboundxml.elements.Response +
Adds a Pause element to the Response element. +
pause() - +Method in class com.telapi.api.inboundxml.elements.Response +
Adds a Pause element to the Response element. +
PauseExample - Class in com.telapi.api.inboundxml.example
 
PauseExample() - +Constructor for class com.telapi.api.inboundxml.example.PauseExample +
  +
PhoneNumberCapabilities - Class in com.telapi.api.domain
The features available with this incoming phone number.
PhoneNumberCapabilities() - +Constructor for class com.telapi.api.domain.PhoneNumberCapabilities +
  +
PhoneNumberType - Enum in com.telapi.api.domain.enums
 
play(Long, String) - +Method in class com.telapi.api.inboundxml.elements.Gather +
  +
play(Long, String) - +Method in class com.telapi.api.inboundxml.elements.GetSpeech +
  +
Play - Class in com.telapi.api.inboundxml.elements
 
play(Long, String) - +Method in class com.telapi.api.inboundxml.elements.Response +
Adds a Play element to a Response element. +
playAudio(String, String, String, Long, Legs, Boolean, Boolean) - +Method in interface com.telapi.api.restproxies.CallProxy +
  +
PlayAudioExample - Class in com.telapi.api.example
 
PlayAudioExample() - +Constructor for class com.telapi.api.example.PlayAudioExample +
  +
playAudioToCall(String, String, String, Long, Legs, Boolean, Boolean) - +Method in class com.telapi.api.TelapiConnector +
  +
playAudioToCall(String, String, Long, Legs, Boolean, Boolean) - +Method in class com.telapi.api.TelapiConnector +
TelAPI allows you to play an audio file during a call. +
playAudioToCall(String, String) - +Method in class com.telapi.api.TelapiConnector +
TelAPI allows you to play an audio file during a call. +
playAudioToParticipant(String, String, String, String) - +Method in interface com.telapi.api.restproxies.ConferenceProxy +
  +
playAudioToParticipant(String, String, String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
playAudioToParticipant(String, String, String) - +Method in class com.telapi.api.TelapiConnector +
Pre-recorded sound from a file can be played to conference members. +
PlayAudioToParticipantExample - Class in com.telapi.api.example
 
PlayAudioToParticipantExample() - +Constructor for class com.telapi.api.example.PlayAudioToParticipantExample +
  +
PlayExample - Class in com.telapi.api.inboundxml.example
 
PlayExample() - +Constructor for class com.telapi.api.inboundxml.example.PlayExample +
  +
PropertiesFileTelapiConfiguration - Class in com.telapi.api.configuration
A TelapiConfiguration implementation which loads the configuration from a file.
PropertiesFileTelapiConfiguration() - +Constructor for class com.telapi.api.configuration.PropertiesFileTelapiConfiguration +
Creates a TelapiConfiguration from a file called "telapi.properties" which must be on the classpath. +
PropertiesFileTelapiConfiguration(String) - +Constructor for class com.telapi.api.configuration.PropertiesFileTelapiConfiguration +
Creates a TelapiConfiguration from a file which must be on the classpath. +
PropertiesFileTelapiConfiguration(FileInputStream) - +Constructor for class com.telapi.api.configuration.PropertiesFileTelapiConfiguration +
Creates a TelapiConfiguration by loading properties from the provided FileInputStream. +
+
+

+Q

+
+
queryDateFormat - +Static variable in class com.telapi.api.configuration.TelapiConstants +
  +
+
+

+R

+
+
Record - Class in com.telapi.api.inboundxml.elements
 
record(String, HttpMethod, Long, String, Long, Boolean, String, Boolean, Boolean, RecordingFileFormat) - +Method in class com.telapi.api.inboundxml.elements.Response +
Adds a Record element to a Response element. +
record(String) - +Method in class com.telapi.api.inboundxml.elements.Response +
Convenience method for appending a new Record element. +
record(RecordParameters) - +Method in class com.telapi.api.inboundxml.elements.Response +
Convenience method for appending a new Record element. +
recordCall(String, String, Boolean, Long, String) - +Method in interface com.telapi.api.restproxies.CallProxy +
  +
recordCall(String, String, Boolean, Long, String) - +Method in class com.telapi.api.TelapiConnector +
  +
recordCall(String, Boolean, Long, String) - +Method in class com.telapi.api.TelapiConnector +
TelAPI offers a way to both initiate or end a call recording. +
RecordCallExample - Class in com.telapi.api.example
 
RecordCallExample() - +Constructor for class com.telapi.api.example.RecordCallExample +
  +
RecordExample - Class in com.telapi.api.inboundxml.example
 
RecordExample() - +Constructor for class com.telapi.api.inboundxml.example.RecordExample +
  +
Recording - Class in com.telapi.api.domain
Recorded calls can be viewed using the REST API.
Recording() - +Constructor for class com.telapi.api.domain.Recording +
  +
RecordingFileFormat - Enum in com.telapi.api.inboundxml.elements.enums
 
RecordingList - Class in com.telapi.api.domain.list
 
RecordingList() - +Constructor for class com.telapi.api.domain.list.RecordingList +
  +
RecordingProxy - Interface in com.telapi.api.restproxies
 
RecordParameters - Class in com.telapi.api.inboundxml.parameters
 
RecordParameters(String) - +Constructor for class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
Redirect - Class in com.telapi.api.inboundxml.elements
 
redirect(String) - +Method in class com.telapi.api.inboundxml.elements.Response +
Convenience method for creating a redirect element. +
redirect(String, HttpMethod) - +Method in class com.telapi.api.inboundxml.elements.Response +
Adds a Redirect element to the Response element. +
RedirectExample - Class in com.telapi.api.inboundxml.example
 
RedirectExample() - +Constructor for class com.telapi.api.inboundxml.example.RedirectExample +
  +
Reject - Class in com.telapi.api.inboundxml.elements
 
reject(RejectReason) - +Method in class com.telapi.api.inboundxml.elements.Response +
Adds a Reject element to the Response element. +
reject() - +Method in class com.telapi.api.inboundxml.elements.Response +
Convenience method for adding a Reject element to the current Response + element. +
RejectExample - Class in com.telapi.api.inboundxml.example
 
RejectExample() - +Constructor for class com.telapi.api.inboundxml.example.RejectExample +
  +
RejectReason - Enum in com.telapi.api.inboundxml.elements.enums
 
Response - Class in com.telapi.api.inboundxml.elements
 
ResponseElement - Interface in com.telapi.api.inboundxml.elements
 
RestExecutor - Class in com.telapi.api.http
 
+
+

+S

+
+
say(String, Voice, Long) - +Method in class com.telapi.api.inboundxml.elements.Gather +
  +
say(String) - +Method in class com.telapi.api.inboundxml.elements.Gather +
  +
say(String, Voice, Long) - +Method in class com.telapi.api.inboundxml.elements.GetSpeech +
  +
say(String) - +Method in class com.telapi.api.inboundxml.elements.GetSpeech +
  +
say(String, Voice, Long) - +Method in class com.telapi.api.inboundxml.elements.Response +
Adds a Say element to a Response element. +
say(String) - +Method in class com.telapi.api.inboundxml.elements.Response +
Convenience method for creating a Say element. +
Say - Class in com.telapi.api.inboundxml.elements
 
SayExample - Class in com.telapi.api.inboundxml.example
 
SayExample() - +Constructor for class com.telapi.api.inboundxml.example.SayExample +
  +
sendDigits(String, String, String, Legs) - +Method in interface com.telapi.api.restproxies.CallProxy +
  +
sendDigits(String, String, String, Legs) - +Method in class com.telapi.api.TelapiConnector +
  +
sendDigits(String, String, Legs) - +Method in class com.telapi.api.TelapiConnector +
DTMFs, aka touch tone signals, can be sent to a call. +
SendDigitsExample - Class in com.telapi.api.example
 
SendDigitsExample() - +Constructor for class com.telapi.api.example.SendDigitsExample +
  +
SendSmsExample - Class in com.telapi.api.example
 
SendSmsExample() - +Constructor for class com.telapi.api.example.SendSmsExample +
  +
sendSmsMessage(String, String, String, String, String) - +Method in interface com.telapi.api.restproxies.SmsProxy +
  +
sendSmsMessage(String, String, String, String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
sendSmsMessage(String, String, String, String) - +Method in class com.telapi.api.TelapiConnector +
Sends an SMS message. +
setAccountBalance(BigDecimal) - +Method in class com.telapi.api.domain.Account +
  +
setAccountSid(String) - +Method in class com.telapi.api.domain.BaseTelapiObject +
  +
setAccountSid(String) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setAccountSid(String) - +Method in class com.telapi.api.requests.CallRequest +
  +
setAccountSid(String) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setAction(String) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setAction(String) - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
setAnsweredBy(AnsweredBy) - +Method in class com.telapi.api.domain.Call +
  +
setApiVersion(String) - +Method in class com.telapi.api.domain.BaseTelapiObject +
  +
setApplications(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setAudioUrl(String) - +Method in class com.telapi.api.domain.Transcription +
  +
setAuthorized(List<Destination>) - +Method in class com.telapi.api.domain.DestinationFraudControlGroup +
  +
setAuthToken(String) - +Method in class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
setAvailablePhoneNumbers(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setBaseUrl(String) - +Method in class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
setBeep(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setBlocked(List<Destination>) - +Method in class com.telapi.api.domain.DestinationFraudControlGroup +
  +
setBody(String) - +Method in class com.telapi.api.domain.CnamDip +
  +
setBody(String) - +Method in class com.telapi.api.domain.SmsMessage +
  +
setBothLegs(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
setCallbackMethod(HttpMethod) - +Method in class com.telapi.api.domain.Transcription +
  +
setCallbackMethod(HttpMethod) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setCallbackMethod(HttpMethod) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setCallbackUrl(String) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setCallbackUrl(String) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setCallerId(String) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setCallerIdBlocked(Boolean) - +Method in class com.telapi.api.domain.Call +
  +
setCallerName(String) - +Method in class com.telapi.api.domain.Call +
  +
setCallerName(String) - +Method in class com.telapi.api.domain.Participant +
  +
setCallerNumber(String) - +Method in class com.telapi.api.domain.Participant +
  +
setCalls(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setCallSid(String) - +Method in class com.telapi.api.domain.Notification +
  +
setCallSid(String) - +Method in class com.telapi.api.domain.Participant +
  +
setCallSid(String) - +Method in class com.telapi.api.domain.Recording +
  +
setCallSubresourceUris(CallSubresourceUris) - +Method in class com.telapi.api.domain.Call +
  +
setCapabilities(PhoneNumberCapabilities) - +Method in class com.telapi.api.domain.IncomingPhoneNumber +
  +
setCarrier(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setCarrier(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setCity(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setCnam(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setCode(String) - +Method in exception com.telapi.api.exceptions.TelapiException +
  +
setConferenceName(String) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setConferences(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setConferenceSid(String) - +Method in class com.telapi.api.domain.Participant +
  +
setConfirmSound(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setCountry(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setCountryCode(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setCountryCode(String) - +Method in class com.telapi.api.domain.Destination +
  +
setCountryName(String) - +Method in class com.telapi.api.domain.Destination +
  +
setCountryPrefix(String) - +Method in class com.telapi.api.domain.Destination +
  +
setDateCreated(Date) - +Method in class com.telapi.api.domain.Account +
  +
setDateCreated(Date) - +Method in class com.telapi.api.domain.BaseTelapiObject +
  +
setDateCreated(Date) - +Method in class com.telapi.api.domain.Destination +
  +
setDateSent(Date) - +Method in class com.telapi.api.domain.SmsMessage +
  +
setDateUpdated(Date) - +Method in class com.telapi.api.domain.Account +
  +
setDateUpdated(Date) - +Method in class com.telapi.api.domain.BaseTelapiObject +
  +
setDateUpdated(Date) - +Method in class com.telapi.api.domain.Destination +
  +
setDeaf(Boolean) - +Method in class com.telapi.api.domain.Participant +
  +
setDestinations(DestinationFraudControlGroup) - +Method in class com.telapi.api.domain.Fraud +
  +
setDialMusic(String) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setDigitsMatch(String) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setDigitsMatch(String) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setDirection(SmsDirection) - +Method in class com.telapi.api.domain.Call +
  +
setDirection(SmsDirection) - +Method in class com.telapi.api.domain.SmsMessage +
  +
setDuration(Long) - +Method in class com.telapi.api.domain.Call +
  +
setDuration(Long) - +Method in class com.telapi.api.domain.Participant +
  +
setDuration(Long) - +Method in class com.telapi.api.domain.Recording +
  +
setDuration(Long) - +Method in class com.telapi.api.domain.Transcription +
  +
setEnd(Long) - +Method in class com.telapi.api.domain.TelapiList +
  +
setEndConferenceOnExit(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setEndTime(Date) - +Method in class com.telapi.api.domain.Call +
  +
setErrorCode(String) - +Method in class com.telapi.api.domain.Notification +
  +
setExchange(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setExpirationDate(Date) - +Method in class com.telapi.api.domain.Destination +
  +
setFallbackMethod(HttpMethod) - +Method in class com.telapi.api.requests.CallRequest +
  +
setFallbackUrl(String) - +Method in class com.telapi.api.requests.CallRequest +
  +
setFileFormat(RecordingFileFormat) - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
setFinishOnKey(String) - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
setFirstPageUri(String) - +Method in class com.telapi.api.domain.TelapiList +
  +
setForwardedFrom(String) - +Method in class com.telapi.api.domain.Call +
  +
setForwardedFrom(String) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setForwardedFrom(String) - +Method in class com.telapi.api.requests.CallRequest +
  +
setFraud(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setFrauds(Fraud) - +Method in class com.telapi.api.domain.list.FraudList +
  +
setFriendlyName(String) - +Method in class com.telapi.api.domain.Account +
  +
setFriendlyName(String) - +Method in class com.telapi.api.domain.Application +
  +
setFriendlyName(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setFriendlyName(String) - +Method in class com.telapi.api.domain.Conference +
  +
setFriendlyName(String) - +Method in class com.telapi.api.domain.IncomingPhoneNumber +
  +
setFriendlyName(String) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setFriendlyName(String) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setFrom(String) - +Method in class com.telapi.api.domain.Call +
  +
setFrom(String) - +Method in class com.telapi.api.domain.SmsMessage +
  +
setFrom(String) - +Method in class com.telapi.api.requests.CallRequest +
  +
setHangupCallback(String) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setHangupCallback(String) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setHangupCallbackMethod(HttpMethod) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setHangupCallbackMethod(HttpMethod) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setHangupOnStar(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setHangupOnStar(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setHeartbeatMethod(HttpMethod) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setHeartbeatMethod(HttpMethod) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setHeartbeatMethod(HttpMethod) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setHeartbeatMethod(HttpMethod) - +Method in class com.telapi.api.requests.CallRequest +
  +
setHeartbeatMethod(HttpMethod) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setHeartbeatUrl(String) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setHeartbeatUrl(String) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setHeartbeatUrl(String) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setHeartbeatUrl(String) - +Method in class com.telapi.api.requests.CallRequest +
  +
setHeartbeatUrl(String) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setHideCallerId(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setHideCallerId(Boolean) - +Method in class com.telapi.api.requests.CallRequest +
  +
setImsi(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setIncomingPhoneNumbers(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setIncomingPhoneNumberSid(String) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setIsLock(Boolean) - +Method in class com.telapi.api.domain.Destination +
  +
setIsMobile(Boolean) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setIsoCountry(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setIsPorted(Boolean) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setIsRoaming(Boolean) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setLandlineEnabled(Boolean) - +Method in class com.telapi.api.domain.Destination +
  +
setLastPageUri(String) - +Method in class com.telapi.api.domain.TelapiList +
  +
setLata(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setLatitude(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setLog(LogLevel) - +Method in class com.telapi.api.domain.Notification +
  +
setLongitude(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setMaxLength(Long) - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
setMaxOutboundLimit(String) - +Method in class com.telapi.api.domain.Account +
  +
setMaxOutboundRate(BigDecimal) - +Method in class com.telapi.api.domain.Fraud +
  +
setMaxParticipants(Long) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setMccmnc(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setMessage(String) - +Method in class com.telapi.api.domain.StatusResponse +
  +
setMessageDate(Date) - +Method in class com.telapi.api.domain.Notification +
  +
setMessageText(String) - +Method in class com.telapi.api.domain.Notification +
  +
setMethod(HttpMethod) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setMethod(HttpMethod) - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
setMethod(HttpMethod) - +Method in class com.telapi.api.requests.CallRequest +
  +
setMobileEnabled(Boolean) - +Method in class com.telapi.api.domain.Destination +
  +
setMonthlyCost(BigDecimal) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setMoreInfo(String) - +Method in class com.telapi.api.domain.Notification +
  +
setMoreInfo(String) - +Method in exception com.telapi.api.exceptions.TelapiException +
  +
setMuted(Boolean) - +Method in class com.telapi.api.domain.Participant +
  +
setMuted(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setNextPageUri(String) - +Method in class com.telapi.api.domain.TelapiList +
  +
setNotifications(String) - +Method in class com.telapi.api.domain.CallSubresourceUris +
  +
setNotifications(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setNpa(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setNumber(String) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
The number which is to be dialed. +
setNumpages(Long) - +Method in class com.telapi.api.domain.TelapiList +
  +
setOcn(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setOcp(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setOnp(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setOrn(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setPage(Long) - +Method in class com.telapi.api.domain.TelapiList +
  +
setPagesize(Long) - +Method in class com.telapi.api.domain.TelapiList +
  +
setParentCallSid(String) - +Method in class com.telapi.api.domain.Call +
  +
setParticipantCount(Long) - +Method in class com.telapi.api.domain.Conference +
  +
setParticipants(String) - +Method in class com.telapi.api.domain.ConferenceSubresourceUris +
  +
setPcn(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setPhoneNumber(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setPhoneNumber(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setPhoneNumber(String) - +Method in class com.telapi.api.domain.CnamDip +
  +
setPhoneNumber(String) - +Method in class com.telapi.api.domain.IncomingPhoneNumber +
  +
setPhoneNumberSid(String) - +Method in class com.telapi.api.domain.Call +
  +
setPlayBeep(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
setPnp(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setPon(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setPostalCode(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setPreviousPageUri(String) - +Method in class com.telapi.api.domain.TelapiList +
  +
setPrice(BigDecimal) - +Method in class com.telapi.api.domain.Call +
  +
setPrice(BigDecimal) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setPrice(BigDecimal) - +Method in class com.telapi.api.domain.CnamDip +
  +
setPrice(BigDecimal) - +Method in class com.telapi.api.domain.SmsMessage +
  +
setPrice(BigDecimal) - +Method in class com.telapi.api.domain.Transcription +
  +
setPrivacyHideNumber(Boolean) - +Method in class com.telapi.api.domain.Call +
  +
setProxyHost(String) - +Method in class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
setProxyPort(String) - +Method in class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
setProxyProtocol(String) - +Method in class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
setRateCenter(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setRcn(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setRcp(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setRecord(Boolean) - +Method in class com.telapi.api.requests.CallRequest +
  +
setRecordCallback(String) - +Method in class com.telapi.api.requests.CallRequest +
  +
setRecordCallbackMethod(HttpMethod) - +Method in class com.telapi.api.requests.CallRequest +
  +
setRecordings(String) - +Method in class com.telapi.api.domain.CallSubresourceUris +
  +
setRecordings(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setRecordingSid(String) - +Method in class com.telapi.api.domain.Transcription +
  +
setRecordingUrl(String) - +Method in class com.telapi.api.domain.Recording +
  +
setRegion(String) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setRequestMethod(HttpMethod) - +Method in class com.telapi.api.domain.Notification +
  +
setRequestUrl(String) - +Method in class com.telapi.api.domain.Notification +
  +
setRequestVariables(String) - +Method in class com.telapi.api.domain.Notification +
  +
setResponseBody(String) - +Method in class com.telapi.api.domain.Notification +
  +
setResponseHeaders(String) - +Method in class com.telapi.api.domain.Notification +
  +
setRnp(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setRon(String) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setRunTime(Long) - +Method in class com.telapi.api.domain.Conference +
  +
setSendDigits(String) - +Method in class com.telapi.api.requests.CallRequest +
  +
setSetupCost(BigDecimal) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setSid(String) - +Method in class com.telapi.api.configuration.BasicTelapiConfiguration +
  +
setSid(String) - +Method in class com.telapi.api.domain.Account +
  +
setSid(String) - +Method in class com.telapi.api.domain.BaseTelapiObject +
  +
setSid(String) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setSipPrivacy(String) - +Method in class com.telapi.api.domain.Call +
  +
setSms(Boolean) - +Method in class com.telapi.api.domain.PhoneNumberCapabilities +
  +
setSmsApplicationSid(String) - +Method in class com.telapi.api.domain.IncomingPhoneNumber +
  +
setSmsEnabled(Boolean) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setSmsEnabled(Boolean) - +Method in class com.telapi.api.domain.Destination +
  +
setSmsFallbackMethod(HttpMethod) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setSmsFallbackMethod(HttpMethod) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setSmsFallbackMethod(HttpMethod) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setSmsFallbackUrl(String) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setSmsFallbackUrl(String) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setSmsFallbackUrl(String) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setSmsMessages(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setSmsMethod(HttpMethod) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setSmsMethod(HttpMethod) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setSmsMethod(HttpMethod) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setSmsStatusCallbackMethod(HttpMethod) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setSmsStatusCallbackUrl(String) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setSmsUrl(String) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setSmsUrl(String) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setSmsUrl(String) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setStart(Long) - +Method in class com.telapi.api.domain.TelapiList +
  +
setStartConferenceOnEnter(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setStartTime(Date) - +Method in class com.telapi.api.domain.Call +
  +
setStat(CarrierLookupStatus) - +Method in class com.telapi.api.domain.CarrierLookup +
  +
setStatus(String) - +Method in class com.telapi.api.domain.Account +
  +
setStatus(CallStatus) - +Method in class com.telapi.api.domain.Call +
  +
setStatus(String) - +Method in class com.telapi.api.domain.Conference +
  +
setStatus(String) - +Method in class com.telapi.api.domain.SmsMessage +
  +
setStatus(String) - +Method in class com.telapi.api.domain.StatusResponse +
  +
setStatus(TranscriptionStatus) - +Method in class com.telapi.api.domain.Transcription +
  +
setStatus(Long) - +Method in exception com.telapi.api.exceptions.TelapiException +
  +
setStatusCallback(String) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setStatusCallback(String) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setStatusCallback(String) - +Method in class com.telapi.api.requests.CallRequest +
  +
setStatusCallbackMethod(HttpMethod) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setStatusCallbackMethod(HttpMethod) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setStatusCallbackMethod(HttpMethod) - +Method in class com.telapi.api.requests.CallRequest +
  +
setStayAlone(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setStraightToVm(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setSubresourceUris(SubresourceUris) - +Method in class com.telapi.api.domain.Account +
  +
setSubresourceUris(ConferenceSubresourceUris) - +Method in class com.telapi.api.domain.Conference +
  +
setSupportsForwardedFrom(Boolean) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setTimeLimit(Long) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setTimeout(Long) - +Method in class com.telapi.api.inboundxml.parameters.DialParameters +
  +
setTimeout(Long) - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
setTimeout(Long) - +Method in class com.telapi.api.requests.CallRequest +
  +
setTimeZone(String) - +Method in class com.telapi.api.domain.Account +
  +
setTo(String) - +Method in class com.telapi.api.domain.Call +
  +
setTo(String) - +Method in class com.telapi.api.domain.SmsMessage +
  +
setTo(String) - +Method in class com.telapi.api.requests.CallRequest +
  +
setTotal(Long) - +Method in class com.telapi.api.domain.TelapiList +
  +
setTransactions(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setTranscribe(Boolean) - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
setTranscribe(Boolean) - +Method in class com.telapi.api.requests.CallRequest +
  +
setTranscribeCallback(String) - +Method in class com.telapi.api.domain.Transcription +
  +
setTranscribeCallback(String) - +Method in class com.telapi.api.inboundxml.parameters.RecordParameters +
  +
setTranscribeCallback(String) - +Method in class com.telapi.api.requests.CallRequest +
  +
setTranscribeCallbackMethod(HttpMethod) - +Method in class com.telapi.api.requests.CallRequest +
  +
setTranscriptions(String) - +Method in class com.telapi.api.domain.SubresourceUris +
  +
setTranscriptionText(String) - +Method in class com.telapi.api.domain.Transcription +
  +
setType(String) - +Method in class com.telapi.api.domain.Account +
  +
setType(PhoneNumberType) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setType(PhoneNumberType) - +Method in class com.telapi.api.domain.IncomingPhoneNumber +
  +
setType(TranscriptionType) - +Method in class com.telapi.api.domain.Transcription +
  +
setUnblockSupport(Boolean) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setUri(String) - +Method in class com.telapi.api.domain.Account +
  +
setUri(String) - +Method in class com.telapi.api.domain.BaseTelapiObject +
  +
setUri(String) - +Method in class com.telapi.api.domain.TelapiList +
  +
setUrl(String) - +Method in class com.telapi.api.requests.CallRequest +
  +
setVoice(Boolean) - +Method in class com.telapi.api.domain.PhoneNumberCapabilities +
  +
setVoiceApplicationSid(String) - +Method in class com.telapi.api.domain.IncomingPhoneNumber +
  +
setVoiceCallerIdLookup(Boolean) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setVoiceCallerIdLookup(Boolean) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setVoiceCallerIdLookup(Boolean) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setVoiceEnabled(Boolean) - +Method in class com.telapi.api.domain.AvailablePhoneNumber +
  +
setVoiceFallbackMethod(HttpMethod) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setVoiceFallbackMethod(HttpMethod) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setVoiceFallbackMethod(HttpMethod) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setVoiceFallbackUrl(String) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setVoiceFallbackUrl(String) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setVoiceFallbackUrl(String) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setVoiceMethod(HttpMethod) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setVoiceMethod(HttpMethod) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setVoiceMethod(HttpMethod) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setVoiceUrl(String) - +Method in class com.telapi.api.domain.BaseTelapiObjectWithMethods +
  +
setVoiceUrl(String) - +Method in class com.telapi.api.requests.ApplicationRequest +
  +
setVoiceUrl(String) - +Method in class com.telapi.api.requests.IncomingPhoneNumberRequest +
  +
setWaitMethod(HttpMethod) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setWaitSound(String) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setWaitSoundMethod(HttpMethod) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setWaitUrl(String) - +Method in class com.telapi.api.inboundxml.parameters.ConferenceParameters +
  +
setWhitelisted(List<Destination>) - +Method in class com.telapi.api.domain.DestinationFraudControlGroup +
  +
sip(String, String, String, HttpMethod) - +Method in class com.telapi.api.inboundxml.elements.Dial +
The Sip element is nested within the Dial element, and is used to call to + sip addresses. +
sip(String) - +Method in class com.telapi.api.inboundxml.elements.Dial +
Convenience method for creating a new Sip element. +
Sip - Class in com.telapi.api.inboundxml.elements
 
SipExample - Class in com.telapi.api.inboundxml.example
 
SipExample() - +Constructor for class com.telapi.api.inboundxml.example.SipExample +
  +
sms(String, String, String, String, HttpMethod, String) - +Method in class com.telapi.api.inboundxml.elements.Response +
Appends an SMS Element to the current Response element. +
sms(String, String, String) - +Method in class com.telapi.api.inboundxml.elements.Response +
Convenience method for adding an Sms element. +
Sms - Class in com.telapi.api.inboundxml.elements
 
SmsDirection - Enum in com.telapi.api.domain.enums
 
SmsExample - Class in com.telapi.api.inboundxml.example
 
SmsExample() - +Constructor for class com.telapi.api.inboundxml.example.SmsExample +
  +
SmsMessage - Class in com.telapi.api.domain
Text messages sent to and from TelAPI phone numbers are represented with the Sms resource.
SmsMessage() - +Constructor for class com.telapi.api.domain.SmsMessage +
  +
SmsMessageList - Class in com.telapi.api.domain.list
 
SmsMessageList() - +Constructor for class com.telapi.api.domain.list.SmsMessageList +
  +
SmsProxy - Interface in com.telapi.api.restproxies
 
SmsRedirectExample - Class in com.telapi.api.inboundxml.example
 
SmsRedirectExample() - +Constructor for class com.telapi.api.inboundxml.example.SmsRedirectExample +
  +
StatusResponse - Class in com.telapi.api.domain
 
StatusResponse() - +Constructor for class com.telapi.api.domain.StatusResponse +
  +
SubresourceUris - Class in com.telapi.api.domain
List of an accounts various subresources and their URI path.
SubresourceUris() - +Constructor for class com.telapi.api.domain.SubresourceUris +
  +
+
+

+T

+
+
TelapiConfiguration - Interface in com.telapi.api.configuration
The basic interface which must return the Telapi configuration parameters.
TelapiConnector - Class in com.telapi.api
The class used for all forms of communication with the Telapi REST API.
TelapiConnector(TelapiConfiguration) - +Constructor for class com.telapi.api.TelapiConnector +
Creates a new TelapiConnector based on the provided configuration. +
TelapiConstants - Class in com.telapi.api.configuration
 
TelapiConstants() - +Constructor for class com.telapi.api.configuration.TelapiConstants +
  +
TelapiException - Exception in com.telapi.api.exceptions
 
TelapiException() - +Constructor for exception com.telapi.api.exceptions.TelapiException +
  +
TelapiException(String) - +Constructor for exception com.telapi.api.exceptions.TelapiException +
  +
TelapiException(Long, String, String, String) - +Constructor for exception com.telapi.api.exceptions.TelapiException +
  +
TelapiList<T> - Class in com.telapi.api.domain
 
TelapiList() - +Constructor for class com.telapi.api.domain.TelapiList +
  +
toString() - +Method in enum com.telapi.api.domain.enums.AudioDirection +
  +
toString() - +Method in enum com.telapi.api.domain.enums.CallInterruptStatus +
  +
toString() - +Method in enum com.telapi.api.domain.enums.CallStatus +
  +
toString() - +Method in enum com.telapi.api.domain.enums.CarrierLookupStatus +
  +
toString() - +Method in enum com.telapi.api.domain.enums.HttpMethod +
  +
toString() - +Method in enum com.telapi.api.domain.enums.Legs +
  +
toString() - +Method in enum com.telapi.api.domain.enums.LogLevel +
  +
toString() - +Method in enum com.telapi.api.domain.enums.PhoneNumberType +
  +
toString() - +Method in enum com.telapi.api.domain.enums.SmsDirection +
  +
toString() - +Method in enum com.telapi.api.domain.enums.TranscriptionStatus +
  +
toString() - +Method in enum com.telapi.api.domain.enums.TranscriptionType +
  +
toString() - +Method in enum com.telapi.api.inboundxml.elements.enums.RecordingFileFormat +
  +
toString() - +Method in enum com.telapi.api.inboundxml.elements.enums.RejectReason +
  +
toString() - +Method in enum com.telapi.api.inboundxml.elements.enums.Voice +
  +
transcribeAudioUrl(String, String, String, HttpMethod, TranscriptionType) - +Method in interface com.telapi.api.restproxies.TranscriptionProxy +
  +
transcribeAudioUrl(String, String, String, HttpMethod, TranscriptionType) - +Method in class com.telapi.api.TelapiConnector +
  +
transcribeAudioUrl(String, String, HttpMethod, TranscriptionType) - +Method in class com.telapi.api.TelapiConnector +
Transcribes audio found on an URL. +
TranscribeAudioUrlExample - Class in com.telapi.api.example
 
TranscribeAudioUrlExample() - +Constructor for class com.telapi.api.example.TranscribeAudioUrlExample +
  +
transcribeRecording(String, String, String, HttpMethod, TranscriptionType) - +Method in interface com.telapi.api.restproxies.TranscriptionProxy +
  +
transcribeRecording(String, String, String, HttpMethod, TranscriptionType) - +Method in class com.telapi.api.TelapiConnector +
  +
transcribeRecording(String, String, HttpMethod, TranscriptionType) - +Method in class com.telapi.api.TelapiConnector +
Transcribes a recording. +
TranscribeRecordingExample - Class in com.telapi.api.example
 
TranscribeRecordingExample() - +Constructor for class com.telapi.api.example.TranscribeRecordingExample +
  +
Transcription - Class in com.telapi.api.domain
This resource represents a transcription of a Recording or audio.
Transcription() - +Constructor for class com.telapi.api.domain.Transcription +
  +
TranscriptionList - Class in com.telapi.api.domain.list
 
TranscriptionList() - +Constructor for class com.telapi.api.domain.list.TranscriptionList +
  +
TranscriptionProxy - Interface in com.telapi.api.restproxies
 
TranscriptionStatus - Enum in com.telapi.api.domain.enums
 
TranscriptionType - Enum in com.telapi.api.domain.enums
 
+
+

+U

+
+
updateApplication(String, String, String, String, HttpMethod, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, HttpMethod) - +Method in interface com.telapi.api.restproxies.ApplicationProxy +
  +
updateApplication(String, String, String, String, HttpMethod, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, HttpMethod) - +Method in class com.telapi.api.TelapiConnector +
  +
updateApplication(ApplicationRequest) - +Method in class com.telapi.api.TelapiConnector +
  +
updateApplication(String, String, String, HttpMethod, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, HttpMethod) - +Method in class com.telapi.api.TelapiConnector +
Used to update an existing application. +
UpdateApplicationExample - Class in com.telapi.api.example
 
UpdateApplicationExample() - +Constructor for class com.telapi.api.example.UpdateApplicationExample +
  +
updateIncomingPhoneNumber(String, String, String, String, HttpMethod, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, HttpMethod) - +Method in interface com.telapi.api.restproxies.IncomingPhoneNumberProxy +
  +
updateIncomingPhoneNumber(String, String, String, String, HttpMethod, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, HttpMethod) - +Method in class com.telapi.api.TelapiConnector +
  +
updateIncomingPhoneNumber(IncomingPhoneNumberRequest) - +Method in class com.telapi.api.TelapiConnector +
  +
updateIncomingPhoneNumber(String, String, String, HttpMethod, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, String, HttpMethod) - +Method in class com.telapi.api.TelapiConnector +
Updates properties of an IncomingPhoneNumber. +
UpdateIncomingPhoneNumberExample - Class in com.telapi.api.example
 
UpdateIncomingPhoneNumberExample() - +Constructor for class com.telapi.api.example.UpdateIncomingPhoneNumberExample +
  +
+
+

+V

+
+
valueOf(String) - +Static method in enum com.telapi.api.domain.enums.AnsweredBy +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.domain.enums.AudioDirection +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.domain.enums.CallInterruptStatus +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.domain.enums.CallStatus +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.domain.enums.CarrierLookupStatus +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.domain.enums.HttpMethod +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.domain.enums.Legs +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.domain.enums.LogLevel +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.domain.enums.PhoneNumberType +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.domain.enums.SmsDirection +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.domain.enums.TranscriptionStatus +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.domain.enums.TranscriptionType +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.inboundxml.elements.enums.RecordingFileFormat +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.inboundxml.elements.enums.RejectReason +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum com.telapi.api.inboundxml.elements.enums.Voice +
Returns the enum constant of this type with the specified name. +
values() - +Static method in enum com.telapi.api.domain.enums.AnsweredBy +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.domain.enums.AudioDirection +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.domain.enums.CallInterruptStatus +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.domain.enums.CallStatus +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.domain.enums.CarrierLookupStatus +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.domain.enums.HttpMethod +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.domain.enums.Legs +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.domain.enums.LogLevel +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.domain.enums.PhoneNumberType +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.domain.enums.SmsDirection +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.domain.enums.TranscriptionStatus +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.domain.enums.TranscriptionType +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.inboundxml.elements.enums.RecordingFileFormat +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.inboundxml.elements.enums.RejectReason +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum com.telapi.api.inboundxml.elements.enums.Voice +
Returns an array containing the constants of this enum type, in +the order they are declared. +
viewAccount(String) - +Method in class com.telapi.api.TelapiConnector +
An account resource provides information about a single TelAPI account. +
viewAccount() - +Method in class com.telapi.api.TelapiConnector +
  +
ViewAccountExample - Class in com.telapi.api.example
 
ViewAccountExample() - +Constructor for class com.telapi.api.example.ViewAccountExample +
  +
viewAccounts() - +Method in class com.telapi.api.TelapiConnector +
  +
viewApplication(String, String) - +Method in interface com.telapi.api.restproxies.ApplicationProxy +
  +
viewApplication(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
viewApplication(String) - +Method in class com.telapi.api.TelapiConnector +
TelAPI offers the ability to preset all voice and sms urls for a given + application name. +
ViewApplicationExample - Class in com.telapi.api.example
 
ViewApplicationExample() - +Constructor for class com.telapi.api.example.ViewApplicationExample +
  +
viewCall(String, String) - +Method in interface com.telapi.api.restproxies.CallProxy +
  +
viewCall(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
viewCall(String) - +Method in class com.telapi.api.TelapiConnector +
Gets the specified call resource. +
ViewCallExample - Class in com.telapi.api.example
 
ViewCallExample() - +Constructor for class com.telapi.api.example.ViewCallExample +
  +
viewConference(String, String) - +Method in interface com.telapi.api.restproxies.ConferenceProxy +
  +
viewConference(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
viewConference(String) - +Method in class com.telapi.api.TelapiConnector +
Resource properties about conference calls that occurred through a TelAPI + account can be requested using our API. +
ViewConferenceExample - Class in com.telapi.api.example
 
ViewConferenceExample() - +Constructor for class com.telapi.api.example.ViewConferenceExample +
  +
viewIncomingPhoneNumber(String, String) - +Method in interface com.telapi.api.restproxies.IncomingPhoneNumberProxy +
  +
viewIncomingPhoneNumber(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
viewIncomingPhoneNumber(String) - +Method in class com.telapi.api.TelapiConnector +
TelAPI phone numbers associated with an account are represented with the + IncomingPhoneNumber resource. +
ViewIncomingPhoneNumberExample - Class in com.telapi.api.example
 
ViewIncomingPhoneNumberExample() - +Constructor for class com.telapi.api.example.ViewIncomingPhoneNumberExample +
  +
viewNotification(String, String) - +Method in interface com.telapi.api.restproxies.NotificationProxy +
  +
viewNotification(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
viewNotification(String) - +Method in class com.telapi.api.TelapiConnector +
Retrieves details about a Notification. +
ViewNotificationExample - Class in com.telapi.api.example
 
ViewNotificationExample() - +Constructor for class com.telapi.api.example.ViewNotificationExample +
  +
viewParticipant(String, String, String) - +Method in interface com.telapi.api.restproxies.ConferenceProxy +
  +
viewParticipant(String, String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
viewParticipant(String, String) - +Method in class com.telapi.api.TelapiConnector +
Participants of a conference are identified by the CallSid created when + they dial into the conference. +
ViewParticipantExample - Class in com.telapi.api.example
 
ViewParticipantExample() - +Constructor for class com.telapi.api.example.ViewParticipantExample +
  +
viewRecording(String, String) - +Method in interface com.telapi.api.restproxies.RecordingProxy +
  +
viewRecording(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
viewRecording(String) - +Method in class com.telapi.api.TelapiConnector +
A single recording details can be viewed by calling this method. +
ViewRecordingExample - Class in com.telapi.api.example
 
ViewRecordingExample() - +Constructor for class com.telapi.api.example.ViewRecordingExample +
  +
ViewSmsExample - Class in com.telapi.api.example
 
ViewSmsExample() - +Constructor for class com.telapi.api.example.ViewSmsExample +
  +
viewSmsMessage(String, String) - +Method in class com.telapi.api.TelapiConnector +
Used for specifying a different accountSid. +
viewSmsMessage(String) - +Method in class com.telapi.api.TelapiConnector +
Text messages sent to and from TelAPI phone numbers are represented with + the Sms resource. +
viewTranscription(String, String) - +Method in interface com.telapi.api.restproxies.TranscriptionProxy +
  +
viewTranscription(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
viewTranscription(String) - +Method in class com.telapi.api.TelapiConnector +
Gets the details of a Transcription resource. +
ViewTranscriptionExample - Class in com.telapi.api.example
 
ViewTranscriptionExample() - +Constructor for class com.telapi.api.example.ViewTranscriptionExample +
  +
viewTranscriptionText(String, String) - +Method in interface com.telapi.api.restproxies.TranscriptionProxy +
  +
viewTranscriptionText(String, String) - +Method in class com.telapi.api.TelapiConnector +
  +
viewTranscriptionText(String) - +Method in class com.telapi.api.TelapiConnector +
Gets just the transcription text of a Transcription. +
Voice - Enum in com.telapi.api.inboundxml.elements.enums
 
voiceEffects(String, String, AudioDirection, Double, Long, Long, Double) - +Method in interface com.telapi.api.restproxies.CallProxy +
  +
voiceEffects(String, String, AudioDirection, Double, Long, Long, Double) - +Method in class com.telapi.api.TelapiConnector +
  +
voiceEffects(String, AudioDirection, Double, Long, Long, Double) - +Method in class com.telapi.api.TelapiConnector +
With TelAPI you can modify the way a callers voice sounds by changing + things such as speed and pitch of the audio. +
VoiceEffectsExample - Class in com.telapi.api.example
 
VoiceEffectsExample() - +Constructor for class com.telapi.api.example.VoiceEffectsExample +
  +
+
+

+W

+
+
whitelistDestination(String, String, Boolean, Boolean, Boolean) - +Method in interface com.telapi.api.restproxies.FraudControlProxy +
  +
whitelistDestination(String, String, Boolean, Boolean, Boolean) - +Method in class com.telapi.api.TelapiConnector +
  +
whitelistDestination(String, Boolean, Boolean, Boolean) - +Method in class com.telapi.api.TelapiConnector +
Whitelisting is provided for destinations you wish to permanently + authorize. +
WhitelistDestinationExample - Class in com.telapi.api.example
 
WhitelistDestinationExample() - +Constructor for class com.telapi.api.example.WhitelistDestinationExample +
  +
+
+A B C D E F G H I J L M N P Q R S T U V W + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/index.html b/apidocs/index.html new file mode 100644 index 0000000..ba29d7c --- /dev/null +++ b/apidocs/index.html @@ -0,0 +1,40 @@ + + + + + + + +Telapi Java API + + + + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> + + + diff --git a/apidocs/options b/apidocs/options new file mode 100644 index 0000000..23fe48d --- /dev/null +++ b/apidocs/options @@ -0,0 +1,25 @@ +-classpath +'/home/tomek/workspace/telapi-java/target/classes:/home/tomek/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/home/tomek/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.8.5/jackson-jaxrs-1.8.5.jar:/home/tomek/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar:/home/tomek/.m2/repository/com/thoughtworks/xstream/xstream/1.4.3/xstream-1.4.3.jar:/home/tomek/.m2/repository/org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2.jar:/home/tomek/.m2/repository/org/apache/httpcomponents/httpcore/4.1.2/httpcore-4.1.2.jar:/home/tomek/.m2/repository/org/jboss/resteasy/resteasy-jackson-provider/2.3.4.Final/resteasy-jackson-provider-2.3.4.Final.jar:/home/tomek/.m2/repository/org/jboss/resteasy/resteasy-jaxrs/2.3.4.Final/resteasy-jaxrs-2.3.4.Final.jar:/home/tomek/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/home/tomek/.m2/repository/org/jboss/resteasy/jaxrs-api/2.3.4.Final/jaxrs-api-2.3.4.Final.jar:/home/tomek/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.8.5/jackson-core-asl-1.8.5.jar:/home/tomek/.m2/repository/org/codehaus/jackson/jackson-xc/1.8.5/jackson-xc-1.8.5.jar:/home/tomek/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/home/tomek/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.8.5/jackson-mapper-asl-1.8.5.jar:/home/tomek/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/home/tomek/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar:/home/tomek/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/tomek/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar:/home/tomek/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar' +-encoding +'UTF-8' +-public +-sourcepath +'/home/tomek/workspace/telapi-java/src/main/java' +-author +-bottom +'Copyright © 2012 Telapi, Inc. All Rights Reserved.' +-charset +'UTF-8' +-d +'/home/tomek/workspace/telapi-java/target/site/apidocs' +-docencoding +'UTF-8' +-doctitle +'

Telapi Java API

' +-linkoffline +'http://download.oracle.com/javase/6/docs/api' '/home/tomek/workspace/telapi-java/target/javadoc-bundle-options' +-nohelp +-use +-version +-windowtitle +'Telapi Java API' \ No newline at end of file diff --git a/apidocs/overview-frame.html b/apidocs/overview-frame.html new file mode 100644 index 0000000..039b6c2 --- /dev/null +++ b/apidocs/overview-frame.html @@ -0,0 +1,73 @@ + + + + + + + +Overview List (Telapi Java API) + + + + + + + + + + + + + + + +
+
+ + + + + +
All Classes +

+ +Packages +
+com.telapi.api +
+com.telapi.api.configuration +
+com.telapi.api.domain +
+com.telapi.api.domain.enums +
+com.telapi.api.domain.enums.util +
+com.telapi.api.domain.list +
+com.telapi.api.example +
+com.telapi.api.exceptions +
+com.telapi.api.http +
+com.telapi.api.inboundxml.elements +
+com.telapi.api.inboundxml.elements.enums +
+com.telapi.api.inboundxml.example +
+com.telapi.api.inboundxml.parameters +
+com.telapi.api.json +
+com.telapi.api.requests +
+com.telapi.api.restproxies +
+

+ +

+  + + diff --git a/apidocs/overview-summary.html b/apidocs/overview-summary.html new file mode 100644 index 0000000..f5037dc --- /dev/null +++ b/apidocs/overview-summary.html @@ -0,0 +1,215 @@ + + + + + + + +Overview (Telapi Java API) + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+

Telapi Java API

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages
com.telapi.api 
com.telapi.api.configuration 
com.telapi.api.domain 
com.telapi.api.domain.enums 
com.telapi.api.domain.enums.util 
com.telapi.api.domain.list 
com.telapi.api.example 
com.telapi.api.exceptions 
com.telapi.api.http 
com.telapi.api.inboundxml.elements 
com.telapi.api.inboundxml.elements.enums 
com.telapi.api.inboundxml.example 
com.telapi.api.inboundxml.parameters 
com.telapi.api.json 
com.telapi.api.requests 
com.telapi.api.restproxies 
+ +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/overview-tree.html b/apidocs/overview-tree.html new file mode 100644 index 0000000..bdffbe4 --- /dev/null +++ b/apidocs/overview-tree.html @@ -0,0 +1,203 @@ + + + + + + + +Class Hierarchy (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
com.telapi.api, com.telapi.api.configuration, com.telapi.api.domain, com.telapi.api.domain.enums, com.telapi.api.domain.enums.util, com.telapi.api.domain.list, com.telapi.api.example, com.telapi.api.exceptions, com.telapi.api.http, com.telapi.api.inboundxml.elements, com.telapi.api.inboundxml.elements.enums, com.telapi.api.inboundxml.example, com.telapi.api.inboundxml.parameters, com.telapi.api.json, com.telapi.api.requests, com.telapi.api.restproxies
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/package-list b/apidocs/package-list new file mode 100644 index 0000000..ef232a0 --- /dev/null +++ b/apidocs/package-list @@ -0,0 +1,16 @@ +com.telapi.api +com.telapi.api.configuration +com.telapi.api.domain +com.telapi.api.domain.enums +com.telapi.api.domain.enums.util +com.telapi.api.domain.list +com.telapi.api.example +com.telapi.api.exceptions +com.telapi.api.http +com.telapi.api.inboundxml.elements +com.telapi.api.inboundxml.elements.enums +com.telapi.api.inboundxml.example +com.telapi.api.inboundxml.parameters +com.telapi.api.json +com.telapi.api.requests +com.telapi.api.restproxies diff --git a/apidocs/packages b/apidocs/packages new file mode 100644 index 0000000..79b3777 --- /dev/null +++ b/apidocs/packages @@ -0,0 +1,16 @@ +com.telapi.api.http +com.telapi.api.requests +com.telapi.api.example +com.telapi.api.exceptions +com.telapi.api.inboundxml.example +com.telapi.api.inboundxml.elements.enums +com.telapi.api.inboundxml.elements +com.telapi.api.inboundxml.parameters +com.telapi.api.domain +com.telapi.api.domain.enums +com.telapi.api.domain.enums.util +com.telapi.api.domain.list +com.telapi.api.configuration +com.telapi.api +com.telapi.api.restproxies +com.telapi.api.json \ No newline at end of file diff --git a/apidocs/resources/inherit.gif b/apidocs/resources/inherit.gif new file mode 100644 index 0000000..c814867 Binary files /dev/null and b/apidocs/resources/inherit.gif differ diff --git a/apidocs/serialized-form.html b/apidocs/serialized-form.html new file mode 100644 index 0000000..3b171f2 --- /dev/null +++ b/apidocs/serialized-form.html @@ -0,0 +1,237 @@ + + + + + + + +Serialized Form (Telapi Java API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package com.telapi.api.configuration
+ +

+ + + + + +
+Class com.telapi.api.configuration.PropertiesFileTelapiConfiguration extends Properties implements Serializable
+ +

+serialVersionUID: -7348144965758395514L + +

+ + + + + +
+Serialized Fields
+ +

+logger

+
+org.apache.log4j.Logger logger
+
+
+
+
+
+ + + + + +
+Package com.telapi.api.exceptions
+ +

+ + + + + +
+Class com.telapi.api.exceptions.TelapiException extends Exception implements Serializable
+ +

+serialVersionUID: -5937845116814343506L + +

+ + + + + +
+Serialized Fields
+ +

+status

+
+Long status
+
+
+
+
+
+

+code

+
+String code
+
+
+
+
+
+

+moreInfo

+
+String moreInfo
+
+
+
+
+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/apidocs/stylesheet.css b/apidocs/stylesheet.css new file mode 100644 index 0000000..6ea9e51 --- /dev/null +++ b/apidocs/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} + diff --git a/css/maven-base.css b/css/maven-base.css new file mode 100644 index 0000000..584ba23 --- /dev/null +++ b/css/maven-base.css @@ -0,0 +1,151 @@ +body { + margin: 0px; + padding: 0px; +} +img { + border:none; +} +table { + padding:0px; + width: 100%; + margin-left: -2px; + margin-right: -2px; +} +acronym { + cursor: help; + border-bottom: 1px dotted #feb; +} +table.bodyTable th, table.bodyTable td { + padding: 2px 4px 2px 4px; + vertical-align: top; +} +div.clear{ + clear:both; + visibility: hidden; +} +div.clear hr{ + display: none; +} +#bannerLeft, #bannerRight { + font-size: xx-large; + font-weight: bold; +} +#bannerLeft img, #bannerRight img { + margin: 0px; +} +.xleft, #bannerLeft img { + float:left; +} +.xright, #bannerRight { + float:right; +} +#banner { + padding: 0px; +} +#banner img { + border: none; +} +#breadcrumbs { + padding: 3px 10px 3px 10px; +} +#leftColumn { + width: 170px; + float:left; + overflow: auto; +} +#bodyColumn { + margin-right: 1.5em; + margin-left: 197px; +} +#legend { + padding: 8px 0 8px 0; +} +#navcolumn { + padding: 8px 4px 0 8px; +} +#navcolumn h5 { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn ul { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn li { + list-style-type: none; + background-image: none; + background-repeat: no-repeat; + background-position: 0 0.4em; + padding-left: 16px; + list-style-position: outside; + line-height: 1.2em; + font-size: smaller; +} +#navcolumn li.expanded { + background-image: url(../images/expanded.gif); +} +#navcolumn li.collapsed { + background-image: url(../images/collapsed.gif); +} +#poweredBy { + text-align: center; +} +#navcolumn img { + margin-top: 10px; + margin-bottom: 3px; +} +#poweredBy img { + display:block; + margin: 20px 0 20px 17px; +} +#search img { + margin: 0px; + display: block; +} +#search #q, #search #btnG { + border: 1px solid #999; + margin-bottom:10px; +} +#search form { + margin: 0px; +} +#lastPublished { + font-size: x-small; +} +.navSection { + margin-bottom: 2px; + padding: 8px; +} +.navSectionHead { + font-weight: bold; + font-size: x-small; +} +.section { + padding: 4px; +} +#footer { + padding: 3px 10px 3px 10px; + font-size: x-small; +} +#breadcrumbs { + font-size: x-small; + margin: 0pt; +} +.source { + padding: 12px; + margin: 1em 7px 1em 7px; +} +.source pre { + margin: 0px; + padding: 0px; +} +#navcolumn img.imageLink, .imageLink { + padding-left: 0px; + padding-bottom: 0px; + padding-top: 0px; + padding-right: 2px; + border: 0px; + margin: 0px; +} diff --git a/css/maven-theme.css b/css/maven-theme.css new file mode 100644 index 0000000..c982168 --- /dev/null +++ b/css/maven-theme.css @@ -0,0 +1,141 @@ +body { + padding: 0px 0px 10px 0px; +} +body, td, select, input, li{ + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 13px; +} +code{ + font-family: Courier, monospace; + font-size: 13px; +} +a { + text-decoration: none; +} +a:link { + color:#36a; +} +a:visited { + color:#47a; +} +a:active, a:hover { + color:#69c; +} +#legend li.externalLink { + background: url(../images/external.png) left top no-repeat; + padding-left: 18px; +} +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 18px; +} +#legend li.newWindow { + background: url(../images/newwindow.png) left top no-repeat; + padding-left: 18px; +} +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} +h2 { + padding: 4px 4px 4px 6px; + border: 1px solid #999; + color: #900; + background-color: #ddd; + font-weight:900; + font-size: x-large; +} +h3 { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + color: #900; + background-color: #eee; + font-weight: normal; + font-size: large; +} +h4 { + padding: 4px 4px 4px 6px; + border: 1px solid #bbb; + color: #900; + background-color: #fff; + font-weight: normal; + font-size: large; +} +h5 { + padding: 4px 4px 4px 6px; + color: #900; + font-size: normal; +} +p { + line-height: 1.3em; + font-size: small; +} +#breadcrumbs { + border-top: 1px solid #aaa; + border-bottom: 1px solid #aaa; + background-color: #ccc; +} +#leftColumn { + margin: 10px 0 0 5px; + border: 1px solid #999; + background-color: #eee; +} +#navcolumn h5 { + font-size: smaller; + border-bottom: 1px solid #aaaaaa; + padding-top: 2px; + color: #000; +} + +table.bodyTable th { + color: white; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +table.bodyTable th, table.bodyTable td { + font-size: 1em; +} + +table.bodyTable tr.a { + background-color: #ddd; +} + +table.bodyTable tr.b { + background-color: #eee; +} + +.source { + border: 1px solid #999; +} +dl { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + background-color: #ffc; +} +dt { + color: #900; +} +#organizationLogo img, #projectLogo img, #projectLogo span{ + margin: 8px; +} +#banner { + border-bottom: 1px solid #fff; +} +.errormark, .warningmark, .donemark, .infomark { + background: url(../images/icon_error_sml.gif) no-repeat; +} + +.warningmark { + background-image: url(../images/icon_warning_sml.gif); +} + +.donemark { + background-image: url(../images/icon_success_sml.gif); +} + +.infomark { + background-image: url(../images/icon_info_sml.gif); +} + diff --git a/css/print.css b/css/print.css new file mode 100644 index 0000000..26ad7f0 --- /dev/null +++ b/css/print.css @@ -0,0 +1,7 @@ +#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { + display: none !important; +} +#bodyColumn, body.docs div.docs { + margin: 0 !important; + border: none !important +} diff --git a/css/site.css b/css/site.css new file mode 100644 index 0000000..055e7e2 --- /dev/null +++ b/css/site.css @@ -0,0 +1 @@ +/* You can override this file with your own styles */ \ No newline at end of file diff --git a/dependencies.html b/dependencies.html new file mode 100644 index 0000000..0342aea --- /dev/null +++ b/dependencies.html @@ -0,0 +1,146 @@ + + + + + + Project Dependencies + + + + + + + + + +
+ +
+
+
+

Project Dependencies

compile

The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:

GroupIdArtifactIdVersionTypeLicense
com.thoughtworks.xstreamxstream1.4.3jarBSD style
log4jlog4j1.2.17jarThe Apache Software License, Version 2.0
org.jboss.resteasyresteasy-jackson-provider2.3.4.FinaljarApache License, Version 2.0
org.jboss.resteasyresteasy-jaxrs2.3.4.FinaljarApache License, Version 2.0

test

The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:

GroupIdArtifactIdVersionTypeLicense
junitjunit4.10jarCommon Public License Version 1.0

Project Transitive Dependencies

The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.

compile

The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:

GroupIdArtifactIdVersionTypeLicense
commons-codeccommons-codec1.2jar-
commons-httpclientcommons-httpclient3.1jarApache License
commons-loggingcommons-logging1.0.4jar/LICENSE.txt
javax.activationactivation1.1jarCommon Development and Distribution License (CDDL) v1.0
javax.annotationjsr250-api1.0jarCOMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
net.jcipjcip-annotations1.0jar-
org.apache.httpcomponentshttpclient4.1.2jarLICENSE.txt
org.apache.httpcomponentshttpcore4.1.2jarLICENSE.txt
org.codehaus.jacksonjackson-core-asl1.8.5jarThe Apache Software License, Version 2.0
org.codehaus.jacksonjackson-jaxrs1.8.5jarThe Apache Software License, Version 2.0-GNU Lesser General Public License (LGPL), Version 2.1
org.codehaus.jacksonjackson-mapper-asl1.8.5jarThe Apache Software License, Version 2.0
org.codehaus.jacksonjackson-xc1.8.5jarThe Apache Software License, Version 2.0-GNU Lesser General Public License (LGPL), Version 2.1
org.jboss.resteasyjaxrs-api2.3.4.FinaljarApache License, Version 2.0
xmlpullxmlpull1.1.3.1jarPublic Domain
xpp3xpp3_min1.1.4cjarIndiana University Extreme! Lab Software License, vesion 1.1.1-Public Domain

test

The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:

GroupIdArtifactIdVersionTypeLicense
org.hamcresthamcrest-core1.1jarBSD style

Project Dependency Graph

+

Dependency Tree

Licenses

BSD style: Hamcrest Core, XStream Core

Public Domain: MXP1: Xml Pull Parser 3rd Edition (XPP3), XML Pull Parsing API

Unknown: "Java Concurrency in Practice" book annotations, Codec

Apache License: HttpClient, HttpCore

Apache License, Version 2.0: JAX-RS Core API, RESTEasy JAX-RS Implementation, Resteasy Jackson Provider

Common Public License Version 1.0: JUnit

COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0: JSR-250 Common Annotations for the JavaTM Platform

The Apache Software License, Version 2.0: Apache Log4j, Data Mapper for Jackson, JAX-RS provider for JSON content type, Jackson, Logging, Xml Compatibility extensions for Jackson

MIT License: telapi-java

GNU Lesser General Public License (LGPL), Version 2.1: JAX-RS provider for JSON content type, Xml Compatibility extensions for Jackson

Common Development and Distribution License (CDDL) v1.0: JavaBeans Activation Framework (JAF)

Indiana University Extreme! Lab Software License, vesion 1.1.1: MXP1: Xml Pull Parser 3rd Edition (XPP3)

Dependency File Details

FilenameSizeEntriesClassesPackagesJDK RevDebug
xstream-1.4.3.jar470.48 kB430400211.5debug
commons-codec-1.2.jar29.38 kB301951.1debug
commons-httpclient-3.1.jar297.85 kB18316781.2debug
commons-logging-1.0.4.jar37.12 kB291821.2debug
activation-1.1.jar61.51 kB503831.4debug
jsr250-api-1.0.jar5.71 kB161121.5debug
junit-4.10.jar247.23 kB290252311.5debug
log4j-1.2.17.jar478.40 kB353314211.4debug
jcip-annotations-1.0.jar2.20 kB9411.5release
httpclient-4.1.2.jar344.00 kB309273221.5debug
httpcore-4.1.2.jar176.95 kB185163101.3debug
jackson-core-asl-1.8.5.jar222.08 kB14512981.5debug
jackson-jaxrs-1.8.5.jar17.46 kB18811.5debug
jackson-mapper-asl-1.8.5.jar651.82 kB457432161.5debug
jackson-xc-1.8.5.jar31.56 kB221211.5debug
hamcrest-core-1.1.jar74.85 kB542131.5debug
jaxrs-api-2.3.4.Final.jar45.36 kB675531.6debug
resteasy-jackson-provider-2.3.4.Final.jar4.67 kB19221.6debug
resteasy-jaxrs-2.3.4.Final.jar601.04 kB459410341.6debug
xmlpull-1.1.3.1.jar7.02 kB10411.2debug
xpp3_min-1.1.4c.jar24.37 kB12321.1debug
TotalSizeEntriesClassesPackagesJDK RevDebug
213.74 MB3,1472,7351971.620
compile: 19compile: 3.43 MBcompile: 2,803compile: 2,462compile: 163-compile: 18
test: 2test: 322.07 kBtest: 344test: 273test: 34-test: 2

Dependency Repository Locations

Repo IDURLReleaseSnapshot
codehaus-snapshotshttp://nexus.codehaus.org/snapshots/-Yes
maven2-repository.dev.java.nethttp://download.java.net/maven/2/YesYes
jbosshttp://repository.jboss.org/nexus/content/groups/public/YesYes
centralhttp://repo.maven.apache.org/maven2Yes-

Repository locations for each of the Dependencies.

Artifactcodehaus-snapshotsmaven2-repository.dev.java.netjbosscentral
com.thoughtworks.xstream:xstream:jar:1.4.3---Found at http://repo.maven.apache.org/maven2
commons-codec:commons-codec:jar:1.2---Found at http://repo.maven.apache.org/maven2
commons-httpclient:commons-httpclient:jar:3.1---Found at http://repo.maven.apache.org/maven2
commons-logging:commons-logging:jar:1.0.4---Found at http://repo.maven.apache.org/maven2
javax.activation:activation:jar:1.1---Found at http://repo.maven.apache.org/maven2
javax.annotation:jsr250-api:jar:1.0-Found at http://download.java.net/maven/2/-Found at http://repo.maven.apache.org/maven2
junit:junit:jar:4.10--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
log4j:log4j:jar:1.2.17---Found at http://repo.maven.apache.org/maven2
net.jcip:jcip-annotations:jar:1.0---Found at http://repo.maven.apache.org/maven2
org.apache.httpcomponents:httpclient:jar:4.1.2---Found at http://repo.maven.apache.org/maven2
org.apache.httpcomponents:httpcore:jar:4.1.2---Found at http://repo.maven.apache.org/maven2
org.codehaus.jackson:jackson-core-asl:jar:1.8.5---Found at http://repo.maven.apache.org/maven2
org.codehaus.jackson:jackson-jaxrs:jar:1.8.5---Found at http://repo.maven.apache.org/maven2
org.codehaus.jackson:jackson-mapper-asl:jar:1.8.5---Found at http://repo.maven.apache.org/maven2
org.codehaus.jackson:jackson-xc:jar:1.8.5---Found at http://repo.maven.apache.org/maven2
org.hamcrest:hamcrest-core:jar:1.1---Found at http://repo.maven.apache.org/maven2
org.jboss.resteasy:jaxrs-api:jar:2.3.4.Final--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.jboss.resteasy:resteasy-jackson-provider:jar:2.3.4.Final--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
org.jboss.resteasy:resteasy-jaxrs:jar:2.3.4.Final--Found at http://repository.jboss.org/nexus/content/groups/public/Found at http://repo.maven.apache.org/maven2
xmlpull:xmlpull:jar:1.1.3.1---Found at http://repo.maven.apache.org/maven2
xpp3:xpp3_min:jar:1.1.4c---Found at http://repo.maven.apache.org/maven2
Totalcodehaus-snapshotsmaven2-repository.dev.java.netjbosscentral
21 (compile: 19, test: 2)01421
+
+
+
+
+
+ + + diff --git a/dependency-info.html b/dependency-info.html new file mode 100644 index 0000000..a2ae7b5 --- /dev/null +++ b/dependency-info.html @@ -0,0 +1,129 @@ + + + + + + Dependency Information + + + + + + + + + +
+ +
+
+
+

Dependency Information

Apache Maven

<dependency>
+  <groupId>com.telapi.api</groupId>
+  <artifactId>telapi-java</artifactId>
+  <version>0.0.3-SNAPSHOT</version>
+</dependency>

Apache Buildr

'com.telapi.api:telapi-java:jar:0.0.3-SNAPSHOT'

Apache Ant

<dependency org="com.telapi.api" name="telapi-java" rev="0.0.3-SNAPSHOT">
+  <artifact name="telapi-java" type="jar" />
+</dependency>

Groovy Grape

@Grapes(
+@Grab(group='com.telapi.api', module='telapi-java', version='0.0.3-SNAPSHOT')
+)

Grails

compile 'com.telapi.api:telapi-java:0.0.3-SNAPSHOT'

Leiningen

[com.telapi.api/telapi-java "0.0.3-SNAPSHOT"]

SBT

libraryDependencies += "com.telapi.api" %% "telapi-java" % "0.0.3-SNAPSHOT"
+
+
+
+
+
+ + + diff --git a/distribution-management.html b/distribution-management.html new file mode 100644 index 0000000..aefaac9 --- /dev/null +++ b/distribution-management.html @@ -0,0 +1,121 @@ + + + + + + Project Distribution Management + + + + + + + + + +
+ +
+
+
+

Overview

The following is the distribution management information used by this project.

Snapshot Repository - sonatype-nexus-snapshots

https://oss.sonatype.org/content/repositories/snapshots/
+
+
+
+
+
+ + + diff --git a/images/close.gif b/images/close.gif new file mode 100644 index 0000000..1c26bbc Binary files /dev/null and b/images/close.gif differ diff --git a/images/collapsed.gif b/images/collapsed.gif new file mode 100644 index 0000000..6e71084 Binary files /dev/null and b/images/collapsed.gif differ diff --git a/images/expanded.gif b/images/expanded.gif new file mode 100644 index 0000000..0fef3d8 Binary files /dev/null and b/images/expanded.gif differ diff --git a/images/external.png b/images/external.png new file mode 100644 index 0000000..3f999fc Binary files /dev/null and b/images/external.png differ diff --git a/images/icon_error_sml.gif b/images/icon_error_sml.gif new file mode 100644 index 0000000..61132ef Binary files /dev/null and b/images/icon_error_sml.gif differ diff --git a/images/icon_info_sml.gif b/images/icon_info_sml.gif new file mode 100644 index 0000000..c6cb9ad Binary files /dev/null and b/images/icon_info_sml.gif differ diff --git a/images/icon_success_sml.gif b/images/icon_success_sml.gif new file mode 100644 index 0000000..52e85a4 Binary files /dev/null and b/images/icon_success_sml.gif differ diff --git a/images/icon_warning_sml.gif b/images/icon_warning_sml.gif new file mode 100644 index 0000000..873bbb5 Binary files /dev/null and b/images/icon_warning_sml.gif differ diff --git a/images/logos/build-by-maven-black.png b/images/logos/build-by-maven-black.png new file mode 100644 index 0000000..919fd0f Binary files /dev/null and b/images/logos/build-by-maven-black.png differ diff --git a/images/logos/build-by-maven-white.png b/images/logos/build-by-maven-white.png new file mode 100644 index 0000000..7d44c9c Binary files /dev/null and b/images/logos/build-by-maven-white.png differ diff --git a/images/logos/maven-feather.png b/images/logos/maven-feather.png new file mode 100644 index 0000000..b5ada83 Binary files /dev/null and b/images/logos/maven-feather.png differ diff --git a/images/newwindow.png b/images/newwindow.png new file mode 100644 index 0000000..6287f72 Binary files /dev/null and b/images/newwindow.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..aa5c44f --- /dev/null +++ b/index.html @@ -0,0 +1,121 @@ + + + + + + About + + + + + + + + + +
+ +
+
+
+

About telapi-java

Java helper library for Telapi REST services

+
+
+
+
+
+ + + diff --git a/integration.html b/integration.html new file mode 100644 index 0000000..143c7cb --- /dev/null +++ b/integration.html @@ -0,0 +1,121 @@ + + + + + + Continuous Integration + + + + + + + + + +
+ +
+
+
+

Continuous Integration

No continuous integration management system is defined. Please check back at a later date.

+
+
+
+
+
+ + + diff --git a/issue-tracking.html b/issue-tracking.html new file mode 100644 index 0000000..6e73369 --- /dev/null +++ b/issue-tracking.html @@ -0,0 +1,121 @@ + + + + + + Issue Tracking + + + + + + + + + +
+ +
+
+
+

Overview

This project uses GitHub Issues to manage its issues.

Issue Tracking

Issues, bugs, and feature requests should be submitted to the following issue tracking system for this project.

+
+
+
+
+
+ + + diff --git a/license.html b/license.html new file mode 100644 index 0000000..9561bd4 --- /dev/null +++ b/license.html @@ -0,0 +1,719 @@ + + + + + + Project License + + + + + + + + + +
+ +
+
+
+

Overview

Typically the licenses listed for the project are that of the project itself, and not of dependencies.

Project License

MIT License

[Original text]

Copy of the license follows.

+ + +
+
+ + + + + +
+

You are here

+

Open Source Initiative OSI - The MIT License (MIT):Licensing

+
+
+
+ + +
+
+ + + + +
+ [OSI Approved License] +

The MIT License (MIT)

+ + + +

Copyright (c) <year> <copyright holders>

+ +

Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions:

+ +

The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software.

+ +

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE.

+ + +
+ +
+ + +
+

Comments

+ + +
+ +
+ + + + + +

+ +
+
As stated the law allows abuses of software. Require a clause that no malicious uses may be entered into with said program conditional of any use. +Martin M. Musatov
+
+ +
+ +
+
+ +
+ + + + + +

+ +
+
The problem with a clause like that is: who gets to define what is malicious use? What happens if that entity ceases to make those decisions?
+
+ +
+
+
+ +
+ + + + + +

+ +
+
If i want distribute open source system CMS on my site http://correct.com.ua/ can i use this license?
+
+ +
+ +
+
+ +
+ + + + + +

+ +
+
Yes, of course you can use this license. Just include the text of the license in a file called "LICENSE", and make reference to it in a file called "README".
+
+ +
+
+
+ +
+ + + + + +

+ +
+
I downloaded a software under this License. +Upon the original software I have made several changes. +I would like to release our it with those changes. +What kind of licensing can it go with ?(with the Same license ?) +Is it possible to keep the changes under my name ?
+
+ +
+ +
+ +
+ + + + + +

+ +
+
If we are making a closed source application, selling this application for profit, include this license in the open source license file, are we breaking any laws? +Thank you for your time.
+
+ +
+ +
+
+ +
+ + + + + +

+ +
+
Feel free to use MIT/X11 licensed code in your non-open-source apps. You are allowed to link to such code from your application or even change the licence of derivative works (see the permission to "sub-license"). What you may need to do is give attribution: +http://en.wikipedia.org/wiki/Attribution_%28copyright%29 +I.e: say "libfunctionality , Copyright by J. Random Hacker, 2009" somewhere. But it would be hard to avoid giving attribution in practically all copyrighted open source code out there. +------------------ +Shlomi Fish, http://www.shlomifish.org/ +When Chuck Norris uses Gentoo, "emerge kde" finishes in under a minute. A computer cannot afford to keep Chuck waiting for too long.
+
+ +
+
+
+ +
+ + + + + +

+ +
+
Is it sufficient to refer to the license via URL? I want to modify and use some code that only refers to the license via: +/* Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php */ +Is it OK to integrate code within a larger code-base (e.g. using some MIT-licensed JavaScript within a larger javascript library) with a wrapper / comment inserted in the appropriate place: +/* Function foobar derived from MIT-licensed code: http://www.opensource.org/licenses/mit-license.php */ +Note: I've no idea of the legal significance of changing "Licensed under the MIT license" to "Derived from MIT licensed code" - hence the question.
+
+ +
+ +
+
+ +
+ + + + + +

+ +
+
I am not a lawyer, but I think it's good enough. A lot of JavaScript out there does not put the entire licence blurb there to save space. Pedantics (like the Debian project) also need a "Copyright by Foo Bar, 2009" statement. +Regarding the wrapper - it should be OK, but make sure you also reproduce the copyright blurb and a link to the one who originated it. I should note that MIT/X11-licensed code can be sub-licensed to any other licence. +------------------ +Shlomi Fish, http://www.shlomifish.org/ +When Chuck Norris uses Gentoo, "emerge kde" finishes in under a minute. A computer cannot afford to keep Chuck waiting for too long.
+
+ +
+
+
+ +
+ + + + + +

+ +
+
I'd like to use some MIT-licensed xml-parsing code in my iPhone game. This seems to require that I package the MIT license with the application. However, my iPhone app does not include extensive documentation and my demographic will not want legal notices shoved in their faces. +My boss is afraid of using this code because our company is very small and doesn't have the money for any type of legal battle. What is the best way to comply with the MIT license in an iPhone app without compromising user experience? +___________ +Samuel Fattizi
+
+ +
+ +
+ +
+ + + + + +

+ +
+
If I obtain code under the MIT license, then make changes to it. Can I sub-license it under my own terms? Or do I have to still include their original MIT license with my software. +Basically I'm creating software that contains MIT licensed code, but I want to sell it with my own sub-license for the end users so they can't redistribute it for free.
+
+ +
+ +
+
+ +
+ + + + + +

+ +
+
Your well within your right to do that so long as the MIT parts retain a copy of the license.
+
+ +
+
+
+ +
+ + + + + +

+ +
+
>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +Then why does Wikipedia state (unreferenced) this license is NOT copyleft? Does Wikipedia need fixing? Is there a reliable source about this?
+
+ +
+ +
+
+ +
+ + + + + +

+ +
+
Copyleft refers to whether the license perpetuates to derivatives based on the licensed work. For example, GPL license requires programs that use material from GPL licensed software to be licensed under the GPL. MIT does not have this requirement.
+
+ +
+ +
+ +
+ + + + + +

+ +
+
No, the MIT license is NOT "Copyleft". +Copyleft licenses are designed for authors of 'free' software, who wish to ensure that their work can ONLY be used in other 'free' software. Such an author chooses a path where everyone contributes 'free' software, and no one can include such work in 'un-free' software. [As always, referring to everyone's ability to distribute, build on, modify, etc, the software, not to price.] +The MIT license is different. It is for authors who are willing to have their work be widely used, in both 'free' and commercial (proprietary) software. That is, it is fine with such an author if someone else makes use of their work, but feels that they are not in a position to offer such freedom. +These are two philosophically different paths for sharing work with the broader community. Each path has its benefits. +There is also a third alternative, represented by LGPL (The "Lesser Freedom" license). Here, the work itself must remain 'free' - all modifications to it must be made available to everyone, but it can be *linked* with 'non-free' work, as long as certain conditions are maintained. +For example, I make my living developing custom software for clients. I (or my clients) have a business model that is not consistent with CopyLeft freedom. Therefore, I only use MIT licensed or LGPL licensed software.
+
+ +
+ +
+ +
+ + + + + +

+ +
+
I just realized a possible source of confusion: +The MIT license is only required to be retained for the work that you incorporate. You are free to use DIFFERENT LICENSING TERMS for any work that you add. You do NOT have to release your modifications under the MIT license. +If the MIT license stated that you had to release YOUR changes under the same license, then it would indeed be CopyLeft. But it doesn't. Perhaps it should be revised to explicitly state that the right to modify/etc the software includes the right to use different licensing terms for the modified portions (as long as the original copyright is preserved/made-visible for the included work).
+
+ +
+
+
+ +
+ + + + + +

+ +
+
I'm referring to the following part-sentence: +"to permit persons to whom the Software is furnished to do so" +Does this mean that person1, referred to in the text as "any person", is required to give access to the complete source code to person2, referred to in the text as "persons to whom the Software is furnished"? +I'm asking because it seems that you need the source code to "to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software", which is contradictory to the "without restriction" part?
+
+ +
+ +
+
+ +
+ + + + + +

+ +
+
The part about "permit persons to whom the software is furnished..." says that the license is sublicensable. In other words, person A gives software to person B, and under this license, not only can person B do various stuff (e.g. modify), but also, person B has the authority to give the same permissions (or any subset of permissions, as person B chooses) to any person(s) C that B chooses. +Assuming person A is the copyright holder, it would be a little bit pointless for person A to choose this license if he didn't intend to include the source code. The license gives B the *right* to modify, so one hopes that person A would also give person B the *power* to do so. But the license doesn't force A to give B the source. It doesn't force B to give C the source either, even if B gets the source from A. Which makes sense, because B doesn't have to pass along any of the rights (e.g., right to modify) that B doesn't want to. +If you choose this license, you are allowing anybody to take the source away and distribute only the binaries.
+
+ +
+
+
+ +
+ + + + + +

+ +
+
يمكن الاطلاع على نسخة مترجمة للعربية على العنوان: +http://os-licenses.richstyle.org/MIT-ar.php
+
+ +
+ +
+ +
+ + + + + +

+ +
+
I'm a freelance graphic designer and would like to use the Flexslider widget on my site, but I need to first obtain an MIT license. How do I go about doing this?
+
+ +
+ +
+
+ +
+ + + + + +

+ +
+
I am glad you are worried about making sure you don't steal software. The MIT license is what you agree to when you use the software, not something you have to purchase though. So feel right ahead to use the slider, without purchasing anything. Just make sure you follow the rules stated by the MIT License above our posts. ;)
+
+ +
+ +
+ +
+ + + + + +

+ +
+
Look inside the FlexSlider download for a file named LICENSE.txt :)
+
+ +
+
+
+ +
+ + + + + +

+ +
+
May I enquire as to what specific forms are permissable to meet the "...The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software..." requirement? +For example, does the notice need to appear within an application's user interface somewhere? If so, does it matter where? If not, how specifically does it need to be incorporated? Embedded within any file? Only a separate file? What about a a phone app, where this would be impractical? +What about a hardware product where the code is compiled into firmware and there is no practical or desirable way of displaying the notice? +Thanks in advance!
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ + +
+
+
+
+
+
+
+
+ + + diff --git a/mail-lists.html b/mail-lists.html new file mode 100644 index 0000000..4ba12ed --- /dev/null +++ b/mail-lists.html @@ -0,0 +1,121 @@ + + + + + + Project Mailing Lists + + + + + + + + + +
+ +
+
+
+

Project Mailing Lists

There are no mailing lists currently associated with this project.

+
+
+
+
+
+ + + diff --git a/plugin-management.html b/plugin-management.html new file mode 100644 index 0000000..fffe5db --- /dev/null +++ b/plugin-management.html @@ -0,0 +1,121 @@ + + + + + + Project Plugin Management + + + + + + + + + +
+ +
+
+
+

Project Plugin Management

GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-antrun-plugin1.3
org.apache.maven.pluginsmaven-assembly-plugin2.2-beta-5
org.apache.maven.pluginsmaven-dependency-plugin2.1
org.apache.maven.pluginsmaven-release-plugin2.1
+
+
+
+
+
+ + + diff --git a/plugins.html b/plugins.html new file mode 100644 index 0000000..a079c1e --- /dev/null +++ b/plugins.html @@ -0,0 +1,121 @@ + + + + + + Project Build Plugins + + + + + + + + + +
+ +
+
+
+

Project Build Plugins

GroupIdArtifactIdVersion
com.github.githubsite-maven-plugin0.7
org.apache.maven.pluginsmaven-assembly-plugin2.3
org.apache.maven.pluginsmaven-clean-plugin2.4.1
org.apache.maven.pluginsmaven-compiler-plugin2.3.2
org.apache.maven.pluginsmaven-deploy-plugin2.7
org.apache.maven.pluginsmaven-enforcer-plugin1.0
org.apache.maven.pluginsmaven-install-plugin2.3.1
org.apache.maven.pluginsmaven-jar-plugin2.3.2
org.apache.maven.pluginsmaven-resources-plugin2.5
org.apache.maven.pluginsmaven-site-plugin3.0
org.apache.maven.pluginsmaven-source-plugin2.1.2
org.apache.maven.pluginsmaven-surefire-plugin2.12.3

Project Report Plugins

GroupIdArtifactIdVersion
org.apache.maven.pluginsmaven-javadoc-plugin2.8
+
+
+
+
+
+ + + diff --git a/pom.xml b/pom.xml deleted file mode 100644 index d71e58c..0000000 --- a/pom.xml +++ /dev/null @@ -1,181 +0,0 @@ - - 4.0.0 - - com.telapi.api - telapi-java - 0.0.4-SNAPSHOT - jar - - - org.sonatype.oss - oss-parent - 7 - - - telapi-java - Java helper library for Telapi REST services - http://www.telapi.com - - - - MIT License - http://www.opensource.org/licenses/mit-license.php - repo - - - - - https://github.com/TelAPI/telapi-java/issues - GitHub Issues - - - - https://github.com/TelAPI/telapi-java - scm:git:git://github.com/TelAPI/telapi-java.git - scm:git:git@github.com:TelAPI/telapi-java.git - - - - - vprenner - Vladimir Prenner - vladimir.prenner@calyx.hr - Calyx d.o.o - http://www.calyx.hr - - - - - UTF-8 - true - github - - 2.3.4.Final - - - - - - org.jboss.resteasy - resteasy-jaxrs - ${jboss.version} - - - org.scannotation - scannotation - - - - - org.jboss.resteasy - resteasy-jackson-provider - ${jboss.version} - - - junit - junit - 4.10 - test - - - log4j - log4j - 1.2.17 - - - com.thoughtworks.xstream - xstream - 1.4.3 - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 - - 1.6 - 1.6 - - - - maven-assembly-plugin - 2.3 - - - jar-with-dependencies - - - - - make-assembly - package - - single - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.12.3 - - ${skipTests} - - - - org.apache.maven.plugins - maven-source-plugin - 2.1.2 - - - attach-sources - - jar - - - - - - com.github.github - site-maven-plugin - 0.7 - - Building site for ${project.version} - - - - - site - - site - - - - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - public - true - true - true - true - Telapi Java API - Telapi Java API]]> - Copyright © 2012 Telapi, Inc. All Rights Reserved.]]> - - - - - - diff --git a/project-info.html b/project-info.html new file mode 100644 index 0000000..d5c8d2c --- /dev/null +++ b/project-info.html @@ -0,0 +1,121 @@ + + + + + + Project Information + + + + + + + + + +
+ +
+
+
+

Project Information

This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by Maven on behalf of the project.

Overview

DocumentDescription
AboutJava helper library for Telapi REST services
Plugin ManagementThis document lists the plugins that are defined through pluginManagement.
Distribution ManagementThis document provides informations on the distribution management of this project.
Dependency Informationreport.dependency-info.description
Source RepositoryThis is a link to the online source repository that can be viewed via a web browser.
Mailing ListsThis document provides subscription and archive information for this project's mailing lists.
Issue TrackingThis is a link to the issue management system for this project. Issues (bugs, features, change requests) can be created and queried using this link.
Continuous IntegrationThis is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.
Project PluginsThis document lists the build plugins and the report plugins used by this project.
Project LicenseThis is a link to the definitions of project licenses.
Project TeamThis document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another.
Project SummaryThis document lists other related information of this project
DependenciesThis document lists the project's dependencies and provides information on each dependency.
+
+
+
+
+
+ + + diff --git a/project-reports.html b/project-reports.html new file mode 100644 index 0000000..900e648 --- /dev/null +++ b/project-reports.html @@ -0,0 +1,88 @@ + + + + + + Generated Reports + + + + + + + + + +
+ +
+
+
+

Generated Reports

This document provides an overview of the various reports that are automatically generated by Maven . Each report is briefly described below.

Overview

DocumentDescription
JavaDocsJavaDoc API documentation.
Test JavaDocsTest JavaDoc API documentation.
+
+
+
+
+
+ + + diff --git a/project-summary.html b/project-summary.html new file mode 100644 index 0000000..fe432fe --- /dev/null +++ b/project-summary.html @@ -0,0 +1,121 @@ + + + + + + Project Summary + + + + + + + + + +
+ +
+
+
+

Project Summary

Project Information

FieldValue
Nametelapi-java
DescriptionJava helper library for Telapi REST services
Homepagehttp://www.telapi.com

Project Organization

This project does not belong to an organization.

Build Information

FieldValue
GroupIdcom.telapi.api
ArtifactIdtelapi-java
Version0.0.3-SNAPSHOT
Typejar
JDK Rev1.6
+
+
+
+
+
+ + + diff --git a/source-repository.html b/source-repository.html new file mode 100644 index 0000000..e5691a4 --- /dev/null +++ b/source-repository.html @@ -0,0 +1,121 @@ + + + + + + Source Repository + + + + + + + + + +
+ +
+
+
+

Overview

This project uses a Source Content Management System to manage its source code.

Web Access

The following is a link to the online source repository.

Anonymous access

Refer to the documentation of the SCM used for more information about anonymously check out. The connection url is:

git:git://github.com/TelAPI/telapi-java.git

Developer access

Refer to the documentation of the SCM used for more information about developer check out. The connection url is:

git:git@github.com:TelAPI/telapi-java.git

Access from behind a firewall

Refer to the documentation of the SCM used for more information about access behind a firewall.

+
+
+
+
+
+ + + diff --git a/src/main/java/com/telapi/api/TelapiConnector.java b/src/main/java/com/telapi/api/TelapiConnector.java deleted file mode 100644 index a16ad52..0000000 --- a/src/main/java/com/telapi/api/TelapiConnector.java +++ /dev/null @@ -1,2282 +0,0 @@ -package com.telapi.api; - -import java.net.URI; -import java.util.Date; -import java.util.List; - -import javax.ws.rs.core.UriBuilder; - -import org.jboss.resteasy.client.ClientResponse; -import org.jboss.resteasy.client.ProxyFactory; -import org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor; - -import com.telapi.api.configuration.TelapiConfiguration; -import com.telapi.api.configuration.TelapiConstants; -import com.telapi.api.domain.Account; -import com.telapi.api.domain.Application; -import com.telapi.api.domain.Call; -import com.telapi.api.domain.Conference; -import com.telapi.api.domain.IncomingPhoneNumber; -import com.telapi.api.domain.Notification; -import com.telapi.api.domain.Participant; -import com.telapi.api.domain.Recording; -import com.telapi.api.domain.SmsMessage; -import com.telapi.api.domain.Transcription; -import com.telapi.api.domain.enums.AudioDirection; -import com.telapi.api.domain.enums.CallInterruptStatus; -import com.telapi.api.domain.enums.CallStatus; -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.domain.enums.Legs; -import com.telapi.api.domain.enums.LogLevel; -import com.telapi.api.domain.enums.TranscriptionStatus; -import com.telapi.api.domain.enums.TranscriptionType; -import com.telapi.api.domain.list.AccountsList; -import com.telapi.api.domain.list.ApplicationList; -import com.telapi.api.domain.list.AvailablePhoneNumberList; -import com.telapi.api.domain.list.CallList; -import com.telapi.api.domain.list.CarrierLookupList; -import com.telapi.api.domain.list.CnamDipList; -import com.telapi.api.domain.list.ConferenceList; -import com.telapi.api.domain.list.FraudList; -import com.telapi.api.domain.list.IncomingPhoneNumberList; -import com.telapi.api.domain.list.NotificationList; -import com.telapi.api.domain.list.RecordingList; -import com.telapi.api.domain.list.SmsMessageList; -import com.telapi.api.domain.list.TranscriptionList; -import com.telapi.api.exceptions.TelapiException; -import com.telapi.api.http.RestExecutor; -import com.telapi.api.requests.ApplicationRequest; -import com.telapi.api.requests.CallRequest; -import com.telapi.api.requests.IncomingPhoneNumberRequest; -import com.telapi.api.restproxies.AccountsProxy; -import com.telapi.api.restproxies.ApplicationProxy; -import com.telapi.api.restproxies.AvailablePhoneNumberProxy; -import com.telapi.api.restproxies.CallProxy; -import com.telapi.api.restproxies.CarrierLookupProxy; -import com.telapi.api.restproxies.ConferenceProxy; -import com.telapi.api.restproxies.FraudControlProxy; -import com.telapi.api.restproxies.IncomingPhoneNumberProxy; -import com.telapi.api.restproxies.NotificationProxy; -import com.telapi.api.restproxies.RecordingProxy; -import com.telapi.api.restproxies.SmsProxy; -import com.telapi.api.restproxies.TranscriptionProxy; - -/** - * - * The class used for all forms of communication with the Telapi REST API. - * - */ -public class TelapiConnector { - - private ApacheHttpClient4Executor executor; - private TelapiConfiguration conf; - private String fullBaseUrl; - - private AccountsProxy accountsProxy; - private SmsProxy smsProxy; - private CallProxy callProxy; - private ConferenceProxy conferenceProxy; - private ApplicationProxy applicationProxy; - private IncomingPhoneNumberProxy incomingPhoneNumberProxy; - private AvailablePhoneNumberProxy availablePhoneNumberProxy; - private RecordingProxy recordingProxy; - private NotificationProxy notificationProxy; - private TranscriptionProxy transcriptionProxy; - private CarrierLookupProxy carrierLookupProxy; - private FraudControlProxy fraudControlProxy; - - /** - * Creates a new TelapiConnector based on the provided configuration. - * - * @param conf - * The configuration based on which the TelapiConnector will be - * created. - * @see BasicTelapiConfiguration, PropertiesFileTelapiConfiguration, - * TelapiConfiguration - */ - public TelapiConnector(TelapiConfiguration conf) { - this.conf = conf; - executor = RestExecutor.createExecutor(conf); - URI baseUrl = UriBuilder.fromUri(conf.getBaseUrl()) - .path(TelapiConstants.API_VERSION).build(); - fullBaseUrl = baseUrl.toString(); - - accountsProxy = createProxy(AccountsProxy.class); - smsProxy = createProxy(SmsProxy.class); - callProxy = createProxy(CallProxy.class); - conferenceProxy = createProxy(ConferenceProxy.class); - applicationProxy = createProxy(ApplicationProxy.class); - incomingPhoneNumberProxy = createProxy(IncomingPhoneNumberProxy.class); - availablePhoneNumberProxy = createProxy(AvailablePhoneNumberProxy.class); - recordingProxy = createProxy(RecordingProxy.class); - notificationProxy = createProxy(NotificationProxy.class); - transcriptionProxy = createProxy(TranscriptionProxy.class); - carrierLookupProxy = createProxy(CarrierLookupProxy.class); - fraudControlProxy = createProxy(FraudControlProxy.class); - } - - private T createProxy(Class clazz) { - return ProxyFactory.create(clazz, fullBaseUrl, executor); - } - - private T returnThrows(ClientResponse response) - throws TelapiException { - int status = response.getStatus(); - if (status > 399) { - TelapiException exception = response - .getEntity(TelapiException.class); - throw exception; - } - return response.getEntity(); - } - - private String getDateString(Date date) { - if (date == null) - return null; - return TelapiConstants.queryDateFormat.format(date); - } - - // ACCOUNT - - /** - * An account resource provides information about a single TelAPI account. - * This methods gets the info of the account with the provided Sid. - * - * @param accountSid - * @return - * @throws TelapiException - */ - public Account viewAccount(String accountSid) throws TelapiException { - ClientResponse acc = accountsProxy.getAccount(accountSid); - return returnThrows(acc); - } - - /** - * @see #viewAccount(String) - * @return The account with the Sid defined in the configuration. - * @throws TelapiException - */ - public Account viewAccount() throws TelapiException { - return viewAccount(conf.getSid()); - } - - public AccountsList viewAccounts() throws TelapiException { - ClientResponse accounts = accountsProxy.getAccounts(); - return returnThrows(accounts); - } - - // SMSMESSAGE - - /** - * Used for specifying a different accountSid. - * - * @see #viewSmsMessage(String) - * @param sid - * The account sid (required). - * @return An Sms Message resource. - * @throws TelapiException - */ - public SmsMessage viewSmsMessage(String sid, String smsMessageSid) - throws TelapiException { - ClientResponse sms = smsProxy.getSmsMessage(sid, - smsMessageSid); - return returnThrows(sms); - } - - /** - * Text messages sent to and from TelAPI phone numbers are represented with - * the Sms resource. - * - * @param smsMessageSid - * The sms message sid (required). - * @return An Sms Message resource. - * @throws TelapiException - */ - public SmsMessage viewSmsMessage(String smsMessageSid) - throws TelapiException { - return viewSmsMessage(conf.getSid(), smsMessageSid); - } - - /** - * @see #listSmsMessages(String, String, Date, Date, Long, Long) - * @param accountSid - * The account sid (required). - * @return A list of SmsMessage resources. - * @throws TelapiException - */ - public SmsMessageList listSmsMessages(String accountSid, String to, - String from, Date dateSentGte, Date dateSentLt, Long page, - Long pageSize) throws TelapiException { - - ClientResponse smsList = smsProxy.getSmsMessageList( - accountSid, to, from, getDateString(dateSentGte), - getDateString(dateSentLt), page, pageSize); - return returnThrows(smsList); - } - - /** - * Just as with calls, a list of all messages sent to and from a given - * TelAPI account's phone numbers can be requested via our REST API. - * - * @param to - * Lists all SMS messages sent to this number. - * @param from - * Lists all SMS messages sent from this number. - * @param dateSentGte - * Lists all SMS messages beginning on or from a certain date. - * @param dateSentLt - * Lists all SMS messages before a certain date. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of SmsMessage resources. - * @throws TelapiException - */ - public SmsMessageList listSmsMessages(String to, String from, - Date dateSentGte, Date dateSentLt, Long page, Long pageSize) - throws TelapiException { - return listSmsMessages(conf.getSid(), to, from, dateSentGte, - dateSentLt, page, pageSize); - } - - /** - * Lists all Sms Messages for the configured account. - * - * @return A list of Sms Message. - * @throws TelapiException - */ - public SmsMessageList listSmsMessages() throws TelapiException { - return listSmsMessages(conf.getSid(), null, null, null, null, null, - null); - } - - /** - * @see #sendSmsMessage(String, String, String, String) - * @param accountSid - * The account sid (required). - * @throws TelapiException - */ - public SmsMessage sendSmsMessage(String accountSid, String to, String from, - String body, String statusCallback) throws TelapiException { - ClientResponse smsMessage = smsProxy.sendSmsMessage( - accountSid, to, from, body, statusCallback); - return returnThrows(smsMessage); - } - - /** - * Sends an SMS message. - * - * @param to - * The number you want to send the SMS to (required). - * @param from - * The number you want to display as sending the SMS. A subcharge - * will apply when sending via a custom From number (required). - * @param body - * Text of the SMS message to be sent. Plain text up to 160 - * characters in length (required). - * @param statusCallback - * URL that a set of default parameters will be forwarded to once - * the SMS is complete. - * @return The SMS message which was sent. - * @throws TelapiException - */ - public SmsMessage sendSmsMessage(String to, String from, String body, - String statusCallback) throws TelapiException { - return sendSmsMessage(conf.getSid(), to, from, body, statusCallback); - } - - // CALLS - - /** - * @see #viewCall(String) - * @param accountSid - * The account sid (required). - * @throws TelapiException - */ - public Call viewCall(String accountSid, String callSid) - throws TelapiException { - return returnThrows(callProxy.viewCall(accountSid, callSid)); - } - - /** - * Gets the specified call resource. A call resource provides information - * about an individual call that has occurred through TelAPI. Both inbound - * and outbound voice communication through TelAPI are categorized as calls. - * - * @param callSid - * The sid of the requested Call resource (required). - * @return The requested Call resource. - * @throws TelapiException - */ - public Call viewCall(String callSid) throws TelapiException { - return viewCall(conf.getSid(), callSid); - } - - /** - * @see #listCalls(String, String, CallStatus, Date, Date, Long, Long) - * @param accountSid - * The account sid (required). - * @throws TelapiException - */ - public CallList listCalls(String accountSid, String to, String from, - CallStatus status, Date startTimeGte, Date startTimeLt, Long page, - Long pageSize, Integer recordingsCount) throws TelapiException { - return returnThrows(callProxy.listCalls(accountSid, to, from, status, - getDateString(startTimeGte), getDateString(startTimeLt), page, - pageSize)); - } - - /** - * To view a list of all inbound and outbound call resources associated with - * a given account, use this method. The response returned lists the calls - * in chronological order and also includes paging information. - * - * @param to - * Lists all calls made to this number only. - * @param from - * Lists all calls made from this number. - * @param status - * Lists all calls with the specified status only. - * @param startTimeGte - * Lists all calls beginning on or from a certain date. - * @param startTimeLt - * Lists all calls beginning before a certain date. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of calls. - * @throws TelapiException - */ - public CallList listCalls(String to, String from, CallStatus status, - Date startTimeGte, Date startTimeLt, Long page, Long pageSize,Integer recordingsCount) - throws TelapiException { - return listCalls(conf.getSid(), to, from, status, startTimeGte, - startTimeLt, page, pageSize, recordingsCount); - } - - /** - * To view a list of all inbound and outbound call resources associated with - * a given account, use this method. The response returned lists the calls - * in chronological order and also includes paging information. - * - * @return A list of calls. - * @throws TelapiException - */ - public CallList listCalls() - throws TelapiException { - return listCalls(conf.getSid(), null, null, null, null, - null, null, null, null); - } - - /** - * @see #makeCall(String, String, String, HttpMethod, String, HttpMethod, - * String, HttpMethod, String, HttpMethod, String, String, Long, - * Boolean, Boolean, String, HttpMethod, Boolean, String, HttpMethod) - * @throws TelapiException - */ - public Call makeCall(String accountSid, String to, String from, String url, - HttpMethod method, String fallbackUrl, HttpMethod fallbackMethod, - String statusCallback, HttpMethod statusCallbackMethod, - String heartbeatUrl, HttpMethod heartbeatMethod, - String forwardedFrom, String sendDigits, Long timeout, - Boolean hideCallerId, Boolean record, String recordCallback, - HttpMethod recordCallbackMethod, Boolean transcribe, - String transcribeCallback, HttpMethod transcribeCallbackMethod) - throws TelapiException { - return returnThrows(callProxy.makeCall(accountSid, to, from, url, - method, fallbackUrl, fallbackMethod, statusCallback, - statusCallbackMethod, heartbeatUrl, heartbeatMethod, - forwardedFrom, sendDigits, timeout, hideCallerId, record, - recordCallback, recordCallbackMethod, transcribe, - transcribeCallback, transcribeCallbackMethod)); - } - - /** - * Makes a call. - * - * @param to - * The number to call (required). - * @param from - * The number to display as calling (required). - * @param url - * The URL requested once the call connects. A set of default - * parameters will be sent here. - * @param method - * Specifies the HTTP method used to request the required URL - * once call connects. Defaults to POST. - * @param fallbackUrl - * URL used if any errors occur during execution of InboundXML or - * at initial request of the required Url provided with the POST. - * @param fallbackMethod - * Specifies the HTTP method used to request FallbackUrl. - * Defaults to POST. - * @param statusCallback - * URL that can be requested to receive notification when call - * has ended. A set of default parameters will be sent here once - * the call is finished. - * @param statusCallbackMethod - * Specifies the HTTP method used to request StatusCallbackUrl. - * Defaults to POST. - * @param heartbeatUrl - * URL that can be requested every 60 seconds during the call to - * notify of elapsed time and pass other general information. - * @param heartbeatMethod - * Specifies the HTTP method used to request the Heartbeat URL. - * @param forwardedFrom - * Specifies the forwarding number to pass to the receiving - * carrier. - * @param sendDigits - * Dials digits once call connects. Can be used to forward - * callers to different extensions or numbers. Allowed values are - * numbers, # and *. - * @param timeout - * Number of seconds call stays on the line while waiting for an - * answer. The max time limit is 999 and the default limit is 60 - * seconds but lower times can be set. Defaults to 60. - * @param hideCallerId - * Specifies if the caller id will be hidden. - * @param record - * Specifies whether this call should be recorded. Defaults to - * false. - * @param recordCallback - * A URL some parameters regarding the recording will be past to - * once it is completed. - * @param recordCallbackMethod - * Method used to request the RecordCallback URL. - * @param transcribe - * Specifies whether this call should be transcribed. Defaults to - * false. - * @param transcribeCallback - * A URL some parameters regarding the transcription will be past - * to once it is completed. - * @param transcribeCallbackMethod - * Method used to request the TranscribeCallback URL. - * @return The newly made call. - * @throws TelapiException - */ - public Call makeCall(String to, String from, String url, - HttpMethod method, String fallbackUrl, HttpMethod fallbackMethod, - String statusCallback, HttpMethod statusCallbackMethod, - String heartbeatUrl, HttpMethod heartbeatMethod, - String forwardedFrom, String sendDigits, Long timeout, - Boolean hideCallerId, Boolean record, String recordCallback, - HttpMethod recordCallbackMethod, Boolean transcribe, - String transcribeCallback, HttpMethod transcribeCallbackMethod) throws TelapiException { - return makeCall(conf.getSid(), to, from, url, - method, fallbackUrl, fallbackMethod, statusCallback, - statusCallbackMethod, heartbeatUrl, heartbeatMethod, - forwardedFrom, sendDigits, timeout, hideCallerId, record, - recordCallback, recordCallbackMethod, transcribe, - transcribeCallback, transcribeCallbackMethod); - } - - /** - * Convenience method which accepts a CallRequest object containing - * parameters. - * - * @see #makeCall(String, String, String, HttpMethod, String, HttpMethod, - * String, HttpMethod, String, HttpMethod, String, String, Long, - * Boolean, Boolean, String, HttpMethod, Boolean, String, HttpMethod) - * @return The newly made call. - * @throws TelapiException - */ - public Call makeCall(CallRequest callRequest) throws TelapiException { - String accountSid = conf.getSid(); - if (callRequest.getAccountSid() != null) - accountSid = callRequest.getAccountSid(); - - return makeCall(accountSid, callRequest.getTo(), callRequest.getFrom(), - callRequest.getUrl(), callRequest.getMethod(), - callRequest.getFallbackUrl(), callRequest.getFallbackMethod(), - callRequest.getStatusCallback(), - callRequest.getStatusCallbackMethod(), - callRequest.getHeartbeatUrl(), - callRequest.getHeartbeatMethod(), - callRequest.getForwardedFrom(), callRequest.getSendDigits(), - callRequest.getTimeout(), callRequest.getHideCallerId(), - callRequest.getRecord(), callRequest.getRecordCallback(), - callRequest.getRecordCallbackMethod(), - callRequest.getTranscribe(), - callRequest.getTranscribeCallback(), - callRequest.getTranscribeCallbackMethod()); - } - - /** - * @see #hangUpCall(String) - * @throws TelapiException - */ - public Call hangUpCall(String accountSid, String callSid) throws TelapiException { - return returnThrows(callProxy.hangupCall(accountSid, callSid, CallInterruptStatus.COMPLETED)); - } - - /** - * Hangs up a call. - * - * @param callSid The sid of the Call to hang up. - * @return The hung up call. - * @throws TelapiException - */ - public Call hangUpCall(String callSid) - throws TelapiException { - return hangUpCall(conf.getSid(), callSid); - } - - /** - * @see #sendDigits(String, String, Legs) - * @throws TelapiException - */ - public Call sendDigits(String accountSid, String callSid, String playDtfm, - Legs dtmfLeg) throws TelapiException { - return returnThrows(callProxy.sendDigits(accountSid, callSid, playDtfm, - dtmfLeg)); - } - - /** - * DTMFs, aka touch tone signals, can be sent to a call. - * - * @param callSid - * The call to which to send DTMF signals. - * @param playDtfm - * Specifies which touch tone signals to send to a call. W or w - * can be used to include half second pauses within the digit - * transmission. For example: wwww1234 waits two seconds before - * sending the digits and 12wwww34 waits two seconds in between - * the sending of 12 and 34. Allowed values are digits, #, *, W - * or w. - * @param dtmfLeg - * Specifies which leg of the call digits will be sent to. 'aleg' - * leg is the originator of the call, 'bleg' is the recipient of - * the call. Defaults to aleg. - * @return The call to which DTMF signals are sent. - * @throws TelapiException - */ - public Call sendDigits(String callSid, String playDtfm, Legs dtmfLeg) - throws TelapiException { - return sendDigits(conf.getSid(), callSid, playDtfm, dtmfLeg); - } - - /** - * @see #playAudioToCall(String, String, Long, Legs, Boolean, Boolean) - * @throws TelapiException - */ - public Call playAudioToCall(String accountSid, String callSid, - String soundsUrl, Long length, Legs legs, Boolean loop, Boolean mix) - throws TelapiException { - return returnThrows(callProxy.playAudio(accountSid, callSid, soundsUrl, - length, legs, loop, mix)); - } - - /** - * TelAPI allows you to play an audio file during a call. This is useful for - * playing hold music, providing IVR prompts, etc. - * - * @param callSid - * The call to which to play audio to. - * @param soundsUrl - * URL containg the sound file to play during the call. If - * multiple sounds are to be played, separate each by a comma in - * the request. - * @param length - * Time limit in seconds for audio play back. - * @param legs - * Specifies which leg of the call sound will play on. 'aleg' is - * the originator of the call, 'bleg' is the recipient of the - * call. Defaults to both. - * @param loop - * Specifies whether sound will loop. Set to true to play sound - * indefinitely. Defaults to false. - * @param mix - * Specifies whether sound should mix with call audio. - * @return The Call to which audio is played. - * @throws TelapiException - */ - public Call playAudioToCall(String callSid, String soundsUrl, Long length, - Legs legs, Boolean loop, Boolean mix) throws TelapiException { - return playAudioToCall(conf.getSid(), callSid, soundsUrl, length, legs, - loop, mix); - } - - /** - * TelAPI allows you to play an audio file during a call. This is useful for - * playing hold music, providing IVR prompts, etc. Plays the whole audio to - * both legs, without mixing and looping. - * - * @param callSid - * The call to which to play audio to. - * @param soundsUrl - * URL containg the sound file to play during the call. If - * multiple sounds are to be played, separate each by a comma in - * the request. - * @return The Call to which audio is played. - * @throws TelapiException - */ - public Call playAudioToCall(String callSid, String soundsUrl) throws TelapiException { - return playAudioToCall(conf.getSid(), callSid, soundsUrl, null, null, - null, null); - } - - /** - * @see #voiceEffects(String, AudioDirection, Double, Long, Long, Double) - * @throws TelapiException - */ - public Call voiceEffects(String accountSid, String callSid, - AudioDirection audioDirection, Double pitch, Long pitchSemiTones, - Long pitchOctaves, Double rate) throws TelapiException { - return returnThrows(callProxy.voiceEffects(accountSid, callSid, - audioDirection, pitch, pitchSemiTones, pitchOctaves, rate)); - } - - /** - * With TelAPI you can modify the way a callers voice sounds by changing - * things such as speed and pitch of the audio. - * - * @param callSid - * The call to which to apply voice effects. - * @param audioDirection - * Specifies the stream of audio that effects will occur on. Set - * "in" to change incoming audio stream or "out" to change - * outgoing audio stream. Defaults to out. - * @param pitch - * Manually sets the pitch. The lower the value, the lower the - * tone. Must be a value greater than 0. Defaults to 1. - * @param pitchSemiTones - * Changes the pitch of audio in semitone intervals. Must be a - * value between -14 and 14. Defaults to 0. - * @param pitchOctaves - * Changes the pitch of audio in octave intervals. Must be a - * value between -1 and 1. Defaults to 0. - * @param rate - * Manually sets the rate starting from 1. The lower the value, - * the lower the rate. Defaults to 1. - * @return The Call to which voice effects are applied. - * @throws TelapiException - */ - public Call voiceEffects(String callSid, AudioDirection audioDirection, - Double pitch, Long pitchSemiTones, Long pitchOctaves, Double rate) - throws TelapiException { - return voiceEffects(conf.getSid(), callSid, audioDirection, pitch, - pitchSemiTones, pitchOctaves, rate); - } - - /** - * @see #recordCall(String, Boolean, Long, String) - * @throws TelapiException - */ - public RecordingList recordCall(String accountSid, String callSid, - Boolean record, Long timeLimit, String callbackUrl) - throws TelapiException { - return returnThrows(callProxy.recordCall(accountSid, callSid, record, - timeLimit, callbackUrl)); - } - - /** - * TelAPI offers a way to both initiate or end a call recording. Both - * processes are achieved using the same method. The parameters sent are - * what determines whether a recording will start or end if it is already - * in-progress. - * - * @param callSid - * The call which is to be recorded. - * @param record - * Specifies if call recording should beging or end. To start - * recording a call, value must be true. To stop recording a - * call, value must be false. - * @param timeLimit - * The time in seconds the duration a call recording should not - * exceed. If no value specified, recordings are 60 seconds by - * default. - * @param callbackUrl - * URL where recording information will be relayed to after it - * has completed. - * @return A list of recordings. - * @throws TelapiException - */ - public RecordingList recordCall(String callSid, Boolean record, Long timeLimit, - String callbackUrl) throws TelapiException { - return recordCall(conf.getSid(), callSid, record, timeLimit, - callbackUrl); - } - - // CONFERENCE - - /** - * @see #viewConference(String) - * @throws TelapiException - */ - public Conference viewConference(String accountSid, String conferenceSid) - throws TelapiException { - return returnThrows(conferenceProxy.viewConference(accountSid, - conferenceSid)); - } - - /** - * @see #listConferences(String, Boolean, Boolean, Long, Long) - * @throws TelapiException - */ - public ConferenceList listConferences(String accountSid, - String friendlyName, String status, Date dateCreatedGte, - Date dateCreatedLt, Date dateUpdatedGte, Date dateUpdatedLt, - Long page, Long pageSize) throws TelapiException { - return returnThrows(conferenceProxy.listConferences(accountSid, - friendlyName, status, getDateString(dateCreatedGte), - getDateString(dateCreatedLt), getDateString(dateUpdatedGte), - getDateString(dateUpdatedLt), page, pageSize)); - } - - - /** - * @see #viewParticipant(String, String) - * @throws TelapiException - */ - public Participant viewParticipant(String accountSid, String conferenceSid, - String callSid) throws TelapiException { - return returnThrows(conferenceProxy.viewParticipant(accountSid, - conferenceSid, callSid)); - } - - /** - * Participants of a conference are identified by the CallSid created when - * they dial into the conference. To access individual conference - * participants, use this method. - * - * @param conferenceSid - * The conference the participant is part of. - * @param callSid - * The call with which the participant participates in the - * conference. - * @return The selected participant. - * @throws TelapiException - */ - public Participant viewParticipant(String conferenceSid, String callSid) - throws TelapiException { - return returnThrows(conferenceProxy.viewParticipant(conf.getSid(), - conferenceSid, callSid)); - } - - /** - * @see #listParticipants(String, Boolean, Boolean, Long, Long) - * @throws TelapiException - */ - public List listParticipants(String accountSid, - String conferenceSid, Boolean muted, Boolean deaf, Long page, - Long pageSize) throws TelapiException { - return returnThrows(conferenceProxy.listParticipants(accountSid, - conferenceSid, muted, deaf, page, pageSize)); - } - - - /** - * Used to get a list of participants currently connected to a particular - * conference. - * - * @param conferenceSid - * The sid of the Conference for which participants are - * requested. - * @param muted - * Only list participants that are muted. Defaults to false. - * @param deaf - * Only list participants that are deaf. Defaults to false. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of participants currently connected to a particular - * conference. - * @throws TelapiException - */ - public List listParticipants( - String conferenceSid, Boolean muted, Boolean deaf, Long page, - Long pageSize) throws TelapiException { - return listParticipants(conf.getSid(), conferenceSid, muted, deaf, page, pageSize); - } - - /** - * Convenience method. - * @see #listParticipants(String, Boolean, Boolean, Long, Long) - * @throws TelapiException - */ - public List listParticipants(String conferenceSid) throws TelapiException { - return listParticipants(conferenceSid, null, null, null, null); - } - - - /** - * @see #deafOrMuteParticipant(String, String, Boolean, Boolean) - * @throws TelapiException - */ - public Participant deafOrMuteParticipant(String accountSid, String conferenceSid, String callSid, Boolean muted, Boolean deaf) throws TelapiException { - return returnThrows(conferenceProxy.muteDeafParticipant(accountSid, conferenceSid, callSid, muted, deaf)); - } - - /** - * Conference participants can be muted or deafed by calling this method. - * - * @param conferenceSid The Conference the participant is a part of. - * @param callSid The Call used to identify the participant. - * @param muted Specifies whether the participant should be muted. - * @param deaf Specifies whether the participant should be deaf. - * @return The participant which was muted/unmuted/deafened/undeafened. - * @throws TelapiException - */ - public Participant deafOrMuteParticipant(String conferenceSid, String callSid, Boolean muted, Boolean deaf) throws TelapiException { - return returnThrows(conferenceProxy.muteDeafParticipant(conf.getSid(), conferenceSid, callSid, muted, deaf)); - } - - - /** - * @see #hangupMember(String, String) - * @throws TelapiException - */ - public Participant hangupParticipant(String accountSid, String conferenceSid, - String callSid) throws TelapiException { - return returnThrows(conferenceProxy.hangupParticipant(accountSid, conferenceSid, callSid)); - } - - /** - * Hangup conference members by conference sid and call sid. - * - * @param conferenceSid - * The sid of the requested Conference. - * @param callSid - * Specifies the member to hangup via the call used by the member - * to enter the conference. - * @return The Participant which was hung up on. - * @throws TelapiException - */ - public Participant hangupParticipant(String conferenceSid, String callSid) - throws TelapiException { - return returnThrows(conferenceProxy.hangupParticipant(conf.getSid(), - conferenceSid, callSid)); - } - - /** - * @see #playAudioToParticipant(String, String, String) - * @throws TelapiException - */ - public Participant playAudioToParticipant(String accountSid, - String conferenceSid, String callSid, String url) - throws TelapiException { - return returnThrows(conferenceProxy.playAudioToParticipant(accountSid, - conferenceSid, callSid, url)); - } - - /** - * Resource properties about conference calls that occurred through a TelAPI - * account can be requested using our API. - * - * @param conferenceSid - * The sid of the requested Conference. - * @return The requested conference. - * @throws TelapiException - */ - public Conference viewConference(String conferenceSid) - throws TelapiException { - return viewConference(conf.getSid(), conferenceSid); - } - - /** - * To view a list of all conference resources associated with a given - * account, the URI below is provided. The response returned lists - * conferences in chronological order and includes information on each - * member of the conference. - * - * @param friendlyName - * List conferences with the given FriendlyName. - * @param status - * List conferences with the given status. Allowed values are: - * init, in-progress, or completed. - * @param dateCreatedGte - * List conferences created on or after this date. - * @param dateCreatedLt - * List conferences created before this date. - * @param dateUpdatedGte - * List conferences updated on or after this date. - * @param dateUpdatedLt - * List conferences updated before this date. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of Conferences accorded to the specified parameters.s - * @throws TelapiException - */ - public ConferenceList listConferences(String friendlyName, String status, Date dateCreatedGte, - Date dateCreatedLt, Date dateUpdatedGte, Date dateUpdatedLt, - Long page, Long pageSize) throws TelapiException { - return listConferences(conf.getSid(), friendlyName, status, - dateCreatedGte, dateCreatedLt, dateUpdatedGte, dateUpdatedLt, - page, pageSize); - } - - /** - * To view a list of all conference resources associated with a given - * account, the URI below is provided. The response returned lists - * conferences in chronological order and includes information on each - * member of the conference. - * - * @return A list of all the Conferences belonging to the account. - * @throws TelapiException - */ - public ConferenceList listConferences() throws TelapiException { - return listConferences(null, null, null, null, null, null, null, null); - } - - /** - * Pre-recorded sound from a file can be played to conference members. - * - * @param conferenceSid - * The sid of the requested Conference. - * @param callSid - * Specifies the conference member to be spoken to via Call sid. - * @param audioUrl - * URL containing the audio file to play. - * @return The Participant to which the audio was played. - * @throws TelapiException - */ - public Participant playAudioToParticipant(String conferenceSid, - String callSid, String audioUrl) throws TelapiException { - return playAudioToParticipant(conf.getSid(), conferenceSid, callSid, - audioUrl); - } - - // APPLICATIONS - - /** - * @see #viewApplication(String) - * @throws TelapiException - */ - public Application viewApplication(String accountSid, String applicationSid) - throws TelapiException { - return returnThrows(applicationProxy.viewApplication(accountSid, - applicationSid)); - } - - /** - * @see #listApplications(String, Long, Long) - * @throws TelapiException - */ - public ApplicationList listApplications(String accountSid, - String friendlyName, Long page, Long pageSize) - throws TelapiException { - return returnThrows(applicationProxy.listApplications(accountSid, - friendlyName, page, pageSize)); - } - - /** - * @see #createApplication(String, String, HttpMethod, String, HttpMethod, - * Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, - * String, HttpMethod) - * @throws TelapiException - */ - public Application createApplication(String accountSid, - String friendlyName, String voiceUrl, HttpMethod voiceMethod, - String voiceFallbackUrl, HttpMethod voiceFallbackMethod, - Boolean voiceCallerIdLookup, String smsUrl, HttpMethod smsMethod, - String smsFallbackUrl, HttpMethod smsFallbackMethod, - String heartbeatUrl, HttpMethod heartbeatMethod, - String hangupCallback, HttpMethod hangupCallbackMethod) - throws TelapiException { - return returnThrows(applicationProxy.createApplication(accountSid, - friendlyName, voiceUrl, voiceMethod, voiceFallbackUrl, - voiceFallbackMethod, voiceCallerIdLookup, smsUrl, smsMethod, - smsFallbackUrl, smsFallbackMethod, heartbeatUrl, - heartbeatMethod, hangupCallback, hangupCallbackMethod)); - } - - /** - * @see #createApplication(String, String, HttpMethod, String, HttpMethod, - * Boolean, String, HttpMethod, String, HttpMethod, String, HttpMethod, - * String, HttpMethod) - * @throws TelapiException - */ - public Application createApplication(ApplicationRequest applicationRequest) - throws TelapiException { - String accountSid = conf.getSid(); - if (applicationRequest.getAccountSid() != null) { - accountSid = applicationRequest.getAccountSid(); - } - return createApplication(accountSid, - applicationRequest.getFriendlyName(), - applicationRequest.getVoiceUrl(), - applicationRequest.getVoiceMethod(), - applicationRequest.getVoiceFallbackUrl(), - applicationRequest.getVoiceFallbackMethod(), - applicationRequest.getVoiceCallerIdLookup(), - applicationRequest.getSmsUrl(), - applicationRequest.getSmsMethod(), - applicationRequest.getSmsFallbackUrl(), - applicationRequest.getSmsFallbackMethod(), - applicationRequest.getHeartbeatUrl(), - applicationRequest.getHeartbeatMethod(), - applicationRequest.getStatusCallback(), - applicationRequest.getStatusCallbackMethod()); - } - - /** - * @see #updateApplication(String, String, String, HttpMethod, String, - * HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, - * HttpMethod, String, HttpMethod) - * @throws TelapiException - */ - public Application updateApplication(String accountSid, - String applicationSid, String friendlyName, String voiceUrl, - HttpMethod voiceMethod, String voiceFallbackUrl, - HttpMethod voiceFallbackMethod, Boolean voiceCallerIdLookup, - String smsUrl, HttpMethod smsMethod, String smsFallbackUrl, - HttpMethod smsFallbackMethod, String heartbeatUrl, - HttpMethod heartbeatMethod, String hangupCallback, - HttpMethod hangupCallbackMethod) throws TelapiException { - return returnThrows(applicationProxy.updateApplication(accountSid, - applicationSid, friendlyName, voiceUrl, voiceMethod, - voiceFallbackUrl, voiceFallbackMethod, voiceCallerIdLookup, - smsUrl, smsMethod, smsFallbackUrl, smsFallbackMethod, - heartbeatUrl, heartbeatMethod, hangupCallback, - hangupCallbackMethod)); - } - - /** - * @see #updateApplication(String, String, String, HttpMethod, String, - * HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, - * HttpMethod, String, HttpMethod) - * @throws TelapiException - */ - public Application updateApplication(ApplicationRequest applicationRequest) - throws TelapiException { - String accountSid = conf.getSid(); - if (applicationRequest.getAccountSid() != null) { - accountSid = applicationRequest.getAccountSid(); - } - return updateApplication(accountSid, applicationRequest.getSid(), - applicationRequest.getFriendlyName(), - applicationRequest.getVoiceUrl(), - applicationRequest.getVoiceMethod(), - applicationRequest.getVoiceFallbackUrl(), - applicationRequest.getVoiceFallbackMethod(), - applicationRequest.getVoiceCallerIdLookup(), - applicationRequest.getSmsUrl(), - applicationRequest.getSmsMethod(), - applicationRequest.getSmsFallbackUrl(), - applicationRequest.getSmsFallbackMethod(), - applicationRequest.getHeartbeatUrl(), - applicationRequest.getHeartbeatMethod(), - applicationRequest.getStatusCallback(), - applicationRequest.getStatusCallbackMethod()); - } - - /** - * @see #deleteApplication(String) - * @throws TelapiException - */ - public Application deleteApplication(String accountSid, - String applicationSid) throws TelapiException { - return returnThrows(applicationProxy.deleteApplication(accountSid, - applicationSid)); - } - - /** - * TelAPI offers the ability to preset all voice and sms urls for a given - * application name. This application can then be assigned to multiple - * numbers so you don't have to update all of their urls manually. - * Application details can be accessed by using this method. - * - * @param applicationSid - * The sid of the requested Application. - * @return The requested application. - * @throws TelapiException - */ - public Application viewApplication(String applicationSid) - throws TelapiException { - return viewApplication(conf.getSid(), applicationSid); - } - - /** - * Used to get a list of application resources associated with a given - * account. - * - * @param friendlyName - * Specifies that only application resources matching the input - * FreindlyName should be returned in the list request. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of applications. - * @throws TelapiException - */ - public ApplicationList listApplications(String friendlyName, Long page, - Long pageSize) throws TelapiException { - return listApplications(conf.getSid(), friendlyName, page, pageSize); - } - - /** - * Used to get a list of all application resources associated with a given - * account. - * - * @return A list of all applications. - * @throws TelapiException - */ - public ApplicationList listApplications() throws TelapiException { - return listApplications(conf.getSid(), null, null, null); - } - - /** - * Creates a new application for managing TelAPI phone numbers, - * - * @param friendlyName - * The name used to identify this application. - * @param voiceUrl - * The URL returning InboundXML incoming calls should execute - * when connected. - * @param voiceMethod - * Specifies the HTTP method used to request the VoiceUrl once - * incoming call connects. Defaults to POST. - * @param voiceFallbackUrl - * URL used if any errors occur during execution of InboundXML on - * a call or at initial request of the VoiceUrl. - * @param voiceFallbackMethod - * Specifies the HTTP method (GET or POST) used to request the - * VoiceFallBackUrl if it is needed. Defaults to POST. - * @param voiceCallerIdLookup - * Look up the caller's caller ID name from the CNAM database - * (additional charges apply). Defaults to false. - * @param smsUrl - * The URL returning InboundXML incoming phone numbers should - * execute when receiving an sms. - * @param smsMethod - * The HTTP method used when making requests to the SmsUrl. - * Either GET or POST. - * @param smsFallbackUrl - * URL used if any errors occur during execution of InboundXML - * from an sms or at initial request of the SmsUrl. - * @param smsFallbackMethod - * Specifies the HTTP method (GET or POST) used to request the - * SmsFallbackUrl. Defaults to POST. - * @param heartbeatUrl - * URL that can be used to monitor the phone number. - * @param heartbeatMethod - * The HTTP method TelApi will use when requesting the - * HeartbeatURL. Either GET or POST. Defaults to POST. - * @param hangupCallback - * URL that can be requested to receive notification when and how - * incoming call has ended. - * @param hangupCallbackMethod - * Specifies the HTTP method (GET or POST) used to request the - * HangupCallback URL. - * @return The created Application. - * @throws TelapiException - */ - public Application createApplication(String friendlyName, String voiceUrl, - HttpMethod voiceMethod, String voiceFallbackUrl, - HttpMethod voiceFallbackMethod, Boolean voiceCallerIdLookup, - String smsUrl, HttpMethod smsMethod, String smsFallbackUrl, - HttpMethod smsFallbackMethod, String heartbeatUrl, - HttpMethod heartbeatMethod, String hangupCallback, - HttpMethod hangupCallbackMethod) throws TelapiException { - return createApplication(conf.getSid(), friendlyName, voiceUrl, - voiceMethod, voiceFallbackUrl, voiceFallbackMethod, - voiceCallerIdLookup, smsUrl, smsMethod, smsFallbackUrl, - smsFallbackMethod, heartbeatUrl, heartbeatMethod, - hangupCallback, hangupCallbackMethod); - } - - /** - * Used to update an existing application. - * - * @param applicationSid - * The sid of the application to update. - * @param friendlyName - * The name used to identify this application. - * @param voiceUrl - * The URL returning InboundXML incoming calls should execute - * when connected. - * @param voiceMethod - * Specifies the HTTP method used to request the VoiceUrl once - * incoming call connects. Defaults to POST. - * @param voiceFallbackUrl - * URL used if any errors occur during execution of InboundXML on - * a call or at initial request of the VoiceUrl. - * @param voiceFallbackMethod - * Specifies the HTTP method (GET or POST) used to request the - * VoiceFallBackUrl if it is needed. Defaults to POST. - * @param voiceCallerIdLookup - * Look up the caller's caller ID name from the CNAM database - * (additional charges apply). Defaults to false. - * @param smsUrl - * The URL returning InboundXML incoming phone numbers should - * execute when receiving an sms. - * @param smsMethod - * The HTTP method used when making requests to the SmsUrl. - * Either GET or POST. - * @param smsFallbackUrl - * URL used if any errors occur during execution of InboundXML - * from an sms or at initial request of the SmsUrl. - * @param smsFallbackMethod - * Specifies the HTTP method (GET or POST) used to request the - * SmsFallbackUrl. Defaults to POST. - * @param heartbeatUrl - * URL that can be used to monitor the phone number. - * @param heartbeatMethod - * The HTTP method TelApi will use when requesting the - * HeartbeatURL. Either GET or POST. Defaults to POST. - * @param hangupCallback - * URL that can be requested to receive notification when and how - * incoming call has ended. - * @param hangupCallbackMethod - * Specifies the HTTP method (GET or POST) used to request the - * HangupCallback URL. - * @return The edited Application. - * @throws TelapiException - */ - public Application updateApplication(String applicationSid, - String friendlyName, String voiceUrl, HttpMethod voiceMethod, - String voiceFallbackUrl, HttpMethod voiceFallbackMethod, - Boolean voiceCallerIdLookup, String smsUrl, HttpMethod smsMethod, - String smsFallbackUrl, HttpMethod smsFallbackMethod, - String heartbeatUrl, HttpMethod heartbeatMethod, - String hangupCallback, HttpMethod hangupCallbackMethod) - throws TelapiException { - return updateApplication(conf.getSid(), applicationSid, friendlyName, - voiceUrl, voiceMethod, voiceFallbackUrl, voiceFallbackMethod, - voiceCallerIdLookup, smsUrl, smsMethod, smsFallbackUrl, - smsFallbackMethod, heartbeatUrl, heartbeatMethod, - hangupCallback, hangupCallbackMethod); - } - - /** - * Deletes an existing application. - * - * @param applicationSid - * The sid of the Application to delete. - * @return The deleted application. - * @throws TelapiException - */ - public Application deleteApplication(String applicationSid) - throws TelapiException { - return deleteApplication(conf.getSid(), applicationSid); - } - - // INCOMING PHONE NUMBERS - - /** - * @see #viewIncomingPhoneNumber(String) - * @throws TelapiException - */ - public IncomingPhoneNumber viewIncomingPhoneNumber(String accountSid, - String incomingPhoneNumberSid) throws TelapiException { - return returnThrows(incomingPhoneNumberProxy.viewIncomingPhoneNumber( - accountSid, incomingPhoneNumberSid)); - } - - /** - * @see #listIncomingPhoneNumbers(String, String, Long, Long) - * @throws TelapiException - */ - public IncomingPhoneNumberList listIncomingPhoneNumbers(String accountSid, - String phoneNumber, String friendlyName, Long page, Long pageSize) - throws TelapiException { - return returnThrows(incomingPhoneNumberProxy.listIncomingPhoneNumbers( - accountSid, phoneNumber, friendlyName, page, pageSize)); - } - - /** - * @see #addIncomingPhoneNumber(String, String) - * @throws TelapiException - */ - public IncomingPhoneNumber addIncomingPhoneNumber(String accountSid, - String phoneNumber, String areaCode) throws TelapiException { - return returnThrows(incomingPhoneNumberProxy.addIncomingPhoneNumber( - accountSid, phoneNumber, areaCode)); - } - - /** - * @see #deleteIncomingPhoneNumber(String) - * @throws TelapiException - */ - public IncomingPhoneNumber deleteIncomingPhoneNumber(String accountSid, - String incomingPhoneNumberSid) throws TelapiException { - return returnThrows(incomingPhoneNumberProxy.deleteIncomingPhoneNumber( - accountSid, incomingPhoneNumberSid)); - } - - /** - * @see #updateIncomingPhoneNumber(String, String, String, HttpMethod, - * String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, - * String, HttpMethod, String, HttpMethod) - * @throws TelapiException - */ - public IncomingPhoneNumber updateIncomingPhoneNumber(String accountSid, - String incomingPhoneNumberSid, String friendlyName, - String voiceUrl, HttpMethod voiceMethod, String voiceFallbackUrl, - HttpMethod voiceFallbackMethod, Boolean voiceCallerIdLookup, - String smsUrl, HttpMethod smsMethod, String smsFallbackUrl, - HttpMethod smsFallbackMethod, String hangupCallback, - HttpMethod hangupCallbackMethod, String heartbeatUrl, - HttpMethod heartbeatMethod) throws TelapiException { - return returnThrows(incomingPhoneNumberProxy.updateIncomingPhoneNumber( - accountSid, incomingPhoneNumberSid, friendlyName, voiceUrl, - voiceMethod, voiceFallbackUrl, voiceFallbackMethod, - voiceCallerIdLookup, smsUrl, smsMethod, smsFallbackUrl, - smsFallbackMethod, hangupCallback, hangupCallbackMethod, - heartbeatUrl, heartbeatMethod)); - } - - /** - * @see #updateIncomingPhoneNumber(String, String, String, HttpMethod, - * String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, - * String, HttpMethod) - * @throws TelapiException - */ - public IncomingPhoneNumber updateIncomingPhoneNumber( - IncomingPhoneNumberRequest ipnRequest) throws TelapiException { - String accountSid = conf.getSid(); - if (ipnRequest.getAccountSid() != null) { - accountSid = ipnRequest.getAccountSid(); - } - return updateIncomingPhoneNumber(accountSid, - ipnRequest.getIncomingPhoneNumberSid(), - ipnRequest.getFriendlyName(), ipnRequest.getVoiceUrl(), - ipnRequest.getVoiceMethod(), ipnRequest.getVoiceFallbackUrl(), - ipnRequest.getVoiceFallbackMethod(), - ipnRequest.getVoiceCallerIdLookup(), ipnRequest.getSmsUrl(), - ipnRequest.getSmsMethod(), ipnRequest.getSmsFallbackUrl(), - ipnRequest.getSmsFallbackMethod(), - ipnRequest.getHangupCallback(), - ipnRequest.getHangupCallbackMethod(), - ipnRequest.getHeartbeatUrl(), ipnRequest.getHeartbeatMethod()); - } - - /** - * TelAPI phone numbers associated with an account are represented with the - * IncomingPhoneNumber resource. This method gets information about an - * IncomingPhoneNumber. - * - * @param incomingPhoneNumberSid - * An alphanumeric string used for identification of incoming - * phone numbers. - * @return The requested IncomingPhoneNumber. - * @throws TelapiException - */ - public IncomingPhoneNumber viewIncomingPhoneNumber( - String incomingPhoneNumberSid) throws TelapiException { - return viewIncomingPhoneNumber(conf.getSid(), incomingPhoneNumberSid); - } - - /** - * Retrieves a list of incoming phone number resources associated with a - * given account. - * - * @param phoneNumber - * Specifies which IncomingPhoneNumber resources should be - * returned in the list request. - * @param friendlyName - * Specifies that only IncomingPhoneNumber resources matching the - * input FreindlyName should be returned in the list request. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of IncomingPhoneNumber resources. - * @throws TelapiException - */ - public IncomingPhoneNumberList listIncomingPhoneNumbers(String phoneNumber, - String friendlyName, Long page, Long pageSize) - throws TelapiException { - return listIncomingPhoneNumbers(conf.getSid(), phoneNumber, - friendlyName, page, pageSize); - } - - /** - * Retrieves a list of all incoming phone number resources associated with a - * given account. - * - * @return A list of all IncomingPhoneNumber resources. - * @throws TelapiException - */ - public IncomingPhoneNumberList listIncomingPhoneNumbers() - throws TelapiException { - return listIncomingPhoneNumbers(conf.getSid(), null, - null, null, null); - } - - /** - * TelAPI incoming phone numbers can be added or removed from an account - * through our REST API. Note that adding numbers to an account via the REST - * API costs the same as purchasing them through your account dashboard on - * telapi.com. - * - * @param phoneNumber - * Desired phone number to add to the account (E.164 format). - * Must be a valid and available phone number (see - * {@link #listAvailablePhoneNumbers(String, String, String, String, String)} - * ). - * @param areaCode - * Desired area code of phone number to add to the account. - * @return The added IncomingPhoneNumber.s - * @throws TelapiException - */ - public IncomingPhoneNumber addIncomingPhoneNumber(String phoneNumber, - String areaCode) throws TelapiException { - return addIncomingPhoneNumber(conf.getSid(), phoneNumber, areaCode); - } - - /** - * Deletes an IncomingPhoneNumber from your account. If the deletion is - * successful the incoming phone number resource of the item you have - * deleted will be returned. Please keep in mind that this resource item - * will be visible only once after deletion in the return so note anything - * about the resource you may need before it no longer exists. - * - * @param incomingPhoneNumberSid - * The sid of the IncomingPhoneNumber which is to be deleted. - * @return The deleted IncomingPhoneNumber - * @throws TelapiException - */ - public IncomingPhoneNumber deleteIncomingPhoneNumber( - String incomingPhoneNumberSid) throws TelapiException { - return deleteIncomingPhoneNumber(conf.getSid(), incomingPhoneNumberSid); - } - - /** - * Updates properties of an IncomingPhoneNumber. - * - * @param incomingPhoneNumberSid - * The sid of the IncomingPhoneNumber which is to be updated. - * @param friendlyName - * The TelAPI phone number in an easier to read domestic format - * (e.g. 1234567890 to (123)-456-7890). - * @param voiceUrl - * The URL returning InboundXML incoming phone numbers should - * execute when connected. - * @param voiceMethod - * Specifies the HTTP method used to request the VoiceUrl once - * incoming call connects. - * @param voiceFallbackUrl - * URL used if any errors occur during execution of InboundXML - * during a call or at initial request of the VoiceUrl. - * @param voiceFallbackMethod - * Specifies the HTTP method used to request the VoiceFallBackUrl - * if it is needed. - * @param voiceCallerIdLookup - * Specifies whether CNAM caller ID look up is enabled with a - * particular incoming number. - * @param hangupCallback - * URL that can be requested to receive notification when and how - * incoming call has ended. - * @param hangupCallbackMethod - * Specifies the HTTP method used to request the HangupCallback - * URL. - * @param heartbeatUrl - * URL that can be requested every 60 seconds during the call to - * notify of elapsed time and pass other general information. - * @param heartBeatMethod - * Specifies the HTTP method used to request the Heartbeat URL. - * @param smsUrl - * The URL returning InboundXML incoming phone numbers should - * execute when receiving an sms. - * @param smsMethod - * Specifies the HTTP method used to request the SmsUrl. - * @param smsFallbackUrl - * URL used if any errors occur during execution of InboundXML - * from an sms or at initial request of the SmsUrl. - * @param smsFallbackMethod - * Specifies the HTTP method used to request the SmsFallbackUrl. - * @return The updated IncomingPhoneNumber. - * @throws TelapiException - */ - public IncomingPhoneNumber updateIncomingPhoneNumber( - String incomingPhoneNumberSid, String friendlyName, - String voiceUrl, HttpMethod voiceMethod, String voiceFallbackUrl, - HttpMethod voiceFallbackMethod, Boolean voiceCallerIdLookup, - String smsUrl, HttpMethod smsMethod, String smsFallbackUrl, - HttpMethod smsFallbackMethod, String hangupCallback, - HttpMethod hangupCallbackMethod, String heartbeatUrl, - HttpMethod heartbeatMethod) throws TelapiException { - return updateIncomingPhoneNumber(conf.getSid(), incomingPhoneNumberSid, - friendlyName, voiceUrl, voiceMethod, voiceFallbackUrl, - voiceFallbackMethod, voiceCallerIdLookup, smsUrl, smsMethod, - smsFallbackUrl, smsFallbackMethod, hangupCallback, - hangupCallbackMethod, heartbeatUrl, heartbeatMethod); - } - - // AVAILABLE PHONE NUMBERS - - /** - * @see #listAvailablePhoneNumbers(String, String, String, String, String) - * @throws TelapiException - */ - public AvailablePhoneNumberList listAvailablePhoneNumbers( - String accountSid, String isoCountryCode, String areaCode, - String contains, String inRegion, String inPostalCode, Long page, Long pageSize) - throws TelapiException { - return returnThrows(availablePhoneNumberProxy - .listAvailablePhoneNumbers(accountSid, isoCountryCode, - areaCode, contains, inRegion, inPostalCode, page, pageSize)); - } - - /** - * If you want to add a new TelAPI number, you need to know what ones are - * available. Our REST API provides a way to request a list of available - * numbers along with all of their resource properties so you know the - * numbers you have to choose from. - * - * @param isoCountryCode - * ISO country code used for search (required). - * @param areaCode - * Specifies the area code that the returned list of available - * numbers should be in. Only available for North American - * numbers - * @param contains - * Specifies the desired characters contained within the - * available numbers to list. Allowed values are 0-9, Aa-Zz and - * *. - * @param inRegion - * Specifies the desired region of the available numbers to be - * listed. - * @param inPostalCode - * Specifies the desired postal code of the available numbers to - * be listed. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of available phone numbers. - * @throws TelapiException - */ - public AvailablePhoneNumberList listAvailablePhoneNumbers( - String isoCountryCode, String areaCode, String contains, - String inRegion, String inPostalCode, Long page, Long pageSize) throws TelapiException { - return returnThrows(availablePhoneNumberProxy - .listAvailablePhoneNumbers(conf.getSid(), isoCountryCode, - areaCode, contains, inRegion, inPostalCode, page, pageSize)); - } - - // RECORDINGS - - /** - * @see #listRecordings(Date, Date, Long, Long) - * @throws TelapiException - */ - public RecordingList listRecordings(String accountSid, Date dateCreatedGte, - Date dateCreatedLt, Long page, Long pageSize) - throws TelapiException { - return returnThrows(recordingProxy.listRecordings(accountSid, - getDateString(dateCreatedGte), getDateString(dateCreatedLt), - page, pageSize)); - } - - /** - * Gets a list of Recordings. - * - * @param dateCreatedGte - * Recordings with a creation date greater or equal than this - * will be returned. - * @param dateCreatedLt - * Recordings with a creation date lesser than this will be - * returned. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of Recordings. - * @throws TelapiException - */ - public RecordingList listRecordings(Date dateCreatedGte, - Date dateCreatedLt, Long page, Long pageSize) - throws TelapiException { - return listRecordings(conf.getSid(), dateCreatedGte, dateCreatedLt, - page, pageSize); - } - - /** - * Gets a list of all Recordings. - * - * @return A list of all Recordings. - * @throws TelapiException - */ - public RecordingList listRecordings() - throws TelapiException { - return listRecordings(conf.getSid(), null, null, - null, null); - } - - /** - * @see #listCallRecordings(String, Date, Date, Long, Long) - * @throws TelapiException - */ - public RecordingList listCallRecordings(String accountSid, String callSid, - Date dateCreatedGte, Date dateCreatedLt, Long page, Long pageSize) - throws TelapiException { - return returnThrows(recordingProxy.listCallRecordings(accountSid, - callSid, getDateString(dateCreatedGte), - getDateString(dateCreatedLt), page, pageSize)); - } - - /** - * Gets a list of Recordings which belong to a specified Call. - * - * @param callSid - * The sid of the Call for which the recordings are requested. - * @param dateCreatedGte - * Recordings with a creation date greater or equal than this - * will be returned. - * @param dateCreatedLt - * Recordings with a creation date lesser than this will be - * returned. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of Recordings. - * @throws TelapiException - */ - public RecordingList listCallRecordings(String callSid, - Date dateCreatedGte, Date dateCreatedLt, Long page, Long pageSize) - throws TelapiException { - return listCallRecordings(conf.getSid(), callSid, dateCreatedGte, - dateCreatedLt, page, pageSize); - } - - /** - * @see #viewRecording(String) - * @throws TelapiException - */ - public Recording viewRecording(String accountSid, String recordingSid) - throws TelapiException { - return returnThrows(recordingProxy.viewRecording(accountSid, - recordingSid)); - } - - /** - * A single recording details can be viewed by calling this method. - * - * @param recordingSid - * The sid of the requested Recording (required). - * @return The requested Recording. - * @throws TelapiException - */ - public Recording viewRecording(String recordingSid) throws TelapiException { - return viewRecording(conf.getSid(), recordingSid); - } - - /** - * @see #getRecordingUrl(String) - * @throws TelapiException - */ - public String getRecordingUrl(String accountSid, String recordingSid) - throws TelapiException { - ClientResponse response = recordingProxy.getRecording(accountSid, recordingSid); - String retVal = response.getLocation().getHref(); - returnThrows(response); - return retVal; - } - - /** - * Gets the URL of the audio file containing the recording. - * - * @param recordingSid - * The recording for which the audio file is requested. - * @return The URL to the audio file containing the selected Recording. - * @throws TelapiException - */ - public String getRecordingUrl(String recordingSid) throws TelapiException { - return getRecordingUrl(conf.getSid(), recordingSid); - } - - // NOTIFICATIONS - - /** - * @see #listNotifications(LogLevel, Long, Long) - * @throws TelapiException - */ - public NotificationList listNotifications(String accountSid, LogLevel log, - Long page, Long pageSize) throws TelapiException { - return returnThrows(notificationProxy.listNotifications(accountSid, - log, page, pageSize)); - } - - /** - * Returns a list of notifications associated with the account. - * - * @param log - * Specifies that only notifications with the given log level - * value should be listed. INFO, WARNING, or ERROR. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of Notifications. - * @throws TelapiException - */ - public NotificationList listNotifications(LogLevel log, Long page, - Long pageSize) throws TelapiException { - return listNotifications(conf.getSid(), log, page, pageSize); - } - - /** - * Returns a list of all notifications associated with the account. - * - * @return A list of all Notifications. - * @throws TelapiException - */ - public NotificationList listNotifications() throws TelapiException { - return listNotifications(conf.getSid(), null, null, null); - } - - /** - * @see #listCallNotifications(String, LogLevel, Long, Long) - * @throws TelapiException - */ - public NotificationList listCallNotifications(String accountSid, - String callSid, LogLevel log, Long page, Long pageSize) - throws TelapiException { - return returnThrows(notificationProxy.listCallNotifications(accountSid, - callSid, log, page, pageSize)); - } - - /** - * Returns a list of notifications associated with a certain Call. - * - * @param callSid - * The sid of the Call for which Notifications are to be - * retrieved. - * @param log - * Specifies that only notifications with the given log level - * value should be listed. INFO, WARNING, or ERROR. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of Notifications. - * @throws TelapiException - */ - public NotificationList listCallNotifications(String callSid, LogLevel log, - Long page, Long pageSize) throws TelapiException { - return listCallNotifications(conf.getSid(), callSid, log, page, - pageSize); - } - - /** - * @see #viewNotification(String) - * @throws TelapiException - */ - public Notification viewNotification(String accountSid, - String notificationSid) throws TelapiException { - return returnThrows(notificationProxy.viewNotification(accountSid, - notificationSid)); - } - - /** - * Retrieves details about a Notification. - * - * @param notificationSid - * The sid of the Notification to be retrieved. - * @return The requested Notification. - * @throws TelapiException - */ - public Notification viewNotification(String notificationSid) - throws TelapiException { - return viewNotification(conf.getSid(), notificationSid); - } - - // TRANSCRIPTIONS - - /** - * @see #viewTranscription(String) - * @throws TelapiException - */ - public Transcription viewTranscription(String accountSid, - String transcriptionSid) throws TelapiException { - return returnThrows(transcriptionProxy.viewTranscription(accountSid, - transcriptionSid)); - } - - /** - * @see #viewTranscriptionText(String) - * @throws TelapiException - */ - public String viewTranscriptionText(String accountSid, - String transcriptionSid) throws TelapiException { - return returnThrows(transcriptionProxy.viewTranscriptionText( - accountSid, transcriptionSid)); - } - - /** - * @see #listTranscriptions(TranscriptionStatus, Date, Date, Long, Long) - * @throws TelapiException - */ - public TranscriptionList listTranscriptions(String accountSid, TranscriptionStatus status, Date dateTranscribedGte, Date dateTranscribedLt, Long page, - Long pageSize) throws TelapiException { - return returnThrows(transcriptionProxy.listTranscriptions(accountSid, status, getDateString(dateTranscribedGte), getDateString(dateTranscribedLt), - page, pageSize)); - } - - /** - * @see #listRecordingTranscriptions(String, TranscriptionStatus, Date, Date, Long, Long) - * @throws TelapiException - */ - public TranscriptionList listRecordingTranscriptions(String accountSid, String recordingSid, - TranscriptionStatus status, Date dateTranscribedGte, Date dateTranscribedLt, Long page, - Long pageSize) throws TelapiException { - return returnThrows(transcriptionProxy.listRecordingTranscriptions( - accountSid, recordingSid, status, getDateString(dateTranscribedGte), getDateString(dateTranscribedLt), page, pageSize)); - } - - /** - * @see #transcribeRecording(String, String, HttpMethod, TranscriptionType) - * @throws TelapiException - */ - public Transcription transcribeRecording(String accountSid, - String recordingSid, String transcribeCallback, - HttpMethod callbackMethod, TranscriptionType quality) - throws TelapiException { - return returnThrows(transcriptionProxy.transcribeRecording(accountSid, - recordingSid, transcribeCallback, callbackMethod, quality)); - } - - /** - * @see #transcribeAudioUrl(String, String, HttpMethod, TranscriptionType) - * @throws TelapiException - */ - public Transcription transcribeAudioUrl(String accountSid, String audioUrl, - String transcribeCallback, HttpMethod callbackMethod, - TranscriptionType quality) throws TelapiException { - return returnThrows(transcriptionProxy.transcribeAudioUrl(accountSid, - audioUrl, transcribeCallback, callbackMethod, quality)); - } - - /** - * Gets the details of a Transcription resource. - * - * @param transcriptionSid - * The sid of the requested Transcription (required). - * @return The requested Transcription. - * @throws TelapiException - */ - public Transcription viewTranscription(String transcriptionSid) - throws TelapiException { - return viewTranscription(conf.getSid(), transcriptionSid); - } - - /** - * Gets just the transcription text of a Transcription. - * - * @param transcriptionSid - * The sid of the requested Transcription (required). - * @return The transcription text of the requested Transcription. - * @throws TelapiException - */ - public String viewTranscriptionText(String transcriptionSid) - throws TelapiException { - return viewTranscriptionText(conf.getSid(), transcriptionSid); - } - - /** - * Lists transcriptions belonging to an account. - * - * @param status - * Used to only return transcriptions with a given status - * (completed, in-progress or failed). - * @param dateTranscribedGte - * Used to only return transcriptions that occurred at or after - * the given date. - * @param dateTranscribedLt - * Used to only return transcriptions that occurred at or before - * the given date. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * - * @return A list of Transcriptions. - * @throws TelapiException - */ - public TranscriptionList listTranscriptions(TranscriptionStatus status, Date dateTranscribedGte, Date dateTranscribedLt, Long page, - Long pageSize) throws TelapiException { - return listTranscriptions(conf.getSid(), status, dateTranscribedGte, dateTranscribedLt, page, pageSize); - } - - /** - * Lists all the transcriptions belonging to an account. - * - * @return A list of all Transcriptions. - * @throws TelapiException - */ - public TranscriptionList listTranscriptions() throws TelapiException { - return listTranscriptions(conf.getSid(), null, null, null, null, null); - } - - /** - * Lists all the transcriptions belonging to an account. - * - * @param recordingSid - * The sid of the Recording for which transcriptions are - * requested (required). - * @param status - * Used to only return transcriptions with a given status - * (completed, in-progress or failed). - * @param dateTranscribedGte - * Used to only return transcriptions that occurred at or after - * the given date. - * @param dateTranscribedLt - * Used to only return transcriptions that occurred at or before - * the given date. - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of Transcriptions. - * @throws TelapiException - */ - public TranscriptionList listRecordingTranscriptions(String recordingSid, - TranscriptionStatus status, Date dateTranscribedGte, Date dateTranscribedLt, Long page, - Long pageSize) - throws TelapiException { - return listRecordingTranscriptions(conf.getSid(), recordingSid, status, dateTranscribedGte, dateTranscribedLt, page, - pageSize); - } - - /** - * Transcribes a recording. - * - * @param recordingSid - * The sid of the Recording to be transcribed (required). - * @param transcribeCallback - * URL that will be requested when the transcription has finished - * processing. - * @param callbackMethod - * Specifies the HTTP method to use when requesting the - * TranscribeCallback URL. Defaults to POST. - * @param quality - * Specifies the transcription quality. Transcription price - * differs for each quality tier. See the pricing page for - * details. - * @return The newly created Transcription. - * @throws TelapiException - */ - public Transcription transcribeRecording(String recordingSid, - String transcribeCallback, HttpMethod callbackMethod, - TranscriptionType quality) throws TelapiException { - return transcribeRecording(conf.getSid(), recordingSid, - transcribeCallback, callbackMethod, quality); - } - - /** - * Transcribes audio found on an URL. - * - * @param audioUrl - * URL where the audio to be transcribed is located (required). - * @param transcribeCallback - * URL that will be requested when the transcription has finished - * processing. - * @param callbackMethod - * Specifies the HTTP method to use when requesting the - * TranscribeCallback URL. Defaults to POST. - * @param quality - * Specifies the transcription quality. Transcription price - * differs for each quality tier. See the pricing page for - * details. - * @return The newly created Transcription. - * @throws TelapiException - */ - public Transcription transcribeAudioUrl(String audioUrl, - String transcribeCallback, HttpMethod callbackMethod, - TranscriptionType quality) throws TelapiException { - return transcribeAudioUrl(conf.getSid(), audioUrl, transcribeCallback, - callbackMethod, quality); - } - - // CARRIER SERVICES - - /** - * @see #carrierLookup(String) - * @throws TelapiException - */ - public CarrierLookupList carrierLookup(String accountSid, String phoneNumber) - throws TelapiException { - return returnThrows(carrierLookupProxy.carrierLookup(accountSid, - phoneNumber)); - } - - /** - * @see #carrierLookup(List) - * @throws TelapiException - */ - public CarrierLookupList carrierLookup(String accountSid, List phoneNumber) - throws TelapiException { - return returnThrows(carrierLookupProxy.carrierLookup(accountSid, - phoneNumber)); - } - - /** - * @see #cnamLookup(String) - * @throws TelapiException - */ - public CnamDipList cnamLookup(String accountSid, String phoneNumber) - throws TelapiException { - return returnThrows(carrierLookupProxy.cnamLookup(accountSid, - phoneNumber)); - } - - /** - * @see #cnamLookup(List) - * @throws TelapiException - */ - public CnamDipList cnamLookup(String accountSid, List phoneNumbers) - throws TelapiException { - return returnThrows(carrierLookupProxy.cnamLookup(accountSid, - phoneNumbers)); - } - - /** - * Provides a way to look up the carrier of a phone number. - * - * @param phoneNumber - * The number of the phone you are attempting to perform the - * carrier look up on. Multiple PhoneNumbers to lookup can be - * specified in a single request by seperating them with commas. - * @return The CarrierLookup information for the requested number. - * @throws TelapiException - */ - public CarrierLookupList carrierLookup(String phoneNumber) - throws TelapiException { - return carrierLookup(conf.getSid(), phoneNumber); - } - - /** - * Provides a way to look up the carrier of phone numbers. - * - * @param phoneNumber - * The phone numbers you are attempting to perform the carrier look - * up on. - * @return The CarrierLookup information for the requested numbers. - * @throws TelapiException - */ - public CarrierLookupList carrierLookup(List phoneNumber) - throws TelapiException { - return carrierLookup(conf.getSid(), phoneNumber); - } - - /** - * Performs a CNAM lookup for a phone number. - * - * @param phoneNumber - * The number of the phone you are attempting to perform the CNAM - * look up on. Multiple PhoneNumbers to lookup can be specified - * in a single request by seperating them with commas. - * @return CNAM lookup information. - * @throws TelapiException - */ - public CnamDipList cnamLookup(String phoneNumber) throws TelapiException { - return cnamLookup(conf.getSid(), phoneNumber); - } - - /** - * Performs a CNAM lookup for multiple phone numbers. - * - * @param phoneNumbers - * The phone numbers you are attempting to perform the CNAM look - * up on. - * @return CNAM lookup information. - * @throws TelapiException - */ - public CnamDipList cnamLookup(List phoneNumbers) - throws TelapiException { - return cnamLookup(conf.getSid(), phoneNumbers); - } - - // FRAUD CONTROL - - /** - * @see #listFraudControlResources(Long, Long) - * @throws TelapiException - */ - public FraudList listFraudControlResources(String accountSid, Long page, - Long pageSize) throws TelapiException { - return returnThrows(fraudControlProxy.listFraudControlResources( - accountSid, page, pageSize)); - } - - /** - * @see #authorizeDestination(String, Boolean, Boolean, Boolean) - * @throws TelapiException - */ - public FraudList authorizeDestination(String accountSid, - String countryCode, Boolean mobileEnabled, Boolean landlineEnabled, - Boolean smsEnabled) throws TelapiException { - return returnThrows(fraudControlProxy.authorizeDestination(accountSid, - countryCode, mobileEnabled, landlineEnabled, smsEnabled)); - } - - /** - * @see #blockDestination(String, Boolean, Boolean, Boolean) - * @throws TelapiException - */ - public FraudList blockDestination(String accountSid, String countryCode, - Boolean mobileEnabled, Boolean landlineEnabled, Boolean smsEnabled) - throws TelapiException { - return returnThrows(fraudControlProxy.blockDestination(accountSid, - countryCode, mobileEnabled, landlineEnabled, smsEnabled)); - } - - /** - * @see #extendDestinationAuth(String, Boolean, Boolean, Boolean) - * @throws TelapiException - */ - public FraudList extendDestinationAuth(String accountSid, - String countryCode, Boolean mobileEnabled, Boolean landlineEnabled, - Boolean smsEnabled) throws TelapiException { - return returnThrows(fraudControlProxy.extendDestinationAuth(accountSid, - countryCode, mobileEnabled, landlineEnabled, smsEnabled)); - } - - /** - * @see #whitelistDestination(String, Boolean, Boolean, Boolean) - * @throws TelapiException - */ - public FraudList whitelistDestination(String accountSid, - String countryCode, Boolean mobileEnabled, Boolean landlineEnabled, - Boolean smsEnabled) throws TelapiException { - return returnThrows(fraudControlProxy.whitelistDestination(accountSid, - countryCode, mobileEnabled, landlineEnabled, smsEnabled)); - } - - /** - * Gets a list of Fraud control resources for a certain account. - * - * @param page - * Used to return a particular page within the list. - * @param pageSize - * Used to specify the amount of list items to return per page. - * @return A list of Fraud control resources. - * @throws TelapiException - */ - public FraudList listFraudControlResources(Long page, Long pageSize) - throws TelapiException { - return listFraudControlResources(conf.getSid(), page, pageSize); - } - - /** - * Gets a list of Fraud control resources for a certain account. - * - * @return A list of Fraud control resources. - * @throws TelapiException - */ - public FraudList listFraudControlResources() - throws TelapiException { - return listFraudControlResources(conf.getSid(), null, null); - } - - /** - * Used to authorize previously blocked destinations for outbound calls and - * sms messages. Authorize is only meant to provide temporary permission: - * see the whitelist docs if you want to permanently enable a destinations. - * Unless extended, authorized destination will expire after 30 days. For - * examples of valid country codes to use in the request URL see this article. - * - * @param countryCode - * The country code which you want to authorize. - * @param mobileEnabled - * Mobile status for the destination. If false, all mobile call - * activity will be rejected or disabled. Defaults to true. - * @param landlineEnabled - * Landline status for the destination. If false, all landline - * call activity will be rejected or disabled. Defaults to true. - * @param smsEnabled - * SMS status for the destination. If false, all SMS activity - * will be rejected or disabled. Defaults to true. - * @return A list of Fraud control resources. - * @throws TelapiException - */ - public FraudList authorizeDestination(String countryCode, - Boolean mobileEnabled, Boolean landlineEnabled, Boolean smsEnabled) - throws TelapiException { - return authorizeDestination(conf.getSid(), countryCode, mobileEnabled, - landlineEnabled, smsEnabled); - } - - /** - * TelAPI will restrict outbound calls and sms messages to blocked - * destinations. For examples of valid country codes to use in the request - * URL see this - * article. - * - * @param countryCode - * The country code which you want to authorize. - * @param mobileEnabled - * Mobile status for the destination. If false, all mobile call - * activity will be rejected or disabled. Defaults to true. - * @param landlineEnabled - * Landline status for the destination. If false, all landline - * call activity will be rejected or disabled. Defaults to true. - * @param smsEnabled - * SMS status for the destination. If false, all SMS activity - * will be rejected or disabled. Defaults to true. - * @return A list of Fraud control resources. - * @throws TelapiException - */ - public FraudList blockDestination(String countryCode, - Boolean mobileEnabled, Boolean landlineEnabled, Boolean smsEnabled) - throws TelapiException { - return blockDestination(conf.getSid(), countryCode, mobileEnabled, - landlineEnabled, smsEnabled); - } - - /** - * By default, authorized destinations will expire and return to fully - * blocked status after 30 days. The extend method is provided to extend a - * destinations authorization expiration by 30 days. The extention is not - * additive, it will put the expiration date 30 days from the date the - * extension was made. For examples of valid country codes to use in the - * request URL see this article. - * - * @param countryCode - * The country code which you want to authorize. - * @param mobileEnabled - * Mobile status for the destination. If false, all mobile call - * activity will be rejected or disabled. Defaults to true. - * @param landlineEnabled - * Landline status for the destination. If false, all landline - * call activity will be rejected or disabled. Defaults to true. - * @param smsEnabled - * SMS status for the destination. If false, all SMS activity - * will be rejected or disabled. Defaults to true. - * @return A list of Fraud control resources. - * @throws TelapiException - */ - public FraudList extendDestinationAuth(String countryCode, - Boolean mobileEnabled, Boolean landlineEnabled, Boolean smsEnabled) - throws TelapiException { - return extendDestinationAuth(conf.getSid(), countryCode, mobileEnabled, - landlineEnabled, smsEnabled); - } - - /** - * Whitelisting is provided for destinations you wish to permanently - * authorize. - * - * @param countryCode - * The country code which you want to authorize. - * @param mobileEnabled - * Mobile status for the destination. If false, all mobile call - * activity will be rejected or disabled. Defaults to true. - * @param landlineEnabled - * Landline status for the destination. If false, all landline - * call activity will be rejected or disabled. Defaults to true. - * @param smsEnabled - * SMS status for the destination. If false, all SMS activity - * will be rejected or disabled. Defaults to true. - * @return A list of Fraud control resources. - * @throws TelapiException - */ - public FraudList whitelistDestination(String countryCode, - Boolean mobileEnabled, Boolean landlineEnabled, Boolean smsEnabled) - throws TelapiException { - return whitelistDestination(conf.getSid(), countryCode, mobileEnabled, - landlineEnabled, smsEnabled); - } - -} diff --git a/src/main/java/com/telapi/api/configuration/BasicTelapiConfiguration.java b/src/main/java/com/telapi/api/configuration/BasicTelapiConfiguration.java deleted file mode 100644 index 5819970..0000000 --- a/src/main/java/com/telapi/api/configuration/BasicTelapiConfiguration.java +++ /dev/null @@ -1,84 +0,0 @@ -package com.telapi.api.configuration; - -/** - * Provides a basic POJO-like implementation of TelapiConfiguration. - * @see TelapiConfiguration - * - */ -public class BasicTelapiConfiguration implements TelapiConfiguration { - - private String sid; - private String authToken; - private String baseUrl = TelapiConstants.BASE_URL; - private String proxyHost; - private String proxyPort; - private String proxyProtocol; - - public BasicTelapiConfiguration() { - - } - - /** - * @param sid The account sid. - * @param authToken The authorization token. - */ - public BasicTelapiConfiguration(String sid, String authToken) { - setSid(sid); - setAuthToken(authToken); - } - - @Override - public String getSid() { - return sid; - } - - @Override - public String getAuthToken() { - return authToken; - } - - @Override - public String getBaseUrl() { - return baseUrl; - } - - public void setSid(String sid) { - this.sid = sid; - } - - public void setAuthToken(String authToken) { - this.authToken = authToken; - } - - public void setBaseUrl(String baseUrl) { - this.baseUrl = baseUrl; - } - - @Override - public String getProxyHost() { - return proxyHost; - } - - @Override - public String getProxyPort() { - return proxyPort; - } - - @Override - public String getProxyProtocol() { - return proxyProtocol; - } - - public void setProxyHost(String proxyHost) { - this.proxyHost = proxyHost; - } - - public void setProxyPort(String proxyPort) { - this.proxyPort = proxyPort; - } - - public void setProxyProtocol(String proxyProtocol) { - this.proxyProtocol = proxyProtocol; - } - -} diff --git a/src/main/java/com/telapi/api/configuration/PropertiesFileTelapiConfiguration.java b/src/main/java/com/telapi/api/configuration/PropertiesFileTelapiConfiguration.java deleted file mode 100644 index 022469f..0000000 --- a/src/main/java/com/telapi/api/configuration/PropertiesFileTelapiConfiguration.java +++ /dev/null @@ -1,84 +0,0 @@ -package com.telapi.api.configuration; - -import java.io.FileInputStream; -import java.io.IOException; -import java.net.URL; -import java.util.Properties; - -import org.apache.log4j.Logger; - -/** - * A TelapiConfiguration implementation which loads the configuration from a file. - * @see TelapiConfiguration - * - */ -public class PropertiesFileTelapiConfiguration extends Properties implements TelapiConfiguration { - private static final long serialVersionUID = -7348144965758395514L; - Logger logger = Logger.getLogger(PropertiesFileTelapiConfiguration.class); - - /** - * Creates a TelapiConfiguration from a file called "telapi.properties" which must be on the classpath. - */ - public PropertiesFileTelapiConfiguration() { - this("telapi.properties"); - } - - /** - * Creates a TelapiConfiguration from a file which must be on the classpath. - * @param propFileName The fileName of the properties file. - */ - public PropertiesFileTelapiConfiguration(String propFileName) { - URL url = ClassLoader.getSystemResource(propFileName); - try { - load(url.openStream()); - } catch (IOException e) { - logger.error("Cannot load or find Telapi properties file on classpath: " - + propFileName, e); - } - } - - /** - * Creates a TelapiConfiguration by loading properties from the provided FileInputStream. - * @param is The FileInputStream from which to load the configuration. - */ - public PropertiesFileTelapiConfiguration(FileInputStream is) { - try { - load(is); - } catch (IOException e) { - logger.error("Cannot load the specified Telapi properties file."); - } - } - - @Override - public String getSid() { - return getProperty("sid"); - } - - @Override - public String getAuthToken() { - return getProperty("authToken"); - } - - @Override - public String getBaseUrl() { - return getProperty("baseUrl", TelapiConstants.BASE_URL); - } - - @Override - public String getProxyHost() { - return getProperty("proxyHost", null); - } - - @Override - public String getProxyPort() { - return getProperty("proxyPort", null); - } - - @Override - public String getProxyProtocol() { - return getProperty("proxyProtocol", null); - } - - - -} diff --git a/src/main/java/com/telapi/api/configuration/TelapiConfiguration.java b/src/main/java/com/telapi/api/configuration/TelapiConfiguration.java deleted file mode 100644 index 9be31f5..0000000 --- a/src/main/java/com/telapi/api/configuration/TelapiConfiguration.java +++ /dev/null @@ -1,42 +0,0 @@ -package com.telapi.api.configuration; - -/** - * The basic interface which must return the Telapi configuration parameters. - * - */ -public interface TelapiConfiguration { - /** - * - * @return The account Sid. - */ - public String getSid(); - /** - * - * @return The authorization token. - */ - public String getAuthToken(); - - /** - * - * @return The base URL. This should be "https://api.telapi.com/" by default. - */ - public String getBaseUrl(); - - /** - * - * @return The proxy host (e.g. "192.168.0.1"). Leave null or empty if no proxy is to be used. - */ - public String getProxyHost(); - - /** - * - * @return The proxy port (e.g. 8080). Ignored if no proxy host is set. - */ - public String getProxyPort(); - - /** - * - * @return The proxy protocol (e.g. "http"). Ignored if no proxy host is set. - */ - public String getProxyProtocol(); -} diff --git a/src/main/java/com/telapi/api/configuration/TelapiConstants.java b/src/main/java/com/telapi/api/configuration/TelapiConstants.java deleted file mode 100644 index b072e9d..0000000 --- a/src/main/java/com/telapi/api/configuration/TelapiConstants.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.telapi.api.configuration; - -import java.text.SimpleDateFormat; -import java.util.Locale; - -public class TelapiConstants { - public static final String BASE_URL = "https://api.telapi.com/"; - public static final String API_VERSION = "2011-07-01"; - - public static final SimpleDateFormat queryDateFormat = new SimpleDateFormat("yyyy-MM-dd"); - public static final SimpleDateFormat jsonDateFormat = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z", Locale.US); - -} diff --git a/src/main/java/com/telapi/api/domain/Account.java b/src/main/java/com/telapi/api/domain/Account.java deleted file mode 100644 index c16a014..0000000 --- a/src/main/java/com/telapi/api/domain/Account.java +++ /dev/null @@ -1,188 +0,0 @@ -package com.telapi.api.domain; - -import java.math.BigDecimal; -import java.util.Date; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.json.JsonDateParser; - -/** - * An account resource provides information about a single TelAPI account. - * - */ -public class Account { - - private String sid; - - @JsonProperty(value = "friendly_name") - private String friendlyName; - - private String status; - - @JsonProperty(value = "account_balance") - private BigDecimal accountBalance; - - @JsonProperty(value = "date_created") - @JsonDeserialize(using = JsonDateParser.class) - private Date dateCreated; - - @JsonProperty(value = "date_updated") - @JsonDeserialize(using = JsonDateParser.class) - private Date dateUpdated; - - private String uri; - - private String maxOutboundLimit; - - private String type; - - @JsonProperty(value = "timezone") - private String timeZone; - - @JsonProperty(value = "subresource_uris") - private SubresourceUris subresourceUris; - - /** - * - * @return An alphanumeric string identifying the account. - */ - public String getSid() { - return sid; - } - - public void setSid(String sid) { - this.sid = sid; - } - - /** - * - * @return This is an alias that can be created for TelAPI accounts. By - * default, it is the email used to create the account but a custom - * name can be used as long as it is shorter than 64 characters. - */ - public String getFriendlyName() { - return friendlyName; - } - - public void setFriendlyName(String friendlyName) { - this.friendlyName = friendlyName; - } - - /** - * - * @return This is the status of the TelAPI account being requested. The - * state of the status can be either active, suspended, or closed. - */ - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - - /** - * - * @return The current balance of an account. - */ - public BigDecimal getAccountBalance() { - return accountBalance; - } - - public void setAccountBalance(BigDecimal accountBalance) { - this.accountBalance = accountBalance; - } - - /** - * - * @return Date of account creation. Dates are returned in UTC format. - */ - public Date getDateCreated() { - return dateCreated; - } - - public void setDateCreated(Date dateCreated) { - this.dateCreated = dateCreated; - } - - /** - * - * @return Date of most recent account update. Dates are returned in UTC - * format. - */ - public Date getDateUpdated() { - return dateUpdated; - } - - public void setDateUpdated(Date dateUpdated) { - this.dateUpdated = dateUpdated; - } - - /** - * - * @return The path appended to the base TelAPI URL, https://api.telapi.com, - * where the resource is located. - */ - public String getUri() { - return uri; - } - - public void setUri(String uri) { - this.uri = uri; - } - - /** - * - * @return - */ - public String getMaxOutboundLimit() { - return maxOutboundLimit; - } - - public void setMaxOutboundLimit(String maxOutboundLimit) { - this.maxOutboundLimit = maxOutboundLimit; - } - - /** - * - * @return The type of account being requested. If the account is not yet - * funded Type is Trial. Otherwise, Type for upgraded accounts is - * Full. - */ - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - /** - * - * @return The name of an accounts timezone. - */ - public String getTimeZone() { - return timeZone; - } - - public void setTimeZone(String timeZone) { - this.timeZone = timeZone; - } - - /** - * - * @return List of an accounts various subresources and their URI path. - * Examples of subresources are things like calls that occurred - * through the account, sms messages, purchased phone numbers, etc. - */ - public SubresourceUris getSubresourceUris() { - return subresourceUris; - } - - public void setSubresourceUris(SubresourceUris subresourceUris) { - this.subresourceUris = subresourceUris; - } - -} diff --git a/src/main/java/com/telapi/api/domain/Application.java b/src/main/java/com/telapi/api/domain/Application.java deleted file mode 100644 index 48bebb3..0000000 --- a/src/main/java/com/telapi/api/domain/Application.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.telapi.api.domain; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.json.JsonBooleanParser; - -/** - * TelAPI offers the ability to preset all voice and sms urls for a given - * application name. This application can then be assigned to multiple numbers - * so you don't have to update all of their urls manually. - */ -public class Application extends BaseTelapiObjectWithMethods{ - @JsonProperty("friendly_name") - private String friendlyName; - @JsonDeserialize(using = JsonBooleanParser.class) - - /** - * @return String defining this resource. - */ - public String getFriendlyName() { - return friendlyName; - } - public void setFriendlyName(String friendlyName) { - this.friendlyName = friendlyName; - } - -} - - diff --git a/src/main/java/com/telapi/api/domain/AvailablePhoneNumber.java b/src/main/java/com/telapi/api/domain/AvailablePhoneNumber.java deleted file mode 100644 index a77fcee..0000000 --- a/src/main/java/com/telapi/api/domain/AvailablePhoneNumber.java +++ /dev/null @@ -1,242 +0,0 @@ -package com.telapi.api.domain; - -import java.math.BigDecimal; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.domain.enums.PhoneNumberType; -import com.telapi.api.json.JsonBooleanParser; - -/** - * - * If you want to add a new TelAPI number, you need to know what ones are - * available. Our REST API provides a way to request a list of available numbers - * along with all of their resource properties so you know the numbers you have - * to choose from. - * - * Note that individual AvailablePhoneNumber resources can not be requested. - * Requests only return a list of available resources based on the filtering - * parameters sent with the request. - * - */ -public class AvailablePhoneNumber { - @JsonProperty("friendly_name") - private String friendlyName; - @JsonProperty("phone_number") - private String phoneNumber; - private String lata; - @JsonProperty("rate_center") - private String rateCenter; - private String latitude; - private String longitude; - private String region; - @JsonProperty("postal_code") - private String postalCode; - @JsonProperty("iso_country") - private String isoCountry; - @JsonProperty("country_code") - private String countryCode; - private String npa; - private String exchange; - private String city; - private PhoneNumberType type; - @JsonProperty("setup_cost") - private BigDecimal setupCost; - @JsonProperty("monthly_cost") - private BigDecimal monthlyCost; - @JsonDeserialize(using=JsonBooleanParser.class) - @JsonProperty("unblock_support") - private Boolean unblockSupport; - @JsonDeserialize(using=JsonBooleanParser.class) - @JsonProperty("voice_enabled") - private Boolean voiceEnabled; - @JsonDeserialize(using=JsonBooleanParser.class) - @JsonProperty("sms_enabled") - private Boolean smsEnabled; - @JsonDeserialize(using=JsonBooleanParser.class) - @JsonProperty("supports_forwarded_from") - private Boolean supportsForwardedFrom; - - /** - * @return Domestic format version of the available phone number. (e.g. 1234567890 to (123)-456-7890) - */ - public String getFriendlyName() { - return friendlyName; - } - public void setFriendlyName(String friendlyName) { - this.friendlyName = friendlyName; - } - /** - * @return The E.164 format number of each available number - */ - public String getPhoneNumber() { - return phoneNumber; - } - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - } - /** - * @return Local Access and Transportation Area of the available number. The LATA is determined by geographical region. - */ - public String getLata() { - return lata; - } - public void setLata(String lata) { - this.lata = lata; - } - /** - * @return The available phone numbers rate center. - */ - public String getRateCenter() { - return rateCenter; - } - public void setRateCenter(String rateCenter) { - this.rateCenter = rateCenter; - } - /** - * @return The latitude of the available phone number. - */ - public String getLatitude() { - return latitude; - } - public void setLatitude(String latitude) { - this.latitude = latitude; - } - /** - * @return The longitude of the available phone number. - */ - public String getLongitude() { - return longitude; - } - public void setLongitude(String longitude) { - this.longitude = longitude; - } - /** - * @return The region of the available phone number. Usually a two letter abbreviation. - */ - public String getRegion() { - return region; - } - public void setRegion(String region) { - this.region = region; - } - /** - * @return The postal code (also known as zip code) of the available number. - */ - public String getPostalCode() { - return postalCode; - } - public void setPostalCode(String postalCode) { - this.postalCode = postalCode; - } - /** - * @return Two letter country code of the available phone number. - */ - public String getIsoCountry() { - return isoCountry; - } - public void setIsoCountry(String isoCountry) { - this.isoCountry = isoCountry; - } - /** - * @return Code used to identify the phone numbers geographic origin. Found at the beginning of the number. - */ - public String getCountryCode() { - return countryCode; - } - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - /** - * @return Numbering Plan Area of the available number. This is more commonly known as the area code. - */ - public String getNpa() { - return npa; - } - public void setNpa(String npa) { - this.npa = npa; - } - /** - * @return Three digits following the NPA (area code) in the available number. - */ - public String getExchange() { - return exchange; - } - public void setExchange(String exchange) { - this.exchange = exchange; - } - /** - * @return The available phone numbers city. - */ - public String getCity() { - return city; - } - public void setCity(String city) { - this.city = city; - } - /** - * @return Type of phone number. (e.g. local, international, etc.) - */ - public PhoneNumberType getType() { - return type; - } - public void setType(PhoneNumberType type) { - this.type = type; - } - /** - * @return Cost of phone number setup. - */ - public BigDecimal getSetupCost() { - return setupCost; - } - public void setSetupCost(BigDecimal setupCost) { - this.setupCost = setupCost; - } - /** - * @return Cost of phone number per month. - */ - public BigDecimal getMonthlyCost() { - return monthlyCost; - } - public void setMonthlyCost(BigDecimal monthlyCost) { - this.monthlyCost = monthlyCost; - } - /** - * @return Is Voice enabled for this phone number? Can be true or false. - */ - public Boolean getVoiceEnabled() { - return voiceEnabled; - } - public void setVoiceEnabled(Boolean voiceEnabled) { - this.voiceEnabled = voiceEnabled; - } - /** - * @return Is SMS enabled for this phone number? Can be true or false. - */ - public Boolean getSmsEnabled() { - return smsEnabled; - } - public void setSmsEnabled(Boolean smsEnabled) { - this.smsEnabled = smsEnabled; - } - /** - * @return Does phone number support forwarded from? Can be true or false. - */ - public Boolean getSupportsForwardedFrom() { - return supportsForwardedFrom; - } - public void setSupportsForwardedFrom(Boolean supportsForwardedFrom) { - this.supportsForwardedFrom = supportsForwardedFrom; - } - /** - * @return - */ - public Boolean getUnblockSupport() { - return unblockSupport; - } - public void setUnblockSupport(Boolean unblockSupport) { - this.unblockSupport = unblockSupport; - } - -} \ No newline at end of file diff --git a/src/main/java/com/telapi/api/domain/BaseTelapiObject.java b/src/main/java/com/telapi/api/domain/BaseTelapiObject.java deleted file mode 100644 index 0ca4396..0000000 --- a/src/main/java/com/telapi/api/domain/BaseTelapiObject.java +++ /dev/null @@ -1,99 +0,0 @@ -package com.telapi.api.domain; - -import java.util.Date; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.json.JsonDateParser; - -/** - * A base resource object containing properties present in all of the other - * resource objects. - * - */ -public class BaseTelapiObject { - - private String sid; - @JsonDeserialize(using = JsonDateParser.class) - @JsonProperty(value="date_created") - private Date dateCreated; - @JsonDeserialize(using = JsonDateParser.class) - @JsonProperty(value="date_updated") - private Date dateUpdated; - @JsonProperty(value="account_sid") - private String accountSid; - @JsonProperty("api_version") - private String apiVersion; - private String uri; - - /** - * - * @return A unique identifier assigned to each resource. - */ - public String getSid() { - return sid; - } - public void setSid(String sid) { - this.sid = sid; - } - - /** - * - * @return The date the resource was created. - */ - public Date getDateCreated() { - return dateCreated; - } - public void setDateCreated(Date dateCreated) { - this.dateCreated = dateCreated; - } - - /** - * - * @return The date the resource was last updated. - */ - public Date getDateUpdated() { - return dateUpdated; - } - public void setDateUpdated(Date dateUpdated) { - this.dateUpdated = dateUpdated; - } - - /** - * - * @return An alphanumeric string identifying the account this resource occurred in. - */ - public String getAccountSid() { - return accountSid; - } - public void setAccountSid(String accountSid) { - this.accountSid = accountSid; - } - - /** - * - * @return The API version being used when the resource was created. - */ - public String getApiVersion() { - return apiVersion; - } - public void setApiVersion(String apiVersion) { - this.apiVersion = apiVersion; - } - - /** - * - * @return The path appended to the base TelAPI URL, https://api.telapi.com, - * where the resource is located. - */ - public String getUri() { - return uri; - } - public void setUri(String uri) { - this.uri = uri; - } - - - -} diff --git a/src/main/java/com/telapi/api/domain/BaseTelapiObjectWithMethods.java b/src/main/java/com/telapi/api/domain/BaseTelapiObjectWithMethods.java deleted file mode 100644 index 8bda321..0000000 --- a/src/main/java/com/telapi/api/domain/BaseTelapiObjectWithMethods.java +++ /dev/null @@ -1,203 +0,0 @@ -package com.telapi.api.domain; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.json.JsonBooleanParser; - -public class BaseTelapiObjectWithMethods extends BaseTelapiObject { - - @JsonProperty("voice_url") - private String voiceUrl; - @JsonProperty("voice_method") - private HttpMethod voiceMethod; - @JsonProperty("voice_fallback_url") - private String voiceFallbackUrl; - @JsonProperty("voice_fallback_method") - private HttpMethod voiceFallbackMethod; - @JsonProperty("voice_caller_id_lookup") - @JsonDeserialize(using=JsonBooleanParser.class) - private Boolean voiceCallerIdLookup; - @JsonProperty("heartbeat_url") - private String heartbeatUrl; - @JsonProperty("heartbeat_method") - private HttpMethod heartbeatMethod; - @JsonProperty("status_callback") - private String statusCallback; - @JsonProperty("status_callback_method") - private HttpMethod statusCallbackMethod; - @JsonProperty("sms_url") - private String smsUrl; - @JsonProperty("sms_method") - private HttpMethod smsMethod; - @JsonProperty("sms_fallback_url") - private String smsFallbackUrl; - @JsonProperty("sms_fallback_method") - private HttpMethod smsFallbackMethod; - @JsonProperty("sms_status_callback") - private String smsStatusCallbackUrl; - @JsonProperty("sms_status_callback_method") - private HttpMethod smsStatusCallbackMethod; - - @JsonProperty("hangup_callback") - private String hangupCallback; - @JsonProperty("hangup_callback_method") - private HttpMethod hangupCallbackMethod; - - /** - * @return The URL returning InboundXML incoming phone numbers should execute when receiving an sms. - */ - public String getSmsUrl() { - return smsUrl; - } - public void setSmsUrl(String smsUrl) { - this.smsUrl = smsUrl; - } - /** - * @return The HTTP method used when making requests to the SmsUrl. Either GET or POST. - */ - public HttpMethod getSmsMethod() { - return smsMethod; - } - public void setSmsMethod(HttpMethod smsMethod) { - this.smsMethod = smsMethod; - } - /** - * @return The URL returning InboundXML incoming calls should execute when connected. - */ - public String getVoiceUrl() { - return voiceUrl; - } - public void setVoiceUrl(String voiceUrl) { - this.voiceUrl = voiceUrl; - } - /** - * @return Specifies the HTTP method (GET or POST) used to request the VoiceUrl once incoming call connects. - */ - public HttpMethod getVoiceMethod() { - return voiceMethod; - } - public void setVoiceMethod(HttpMethod voiceMethod) { - this.voiceMethod = voiceMethod; - } - /** - * @return URL used if any errors occur during execution of InboundXML on a call or at initial request of the VoiceUrl. - */ - public String getVoiceFallbackUrl() { - return voiceFallbackUrl; - } - public void setVoiceFallbackUrl(String voiceFallbackUrl) { - this.voiceFallbackUrl = voiceFallbackUrl; - } - /** - * @return Specifies the HTTP method (GET or POST) used to request the VoiceFallBackUrl if it is needed. - */ - public HttpMethod getVoiceFallbackMethod() { - return voiceFallbackMethod; - } - public void setVoiceFallbackMethod(HttpMethod voiceFallbackMethod) { - this.voiceFallbackMethod = voiceFallbackMethod; - } - /** - * @return Look up the callers caller ID name from a CNAM database (additional charges apply). Either true or false. - */ - public Boolean getVoiceCallerIdLookup() { - return voiceCallerIdLookup; - } - public void setVoiceCallerIdLookup(Boolean voiceCallerIdLookup) { - this.voiceCallerIdLookup = voiceCallerIdLookup; - } - /** - * @return URL that can be used to monitor the phone number. - */ - public String getHeartbeatUrl() { - return heartbeatUrl; - } - public void setHeartbeatUrl(String heartbeatUrl) { - this.heartbeatUrl = heartbeatUrl; - } - /** - * @return The HTTP method TelApi will use when requesting the HeartbeatURL. Either GET or POST. - */ - public HttpMethod getHeartbeatMethod() { - return heartbeatMethod; - } - public void setHeartbeatMethod(HttpMethod heartbeatMethod) { - this.heartbeatMethod = heartbeatMethod; - } - /** - * @return - */ - public String getStatusCallback() { - return statusCallback; - } - public void setStatusCallback(String statusCallback) { - this.statusCallback = statusCallback; - } - /** - * @return - */ - public HttpMethod getStatusCallbackMethod() { - return statusCallbackMethod; - } - public void setStatusCallbackMethod(HttpMethod statusCallbackMethod) { - this.statusCallbackMethod = statusCallbackMethod; - } - /** - * @return URL used if any errors occur during execution of InboundXML from an sms or at initial request of the SmsUrl. - */ - public String getSmsFallbackUrl() { - return smsFallbackUrl; - } - public void setSmsFallbackUrl(String smsFallbackUrl) { - this.smsFallbackUrl = smsFallbackUrl; - } - /** - * @return Specifies the HTTP method (GET or POST) used to request the SmsFallbackUrl. - */ - public HttpMethod getSmsFallbackMethod() { - return smsFallbackMethod; - } - public void setSmsFallbackMethod(HttpMethod smsFallbackMethod) { - this.smsFallbackMethod = smsFallbackMethod; - } - /** - * @return - */ - public String getSmsStatusCallbackUrl() { - return smsStatusCallbackUrl; - } - public void setSmsStatusCallbackUrl(String smsStatusCallbackUrl) { - this.smsStatusCallbackUrl = smsStatusCallbackUrl; - } - /** - * @return - */ - public HttpMethod getSmsStatusCallbackMethod() { - return smsStatusCallbackMethod; - } - public void setSmsStatusCallbackMethod(HttpMethod smsStatusCallbackMethod) { - this.smsStatusCallbackMethod = smsStatusCallbackMethod; - } - /** - * @return URL that can be requested to receive notification when and how incoming call has ended. - */ - public String getHangupCallback() { - return hangupCallback; - } - public void setHangupCallback(String hangupCallback) { - this.hangupCallback = hangupCallback; - } - /** - * @return Specifies the HTTP method (GET or POST) used to request the HangupCallback URL. - */ - public HttpMethod getHangupCallbackMethod() { - return hangupCallbackMethod; - } - public void setHangupCallbackMethod(HttpMethod hangupCallbackMethod) { - this.hangupCallbackMethod = hangupCallbackMethod; - } - - -} diff --git a/src/main/java/com/telapi/api/domain/Call.java b/src/main/java/com/telapi/api/domain/Call.java deleted file mode 100644 index f4edef1..0000000 --- a/src/main/java/com/telapi/api/domain/Call.java +++ /dev/null @@ -1,277 +0,0 @@ -package com.telapi.api.domain; - -import java.math.BigDecimal; -import java.util.Date; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.domain.enums.AnsweredBy; -import com.telapi.api.domain.enums.CallStatus; -import com.telapi.api.domain.enums.SmsDirection; -import com.telapi.api.json.JsonBooleanParser; -import com.telapi.api.json.JsonDateParser; -import com.telapi.api.json.JsonDurationParser; - -/** - * A call resource provides information about an individual call that has - * occurred through TelAPI. Both inbound and outbound voice communication - * through TelAPI are categorized as calls. - * - */ -public class Call extends BaseTelapiObject{ - - //delete these two when the time comes - @SuppressWarnings("unused") - @JsonProperty("date_updated>") - private String dateUpdatedTemp; - @SuppressWarnings("unused") - @JsonProperty("api_version>") - private String apiVersionTemp; - - @JsonProperty(value="parent_call_sid") - private String parentCallSid; - private String to; - private String from; - @JsonProperty(value="phone_number_sid") - private String phoneNumberSid; - private CallStatus status; - @JsonDeserialize(using = JsonDateParser.class) - @JsonProperty(value="start_time") - private Date startTime; - @JsonDeserialize(using = JsonDateParser.class) - @JsonProperty(value="end_time") - private Date endTime; - @JsonDeserialize(using = JsonDurationParser.class) - private Long duration; - private BigDecimal price; - private SmsDirection direction; - @JsonProperty(value="answered_by") - private AnsweredBy answeredBy; - @JsonProperty(value="forwarded_from") - private String forwardedFrom; - @JsonProperty(value="sip_privacy") - private String sipPrivacy; - @JsonDeserialize(using = JsonBooleanParser.class) - @JsonProperty(value="privacy_hide_number") - private Boolean privacyHideNumber; - @JsonDeserialize(using = JsonBooleanParser.class) - @JsonProperty(value="caller_id_blocked") - private Boolean callerIdBlocked; - @JsonProperty(value="subresource_uris") - private CallSubresourceUris subresourceUris; - @JsonProperty("caller_name") - private String callerName; - @JsonProperty("recordings_count") - private Integer recordingsCount; - @JsonProperty("duration_billed") - private int durationBilled; - - /** - * - * @return If the call was created during a different call using InboundXML, this is the sid of that initiating call. - */ - public String getParentCallSid() { - return parentCallSid; - } - public void setParentCallSid(String parentCallSid) { - this.parentCallSid = parentCallSid; - } - - /** - * - * @return The number that was called. - */ - public String getTo() { - return to; - } - public void setTo(String to) { - this.to = to; - } - - /** - * - * @return The number that initiated the call. - */ - public String getFrom() { - return from; - } - public void setFrom(String from) { - this.from = from; - } - - /** - * - * @return The sid of the TelAPI number calling, or being called. If no TelAPI phone number is involved in the call, this property is empty. - */ - public String getPhoneNumberSid() { - return phoneNumberSid; - } - public void setPhoneNumberSid(String phoneNumberSid) { - this.phoneNumberSid = phoneNumberSid; - } - - /** - * - * @return The status of the call: queued, ringing, in-progress, completed, failed, busy, no-answer. - */ - public CallStatus getStatus() { - return status; - } - public void setStatus(CallStatus status) { - this.status = status; - } - - /** - * - * @return The date the call started. - */ - public Date getStartTime() { - return startTime; - } - public void setStartTime(Date startTime) { - this.startTime = startTime; - } - - /** - * - * @return The date the call ended. - */ - public Date getEndTime() { - return endTime; - } - public void setEndTime(Date endTime) { - this.endTime = endTime; - } - - /** - * - * @return The length of the call in seconds. - */ - public Long getDuration() { - return duration; - } - @JsonDeserialize(using = JsonDurationParser.class) - public void setDuration(Long duration) { - this.duration = duration; - } - - /** - * - * @return The cost of the call, if availible. - */ - public BigDecimal getPrice() { - return price; - } - public void setPrice(BigDecimal price) { - this.price = price; - } - - /** - * - * @return The direction of the call from the perspective of TelAPI. Inbound for calls to TelAPI, outbound-api for calls from the TelAPI via REST request or outbound-dial for calls from TelAPI via InboundXML. - */ - public SmsDirection getDirection() { - return direction; - } - public void setDirection(SmsDirection direction) { - this.direction = direction; - } - - /** - * - * @return If the initiated call has answering machine detection, this specifies whether the machine answered. Can be human or machine. - */ - public AnsweredBy getAnsweredBy() { - return answeredBy; - } - public void setAnsweredBy(AnsweredBy answeredBy) { - this.answeredBy = answeredBy; - } - - /** - * - * @return The number that forwared the call, if any. - */ - public String getForwardedFrom() { - return forwardedFrom; - } - public void setForwardedFrom(String forwardedFrom) { - this.forwardedFrom = forwardedFrom; - } - - /** - * - * @return - */ - public String getSipPrivacy() { - return sipPrivacy; - } - public void setSipPrivacy(String sipPrivacy) { - this.sipPrivacy = sipPrivacy; - } - - /** - * - * @return - */ - public Boolean getPrivacyHideNumber() { - return privacyHideNumber; - } - public void setPrivacyHideNumber(Boolean privacyHideNumber) { - this.privacyHideNumber = privacyHideNumber; - } - - /** - * - * @return Specifies whether the caller ID of the inbound phone number was blocked. - */ - public int getRecordingsCount() { - return recordingsCount; - } - public void setRecordingsCount(Integer recordingsCount) { - this.recordingsCount = recordingsCount; - } - - /** - * - * @return Specifies the count of the number of recordings - */ - public Boolean getCallerIdBlocked() { - return callerIdBlocked; - } - public void setCallerIdBlocked(Boolean callerIdBlocked) { - this.callerIdBlocked = callerIdBlocked; - } - - /** - * - * @return Specifies the count of the number of recordings - */ - public int getDurationBilled() { - return durationBilled; - } - public void setDurationBilled(int durationBilled) { - this.durationBilled = durationBilled; - } - - /** - * - * @return List of a calls various subresources and their URI path. Examples of call subresources are notifications, recordings, etc. - */ - public CallSubresourceUris getCallSubresourceUris() { - return subresourceUris; - } - public void setCallSubresourceUris(CallSubresourceUris subresourceUris) { - this.subresourceUris = subresourceUris; - } - public String getCallerName() { - return callerName; - } - public void setCallerName(String callerName) { - this.callerName = callerName; - } - - - -} \ No newline at end of file diff --git a/src/main/java/com/telapi/api/domain/CallSubresourceUris.java b/src/main/java/com/telapi/api/domain/CallSubresourceUris.java deleted file mode 100644 index 9adb3b1..0000000 --- a/src/main/java/com/telapi/api/domain/CallSubresourceUris.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.telapi.api.domain; - -/** - * List of a calls various subresources and their URI path. Examples of call - * subresources are notifications, recordings, etc. - * - */ -public class CallSubresourceUris { - - private String notifications; - private String recordings; - - public String getNotifications() { - return notifications; - } - public void setNotifications(String notifications) { - this.notifications = notifications; - } - public String getRecordings() { - return recordings; - } - public void setRecordings(String recordings) { - this.recordings = recordings; - } - - -} diff --git a/src/main/java/com/telapi/api/domain/CarrierLookup.java b/src/main/java/com/telapi/api/domain/CarrierLookup.java deleted file mode 100644 index 8cceee9..0000000 --- a/src/main/java/com/telapi/api/domain/CarrierLookup.java +++ /dev/null @@ -1,256 +0,0 @@ -package com.telapi.api.domain; - -import java.math.BigDecimal; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.domain.enums.CarrierLookupStatus; -import com.telapi.api.json.JsonBooleanParser; - -/** - * Carrier lookup information. - */ -public class CarrierLookup extends BaseTelapiObject{ - @JsonProperty("phone_number") - private String phoneNumber; - private String carrier; - @JsonDeserialize(using = JsonBooleanParser.class) - @JsonProperty("is_mobile") - private Boolean isMobile; - private String country; - private BigDecimal price; - - @JsonProperty("is_ported") - private Boolean isPorted; - @JsonProperty("is_roaming") - private Boolean isRoaming; - private CarrierLookupStatus stat; - private String imsi; - private String orn; - private String pon; - private String ron; - private String mccmnc; - private String onp; - private String ocn; - private String ocp; - private String rnp; - private String rcn; - private String rcp; - private String pnp; - private String pcn; - - - /** - * @return The phone number the look up was performed on. - */ - public String getPhoneNumber() { - return phoneNumber; - } - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - } - - /** - * @return The carrier of the phone number we are looking up. - */ - public String getCarrier() { - return carrier; - } - public void setCarrier(String carrier) { - this.carrier = carrier; - } - - /** - * @return Specifies if the phone number is mobile. can be true or false. - */ - public Boolean getIsMobile() { - return isMobile; - } - public void setIsMobile(Boolean isMobile) { - this.isMobile = isMobile; - } - - /** - * @return Code used to identify the phone numbers geographic origin. Found at the beginning of the number. - */ - public String getCountry() { - return country; - } - public void setCountry(String country) { - this.country = country; - } - - - /** - * @return Cost of the look up. - */ - public BigDecimal getPrice() { - return price; - } - public void setPrice(BigDecimal price) { - this.price = price; - } - - /** - * @return Specifies if the phone number is ported. May be true or false. - */ - public Boolean getIsPorted() { - return isPorted; - } - public void setIsPorted(Boolean isPorted) { - this.isPorted = isPorted; - } - - /** - * @return Specifies in real time if the phone number is currently roaming. May be true or false. - */ - public Boolean getIsRoaming() { - return isRoaming; - } - public void setIsRoaming(Boolean isRoaming) { - this.isRoaming = isRoaming; - } - - /** - * @return Status telling whether the lookup was a success. May be DELIVRD, UNDELIV, UNKNOWN, or REJECTED. - */ - public CarrierLookupStatus getStat() { - return stat; - } - public void setStat(CarrierLookupStatus stat) { - this.stat = stat; - } - - /** - * @return International Mobile Subscriber Identity. This is the phones network SIM card identifier. - */ - public String getImsi() { - return imsi; - } - public void setImsi(String imsi) { - this.imsi = imsi; - } - - /** - * @return Name of the Original Network. - */ - public String getOrn() { - return orn; - } - public void setOrn(String orn) { - this.orn = orn; - } - - /** - * @return Name of the Ported Network. Only displayed if the phone number is ported. - */ - public String getPon() { - return pon; - } - public void setPon(String pon) { - this.pon = pon; - } - - /** - * @return Name of the Roaming Network. Only displayed if the phone number is roaming. - */ - public String getRon() { - return ron; - } - public void setRon(String ron) { - this.ron = ron; - } - - /** - * @return Mobile Country Code, Mobile Network Code. - */ - public String getMccmnc() { - return mccmnc; - } - public void setMccmnc(String mccmnc) { - this.mccmnc = mccmnc; - } - - /** - * @return Original Network Prefix. - */ - public String getOnp() { - return onp; - } - public void setOnp(String onp) { - this.onp = onp; - } - - /** - * @return Original Country Name. - */ - public String getOcn() { - return ocn; - } - public void setOcn(String ocn) { - this.ocn = ocn; - } - - /** - * @return Original Country Prefix. - */ - public String getOcp() { - return ocp; - } - public void setOcp(String ocp) { - this.ocp = ocp; - } - - /** - * @return Roaming Network Prefix. Only displayed if the phone number is roaming. - */ - public String getRnp() { - return rnp; - } - public void setRnp(String rnp) { - this.rnp = rnp; - } - - /** - * @return Roaming Country Name. Only displayed if the phone number is roaming. - */ - public String getRcn() { - return rcn; - } - public void setRcn(String rcn) { - this.rcn = rcn; - } - - /** - * @return Roaming Country Prefix. Only displayed if the phone number is roaming. - */ - public String getRcp() { - return rcp; - } - public void setRcp(String rcp) { - this.rcp = rcp; - } - - /** - * @return Ported Network Prefix. Only displayed if the phone number is ported. - */ - public String getPnp() { - return pnp; - } - public void setPnp(String pnp) { - this.pnp = pnp; - } - - /** - * @return Ported Country Name. Only displayed if the phone number is ported. - */ - public String getPcn() { - return pcn; - } - public void setPcn(String pcn) { - this.pcn = pcn; - } - - -} diff --git a/src/main/java/com/telapi/api/domain/CnamDip.java b/src/main/java/com/telapi/api/domain/CnamDip.java deleted file mode 100644 index b2416fb..0000000 --- a/src/main/java/com/telapi/api/domain/CnamDip.java +++ /dev/null @@ -1,47 +0,0 @@ -package com.telapi.api.domain; - -import java.math.BigDecimal; - -import org.codehaus.jackson.annotate.JsonProperty; - -/** - * Provides CNAM caller ID information. - * - */ -public class CnamDip extends BaseTelapiObject{ - @JsonProperty("phone_number") - private String phoneNumber; - private String body; - private BigDecimal price; - - /** - * @return The phone number the look up was performed on. - */ - public String getPhoneNumber() { - return phoneNumber; - } - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - } - - /** - * @return The result of our CNAM look up. Usually a name or organization associated with this phone. - */ - public String getBody() { - return body; - } - public void setBody(String body) { - this.body = body; - } - - /** - * @return Cost of the look up. - */ - public BigDecimal getPrice() { - return price; - } - public void setPrice(BigDecimal price) { - this.price = price; - } - -} diff --git a/src/main/java/com/telapi/api/domain/Conference.java b/src/main/java/com/telapi/api/domain/Conference.java deleted file mode 100644 index 9c09c96..0000000 --- a/src/main/java/com/telapi/api/domain/Conference.java +++ /dev/null @@ -1,71 +0,0 @@ -package com.telapi.api.domain; - -import org.codehaus.jackson.annotate.JsonProperty; - -/** - * Resource properties about conference calls that occurred through a TelAPI - * account can be requested using our REST API. To view a single conference - * resource, simply request it by its ConferenceSid. - */ -public class Conference extends BaseTelapiObject{ - @JsonProperty("friendly_name") - private String friendlyName; - - private String status; - - @JsonProperty("participant_count") - private Long participantCount; - @JsonProperty("run_time") - private Long runTime; - - @JsonProperty("subresource_uris") - private ConferenceSubresourceUris subresourceUris; - - /** - * @return User generated name of the conference. - */ - public String getFriendlyName() { - return friendlyName; - } - public void setFriendlyName(String friendlyName) { - this.friendlyName = friendlyName; - } - - /** - * @return Conference status. Can be 'init', 'in-progress' or 'completed'. - * 'init' means the conference has been initialized, but no one has - * entered yet. - */ - public String getStatus() { - return status; - } - public void setStatus(String status) { - this.status = status; - } - /** - * @return The number of members that participated in the conference. - */ - public Long getParticipantCount() { - return participantCount; - } - public void setParticipantCount(Long participantCount) { - this.participantCount = participantCount; - } - /** - * @return Conference duration in seconds. - */ - public Long getRunTime() { - return runTime; - } - public void setRunTime(Long runTime) { - this.runTime = runTime; - } - - public ConferenceSubresourceUris getSubresourceUris() { - return subresourceUris; - } - public void setSubresourceUris(ConferenceSubresourceUris subresourceUris) { - this.subresourceUris = subresourceUris; - } - -} diff --git a/src/main/java/com/telapi/api/domain/ConferenceSubresourceUris.java b/src/main/java/com/telapi/api/domain/ConferenceSubresourceUris.java deleted file mode 100644 index 4445f8c..0000000 --- a/src/main/java/com/telapi/api/domain/ConferenceSubresourceUris.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.telapi.api.domain; - -/** - * List of a calls various subresources and their URI path. Examples of conference - * subresources are participants. - * - */ -public class ConferenceSubresourceUris { - - private String participants; - - public String getParticipants() { - return participants; - } - - public void setParticipants(String participants) { - this.participants = participants; - } - - -} diff --git a/src/main/java/com/telapi/api/domain/Destination.java b/src/main/java/com/telapi/api/domain/Destination.java deleted file mode 100644 index 91aff58..0000000 --- a/src/main/java/com/telapi/api/domain/Destination.java +++ /dev/null @@ -1,139 +0,0 @@ -package com.telapi.api.domain; - -import java.util.Date; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.json.JsonBooleanParser; -import com.telapi.api.json.JsonDateParser; - -/** - * Contains Fraud Control information about a Destination. - * - */ -public class Destination { - @JsonProperty("country_name") - private String countryName; - @JsonProperty("country_code") - private String countryCode; - @JsonProperty("country_prefix") - private String countryPrefix; - @JsonDeserialize(using = JsonBooleanParser.class) - @JsonProperty("mobile_enabled") - private Boolean mobileEnabled; - @JsonDeserialize(using = JsonBooleanParser.class) - @JsonProperty("landline_enabled") - private Boolean landlineEnabled; - @JsonDeserialize(using = JsonBooleanParser.class) - @JsonProperty("sms_enabled") - private Boolean smsEnabled; - @JsonDeserialize(using = JsonDateParser.class) - @JsonProperty("date_created") - private Date dateCreated; - @JsonDeserialize(using = JsonDateParser.class) - @JsonProperty("date_updated") - private Date dateUpdated; - @JsonDeserialize(using = JsonDateParser.class) - @JsonProperty("expiration_date") - private Date expirationDate; - - @JsonDeserialize(using = JsonBooleanParser.class) - @JsonProperty("is_lock") - private Boolean isLock; - - /** - * @return Full name of the destination being whitelisted, authorized or blocked. - */ - public String getCountryName() { - return countryName; - } - public void setCountryName(String countryName) { - this.countryName = countryName; - } - /** - * @return Two letter country code being whitelisted, authorized or blocked. - */ - public String getCountryCode() { - return countryCode; - } - public void setCountryCode(String countryCode) { - this.countryCode = countryCode; - } - /** - * @return Prefix of the destination being whitelisted, authorized or blocked. - */ - public String getCountryPrefix() { - return countryPrefix; - } - public void setCountryPrefix(String countryPrefix) { - this.countryPrefix = countryPrefix; - } - /** - * @return Mobile status for the destination. If false, all mobile call activity will be rejected or disabled. - */ - public Boolean getMobileEnabled() { - return mobileEnabled; - } - public void setMobileEnabled(Boolean mobileEnabled) { - this.mobileEnabled = mobileEnabled; - } - /** - * @return Landline status for the destination. If false, all landline call activity will be rejected or disabled. - */ - public Boolean getLandlineEnabled() { - return landlineEnabled; - } - public void setLandlineEnabled(Boolean landlineEnabled) { - this.landlineEnabled = landlineEnabled; - } - /** - * @return Status of the SMS for destination. Can be true or false. If false, SMS for same destination will be rejected. - */ - public Boolean getSmsEnabled() { - return smsEnabled; - } - public void setSmsEnabled(Boolean smsEnabled) { - this.smsEnabled = smsEnabled; - } - /** - * @return The date the fraud control resource was created. - */ - public Date getDateCreated() { - return dateCreated; - } - public void setDateCreated(Date dateCreated) { - this.dateCreated = dateCreated; - } - /** - * @return The date the fraud control resource was last updated. - */ - public Date getDateUpdated() { - return dateUpdated; - } - public void setDateUpdated(Date dateUpdated) { - this.dateUpdated = dateUpdated; - } - /** - * @return The date the fraud control resource will expire. - */ - public Date getExpirationDate() { - return expirationDate; - } - public void setExpirationDate(Date expirationDate) { - this.expirationDate = expirationDate; - } - - /** - * @return Specifies whether the destination has been permanently blacklisted by our system. - */ - public Boolean getIsLock() { - return isLock; - } - public void setIsLock(Boolean isLock) { - this.isLock = isLock; - } - - - -} diff --git a/src/main/java/com/telapi/api/domain/DestinationFraudControlGroup.java b/src/main/java/com/telapi/api/domain/DestinationFraudControlGroup.java deleted file mode 100644 index dec50df..0000000 --- a/src/main/java/com/telapi/api/domain/DestinationFraudControlGroup.java +++ /dev/null @@ -1,45 +0,0 @@ -package com.telapi.api.domain; - -import java.util.List; - -/** - * Contains Fraud control information about various Destinations. - * - */ -public class DestinationFraudControlGroup { - - private List blocked; - private List authorized; - private List whitelisted; - - /** - * @return A list of blocked Destinations. - */ - public List getBlocked() { - return blocked; - } - public void setBlocked(List blocked) { - this.blocked = blocked; - } - - /** - * @return A list of authorized Destinations. - */ - public List getAuthorized() { - return authorized; - } - public void setAuthorized(List authorized) { - this.authorized = authorized; - } - - /** - * @return A list of whitelisted Destinations. - */ - public List getWhitelisted() { - return whitelisted; - } - public void setWhitelisted(List whitelisted) { - this.whitelisted = whitelisted; - } - -} diff --git a/src/main/java/com/telapi/api/domain/Fraud.java b/src/main/java/com/telapi/api/domain/Fraud.java deleted file mode 100644 index f36c4c4..0000000 --- a/src/main/java/com/telapi/api/domain/Fraud.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.telapi.api.domain; - -import java.math.BigDecimal; - -import org.codehaus.jackson.annotate.JsonProperty; - -/** - * Lists Fraud control resource information. - */ -public class Fraud { - @JsonProperty("max_outbound_rate") - private BigDecimal maxOutboundRate; - private DestinationFraudControlGroup destinations; - - /** - * @return The price limit an outbound call may be. Calls which cost more will be rejected. - */ - public BigDecimal getMaxOutboundRate() { - return maxOutboundRate; - } - public void setMaxOutboundRate(BigDecimal maxOutboundRate) { - this.maxOutboundRate = maxOutboundRate; - } - - /** - * @return Destination information. - */ - public DestinationFraudControlGroup getDestinations() { - return destinations; - } - public void setDestinations(DestinationFraudControlGroup destinations) { - this.destinations = destinations; - } - -} \ No newline at end of file diff --git a/src/main/java/com/telapi/api/domain/IncomingPhoneNumber.java b/src/main/java/com/telapi/api/domain/IncomingPhoneNumber.java deleted file mode 100644 index 579e695..0000000 --- a/src/main/java/com/telapi/api/domain/IncomingPhoneNumber.java +++ /dev/null @@ -1,83 +0,0 @@ -package com.telapi.api.domain; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.domain.enums.PhoneNumberType; -import com.telapi.api.json.JsonBooleanParser; - -/** - * TelAPI phone numbers associated with an account are represented with the IncomingPhoneNumber resource. - */ -public class IncomingPhoneNumber extends BaseTelapiObjectWithMethods{ - @JsonProperty("friendly_name") - private String friendlyName; - @JsonProperty("phone_number") - private String phoneNumber; - private PhoneNumberType type; - @JsonProperty("voice_application_sid") - private String voiceApplicationSid; - @JsonDeserialize(using = JsonBooleanParser.class) - - @JsonProperty("sms_application_sid") - private String smsApplicationSid; - private PhoneNumberCapabilities capabilities; - - - /** - * @return Domestic format version of the TelAPI phone number. (e.g. 1234567890 to (123)-456-7890) - */ - public String getFriendlyName() { - return friendlyName; - } - public void setFriendlyName(String friendlyName) { - this.friendlyName = friendlyName; - } - /** - * @return The E.164 format number of each incoming number. - */ - public String getPhoneNumber() { - return phoneNumber; - } - public void setPhoneNumber(String phoneNumber) { - this.phoneNumber = phoneNumber; - } - /** - * @return The type of TelAPI number. (local, international, etc.) - */ - public PhoneNumberType getType() { - return type; - } - public void setType(PhoneNumberType type) { - this.type = type; - } - /** - * @return - */ - public String getVoiceApplicationSid() { - return voiceApplicationSid; - } - public void setVoiceApplicationSid(String voiceApplicationSid) { - this.voiceApplicationSid = voiceApplicationSid; - } - /** - * @return - */ - public String getSmsApplicationSid() { - return smsApplicationSid; - } - public void setSmsApplicationSid(String smsApplicationSid) { - this.smsApplicationSid = smsApplicationSid; - } - /** - * @return The features available with this incoming phone number. The voice and sms properties are either True or False depending on what the number is capable of. - */ - public PhoneNumberCapabilities getCapabilities() { - return capabilities; - } - public void setCapabilities(PhoneNumberCapabilities capabilities) { - this.capabilities = capabilities; - } - -} - diff --git a/src/main/java/com/telapi/api/domain/Notification.java b/src/main/java/com/telapi/api/domain/Notification.java deleted file mode 100644 index b6235a4..0000000 --- a/src/main/java/com/telapi/api/domain/Notification.java +++ /dev/null @@ -1,141 +0,0 @@ -package com.telapi.api.domain; - -import java.util.Date; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.domain.enums.LogLevel; -import com.telapi.api.json.JsonDateParser; - -/** - * Notifications that TelAPI sends to users regarding their account and TelAPI - * phone numbers activity. - * - */ -public class Notification extends BaseTelapiObject { - @JsonProperty("call_sid") - private String callSid; - private LogLevel log; - @JsonProperty("error_code") - private String errorCode; - @JsonProperty("more_info") - private String moreInfo; - @JsonProperty("message_text") - private String messageText; - @JsonDeserialize(using = JsonDateParser.class) - @JsonProperty("message_date") - private Date messageDate; - @JsonProperty("response_body") - private String responseBody; - @JsonProperty("request_method") - private HttpMethod requestMethod; - @JsonProperty("request_url") - private String requestUrl; - @JsonProperty("request_variables") - private String requestVariables; - @JsonProperty("response_headers") - private String responseHeaders; - - /** - * @return An alphanumeric string used for identification of the call that the notification occurred during. Since notifications don't have to necessarily occur during calls, this property could be empty. - */ - public String getCallSid() { - return callSid; - } - public void setCallSid(String callSid) { - this.callSid = callSid; - } - /** - * @return Specifies the notification log level: INFO, WARNING or ERROR. - */ - public LogLevel getLog() { - return log; - } - public void setLog(LogLevel log) { - this.log = log; - } - /** - * @return Identifies the specific error type. For more information on error codes see the Error Dictionary. - */ - public String getErrorCode() { - return errorCode; - } - public void setErrorCode(String errorCode) { - this.errorCode = errorCode; - } - /** - * @return URL leading to our error dictionary for more information on the error. - */ - public String getMoreInfo() { - return moreInfo; - } - public void setMoreInfo(String moreInfo) { - this.moreInfo = moreInfo; - } - /** - * @return Text of the notification message. - */ - public String getMessageText() { - return messageText; - } - public void setMessageText(String messageText) { - this.messageText = messageText; - } - /** - * @return The date the TelAPI account received the actual notification. May be a bit different from DateCreated due to buffering. - */ - public Date getMessageDate() { - return messageDate; - } - public void setMessageDate(Date messageDate) { - this.messageDate = messageDate; - } - /** - * @return The HTTP body returned by your server when the notification occurred. - */ - public String getResponseBody() { - return responseBody; - } - public void setResponseBody(String responseBody) { - this.responseBody = responseBody; - } - /** - * @return The method used to request RequestUrl when the notification was generated. - */ - public HttpMethod getRequestMethod() { - return requestMethod; - } - public void setRequestMethod(HttpMethod requestMethod) { - this.requestMethod = requestMethod; - } - /** - * @return The URL being requested when notification was generated. - */ - public String getRequestUrl() { - return requestUrl; - } - public void setRequestUrl(String requestUrl) { - this.requestUrl = requestUrl; - } - /** - * @return The variables sent with the HTTP request that generated the notification. - */ - public String getRequestVariables() { - return requestVariables; - } - public void setRequestVariables(String requestVariables) { - this.requestVariables = requestVariables; - } - /** - * @return HTTP headers returned by your server when the notification occurred. - */ - public String getResponseHeaders() { - return responseHeaders; - } - public void setResponseHeaders(String responseHeaders) { - this.responseHeaders = responseHeaders; - } -} - diff --git a/src/main/java/com/telapi/api/domain/Participant.java b/src/main/java/com/telapi/api/domain/Participant.java deleted file mode 100644 index 916be14..0000000 --- a/src/main/java/com/telapi/api/domain/Participant.java +++ /dev/null @@ -1,94 +0,0 @@ -package com.telapi.api.domain; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.json.JsonBooleanParser; -import com.telapi.api.json.JsonDurationParser; - -public class Participant extends BaseTelapiObject{ - - @JsonProperty("call_sid") - private String callSid; - @JsonProperty("conference_sid") - private String conferenceSid; - @JsonDeserialize(using = JsonBooleanParser.class) - private Boolean muted; - @JsonDeserialize(using = JsonBooleanParser.class) - private Boolean deaf; - @JsonProperty("caller_name") - private String callerName; - @JsonProperty("caller_number") - private String callerNumber; - @JsonDeserialize(using = JsonDurationParser.class) - private Long duration; - - /** - * @return The sid of the call of the participant - */ - public String getCallSid() { - return callSid; - } - public void setCallSid(String callSid) { - this.callSid = callSid; - } - /** - * @return The sid of the conference the participant is a part of - */ - public String getConferenceSid() { - return conferenceSid; - } - public void setConferenceSid(String conferenceSid) { - this.conferenceSid = conferenceSid; - } - /** - * @return Returns true if the participant is muted. - */ - public Boolean getMuted() { - return muted; - } - @JsonDeserialize(using = JsonBooleanParser.class) - public void setMuted(Boolean muted) { - this.muted = muted; - } - /** - * @return Returns true if the participant is deafened. - */ - public Boolean getDeaf() { - return deaf; - } - @JsonDeserialize(using = JsonBooleanParser.class) - public void setDeaf(Boolean deaf) { - this.deaf = deaf; - } - - /** - * @return The participant name available on the caller id. - */ - public String getCallerName() { - return callerName; - } - public void setCallerName(String callerName) { - this.callerName = callerName; - } - /** - * @return The number this participant used to enter the conference. - */ - public String getCallerNumber() { - return callerNumber; - } - public void setCallerNumber(String callerNumber) { - this.callerNumber = callerNumber; - } - /** - * @return The duration in seconds a participant has been in a conference. - */ - public Long getDuration() { - return duration; - } - @JsonDeserialize(using = JsonDurationParser.class) - public void setDuration(Long duration) { - this.duration = duration; - } - -} \ No newline at end of file diff --git a/src/main/java/com/telapi/api/domain/PhoneNumberCapabilities.java b/src/main/java/com/telapi/api/domain/PhoneNumberCapabilities.java deleted file mode 100644 index 8cb59b3..0000000 --- a/src/main/java/com/telapi/api/domain/PhoneNumberCapabilities.java +++ /dev/null @@ -1,34 +0,0 @@ -package com.telapi.api.domain; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.json.JsonBooleanParser; - -/** - * The features available with this incoming phone number. The voice and sms properties are either True or False depending on what the number is capable of. - */ -public class PhoneNumberCapabilities { - @JsonDeserialize(using = JsonBooleanParser.class) - @JsonProperty("voice") - private Boolean voice; - @JsonDeserialize(using = JsonBooleanParser.class) - @JsonProperty("sms") - private Boolean sms; - - public Boolean getVoice() { - return voice; - } - @JsonDeserialize(using = JsonBooleanParser.class) - public void setVoice(Boolean voice) { - this.voice = voice; - } - public Boolean getSms() { - return sms; - } - @JsonDeserialize(using = JsonBooleanParser.class) - public void setSms(Boolean sms) { - this.sms = sms; - } - -} diff --git a/src/main/java/com/telapi/api/domain/Recording.java b/src/main/java/com/telapi/api/domain/Recording.java deleted file mode 100644 index fcae841..0000000 --- a/src/main/java/com/telapi/api/domain/Recording.java +++ /dev/null @@ -1,55 +0,0 @@ -package com.telapi.api.domain; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.json.JsonDurationParser; - -/** - * Recorded calls can be viewed using the REST API. All - * recordings are represented as the same type of resource, regardless of - * whether initiated via InboundXML or the REST API. - */ -public class Recording extends BaseTelapiObject { - @JsonProperty("call_sid") - private String callSid; - @JsonDeserialize(using = JsonDurationParser.class) - private Long duration; - @JsonProperty("recording_url") - private String recordingUrl; - - /** - * @return The sid identifying the recorded call. - */ - public String getCallSid() { - return callSid; - } - - public void setCallSid(String callSid) { - this.callSid = callSid; - } - - /** - * @return Time of recording in seconds. - */ - public Long getDuration() { - return duration; - } - - @JsonDeserialize(using = JsonDurationParser.class) - public void setDuration(Long duration) { - this.duration = duration; - } - - /** - * @return URL where .mp3 or .wav file of the recording is located. - */ - public String getRecordingUrl() { - return recordingUrl; - } - - public void setRecordingUrl(String recordingUrl) { - this.recordingUrl = recordingUrl; - } - -} \ No newline at end of file diff --git a/src/main/java/com/telapi/api/domain/SmsMessage.java b/src/main/java/com/telapi/api/domain/SmsMessage.java deleted file mode 100644 index 32ab501..0000000 --- a/src/main/java/com/telapi/api/domain/SmsMessage.java +++ /dev/null @@ -1,103 +0,0 @@ -package com.telapi.api.domain; - -import java.math.BigDecimal; -import java.util.Date; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.domain.enums.SmsDirection; -import com.telapi.api.json.JsonDateParser; - -/** - * Text messages sent to and from TelAPI phone numbers are represented with the Sms resource. - * - */ -public class SmsMessage extends BaseTelapiObject { - @JsonDeserialize(using = JsonDateParser.class) - @JsonProperty(value="date_sent") - private Date dateSent; - private String to; - private String from; - private String body; - private String status; - private SmsDirection direction; - private BigDecimal price; - - /** - * - * @return Date the SMS was sent. - */ - public Date getDateSent() { - return dateSent; - } - public void setDateSent(Date dateSent) { - this.dateSent = dateSent; - } - /** - * - * @return The number that received the SMS message. - */ - public String getTo() { - return to; - } - public void setTo(String to) { - this.to = to; - } - /** - * - * @return The number that sent the SMS message. - */ - public String getFrom() { - return from; - } - public void setFrom(String from) { - this.from = from; - } - /** - * - * @return Text of the SMS message sent or received. May be up to 160 characters in length. - */ - public String getBody() { - return body; - } - public void setBody(String body) { - this.body = body; - } - /** - * - * @return Status of the SMS: sent, sending, queued, or failed. - */ - public String getStatus() { - return status; - } - public void setStatus(String status) { - this.status = status; - } - - /** - * - * @return Specifies the direction of the SMS: messages from REST API are - * "outbound-api", messages from incoming phone numbers to TelAPI - * are "incoming", messages from InboundXML initiated during an - * outbound call are "outbound-call", and messages from InboundXML - * initiated via an sms reply are "outbound-reply". - */ - public SmsDirection getDirection() { - return direction; - } - public void setDirection(SmsDirection direction) { - this.direction = direction; - } - /** - * - * @return Cost of the SMS. - */ - public BigDecimal getPrice() { - return price; - } - public void setPrice(BigDecimal price) { - this.price = price; - } - -} diff --git a/src/main/java/com/telapi/api/domain/StatusResponse.java b/src/main/java/com/telapi/api/domain/StatusResponse.java deleted file mode 100644 index be195ff..0000000 --- a/src/main/java/com/telapi/api/domain/StatusResponse.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.telapi.api.domain; - -public class StatusResponse { - String status; - String message; - - public String getStatus() { - return status; - } - public void setStatus(String status) { - this.status = status; - } - public String getMessage() { - return message; - } - public void setMessage(String message) { - this.message = message; - } - - -} diff --git a/src/main/java/com/telapi/api/domain/SubresourceUris.java b/src/main/java/com/telapi/api/domain/SubresourceUris.java deleted file mode 100644 index 29e44d4..0000000 --- a/src/main/java/com/telapi/api/domain/SubresourceUris.java +++ /dev/null @@ -1,108 +0,0 @@ -package com.telapi.api.domain; - -import org.codehaus.jackson.annotate.JsonProperty; - -/** - * List of an accounts various subresources and their URI path. Examples of - * subresources are things like calls that occurred through the account, sms - * messages, purchased phone numbers, etc. - * - */ -public class SubresourceUris { - @JsonProperty(value="available_phone_numbers") - private String availablePhoneNumbers; - private String calls; - private String conferences; - @JsonProperty(value="incoming_phone_numbers") - private String incomingPhoneNumbers; - private String notifications; - private String recordings; - @JsonProperty(value="sms_messages") - private String smsMessages; - private String transcriptions; - private String transactions; - private String applications; - private String fraud; - private String cnam; - private String carrier; - - public String getAvailablePhoneNumbers() { - return availablePhoneNumbers; - } - public void setAvailablePhoneNumbers(String availablePhoneNumbers) { - this.availablePhoneNumbers = availablePhoneNumbers; - } - public String getCalls() { - return calls; - } - public void setCalls(String calls) { - this.calls = calls; - } - public String getConferences() { - return conferences; - } - public void setConferences(String conferences) { - this.conferences = conferences; - } - public String getIncomingPhoneNumbers() { - return incomingPhoneNumbers; - } - public void setIncomingPhoneNumbers(String incomingPhoneNumbers) { - this.incomingPhoneNumbers = incomingPhoneNumbers; - } - public String getNotifications() { - return notifications; - } - public void setNotifications(String notifications) { - this.notifications = notifications; - } - public String getRecordings() { - return recordings; - } - public void setRecordings(String recordings) { - this.recordings = recordings; - } - public String getSmsMessages() { - return smsMessages; - } - public void setSmsMessages(String smsMessages) { - this.smsMessages = smsMessages; - } - public String getTranscriptions() { - return transcriptions; - } - public void setTranscriptions(String transcriptions) { - this.transcriptions = transcriptions; - } - public String getTransactions() { - return transactions; - } - public void setTransactions(String transactions) { - this.transactions = transactions; - } - public String getApplications() { - return applications; - } - public void setApplications(String applications) { - this.applications = applications; - } - public String getFraud() { - return fraud; - } - public void setFraud(String fraud) { - this.fraud = fraud; - } - public String getCnam() { - return cnam; - } - public void setCnam(String cnam) { - this.cnam = cnam; - } - public String getCarrier() { - return carrier; - } - public void setCarrier(String carrier) { - this.carrier = carrier; - } - -} diff --git a/src/main/java/com/telapi/api/domain/TelapiList.java b/src/main/java/com/telapi/api/domain/TelapiList.java deleted file mode 100644 index 9203a41..0000000 --- a/src/main/java/com/telapi/api/domain/TelapiList.java +++ /dev/null @@ -1,129 +0,0 @@ -package com.telapi.api.domain; - -import java.util.Iterator; -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -public abstract class TelapiList implements Iterable { - - Long page; - @JsonProperty(value="num_pages") - Long numpages; - @JsonProperty(value="page_size") - Long pagesize; - Long total; - Long start; - Long end; - String uri; - @JsonProperty(value="first_page_uri") - String firstPageUri; - @JsonProperty(value="previous_page_uri") - String previousPageUri; - @JsonProperty(value="next_page_uri") - String nextPageUri; - @JsonProperty(value="last_page_uri") - String lastPageUri; - - List elements; - - public Long getPage() { - return page; - } - - public void setPage(Long page) { - this.page = page; - } - - public Long getNumpages() { - return numpages; - } - - public void setNumpages(Long numpages) { - this.numpages = numpages; - } - - public Long getPagesize() { - return pagesize; - } - - public void setPagesize(Long pagesize) { - this.pagesize = pagesize; - } - - public Long getTotal() { - return total; - } - - public void setTotal(Long total) { - this.total = total; - } - - public Long getStart() { - return start; - } - - public void setStart(Long start) { - this.start = start; - } - - public Long getEnd() { - return end; - } - - public void setEnd(Long end) { - this.end = end; - } - - public String getUri() { - return uri; - } - - public void setUri(String uri) { - this.uri = uri; - } - - public String getFirstPageUri() { - return firstPageUri; - } - - public void setFirstPageUri(String firstPageUri) { - this.firstPageUri = firstPageUri; - } - - public String getPreviousPageUri() { - return previousPageUri; - } - - public void setPreviousPageUri(String previousPageUri) { - this.previousPageUri = previousPageUri; - } - - public String getNextPageUri() { - return nextPageUri; - } - - public void setNextPageUri(String nextPageUri) { - this.nextPageUri = nextPageUri; - } - - public String getLastPageUri() { - return lastPageUri; - } - - public void setLastPageUri(String lastPageUri) { - this.lastPageUri = lastPageUri; - } - - protected abstract void mapElements(List elements); - - protected void setElements(List elements) { - this.elements = elements; - } - - @Override - public Iterator iterator() { - if (elements == null) return null; - return elements.iterator(); - } -} diff --git a/src/main/java/com/telapi/api/domain/Transcription.java b/src/main/java/com/telapi/api/domain/Transcription.java deleted file mode 100644 index 0a7b52f..0000000 --- a/src/main/java/com/telapi/api/domain/Transcription.java +++ /dev/null @@ -1,117 +0,0 @@ -package com.telapi.api.domain; - -import java.math.BigDecimal; - -import org.codehaus.jackson.annotate.JsonProperty; -import org.codehaus.jackson.map.annotate.JsonDeserialize; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.domain.enums.TranscriptionStatus; -import com.telapi.api.domain.enums.TranscriptionType; -import com.telapi.api.json.JsonDurationParser; - -/** - * This resource represents a transcription of a Recording or audio. - */ -public class Transcription extends BaseTelapiObject { - private TranscriptionStatus status; - private TranscriptionType type; - @JsonProperty("audio_url") - private String audioUrl; - @JsonDeserialize(using = JsonDurationParser.class) - private Long duration; - @JsonProperty("recording_sid") - private String recordingSid; - @JsonProperty("transcription_text") - private String transcriptionText; - private BigDecimal price; - @JsonProperty("transcribe_callback") - private String transcribeCallback; - @JsonProperty("callback_method") - private HttpMethod callbackMethod; - - /** - * @return The status of the transcription (e.g. completed, in-progress, failed). - */ - public TranscriptionStatus getStatus() { - return status; - } - public void setStatus(TranscriptionStatus status) { - this.status = status; - } - /** - * @return Transcription quality tier. May be auto, silver, gold, or platinum. Default is auto. - */ - public TranscriptionType getType() { - return type; - } - public void setType(TranscriptionType type) { - this.type = type; - } - /** - * @return URL where a file containing the transcribed audio is located. - */ - public String getAudioUrl() { - return audioUrl; - } - public void setAudioUrl(String audioUrl) { - this.audioUrl = audioUrl; - } - /** - * @return Length in seconds of the transcribed recording. - */ - public Long getDuration() { - return duration; - } - @JsonDeserialize(using = JsonDurationParser.class) - public void setDuration(Long duration) { - this.duration = duration; - } - /** - * @return Text of the transcribed audio. - */ - public String getTranscriptionText() { - return transcriptionText; - } - public void setTranscriptionText(String transcriptionText) { - this.transcriptionText = transcriptionText; - } - /** - * @return Cost of the transcription. - */ - public BigDecimal getPrice() { - return price; - } - public void setPrice(BigDecimal price) { - this.price = price; - } - /** - * @return URL where transcription will report to after completion. - */ - public String getTranscribeCallback() { - return transcribeCallback; - } - public void setTranscribeCallback(String transcribeCallback) { - this.transcribeCallback = transcribeCallback; - } - /** - * @return Method to request TranscribeCallback URL. Can be POST or GET. Default is POST - */ - public HttpMethod getCallbackMethod() { - return callbackMethod; - } - public void setCallbackMethod(HttpMethod callbackMethod) { - this.callbackMethod = callbackMethod; - } - /** - * @return An alphanumeric string used to identify the recording that was transcribed. - */ - public String getRecordingSid() { - return recordingSid; - } - public void setRecordingSid(String recordingSid) { - this.recordingSid = recordingSid; - } - - -} diff --git a/src/main/java/com/telapi/api/domain/enums/AnsweredBy.java b/src/main/java/com/telapi/api/domain/enums/AnsweredBy.java deleted file mode 100644 index de68c2b..0000000 --- a/src/main/java/com/telapi/api/domain/enums/AnsweredBy.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.telapi.api.domain.enums; - -import org.codehaus.jackson.annotate.JsonCreator; - -public enum AnsweredBy { - HUMAN, MACHINE, NONE, UNKNOWN; - - @JsonCreator - public static AnsweredBy forValue(String s) { - if (s == null) return null; - if (s.equals("human")) return HUMAN; - if (s.equals("machine")) return MACHINE; - if (s.equals("none")) return NONE; - return UNKNOWN; - } -} diff --git a/src/main/java/com/telapi/api/domain/enums/AudioDirection.java b/src/main/java/com/telapi/api/domain/enums/AudioDirection.java deleted file mode 100644 index 3357e59..0000000 --- a/src/main/java/com/telapi/api/domain/enums/AudioDirection.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.telapi.api.domain.enums; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonCreator; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum AudioDirection { - IN, OUT; - - private static Map map; - - static { - map = new HashMap(); - map.put(IN, "in"); - map.put(OUT, "out"); - } - - @JsonCreator - public static AudioDirection forValue(String s) { - return EnumUtil.getValue(s, map, null); - } - - @Override - public String toString() { - return map.get(this); - } -} \ No newline at end of file diff --git a/src/main/java/com/telapi/api/domain/enums/CallInterruptStatus.java b/src/main/java/com/telapi/api/domain/enums/CallInterruptStatus.java deleted file mode 100644 index 8e6508f..0000000 --- a/src/main/java/com/telapi/api/domain/enums/CallInterruptStatus.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.telapi.api.domain.enums; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonCreator; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum CallInterruptStatus { - CANCELED, COMPLETED; - - private static Map map; - - static { - map = new HashMap(); - map.put(CANCELED, "canceled"); - map.put(COMPLETED, "completed"); - } - - @JsonCreator - public static CallInterruptStatus forValue(String s) { - return EnumUtil.getValue(s, map, null); - } - - @Override - public String toString() { - return map.get(this); - } -} diff --git a/src/main/java/com/telapi/api/domain/enums/CallStatus.java b/src/main/java/com/telapi/api/domain/enums/CallStatus.java deleted file mode 100644 index 2179bc9..0000000 --- a/src/main/java/com/telapi/api/domain/enums/CallStatus.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.telapi.api.domain.enums; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonCreator; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum CallStatus { - QUEUED, RINGING, IN_PROGRESS, COMPLETED, FAILED, BUSY, NO_ANSWER, UNKNOWN; - - private static Map map; - - static { - map = new HashMap(); - map.put(QUEUED, "queued"); - map.put(RINGING, "ringing"); - map.put(IN_PROGRESS, "in-progress"); - map.put(COMPLETED, "completed"); - map.put(FAILED, "failed"); - map.put(BUSY, "busy"); - map.put(NO_ANSWER, "no-answer"); - } - - @JsonCreator - public static CallStatus forValue(String s) { - return EnumUtil.getValue(s, map, UNKNOWN); - } - - @Override - public String toString() { - return map.get(this); - } -} \ No newline at end of file diff --git a/src/main/java/com/telapi/api/domain/enums/CarrierLookupStatus.java b/src/main/java/com/telapi/api/domain/enums/CarrierLookupStatus.java deleted file mode 100644 index 249a86e..0000000 --- a/src/main/java/com/telapi/api/domain/enums/CarrierLookupStatus.java +++ /dev/null @@ -1,34 +0,0 @@ -package com.telapi.api.domain.enums; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonCreator; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum CarrierLookupStatus { - DELIVRD, UNDELIV, UNKNOWN, REJECTED; - - private static Map map; - - static { - map = new HashMap(); - map.put(DELIVRD, "DELIVRD"); - map.put(UNDELIV, "UNDELIV"); - map.put(UNKNOWN, "UNKNOWN"); - map.put(REJECTED, "REJECTED"); - - } - - @JsonCreator - public static CarrierLookupStatus forValue(String s) { - return EnumUtil.getValue(s, map, null); - } - - @Override - public String toString() { - return map.get(this); - } - -} diff --git a/src/main/java/com/telapi/api/domain/enums/HttpMethod.java b/src/main/java/com/telapi/api/domain/enums/HttpMethod.java deleted file mode 100644 index cabcebf..0000000 --- a/src/main/java/com/telapi/api/domain/enums/HttpMethod.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.telapi.api.domain.enums; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonCreator; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum HttpMethod { - GET, POST; - - private static Map map; - - static { - map = new HashMap(); - map.put(GET, "GET"); - map.put(POST, "POST"); - } - - @JsonCreator - public static HttpMethod forValue(String s) { - return EnumUtil.getValue(s, map, null); - } - - @Override - public String toString() { - return map.get(this); - } -} diff --git a/src/main/java/com/telapi/api/domain/enums/Legs.java b/src/main/java/com/telapi/api/domain/enums/Legs.java deleted file mode 100644 index 7eaaba4..0000000 --- a/src/main/java/com/telapi/api/domain/enums/Legs.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.telapi.api.domain.enums; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonCreator; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum Legs { - ALEG, BLEG, BOTH; - - private static Map map; - - static { - map = new HashMap(); - map.put(ALEG, "aleg"); - map.put(BLEG, "bleg"); - map.put(BOTH, "both"); - } - - @JsonCreator - public static Legs forValue(String s) { - return EnumUtil.getValue(s, map, null); - } - - @Override - public String toString() { - return map.get(this); - } -} \ No newline at end of file diff --git a/src/main/java/com/telapi/api/domain/enums/LogLevel.java b/src/main/java/com/telapi/api/domain/enums/LogLevel.java deleted file mode 100644 index 031ff3a..0000000 --- a/src/main/java/com/telapi/api/domain/enums/LogLevel.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.telapi.api.domain.enums; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonCreator; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum LogLevel { - ERROR, WARNING, INFO; - - private static Map map; - - static { - map = new HashMap(); - map.put(ERROR, "0"); - map.put(WARNING, "1"); - map.put(INFO, "2"); - } - - @JsonCreator - public static LogLevel forValue(String s) { - return EnumUtil.getValue(s, map, null); - } - - @Override - public String toString() { - return map.get(this); - } -} \ No newline at end of file diff --git a/src/main/java/com/telapi/api/domain/enums/PhoneNumberType.java b/src/main/java/com/telapi/api/domain/enums/PhoneNumberType.java deleted file mode 100644 index 8076ea9..0000000 --- a/src/main/java/com/telapi/api/domain/enums/PhoneNumberType.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.telapi.api.domain.enums; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonCreator; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum PhoneNumberType { - LOCAL, INTERNATIONAL, TOLL_FREE, UNKNOWN; - - private static Map map; - - static { - map = new HashMap(); - map.put(LOCAL, "local"); - map.put(INTERNATIONAL, "international"); - map.put(TOLL_FREE, "toll-free"); - } - - @JsonCreator - public static PhoneNumberType forValue(String s) { - return EnumUtil.getValue(s, map, UNKNOWN); - } - - @Override - public String toString() { - return map.get(this); - } -} \ No newline at end of file diff --git a/src/main/java/com/telapi/api/domain/enums/SmsDirection.java b/src/main/java/com/telapi/api/domain/enums/SmsDirection.java deleted file mode 100644 index 6ce8d31..0000000 --- a/src/main/java/com/telapi/api/domain/enums/SmsDirection.java +++ /dev/null @@ -1,33 +0,0 @@ -package com.telapi.api.domain.enums; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonCreator; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum SmsDirection { - OUTBOUND_API, INCOMING, OUTBOUND_CALL, OUTBOUND_REPLY, UNKNOWN; - - private static Map map; - - static { - map = new HashMap(); - map.put(OUTBOUND_API, "outbound-api"); - map.put(INCOMING, "incoming"); - map.put(OUTBOUND_CALL, "outbound-call"); - map.put(OUTBOUND_REPLY, "outbound-reply"); - } - - @JsonCreator - public static SmsDirection forValue(String s) { - return EnumUtil.getValue(s, map, UNKNOWN); - } - - @Override - public String toString() { - return map.get(this); - } - -} diff --git a/src/main/java/com/telapi/api/domain/enums/TranscriptionStatus.java b/src/main/java/com/telapi/api/domain/enums/TranscriptionStatus.java deleted file mode 100644 index 8cb6e36..0000000 --- a/src/main/java/com/telapi/api/domain/enums/TranscriptionStatus.java +++ /dev/null @@ -1,33 +0,0 @@ -package com.telapi.api.domain.enums; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonCreator; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum TranscriptionStatus { - COMPLETED, IN_PROGRESS, FAILED; - - private static Map map; - - static { - map = new HashMap(); - map.put(COMPLETED, "completed"); - map.put(IN_PROGRESS, "in-progress"); - map.put(FAILED, "failed"); - - } - - @JsonCreator - public static TranscriptionStatus forValue(String s) { - return EnumUtil.getValue(s, map, null); - } - - @Override - public String toString() { - return map.get(this); - } - -} diff --git a/src/main/java/com/telapi/api/domain/enums/TranscriptionType.java b/src/main/java/com/telapi/api/domain/enums/TranscriptionType.java deleted file mode 100644 index b1ad5f0..0000000 --- a/src/main/java/com/telapi/api/domain/enums/TranscriptionType.java +++ /dev/null @@ -1,33 +0,0 @@ -package com.telapi.api.domain.enums; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonCreator; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum TranscriptionType { - AUTO, SILVER, GOLD, PLATINUM; - - private static Map map; - - static { - map = new HashMap(); - map.put(AUTO, "auto"); - map.put(SILVER, "silver"); - map.put(GOLD, "gold"); - map.put(PLATINUM, "platinum"); - } - - @JsonCreator - public static TranscriptionType forValue(String s) { - return EnumUtil.getValue(s, map, null); - } - - @Override - public String toString() { - return map.get(this); - } - -} diff --git a/src/main/java/com/telapi/api/domain/enums/util/EnumUtil.java b/src/main/java/com/telapi/api/domain/enums/util/EnumUtil.java deleted file mode 100644 index 20d5f7f..0000000 --- a/src/main/java/com/telapi/api/domain/enums/util/EnumUtil.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.telapi.api.domain.enums.util; - -import java.util.Map; -import java.util.Map.Entry; - -public class EnumUtil { - - public static T getValue(String s, Map map, T unknown) { - if (s == null) return null; - for (Entry entry : map.entrySet()) { - if (entry.getValue().equals(s)) { - return entry.getKey(); - } - } - return unknown; - } -} diff --git a/src/main/java/com/telapi/api/domain/list/AccountsList.java b/src/main/java/com/telapi/api/domain/list/AccountsList.java deleted file mode 100644 index 2eef974..0000000 --- a/src/main/java/com/telapi/api/domain/list/AccountsList.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.Account; -import com.telapi.api.domain.TelapiList; - -public class AccountsList extends TelapiList{ - - @Override - @JsonProperty("accounts") - protected void mapElements(List elements) { - setElements(elements); - } - -} diff --git a/src/main/java/com/telapi/api/domain/list/ApplicationList.java b/src/main/java/com/telapi/api/domain/list/ApplicationList.java deleted file mode 100644 index 2448ac3..0000000 --- a/src/main/java/com/telapi/api/domain/list/ApplicationList.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.Application; -import com.telapi.api.domain.TelapiList; - -public class ApplicationList extends TelapiList { - - @Override - @JsonProperty("applications") - protected void mapElements(List elements) { - setElements(elements); - } -} diff --git a/src/main/java/com/telapi/api/domain/list/AvailablePhoneNumberList.java b/src/main/java/com/telapi/api/domain/list/AvailablePhoneNumberList.java deleted file mode 100644 index 27281bc..0000000 --- a/src/main/java/com/telapi/api/domain/list/AvailablePhoneNumberList.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.AvailablePhoneNumber; -import com.telapi.api.domain.TelapiList; - -public class AvailablePhoneNumberList extends TelapiList{ - - @Override - @JsonProperty("available_phone_numbers") - protected void mapElements(List elements) { - setElements(elements); - } - -} diff --git a/src/main/java/com/telapi/api/domain/list/CallList.java b/src/main/java/com/telapi/api/domain/list/CallList.java deleted file mode 100644 index a93824b..0000000 --- a/src/main/java/com/telapi/api/domain/list/CallList.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.Call; -import com.telapi.api.domain.TelapiList; - -public class CallList extends TelapiList{ - - @Override - @JsonProperty("calls") - protected void mapElements(List elements) { - setElements(elements); - } - -} diff --git a/src/main/java/com/telapi/api/domain/list/CarrierLookupList.java b/src/main/java/com/telapi/api/domain/list/CarrierLookupList.java deleted file mode 100644 index 1774e0a..0000000 --- a/src/main/java/com/telapi/api/domain/list/CarrierLookupList.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.CarrierLookup; -import com.telapi.api.domain.TelapiList; - -public class CarrierLookupList extends TelapiList{ - - @Override - @JsonProperty("carrier_lookups") - protected void mapElements(List elements) { - setElements(elements); - } - -} diff --git a/src/main/java/com/telapi/api/domain/list/CnamDipList.java b/src/main/java/com/telapi/api/domain/list/CnamDipList.java deleted file mode 100644 index 02a93c8..0000000 --- a/src/main/java/com/telapi/api/domain/list/CnamDipList.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.CnamDip; -import com.telapi.api.domain.TelapiList; - -public class CnamDipList extends TelapiList{ - - @Override - @JsonProperty("cnam_dips") - protected void mapElements(List elements) { - setElements(elements); - } - -} diff --git a/src/main/java/com/telapi/api/domain/list/ConferenceList.java b/src/main/java/com/telapi/api/domain/list/ConferenceList.java deleted file mode 100644 index ac9b54e..0000000 --- a/src/main/java/com/telapi/api/domain/list/ConferenceList.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.Conference; -import com.telapi.api.domain.TelapiList; - -public class ConferenceList extends TelapiList{ - - @Override - @JsonProperty("conferences") - protected void mapElements(List elements) { - setElements(elements); - } - -} diff --git a/src/main/java/com/telapi/api/domain/list/FraudList.java b/src/main/java/com/telapi/api/domain/list/FraudList.java deleted file mode 100644 index b68f929..0000000 --- a/src/main/java/com/telapi/api/domain/list/FraudList.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.Fraud; -import com.telapi.api.domain.TelapiList; - -public class FraudList extends TelapiList{ - - @Override - protected void mapElements(List elements) { - setElements(elements); - } - - @JsonProperty("frauds") - private Fraud frauds; - - public Fraud getFrauds() { - return frauds; - } - - public void setFrauds(Fraud frauds) { - this.frauds = frauds; - } - -} diff --git a/src/main/java/com/telapi/api/domain/list/IncomingPhoneNumberList.java b/src/main/java/com/telapi/api/domain/list/IncomingPhoneNumberList.java deleted file mode 100644 index 0bb90ee..0000000 --- a/src/main/java/com/telapi/api/domain/list/IncomingPhoneNumberList.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.IncomingPhoneNumber; -import com.telapi.api.domain.TelapiList; - -public class IncomingPhoneNumberList extends TelapiList{ - - @Override - @JsonProperty("incoming_phone_numbers") - protected void mapElements(List elements) { - setElements(elements); - } - -} diff --git a/src/main/java/com/telapi/api/domain/list/NotificationList.java b/src/main/java/com/telapi/api/domain/list/NotificationList.java deleted file mode 100644 index da4e459..0000000 --- a/src/main/java/com/telapi/api/domain/list/NotificationList.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.Notification; -import com.telapi.api.domain.TelapiList; - -public class NotificationList extends TelapiList{ - - @Override - @JsonProperty("notifications") - protected void mapElements(List elements) { - setElements(elements); - } - -} diff --git a/src/main/java/com/telapi/api/domain/list/RecordingList.java b/src/main/java/com/telapi/api/domain/list/RecordingList.java deleted file mode 100644 index bde3d06..0000000 --- a/src/main/java/com/telapi/api/domain/list/RecordingList.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.Recording; -import com.telapi.api.domain.TelapiList; - -public class RecordingList extends TelapiList{ - - @Override - @JsonProperty("recordings") - protected void mapElements(List elements) { - setElements(elements); - } - -} diff --git a/src/main/java/com/telapi/api/domain/list/SmsMessageList.java b/src/main/java/com/telapi/api/domain/list/SmsMessageList.java deleted file mode 100644 index 64d9acf..0000000 --- a/src/main/java/com/telapi/api/domain/list/SmsMessageList.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.SmsMessage; -import com.telapi.api.domain.TelapiList; - -public class SmsMessageList extends TelapiList { - - @Override - @JsonProperty(value="sms_messages") - protected void mapElements(List elements) { - setElements(elements); - } - -} diff --git a/src/main/java/com/telapi/api/domain/list/TranscriptionList.java b/src/main/java/com/telapi/api/domain/list/TranscriptionList.java deleted file mode 100644 index c65311f..0000000 --- a/src/main/java/com/telapi/api/domain/list/TranscriptionList.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.domain.list; - -import java.util.List; - -import org.codehaus.jackson.annotate.JsonProperty; - -import com.telapi.api.domain.TelapiList; -import com.telapi.api.domain.Transcription; - -public class TranscriptionList extends TelapiList{ - - @Override - @JsonProperty("transcriptions") - protected void mapElements(List elements) { - setElements(elements); - } - -} diff --git a/src/main/java/com/telapi/api/example/AddOrDeleteIncomingPhoneNumberExample.java b/src/main/java/com/telapi/api/example/AddOrDeleteIncomingPhoneNumberExample.java deleted file mode 100644 index c1f957d..0000000 --- a/src/main/java/com/telapi/api/example/AddOrDeleteIncomingPhoneNumberExample.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.IncomingPhoneNumber; -import com.telapi.api.exceptions.TelapiException; - -public class AddOrDeleteIncomingPhoneNumberExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - IncomingPhoneNumber incomingPhoneNumber = conn.addIncomingPhoneNumber("{phone_number}", "{area_code}"); - String incomingPhoneNumberSid = incomingPhoneNumber.getSid(); - - IncomingPhoneNumber deletedNumber = conn.deleteIncomingPhoneNumber(incomingPhoneNumberSid); - System.out.println(deletedNumber.getSid()); - - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/AuthorizeDestinationExample.java b/src/main/java/com/telapi/api/example/AuthorizeDestinationExample.java deleted file mode 100644 index ab9d849..0000000 --- a/src/main/java/com/telapi/api/example/AuthorizeDestinationExample.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.list.FraudList; -import com.telapi.api.exceptions.TelapiException; - -public class AuthorizeDestinationExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - FraudList fraudControlResources = conn.authorizeDestination("US", null, false, null); - System.out.println(fraudControlResources.getFrauds().getMaxOutboundRate()); - - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/BlockDestinationExample.java b/src/main/java/com/telapi/api/example/BlockDestinationExample.java deleted file mode 100644 index 3784f01..0000000 --- a/src/main/java/com/telapi/api/example/BlockDestinationExample.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.list.FraudList; -import com.telapi.api.exceptions.TelapiException; - -public class BlockDestinationExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - FraudList fraudControlResources = conn.blockDestination("US", null, null, null); - System.out.println(fraudControlResources.getFrauds().getMaxOutboundRate()); - - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/CarrierLookupExample.java b/src/main/java/com/telapi/api/example/CarrierLookupExample.java deleted file mode 100644 index bcbc8bb..0000000 --- a/src/main/java/com/telapi/api/example/CarrierLookupExample.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.CarrierLookup; -import com.telapi.api.domain.list.CarrierLookupList; -import com.telapi.api.exceptions.TelapiException; - -public class CarrierLookupExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - CarrierLookupList carrierLookups = conn.carrierLookup("{E_164_number}"); - for (CarrierLookup carrierLookup : carrierLookups) { - System.out.println(carrierLookup.getSid()); - } - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/CnamLookupExample.java b/src/main/java/com/telapi/api/example/CnamLookupExample.java deleted file mode 100644 index 6a98ca9..0000000 --- a/src/main/java/com/telapi/api/example/CnamLookupExample.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.CnamDip; -import com.telapi.api.domain.list.CnamDipList; -import com.telapi.api.exceptions.TelapiException; - -public class CnamLookupExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - CnamDipList cnamList = conn.cnamLookup("{E_164_number}"); - for(CnamDip cnamDip : cnamList) { - System.out.println(cnamDip.getSid()); - } - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/CreateApplicationExample.java b/src/main/java/com/telapi/api/example/CreateApplicationExample.java deleted file mode 100644 index 3ac0e6e..0000000 --- a/src/main/java/com/telapi/api/example/CreateApplicationExample.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Application; -import com.telapi.api.exceptions.TelapiException; -import com.telapi.api.requests.ApplicationRequest; - -public class CreateApplicationExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - ApplicationRequest applicationRequest = new ApplicationRequest(); - applicationRequest.setFriendlyName("Welcome Application"); - applicationRequest.setVoiceUrl("http://telapi.com/ivr/welcome/call"); - applicationRequest.setSmsUrl("http://telapi.com/ivr/welcome/sms"); - - try { - Application application = conn.createApplication(applicationRequest); - System.out.println(application.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/DeafOrMuteParticipantExample.java b/src/main/java/com/telapi/api/example/DeafOrMuteParticipantExample.java deleted file mode 100644 index fb9a470..0000000 --- a/src/main/java/com/telapi/api/example/DeafOrMuteParticipantExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Participant; -import com.telapi.api.exceptions.TelapiException; - -public class DeafOrMuteParticipantExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Participant participant = conn.deafOrMuteParticipant("{ConferenceSid}", "{CallSid}", false, true); - System.out.println(participant.getCallSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/DeleteApplicationExample.java b/src/main/java/com/telapi/api/example/DeleteApplicationExample.java deleted file mode 100644 index f3fea4d..0000000 --- a/src/main/java/com/telapi/api/example/DeleteApplicationExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Application; -import com.telapi.api.exceptions.TelapiException; - -public class DeleteApplicationExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Application application = conn.deleteApplication("{ApplicationSid}"); - System.out.println(application.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ExtendDestinationExample.java b/src/main/java/com/telapi/api/example/ExtendDestinationExample.java deleted file mode 100644 index db5c1ba..0000000 --- a/src/main/java/com/telapi/api/example/ExtendDestinationExample.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.list.FraudList; -import com.telapi.api.exceptions.TelapiException; - -public class ExtendDestinationExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - FraudList fraudControlResources = conn.extendDestinationAuth("US", null, null, null); - System.out.println(fraudControlResources.getFrauds().getMaxOutboundRate()); - - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/HangupCallExample.java b/src/main/java/com/telapi/api/example/HangupCallExample.java deleted file mode 100644 index debee29..0000000 --- a/src/main/java/com/telapi/api/example/HangupCallExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Call; -import com.telapi.api.exceptions.TelapiException; - -public class HangupCallExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Call call = conn.hangUpCall("{CallSid}"); - System.out.println(call.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/HangupParticipantExample.java b/src/main/java/com/telapi/api/example/HangupParticipantExample.java deleted file mode 100644 index a159b86..0000000 --- a/src/main/java/com/telapi/api/example/HangupParticipantExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Participant; -import com.telapi.api.exceptions.TelapiException; - -public class HangupParticipantExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Participant participant = conn.hangupParticipant("{ConferenceSid}", "{CallSid}"); - System.out.println(participant.getCallSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ListApplicationsExample.java b/src/main/java/com/telapi/api/example/ListApplicationsExample.java deleted file mode 100644 index c00ce69..0000000 --- a/src/main/java/com/telapi/api/example/ListApplicationsExample.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Application; -import com.telapi.api.domain.list.ApplicationList; -import com.telapi.api.exceptions.TelapiException; - -public class ListApplicationsExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - ApplicationList applicationList = conn.listApplications(); - for(Application application : applicationList) { - System.out.println(application.getSid()); - } - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ListAvailablePhoneNumbersExample.java b/src/main/java/com/telapi/api/example/ListAvailablePhoneNumbersExample.java deleted file mode 100644 index b55c335..0000000 --- a/src/main/java/com/telapi/api/example/ListAvailablePhoneNumbersExample.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.AvailablePhoneNumber; -import com.telapi.api.domain.list.AvailablePhoneNumberList; -import com.telapi.api.exceptions.TelapiException; - -public class ListAvailablePhoneNumbersExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - - try { - AvailablePhoneNumberList availablePhoneNumbers = conn.listAvailablePhoneNumbers("US", null, null, "Local", null, null, null); - for (AvailablePhoneNumber availablePhoneNumber : availablePhoneNumbers) { - System.out.println(availablePhoneNumber.getPhoneNumber()); - } - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ListCallsExample.java b/src/main/java/com/telapi/api/example/ListCallsExample.java deleted file mode 100644 index bb81b94..0000000 --- a/src/main/java/com/telapi/api/example/ListCallsExample.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Call; -import com.telapi.api.domain.list.CallList; -import com.telapi.api.exceptions.TelapiException; - -public class ListCallsExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - CallList callList = conn.listCalls(); - for(Call call : callList) { - System.out.println(call.getSid()); - } - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ListConferencesExample.java b/src/main/java/com/telapi/api/example/ListConferencesExample.java deleted file mode 100644 index b7f5226..0000000 --- a/src/main/java/com/telapi/api/example/ListConferencesExample.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Conference; -import com.telapi.api.domain.list.ConferenceList; -import com.telapi.api.exceptions.TelapiException; - -public class ListConferencesExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - ConferenceList conferenceList = conn.listConferences(); - for(Conference conference : conferenceList) { - System.out.println(conference.getSid()); - } - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ListFraudControResourcesExample.java b/src/main/java/com/telapi/api/example/ListFraudControResourcesExample.java deleted file mode 100644 index 991ab2b..0000000 --- a/src/main/java/com/telapi/api/example/ListFraudControResourcesExample.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.list.FraudList; -import com.telapi.api.exceptions.TelapiException; - -public class ListFraudControResourcesExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - FraudList fraudControlResources = conn.listFraudControlResources(); - System.out.println(fraudControlResources.getFrauds().getMaxOutboundRate()); - - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ListIncomingPhoneNumbersExample.java b/src/main/java/com/telapi/api/example/ListIncomingPhoneNumbersExample.java deleted file mode 100644 index 948b967..0000000 --- a/src/main/java/com/telapi/api/example/ListIncomingPhoneNumbersExample.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.IncomingPhoneNumber; -import com.telapi.api.domain.list.IncomingPhoneNumberList; -import com.telapi.api.exceptions.TelapiException; - -public class ListIncomingPhoneNumbersExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - IncomingPhoneNumberList incomingPhoneNumberList = conn.listIncomingPhoneNumbers(); - for(IncomingPhoneNumber incomingPhoneNumber : incomingPhoneNumberList) { - System.out.println(incomingPhoneNumber.getSid()); - } - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ListNotificationsExample.java b/src/main/java/com/telapi/api/example/ListNotificationsExample.java deleted file mode 100644 index 3d5fc4c..0000000 --- a/src/main/java/com/telapi/api/example/ListNotificationsExample.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Notification; -import com.telapi.api.domain.list.NotificationList; -import com.telapi.api.exceptions.TelapiException; - -public class ListNotificationsExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - NotificationList notificationList = conn.listNotifications(); - for(Notification notification : notificationList) { - System.out.println(notification.getSid()); - } - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ListParticipantsExample.java b/src/main/java/com/telapi/api/example/ListParticipantsExample.java deleted file mode 100644 index 9250576..0000000 --- a/src/main/java/com/telapi/api/example/ListParticipantsExample.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.telapi.api.example; - -import java.util.List; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Participant; -import com.telapi.api.exceptions.TelapiException; - -public class ListParticipantsExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - List participantsList = conn.listParticipants("{ConferenceSid}"); - for(Participant participant : participantsList) { - System.out.println(participant.getCallSid()); - } - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ListRecordingsExample.java b/src/main/java/com/telapi/api/example/ListRecordingsExample.java deleted file mode 100644 index 619f74a..0000000 --- a/src/main/java/com/telapi/api/example/ListRecordingsExample.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Recording; -import com.telapi.api.domain.list.RecordingList; -import com.telapi.api.exceptions.TelapiException; - -public class ListRecordingsExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - RecordingList recordingList = conn.listRecordings(); - for(Recording recording : recordingList) { - System.out.println(recording.getSid()); - } - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ListSmsExample.java b/src/main/java/com/telapi/api/example/ListSmsExample.java deleted file mode 100644 index 5092c21..0000000 --- a/src/main/java/com/telapi/api/example/ListSmsExample.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.SmsMessage; -import com.telapi.api.domain.list.SmsMessageList; -import com.telapi.api.exceptions.TelapiException; - -public class ListSmsExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - SmsMessageList smsMessageList = conn.listSmsMessages(); - for(SmsMessage smsMessage : smsMessageList) { - System.out.println(smsMessage.getSid()); - } - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ListTranscriptionsExample.java b/src/main/java/com/telapi/api/example/ListTranscriptionsExample.java deleted file mode 100644 index 321b66a..0000000 --- a/src/main/java/com/telapi/api/example/ListTranscriptionsExample.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Transcription; -import com.telapi.api.domain.list.TranscriptionList; -import com.telapi.api.exceptions.TelapiException; - -public class ListTranscriptionsExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - TranscriptionList transcriptionList = conn.listTranscriptions(); - for(Transcription transcription : transcriptionList) { - System.out.println(transcription.getSid()); - } - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/MakeCallExample.java b/src/main/java/com/telapi/api/example/MakeCallExample.java deleted file mode 100644 index 93968b5..0000000 --- a/src/main/java/com/telapi/api/example/MakeCallExample.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Call; -import com.telapi.api.exceptions.TelapiException; -import com.telapi.api.requests.CallRequest; - -public class MakeCallExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - CallRequest callRequest = new CallRequest(); - callRequest.setFrom("(XXX) XXX-XXXX"); - callRequest.setTo("(XXX) XXX-XXXX"); - callRequest.setUrl("http://liveoutput.com/createnewcall"); - Call call = conn.makeCall(callRequest); - System.out.println(call.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/PlayAudioExample.java b/src/main/java/com/telapi/api/example/PlayAudioExample.java deleted file mode 100644 index 9acd871..0000000 --- a/src/main/java/com/telapi/api/example/PlayAudioExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Call; -import com.telapi.api.exceptions.TelapiException; - -public class PlayAudioExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Call call = conn.playAudioToCall("{CallSid}", "http://example.com/sound-file.mp3"); - System.out.println(call.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/PlayAudioToParticipantExample.java b/src/main/java/com/telapi/api/example/PlayAudioToParticipantExample.java deleted file mode 100644 index c66d519..0000000 --- a/src/main/java/com/telapi/api/example/PlayAudioToParticipantExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Participant; -import com.telapi.api.exceptions.TelapiException; - -public class PlayAudioToParticipantExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Participant participant = conn.playAudioToParticipant("{ConferenceSid}", "{MemberId}", "{url_to_sound_file}"); - System.out.println(participant.getCallSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/RecordCallExample.java b/src/main/java/com/telapi/api/example/RecordCallExample.java deleted file mode 100644 index 7359e09..0000000 --- a/src/main/java/com/telapi/api/example/RecordCallExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.list.RecordingList; -import com.telapi.api.exceptions.TelapiException; - -public class RecordCallExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - RecordingList list = conn.recordCall("{CallSid}", true, null, null); - System.out.println(list.getPagesize()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/SendDigitsExample.java b/src/main/java/com/telapi/api/example/SendDigitsExample.java deleted file mode 100644 index 9231510..0000000 --- a/src/main/java/com/telapi/api/example/SendDigitsExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Call; -import com.telapi.api.exceptions.TelapiException; - -public class SendDigitsExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Call call = conn.sendDigits("{CallSid}", "www2113", null); - System.out.println(call.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/SendSmsExample.java b/src/main/java/com/telapi/api/example/SendSmsExample.java deleted file mode 100644 index 7de3705..0000000 --- a/src/main/java/com/telapi/api/example/SendSmsExample.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.SmsMessage; -import com.telapi.api.exceptions.TelapiException; - -public class SendSmsExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - SmsMessage smsMessage = conn - .sendSmsMessage( - "(XXX) XXX-XXXX", - "(XXX) XXX-XXXX", - "This is an SMS message sent from the TelAPI Java wrapper! Easy as 1, 2, 3!", - null); - System.out.println(smsMessage.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/TranscribeAudioUrlExample.java b/src/main/java/com/telapi/api/example/TranscribeAudioUrlExample.java deleted file mode 100644 index f325139..0000000 --- a/src/main/java/com/telapi/api/example/TranscribeAudioUrlExample.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Transcription; -import com.telapi.api.domain.enums.TranscriptionType; -import com.telapi.api.exceptions.TelapiException; - -public class TranscribeAudioUrlExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Transcription transcription = conn.transcribeRecording("{RecordingSid}", "http://liveoutput.com/transcribecallback", null, TranscriptionType.GOLD); - System.out.println(transcription.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/TranscribeRecordingExample.java b/src/main/java/com/telapi/api/example/TranscribeRecordingExample.java deleted file mode 100644 index 8d0843b..0000000 --- a/src/main/java/com/telapi/api/example/TranscribeRecordingExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Transcription; -import com.telapi.api.exceptions.TelapiException; - -public class TranscribeRecordingExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Transcription transcription = conn.transcribeAudioUrl("{fully_qualified_audio_url}", null, null, null); - System.out.println(transcription.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/UpdateApplicationExample.java b/src/main/java/com/telapi/api/example/UpdateApplicationExample.java deleted file mode 100644 index 9a74fff..0000000 --- a/src/main/java/com/telapi/api/example/UpdateApplicationExample.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Application; -import com.telapi.api.exceptions.TelapiException; -import com.telapi.api.requests.ApplicationRequest; - -public class UpdateApplicationExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - ApplicationRequest applicationRequest = new ApplicationRequest(); - - //the sid of the Application which is to be updated - applicationRequest.setSid("{ApplicationSid}"); - applicationRequest.setFriendlyName("Welcome Application"); - applicationRequest.setVoiceUrl("http://telapi.com/ivr/welcome/call"); - applicationRequest.setSmsUrl("http://telapi.com/ivr/welcome/sms"); - - try { - Application application = conn.updateApplication(applicationRequest); - System.out.println(application.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/UpdateIncomingPhoneNumberExample.java b/src/main/java/com/telapi/api/example/UpdateIncomingPhoneNumberExample.java deleted file mode 100644 index 1f0741d..0000000 --- a/src/main/java/com/telapi/api/example/UpdateIncomingPhoneNumberExample.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.IncomingPhoneNumber; -import com.telapi.api.exceptions.TelapiException; -import com.telapi.api.requests.IncomingPhoneNumberRequest; - -public class UpdateIncomingPhoneNumberExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - IncomingPhoneNumberRequest ipnRequest = new IncomingPhoneNumberRequest(); - - //the sid of the incoming phone number to be edited - ipnRequest.setIncomingPhoneNumberSid("{IncomingPhoneNumberSid}"); - ipnRequest.setVoiceUrl("{fully_qualified_url}"); - try { - IncomingPhoneNumber incomingPhoneNumber = conn.updateIncomingPhoneNumber(ipnRequest); - System.out.println(incomingPhoneNumber.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ViewAccountExample.java b/src/main/java/com/telapi/api/example/ViewAccountExample.java deleted file mode 100644 index f12fe4f..0000000 --- a/src/main/java/com/telapi/api/example/ViewAccountExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Account; -import com.telapi.api.exceptions.TelapiException; - -public class ViewAccountExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Account account = conn.viewAccount("{AccountSid}"); - System.out.println(account.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ViewApplicationExample.java b/src/main/java/com/telapi/api/example/ViewApplicationExample.java deleted file mode 100644 index c339110..0000000 --- a/src/main/java/com/telapi/api/example/ViewApplicationExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Application; -import com.telapi.api.exceptions.TelapiException; - -public class ViewApplicationExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Application application = conn.viewApplication("{ApplicationSid}"); - System.out.println(application.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ViewCallExample.java b/src/main/java/com/telapi/api/example/ViewCallExample.java deleted file mode 100644 index b4da602..0000000 --- a/src/main/java/com/telapi/api/example/ViewCallExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Call; -import com.telapi.api.exceptions.TelapiException; - -public class ViewCallExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Call call = conn.viewCall("{CallSid}"); - System.out.println(call.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ViewConferenceExample.java b/src/main/java/com/telapi/api/example/ViewConferenceExample.java deleted file mode 100644 index 3c4aaa5..0000000 --- a/src/main/java/com/telapi/api/example/ViewConferenceExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Conference; -import com.telapi.api.exceptions.TelapiException; - -public class ViewConferenceExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Conference conference = conn.viewConference("{ConferenceSid}"); - System.out.println(conference.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ViewIncomingPhoneNumberExample.java b/src/main/java/com/telapi/api/example/ViewIncomingPhoneNumberExample.java deleted file mode 100644 index d011b9e..0000000 --- a/src/main/java/com/telapi/api/example/ViewIncomingPhoneNumberExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.IncomingPhoneNumber; -import com.telapi.api.exceptions.TelapiException; - -public class ViewIncomingPhoneNumberExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - IncomingPhoneNumber incomingPhoneNumber = conn.viewIncomingPhoneNumber("{IncomingPhoneNumberSid}"); - System.out.println(incomingPhoneNumber.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ViewNotificationExample.java b/src/main/java/com/telapi/api/example/ViewNotificationExample.java deleted file mode 100644 index 27a900f..0000000 --- a/src/main/java/com/telapi/api/example/ViewNotificationExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Notification; -import com.telapi.api.exceptions.TelapiException; - -public class ViewNotificationExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Notification notification = conn.viewNotification("{NotificationSid}"); - System.out.println(notification.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ViewParticipantExample.java b/src/main/java/com/telapi/api/example/ViewParticipantExample.java deleted file mode 100644 index c43c435..0000000 --- a/src/main/java/com/telapi/api/example/ViewParticipantExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Participant; -import com.telapi.api.exceptions.TelapiException; - -public class ViewParticipantExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Participant participant = conn.viewParticipant("{ConferenceSid}", "{CallSid}"); - System.out.println(participant.getCallSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ViewRecordingExample.java b/src/main/java/com/telapi/api/example/ViewRecordingExample.java deleted file mode 100644 index bdb3cfe..0000000 --- a/src/main/java/com/telapi/api/example/ViewRecordingExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Recording; -import com.telapi.api.exceptions.TelapiException; - -public class ViewRecordingExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Recording recording = conn.viewRecording("{RecordingSid}"); - System.out.println(recording.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ViewSmsExample.java b/src/main/java/com/telapi/api/example/ViewSmsExample.java deleted file mode 100644 index 84d7de3..0000000 --- a/src/main/java/com/telapi/api/example/ViewSmsExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.SmsMessage; -import com.telapi.api.exceptions.TelapiException; - -public class ViewSmsExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - SmsMessage smsMessage = conn.viewSmsMessage("{SmsMessageSid}"); - System.out.println(smsMessage.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/ViewTranscriptionExample.java b/src/main/java/com/telapi/api/example/ViewTranscriptionExample.java deleted file mode 100644 index a7670b8..0000000 --- a/src/main/java/com/telapi/api/example/ViewTranscriptionExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Transcription; -import com.telapi.api.exceptions.TelapiException; - -public class ViewTranscriptionExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Transcription transcription = conn.viewTranscription("{TranscriptionSid}"); - System.out.println(transcription.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/VoiceEffectsExample.java b/src/main/java/com/telapi/api/example/VoiceEffectsExample.java deleted file mode 100644 index ed660ba..0000000 --- a/src/main/java/com/telapi/api/example/VoiceEffectsExample.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.Call; -import com.telapi.api.domain.enums.AudioDirection; -import com.telapi.api.exceptions.TelapiException; - -public class VoiceEffectsExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - Call call = conn.voiceEffects("{CallSid}", AudioDirection.OUT, 2.0, 11L, 0L, null); - System.out.println(call.getSid()); - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/example/WhitelistDestinationExample.java b/src/main/java/com/telapi/api/example/WhitelistDestinationExample.java deleted file mode 100644 index 718e7b7..0000000 --- a/src/main/java/com/telapi/api/example/WhitelistDestinationExample.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.telapi.api.example; - -import com.telapi.api.TelapiConnector; -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.domain.list.FraudList; -import com.telapi.api.exceptions.TelapiException; - -public class WhitelistDestinationExample { - - public static void main(String[] args) { - BasicTelapiConfiguration conf = new BasicTelapiConfiguration(); - conf.setSid("{AccountSid}"); - conf.setAuthToken("{AuthToken}"); - TelapiConnector conn = new TelapiConnector(conf); - - try { - FraudList fraudControlResources = conn.whitelistDestination("US", null, false, null); - System.out.println(fraudControlResources.getFrauds().getMaxOutboundRate()); - - } catch (TelapiException e) { - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/telapi/api/exceptions/TelapiException.java b/src/main/java/com/telapi/api/exceptions/TelapiException.java deleted file mode 100644 index 084a187..0000000 --- a/src/main/java/com/telapi/api/exceptions/TelapiException.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.telapi.api.exceptions; - -import org.codehaus.jackson.annotate.JsonProperty; - -public class TelapiException extends Exception { - - private static final long serialVersionUID = -5937845116814343506L; - - private Long status; - private String code; - @JsonProperty(value="more_info") - private String moreInfo; - - public TelapiException() { - - } - - public TelapiException(String message) { - super(message); - } - - public TelapiException(Long status, String message, String code, String moreInfo) { - super(message); - this.status = status; - this.code = code; - this.moreInfo = moreInfo; - } - - public Long getStatus() { - return status; - } - public void setStatus(Long status) { - this.status = status; - } - - public String getCode() { - return code; - } - public void setCode(String code) { - this.code = code; - } - public String getMoreInfo() { - return moreInfo; - } - public void setMoreInfo(String moreInfo) { - this.moreInfo = moreInfo; - } -} diff --git a/src/main/java/com/telapi/api/http/RestExecutor.java b/src/main/java/com/telapi/api/http/RestExecutor.java deleted file mode 100644 index 0199d2f..0000000 --- a/src/main/java/com/telapi/api/http/RestExecutor.java +++ /dev/null @@ -1,73 +0,0 @@ -package com.telapi.api.http; - -import java.io.IOException; - -import org.apache.http.HttpException; -import org.apache.http.HttpHost; -import org.apache.http.HttpRequest; -import org.apache.http.HttpRequestInterceptor; -import org.apache.http.auth.AuthScheme; -import org.apache.http.auth.AuthScope; -import org.apache.http.auth.AuthState; -import org.apache.http.auth.Credentials; -import org.apache.http.auth.UsernamePasswordCredentials; -import org.apache.http.client.CredentialsProvider; -import org.apache.http.client.protocol.ClientContext; -import org.apache.http.conn.params.ConnRoutePNames; -import org.apache.http.impl.auth.BasicScheme; -import org.apache.http.impl.client.DefaultHttpClient; -import org.apache.http.protocol.BasicHttpContext; -import org.apache.http.protocol.ExecutionContext; -import org.apache.http.protocol.HttpContext; -import org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor; - -import com.telapi.api.configuration.TelapiConfiguration; - -public class RestExecutor { - - public static ApacheHttpClient4Executor createExecutor(TelapiConfiguration conf){ - Credentials credentials = new UsernamePasswordCredentials(conf.getSid(), conf.getAuthToken()); - ApacheHttpClient4Executor executor = new ApacheHttpClient4Executor(); - DefaultHttpClient httpClient = (DefaultHttpClient) executor.getHttpClient(); - - if (conf.getProxyHost() != null && !conf.getProxyHost().trim().isEmpty()) { - HttpHost proxy = new HttpHost(conf.getProxyHost(), Integer.parseInt(conf.getProxyPort()), conf.getProxyProtocol()); - httpClient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy); - } - httpClient.addRequestInterceptor(new PreemptiveAuthInterceptor(), 0); - httpClient.getCredentialsProvider().setCredentials( - new AuthScope(AuthScope.ANY_HOST, AuthScope.ANY_PORT), - credentials - ); - - BasicHttpContext localContext = new BasicHttpContext(); - BasicScheme basicAuth = new BasicScheme(); - localContext.setAttribute("preemptive-auth", basicAuth); - executor.setHttpContext(localContext); - return executor; - } - - private RestExecutor(){ - } - - - static class PreemptiveAuthInterceptor implements HttpRequestInterceptor { - public void process(final HttpRequest request, final HttpContext context) throws HttpException, IOException { - AuthState authState = (AuthState) context.getAttribute(ClientContext.TARGET_AUTH_STATE); - if (authState.getAuthScheme() == null) { - AuthScheme authScheme = (AuthScheme) context.getAttribute("preemptive-auth"); - CredentialsProvider credsProvider = (CredentialsProvider) context.getAttribute(ClientContext.CREDS_PROVIDER); - HttpHost targetHost = (HttpHost) context.getAttribute(ExecutionContext.HTTP_TARGET_HOST); - if (authScheme != null) { - Credentials creds = credsProvider.getCredentials(new AuthScope(targetHost.getHostName(), targetHost.getPort())); - if (creds == null) { - throw new HttpException("No credentials for preemptive authentication"); - } - authState.setAuthScheme(authScheme); - authState.setCredentials(creds); - } - } - } - - } -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Conference.java b/src/main/java/com/telapi/api/inboundxml/elements/Conference.java deleted file mode 100644 index 1b9ce5e..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Conference.java +++ /dev/null @@ -1,76 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import com.telapi.api.domain.enums.HttpMethod; -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamConverter; -import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter; - -@XStreamAlias("Conference") -@XStreamConverter(value=ToAttributedValueConverter.class, strings={"conferenceName"}) -@SuppressWarnings("unused") -public class Conference implements DialElement{ - - private String conferenceName; - - @XStreamAsAttribute - private Boolean muted; - @XStreamAsAttribute - private Boolean beep; - @XStreamAsAttribute - private Boolean startConferenceOnEnter; - @XStreamAsAttribute - private Boolean endConferenceOnExit; - @XStreamAsAttribute - private Long maxParticipants; - @XStreamAsAttribute - private String waitUrl; - @XStreamAsAttribute - private String waitMethod; - @XStreamAsAttribute - private Boolean hangupOnStar; - @XStreamAsAttribute - private String callbackUrl; - @XStreamAsAttribute - private String callbackMethod; - @XStreamAsAttribute - private String waitSound; - @XStreamAsAttribute - private String waitSoundMethod; - @XStreamAsAttribute - private String digitsMatch; - @XStreamAsAttribute - private Boolean stayAlone; - - protected Conference() { - - } - - static Conference createConference(String conferenceName, Boolean muted, Boolean beep, Boolean startConferenceOnEnter, Boolean endConferenceOnExit, Long maxParticipants, String waitUrl, HttpMethod waitMethod, Boolean hangupOnStar, String callbackUrl, HttpMethod callbackMethod, String waitSound, HttpMethod waitSoundMethod, String digitsMatch, Boolean stayAlone) { - Conference c = new Conference(); - c.conferenceName = conferenceName; - c.muted = muted; - c.beep = beep; - c.startConferenceOnEnter = startConferenceOnEnter; - c.endConferenceOnExit = endConferenceOnExit; - c.maxParticipants = maxParticipants; - c.waitUrl = waitUrl; - c.waitMethod = waitMethod == null ? null : waitMethod.toString(); - c.hangupOnStar = hangupOnStar; - c.callbackUrl = callbackUrl; - c.callbackMethod = callbackMethod == null ? null : callbackMethod.toString(); - c.waitSound = waitSound; - c.waitSoundMethod = waitSoundMethod == null ? null : waitSoundMethod.toString(); - c.digitsMatch = digitsMatch; - c.stayAlone = stayAlone; - - return c; - } - - static Conference createConference(String conferenceName) { - Conference c = new Conference(); - c.conferenceName = conferenceName; - return c; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Dial.java b/src/main/java/com/telapi/api/inboundxml/elements/Dial.java deleted file mode 100644 index ea2769c..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Dial.java +++ /dev/null @@ -1,384 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import java.util.ArrayList; -import java.util.List; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.parameters.ConferenceParameters; -import com.telapi.api.inboundxml.parameters.DialParameters; -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamConverter; -import com.thoughtworks.xstream.annotations.XStreamImplicit; -import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter; - -@XStreamAlias("Dial") -@XStreamConverter(value=ToAttributedValueConverter.class, strings={"number"}) -@SuppressWarnings("unused") -public class Dial implements ResponseElement { - - @XStreamImplicit - private List elements; - - private String number; - - @XStreamAsAttribute - private String action; - @XStreamAsAttribute - private String method; - @XStreamAsAttribute - private Long timeout; - @XStreamAsAttribute - private Boolean hangupOnStar; - @XStreamAsAttribute - private Long timeLimit; - @XStreamAsAttribute - private String callerId; - @XStreamAsAttribute - private Boolean hideCallerId; - @XStreamAsAttribute - private String callerName; - @XStreamAsAttribute - private String dialMusic; - @XStreamAsAttribute - private String callbackUrl; - @XStreamAsAttribute - private String callbackMethod; - @XStreamAsAttribute - private Boolean confirmSound; - @XStreamAsAttribute - private String digitsMatch; - @XStreamAsAttribute - private Boolean straightToVm; - @XStreamAsAttribute - private String heartbeatUrl; - @XStreamAsAttribute - private String heartbeatMethod; - @XStreamAsAttribute - private String forwardedFrom; - - protected Dial() { - elements = new ArrayList(); - } - - /** - * Creates a new Dial element. The Dial element starts an outgoing dial from - * the current call. Once the dial is complete, the next element in the - * InboundXML document will be processed unless the action attribute is set. - * In that case the result of the dial is submitted as a GET or POST - * (depending on the method attribute) to the action URL, and the call - * continues using the InboundXML of that URL. - * - * By default the outgoing call will timeout if it is not answered after 30 - * seconds; however, the timeout attribute can be used to set a custom time. - * The length of the call is limited by the timeLimit attribute, which is 4 - * hours (14400 seconds) by default. - * - * Setting the hangupOnStar attribute to 'true' will allow the original call - * to terminate the outgoing call without having to hang up by dialing '*'. - * The original call then continues with the current InboundXML document, or - * if a URL was passed, the response from the action attribute. - * - * The callerId attribute can be set to any number, and will default to the - * caller id of the original caller. The number to be dialed should be - * nested within the Dial element. For more options, use the Number or - * Conference elements instead of a simple phone number. - * - * @param number - * The number which is to be dialed. If used, no other element - * can be appended to the Dial element. - * @param action - * URL where some parameters specific to Dial will be sent for - * further processing. The calling party can be redirected here - * upon the hang up of the B leg caller. - * @param method - * Method used to request the action URL. Defaults to POST. - * @param timeout - * The number of seconds calls made with are allowed - * silence before ending. Defaults to 30. - * @param hangupOnStar - * Boolean value specifying if pressing * should end the dial. - * Defaults to false. - * @param timeLimit - * The duration in seconds a call made through should - * occur for before ending. Defaults to 14400. - * @param callerId - * Number to display as calling. Defaults to the ID of phone - * being used. Defaults to the caller's caller ID. - * @param hideCallerId - * Boolean value specifying if the caller ID should be hidden or - * not. Defaults to false. - * @param dialMusic - * URL containing an audio file that can be played during the - * dial. - * @param callbackUrl - * URL requested once the dialed call connects. - * @param callbackMethod - * Method used to request the callback URL. Defaults to POST. - * @param confirmSound - * Boolean value specifying if a sound should play when dial is - * successful. Defaults to false. - * @param digitsMatch - * Specifies digits that TelAPI should listen for and send to the - * callbackUrl if a caller inputs them. Separate additional - * digits or digit patterns with a comma. Allowed values are - * digits, # and *. - * @param straightToVm - * Boolean value specifying if call should be redirected to voice - * mail immediately. Defaults to false. - * @param heartbeatUrl - * A URL TelAPI can request every 60 seconds during the call to - * notify of elapsed time and pass other general information. - * @param heartbeatMethod - * Method used to request the heartbeat URL. Defaults to POST. - * @param forwardedFrom - * Specifies the number to list the call as forwarded from. - * @return A new Dial element. - */ - public static Dial createDial(String number, String action, HttpMethod method, Long timeout, Boolean hangupOnStar, Long timeLimit, String callerId, Boolean hideCallerId, String dialMusic, String callbackUrl, HttpMethod callbackMethod, Boolean confirmSound, String digitsMatch, Boolean straightToVm, String heartbeatUrl, HttpMethod heartbeatMethod, String forwardedFrom) { - Dial d = new Dial(); - d.number = number; - d.action = action; - d.method = method == null ? null : method.toString(); - d.timeout = timeout; - d.hangupOnStar = hangupOnStar; - d.timeLimit = timeLimit; - d.callerId = callerId; - d.hideCallerId = hideCallerId; - d.dialMusic = dialMusic; - d.callbackUrl = callbackUrl; - d.callbackMethod = callbackMethod == null ? null : callbackMethod.toString(); - d.confirmSound = confirmSound; - d.digitsMatch = digitsMatch; - d.straightToVm = straightToVm; - d.heartbeatUrl = heartbeatUrl; - d.heartbeatMethod = heartbeatMethod == null ? null : heartbeatMethod.toString(); - d.forwardedFrom = forwardedFrom; - return d; - } - - /** - * Convenience method for creating a Dial element. - * @see #createDial(String, String, HttpMethod, Long, Boolean, Long, String, Boolean, String, String, String, HttpMethod, Boolean, String, Boolean, String, HttpMethod, String) - * @param params The parameters from which the Dial element is created. - * @return A new Dial element. - */ - public static Dial createDial(DialParameters params) { - Dial d = createDial(params.getNumber(), params.getAction(), - params.getMethod(), params.getTimeout(), - params.getHangupOnStar(), params.getTimeLimit(), - params.getCallerId(), params.getHideCallerId(), - params.getDialMusic(), params.getCallbackUrl(), - params.getCallbackMethod(), params.getConfirmSound(), - params.getDigitsMatch(), params.getStraightToVm(), - params.getHeartbeatUrl(), params.getHeartbeatMethod(), - params.getForwardedFrom()); - return d; - } - - /** - * Convenience method for creating a Dial element. - * @see #createDial(String, String, HttpMethod, Long, Boolean, Long, String, Boolean, String, String, String, HttpMethod, Boolean, String, Boolean, String, HttpMethod, String) - * @param number The number to dial. - * @return A new Dial element. - */ - public static Dial createDial(String number) { - Dial d = new Dial(); - d.number = number; - return d; - } - - /** - * Convenience method for creating a Dial element. - * @see #createDial(String, String, HttpMethod, Long, Boolean, Long, String, Boolean, String, String, String, HttpMethod, Boolean, String, Boolean, String, HttpMethod, String) - * @return A new Dial element. - */ - public static Dial createDial() { - return new Dial(); - } - - /** - * Creates a Number element. The Number element must be nested within the - * Dial element. It can be used to send DTFM tones or redirect to InboundXML - * when called parties when they are answered. Number can also be used to - * dial multiple phones simultaneously by using additional Number elements. - * If multiple Number elements are used to specify additional calls, the - * first call to answer is connected, and the rest of the outgoing calls are - * canceled. - * - * @param number - * The number to be called (required). - * @param sendDigits - * Specifies which DTFM tones to play to the called party. w - * indicates a half second pause. - * @param url - * URL that the called party can be directed to before the call - * beings. - * @param callbackMethod - * Method used to request the url. Defaults to POST. - * @return The Dial element to which the current Number element will be - * added. - */ - public Dial number(String number, String sendDigits, String url, HttpMethod callbackMethod) { - Number n = Number.createNumber(number, sendDigits, url, callbackMethod); - elements.add(n); - return this; - } - - /** - * Appends a conference element to the dial element. Like the Number - * element, the Conference element is only nested within the Dial element. - * Instead of dialing a number, the Conference element allows the ongoing - * call to connect to a conference room. - * - * The conference room name is nested within the Conference element, and all - * calls connected to the same conference room name will be in the room - * together. - * - * By default all callers will hear hold music until two callers are in the - * room. To change this behavior, startConferenceOnEnter may be set to - * 'true' or 'false'. The waitUrl attribute may be used to set a custom MP3, - * or for greater customization, the URL of a InboundXML document to use - * while callers are waiting. If a InboundXML document is used, the Gather , - * Record and Dial elements are not allowed. - * - * When callers enter or exit the room, a beep is heard if the beep - * attribute is set to the default value of 'true'. A participant can be - * initially muted by setting the muted attribute to 'true'. - * - * The conference room can be limited to a certain number of participants by - * setting the maxParticipants attribute. The endConferenceOnExit attribute - * is used to end a conference when an specific user (or any one of many - * users) exits. - * - * @param conferenceName - * The conference name (required). - * @param muted - * Boolean value specifying if the conference should be muted. - * Defaults to false. - * @param beep - * Boolean value specifying if a beep should play upon entrance - * to conference. Defaults to false. - * @param startConferenceOnEnter - * Boolean value specifying if conference should begin upon - * entrance. Defaults to true. - * @param endConferenceOnExit - * Boolean value specifying if conference should begin upon exit. - * Defaults to true. - * @param maxParticipants - * The maximum number of participants allowed in the conference - * call. Defaults to 40. - * @param waitUrl - * URL conference participants can be sent to while they wait for - * entrance into the conference. - * @param waitMethod - * Method used to request waitUrl. Defaults to POST. - * @param hangupOnStar - * Boolean value specifying if pressing * should end the - * conference. Defaults to false. - * @param callbackUrl - * URL where some parameters specific to Conference will be sent - * once it is completed. - * @param callbackMethod - * Method used to request the callback URL. Defaults to POST. - * @param waitSound - * URL to sound that can be played while waiting to enter the - * conference. - * @param waitSoundMethod - * Method used to request the waitsound URL. Defaults to POST. - * @param digitsMatch - * Specifies digits that TelAPI should listen for and send to the - * callbackUrl if a caller inputs them. Seperate additional - * digits or digit patterns with a comma. Can be a digit, # or *. - * @param stayAlone - * Boolean value specifying if the caller should stay alone in - * the conference call. Defaults to true. - * @return The Dial element to which the current Conference element will be - * added. - */ - public Dial conference(String conferenceName, Boolean muted, Boolean beep, Boolean startConferenceOnEnter, Boolean endConferenceOnExit, Long maxParticipants, String waitUrl, HttpMethod waitMethod, Boolean hangupOnStar, String callbackUrl, HttpMethod callbackMethod, String waitSound, HttpMethod waitSoundMethod, String digitsMatch, Boolean stayAlone) { - Conference c = Conference.createConference(conferenceName, muted, beep, startConferenceOnEnter, endConferenceOnExit, maxParticipants, waitUrl, waitMethod, hangupOnStar, callbackUrl, callbackMethod, waitSound, waitSoundMethod, digitsMatch, stayAlone); - elements.add(c); - return this; - } - - /** - * Convenience method for creating a Conference element. - * @see #conference(String, Boolean, Boolean, Boolean, Boolean, Long, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, Boolean) - * @param conferenceName The name of the created Conference. - * @return The Dial element to which the current Conference element will be - * added. - */ - public Dial conference(String conferenceName) { - Conference c = Conference.createConference(conferenceName); - elements.add(c); - return this; - } - - /** - * Convenience method for creating a Conference element. - * @see #conference(String, Boolean, Boolean, Boolean, Boolean, Long, String, HttpMethod, Boolean, String, HttpMethod, String, HttpMethod, String, Boolean) - * @param params The parameters from which the Conference element is created. - * @return The Dial element to which the current Conference element will be - * added. - */ - public Dial conference(ConferenceParameters params) { - Conference c = Conference.createConference(params.getConferenceName(), - params.getMuted(), params.getBeep(), - params.getStartConferenceOnEnter(), - params.getEndConferenceOnExit(), params.getMaxParticipants(), - params.getWaitUrl(), params.getWaitMethod(), - params.getHangupOnStar(), params.getCallbackUrl(), - params.getCallbackMethod(), params.getWaitSound(), - params.getWaitSoundMethod(), params.getDigitsMatch(), - params.getStayAlone()); - elements.add(c); - return this; - } - - - /** - * The Sip element is nested within the Dial element, and is used to call to - * sip addresses. The desired sip address to call is nested within the - * opening and closing Sip elements, just as with a number when using the - * Number element. The opening and closing sip tags may be omitted - * completely by simply prefixing the desired sip address with "sip:" when - * using it within the Dial element like so: - * Dialsip:username@domain.comDial. - * - * If multiple Sip elements are used, the first call to answer is connected, - * and the rest of the outgoing calls are canceled. - * - * @param sipAddress - * The sip address (required). - * @param sendDigits - * Specifies which DTFM tones to play to the called party. w - * indicates a half second pause. Allowed values are numbers, and - * w. - * @param url - * URL that the called party can be directed to before the call - * beings. - * @param method - * Method used to request the url. Defaults to POST. - * @return The Dial element to which the current Sip element will be added. - */ - public Dial sip(String sipAddress, String sendDigits, String url, HttpMethod method) { - Sip s = Sip.createSip(sipAddress, sendDigits, url, method); - elements.add(s); - return this; - } - - /** - * Convenience method for creating a new Sip element. - * @see #sip(String, String, String, HttpMethod) - * @param sipAddress - * The sip address (required). - * @return The Dial element to which the current Sip element will be added. - */ - public Dial sip(String sipAddress) { - Sip s = Sip.createSip(sipAddress, null, null, null); - elements.add(s); - return this; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/DialElement.java b/src/main/java/com/telapi/api/inboundxml/elements/DialElement.java deleted file mode 100644 index 3429de6..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/DialElement.java +++ /dev/null @@ -1,5 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -public interface DialElement { - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Gather.java b/src/main/java/com/telapi/api/inboundxml/elements/Gather.java deleted file mode 100644 index 8cfd3ce..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Gather.java +++ /dev/null @@ -1,129 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import java.util.ArrayList; -import java.util.List; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.enums.Voice; -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamImplicit; - -@XStreamAlias("Gather") -@SuppressWarnings("unused") -public class Gather implements ResponseElement { - - @XStreamImplicit - private List elements; - - @XStreamAsAttribute - private String action; - @XStreamAsAttribute - private String method; - @XStreamAsAttribute - private Long timeout; - @XStreamAsAttribute - private String finishOnKey; - @XStreamAsAttribute - private Long numDigits; - - protected Gather() { - elements = new ArrayList(); - } - - /** - * Creates a Gather element. The Gather element allows callers to input - * digits to the call using their keypads which are then sent via POST or - * GET to a URL for further processing. There are many ways to get creative - * with Gather but its most common use case is in creating IVR menus. This - * is accomplished by nesting prompts for input from the caller using the - * Say or Play elements. - * - * By default an unlimited number of digits can be gathered, the Gather will - * timeout after 5 seconds pass without any new digits or once the '#' key - * is pressed, and the gathered digits will be submitted to the current - * InboundXML document. This default behavior of Gather can be altered using - * its provided element attributes. - * - * @param action URL where the gathered digits will be sent for further processing (required). - * @param method Method used to request the action URL. Defaults to POST. - * @param timeout The number of seconds Gather should wait for digits to be entered before requesting the action URL. Timeout resets with each new digit input. Defaults to 5. - * @param finishOnKey The key a caller can press to end the Gather. Allowed values are digits, # and *. Defaults to #. - * @param numDigits The maximum number of digits to Gather. A number greater than or equal to 0. Defaults to no limit. - * @return The Gather element which is being created. - */ - public static Gather createGather(String action, HttpMethod method, - Long timeout, String finishOnKey, Long numDigits) { - Gather g = new Gather(); - g.action = action; - g.method = method == null ? null : method.toString(); - g.timeout = timeout; - g.finishOnKey = finishOnKey; - g.numDigits = numDigits; - return g; - } - - /** - * Convenience method for creating a new Gather element. - * @param action URL where the gathered digits will be sent for further processing (required). - * @return The Gather element which is being created. - */ - public static Gather createGather(String action) { - Gather g = new Gather(); - g.action = action; - return g; - } - - /** - * @see Response#play(Long, String) - * @param loop - * @param resource - * @return - */ - public Gather play(Long loop, String resource) { - elements.add(Play.createPlay(loop, resource)); - return this; - } - - /** - * @see Response#say(String, Voice, Long) - * @param text - * @param voice - * @param loop - * @return - */ - public Gather say(String text, Voice voice, Long loop) { - elements.add(Say.createSay(text, voice, loop)); - return this; - } - - /** - * @see Response#say(String) - * @param text - * @return - */ - public Gather say(String text) { - elements.add(Say.createSay(text, null, null)); - return this; - } - - /** - * @see Response#pause(Long) - * @param length - * @return - */ - public Gather pause(Long length) { - elements.add(Pause.createPause(length)); - return this; - } - - /** - * @see Response#pause() - * @return - */ - public Gather pause() { - elements.add(Pause.createPause(null)); - return this; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/GatherElement.java b/src/main/java/com/telapi/api/inboundxml/elements/GatherElement.java deleted file mode 100644 index 3d272a5..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/GatherElement.java +++ /dev/null @@ -1,5 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -public interface GatherElement { - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/GetSpeech.java b/src/main/java/com/telapi/api/inboundxml/elements/GetSpeech.java deleted file mode 100644 index f1513a8..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/GetSpeech.java +++ /dev/null @@ -1,138 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import java.util.ArrayList; -import java.util.List; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.enums.Voice; -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamImplicit; - -@XStreamAlias("GetSpeech") -@SuppressWarnings("unused") -public class GetSpeech implements ResponseElement { - - @XStreamImplicit - private List elements; - - @XStreamAsAttribute - private String grammar; - @XStreamAsAttribute - private String action; - @XStreamAsAttribute - private String method; - @XStreamAsAttribute - private Long timeout; - @XStreamAsAttribute - private Boolean playBeep; - - protected GetSpeech() { - elements = new ArrayList(); - } - - /** - * Creates a new GetSpeech element. The GetSpeech element is used to - * translate a callers voice into text. That translated text is then - * submitted to an action URL for further processing and use in your - * application. - * - * @param grammar - * The URL of an XML file defining acceptable words and phrases - * that a user might say during the call. For information on - * creating grammar files see this - * W3 reference. - * @param action - * A URL where the converted voice text will be forwarded. - * @param method - * Method used to request the action URL. Defaults to POST. - * @param timeout - * Amount of seconds GetSpeech should wait in silence before - * requesting the action URL. Defaults to 5. - * @param playBeep - * Specifies if a beep should play back to the caller when - * GetSpeech begins. Defaults to false. - * @return A new GetSpeech element. - */ - public static GetSpeech createGetSpeech(String grammar, String action, - HttpMethod method, Long timeout, Boolean playBeep) { - GetSpeech g = new GetSpeech(); - g.grammar = grammar; - g.action = action; - g.method = method == null ? null : method.toString(); - g.timeout = timeout; - g.playBeep = playBeep; - return g; - } - - /** - * Convenience method for creating a new GetSpeech element. - * @see #createGetSpeech(String, String, HttpMethod, Long, Boolean) - * @param grammar - * The URL of an XML file defining acceptable words and phrases - * that a user might say during the call. For information on - * creating grammar files see this - * W3 reference. - * @param action A URL where the converted voice text will be forwarded. - * @return A new GetSpeech element. - */ - public static GetSpeech createGetSpeech(String grammar, String action) { - GetSpeech g = new GetSpeech(); - g.grammar = grammar; - g.action = action; - return g; - } - - /** - * @see Response#play(Long, String) - * @param loop - * @param resource - * @return - */ - public GetSpeech play(Long loop, String resource) { - elements.add(Play.createPlay(loop, resource)); - return this; - } - - /** - * @see Response#say(String, Voice, Long) - * @param text - * @param voice - * @param loop - * @return - */ - public GetSpeech say(String text, Voice voice, Long loop) { - elements.add(Say.createSay(text, voice, loop)); - return this; - } - - /** - * @see Response#say(String) - * @param text - * @return - */ - public GetSpeech say(String text) { - elements.add(Say.createSay(text, null, null)); - return this; - } - - /** - * @see Response#pause(Long) - * @param length - * @return - */ - public GetSpeech pause(Long length) { - elements.add(Pause.createPause(length)); - return this; - } - - /** - * @see Response#pause() - * @return - */ - public GetSpeech pause() { - elements.add(Pause.createPause(null)); - return this; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Hangup.java b/src/main/java/com/telapi/api/inboundxml/elements/Hangup.java deleted file mode 100644 index 4b567a3..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Hangup.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamConverter; -import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter; - -@XStreamAlias("Hangup") -@SuppressWarnings("unused") -public class Hangup implements ResponseElement { - - @XStreamAsAttribute - private Long schedule; - - protected Hangup() { - - } - - static Hangup createHangup(Long schedule) { - Hangup h = new Hangup(); - h.schedule = schedule; - return h; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Number.java b/src/main/java/com/telapi/api/inboundxml/elements/Number.java deleted file mode 100644 index a6829b5..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Number.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import com.telapi.api.domain.enums.HttpMethod; -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamConverter; -import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter; - -@XStreamAlias("Number") -@XStreamConverter(value=ToAttributedValueConverter.class, strings={"number"}) -@SuppressWarnings("unused") -public class Number implements DialElement{ - - private String number; - - @XStreamAsAttribute - private String sendDigits; - @XStreamAsAttribute - private String url; - @XStreamAsAttribute - private String method; - - protected Number() { - - } - - static Number createNumber(String number, String sendDigits, String url, HttpMethod method) { - Number n = new Number(); - n.number = number; - n.sendDigits = sendDigits; - n.url = url; - n.method = method == null ? null : method.toString(); - return n; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Pause.java b/src/main/java/com/telapi/api/inboundxml/elements/Pause.java deleted file mode 100644 index daa34b9..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Pause.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamConverter; -import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter; - -@XStreamAlias("Pause") -@SuppressWarnings("unused") -public class Pause implements ResponseElement, GatherElement { - - @XStreamAsAttribute - private Long length; - - protected Pause() { - - } - - static Pause createPause(Long length) { - Pause p = new Pause(); - p.length = length; - return p; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Play.java b/src/main/java/com/telapi/api/inboundxml/elements/Play.java deleted file mode 100644 index 9dd0da9..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Play.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamConverter; -import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter; - -@XStreamAlias("Play") -@XStreamConverter(value=ToAttributedValueConverter.class, strings={"resource"}) -@SuppressWarnings("unused") -public class Play implements ResponseElement, GatherElement{ - - private String resource; - @XStreamAsAttribute - private Long loop; - - protected Play() { - - } - - static Play createPlay(Long loop, String resource) { - Play p = new Play(); - p.loop = loop; - p.resource = resource; - return p; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Record.java b/src/main/java/com/telapi/api/inboundxml/elements/Record.java deleted file mode 100644 index 35b3f37..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Record.java +++ /dev/null @@ -1,57 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.enums.RecordingFileFormat; -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; - -@XStreamAlias("Record") -@SuppressWarnings("unused") -public class Record implements ResponseElement { - @XStreamAsAttribute - private String action; - @XStreamAsAttribute - private String method; - @XStreamAsAttribute - private Long timeout; - @XStreamAsAttribute - private String finishOnKey; - @XStreamAsAttribute - private Long maxLength; - @XStreamAsAttribute - private Boolean transcribe; - @XStreamAsAttribute - private String transcribeCallback; - @XStreamAsAttribute - private Boolean playBeep; - @XStreamAsAttribute - private Boolean bothLegs; - @XStreamAsAttribute - private String fileFormat; - - protected Record() { - - } - - static Record createRecord(String action, HttpMethod method, Long timeout, String finishOnKey, Long maxLength, Boolean transcribe, String transcribeCallback, Boolean playBeep, Boolean bothLegs, RecordingFileFormat fileFormat) { - Record r = new Record(); - r.action = action; - r.method = method == null ? null : method.toString(); - r.timeout = timeout; - r.finishOnKey = finishOnKey; - r.maxLength = maxLength; - r.transcribe = transcribe; - r.transcribeCallback = transcribeCallback; - r.playBeep = playBeep; - r.bothLegs = bothLegs; - r.fileFormat = fileFormat == null ? null : fileFormat.toString(); - return r; - } - - static Record createRecord(String action) { - Record r = new Record(); - r.action = action; - return r; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Redirect.java b/src/main/java/com/telapi/api/inboundxml/elements/Redirect.java deleted file mode 100644 index fea8508..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Redirect.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.enums.Voice; -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamConverter; -import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter; - -@XStreamAlias("Redirect") -@XStreamConverter(value=ToAttributedValueConverter.class, strings={"url"}) -@SuppressWarnings("unused") -public class Redirect implements ResponseElement { - - @XStreamAsAttribute - private String method; - - private String url; - - protected Redirect() { - - } - - static Redirect createRedirect(String url, HttpMethod method) { - Redirect r = new Redirect(); - r.url = url; - r.method = method == null ? null : method.toString(); - return r; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Reject.java b/src/main/java/com/telapi/api/inboundxml/elements/Reject.java deleted file mode 100644 index 1643f08..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Reject.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import com.telapi.api.inboundxml.elements.enums.RejectReason; -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamConverter; -import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter; - -@XStreamAlias("Reject") -@SuppressWarnings("unused") -public class Reject implements ResponseElement { - - @XStreamAsAttribute - private String reason; - - protected Reject() { - - } - - static Reject createReject(RejectReason reason) { - Reject r = new Reject(); - r.reason = reason == null ? null : reason.toString(); - return r; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Response.java b/src/main/java/com/telapi/api/inboundxml/elements/Response.java deleted file mode 100644 index 02064dc..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Response.java +++ /dev/null @@ -1,428 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import java.util.ArrayList; -import java.util.List; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.enums.RecordingFileFormat; -import com.telapi.api.inboundxml.elements.enums.RejectReason; -import com.telapi.api.inboundxml.elements.enums.Voice; -import com.telapi.api.inboundxml.parameters.RecordParameters; -import com.thoughtworks.xstream.XStream; -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamImplicit; - -@XStreamAlias("Response") -public class Response { - @XStreamImplicit - private List elements; - - private static XStream xstream; - - static { - xstream = new XStream(); - xstream.processAnnotations(new Class[] { Response.class, Record.class, - Play.class, Say.class, Number.class, Dial.class, - Conference.class, Sip.class, Hangup.class, Redirect.class, - Reject.class, Gather.class, Sms.class, Pause.class, GetSpeech.class }); - } - - protected Response() { - elements = new ArrayList(); - } - - /** - * Creates a new basic response object. This should be called at the - * beginning of each InboundXML generation. - * - * @return A newly generated Response element. - */ - public static Response create() { - return new Response(); - } - - /** - * Adds a Play element to a Response element. The element plays an - * mp3 file for the caller. - * - * @param loop - * The amount of times the Play should be repeated. Zero - * indicates an infinite loop. The allowed values are greater - * than or equal to 0. Defaults to 1. - * @param resource - * The URL to the mp3 file which should be played (required). - * @return The Response element which is being created. - */ - public Response play(Long loop, String resource) { - elements.add(Play.createPlay(loop, resource)); - return this; - } - - /** - * Adds a Say element to a Response element. The Say element reads text to - * the caller using a text-to-speech engine. Say is good to use with dynamic - * data, while Play may be a better choice for static information or - * prompts. - * - * @param text - * The text to be spoken (required). - * @param voice - * The type of voice that will read the text to the caller. Defaults to WOMAN. - * @param loop - * The amount of times the spoken text should be repeated. Zero - * indicates an infinite loop. The allowed values are greater - * than or equal to 0. Defaults to 1. - * @return The Response element which is being created. - */ - public Response say(String text, Voice voice, Long loop) { - elements.add(Say.createSay(text, voice, loop)); - return this; - } - - /** - * Convenience method for creating a Say element. Will be spoken in the - * WOMAN voice without looping. - * - * @param text - * The text to be spoken. - * @return The Response element which is being created. - */ - public Response say(String text) { - elements.add(Say.createSay(text, null, null)); - return this; - } - - /** - * Adds a Record element to a Response element. The Record element is used - * to record audio during a call. It can occur anywhere within an InboundXML - * document but will only begin recording once it has been reached. This - * means Record would have to be the first element after Response for the - * entire call to be recorded. When the recording is complete, a URL of the - * recorded audio is created and submitted as a GET or POST to the action - * URL. - * - * Similar to the Gather element, a timeout value sets how much silence to - * allow before the recording ends, maxLength sets how long the recording - * may be, and the finishOnKey is used to set which keys will end the - * recording. By default, the action and method specify that Record should - * make a POST to the URL of the current InboundXML document. - * - * @param action - * URL where some parameters specific to Record will be sent for - * further processing (required). - * @param method - * Specifies the method to use when requesting the action or - * transcribeCallback URL. - * @param timeout - * The number of seconds Record should wait during silence before - * ending. Greater than or equal to 0. Defaults to 5. - * @param finishOnKey - * The key a caller can press to end the Record. Allowed values - * are 0-9, # or *. Defaults to #. - * @param maxLength - * The maximum length in seconds a recording should be. Defaults - * to 3600. - * @param transcribe - * Boolean value specifying if the recording should be - * transcribed. Defaults to false. - * @param transcribeCallback - * URL where the recording transcription will be sent. Defaults - * to the current InboundXML document. - * @param playBeep - * Boolean value specifying if a beep should be played when the - * recording begins. Defaults to false. - * @param bothLegs - * Boolean value specifying if both call legs should be recorded. - * Defaults to false. - * @param fileFormat - * The recording file format. Can be mp3 or wav. Default is mp3. - * @return The Response element which is being created. - */ - public Response record(String action, HttpMethod method, Long timeout, - String finishOnKey, Long maxLength, Boolean transcribe, - String transcribeCallback, Boolean playBeep, Boolean bothLegs, - RecordingFileFormat fileFormat) { - elements.add(Record.createRecord(action, method, timeout, finishOnKey, - maxLength, transcribe, transcribeCallback, playBeep, bothLegs, - fileFormat)); - return this; - } - - /** - * Convenience method for appending a new Record element. - * - * @see #record(String, HttpMethod, Long, String, Long, Boolean, String, - * Boolean, Boolean, RecordingFileFormat) - * @param action - * URL where some parameters specific to Record will be sent for - * further processing (required). - * @return The Response element which is being created. - */ - public Response record(String action) { - elements.add(Record.createRecord(action)); - return this; - } - - /** - * Convenience method for appending a new Record element. - * - * @see #record(String, HttpMethod, Long, String, Long, Boolean, String, - * Boolean, Boolean, RecordingFileFormat) - * - * @param params - * The RecordParameters used to create the Record element. - * @return The Response element which is being created. - */ - public Response record(RecordParameters params) { - elements.add(Record.createRecord(params.getAction(), - params.getMethod(), params.getTimeout(), - params.getFinishOnKey(), params.getMaxLength(), - params.getTranscribe(), params.getTranscribeCallback(), - params.getPlayBeep(), params.getBothLegs(), - params.getFileFormat())); - return this; - } - - /** - * Adds a Dial element to a Response element. The Dial element starts an - * outgoing dial from the current call. Once the dial is complete, the next - * element in the InboundXML document will be processed unless the action - * attribute is set. In that case the result of the dial is submitted as a - * GET or POST (depending on the method attribute) to the action URL, and - * the call continues using the InboundXML of that URL. - * - * By default the outgoing call will timeout if it is not answered after 30 - * seconds; however, the timeout attribute can be used to set a custom time. - * The length of the call is limited by the timeLimit attribute, which is 4 - * hours (14400 seconds) by default. - * - * Setting the hangupOnStar attribute to 'true' will allow the original call - * to terminate the outgoing call without having to hang up by dialing '*'. - * The original call then continues with the current InboundXML document, or - * if a URL was passed, the response from the action attribute. - * - * The callerId attribute can be set to any number, and will default to the - * caller id of the original caller. The number to be dialed should be - * nested within the Dial element. For more options, use the Number or - * Conference elements instead of a simple phone number. - * - * @param dial - * A new Dial element which must be created by calling - * Dial.create(...). - * @return The Response element which is being created. - */ - public Response dial(Dial dial) { - elements.add(dial); - return this; - } - - /** - * Adds a Hangup element to the Response element. The Hangup element will - * hangup the current call. - * - * @param schedule - * Specifies in seconds when a hangup should occur during a call. - * Defaults to 0 - * @return The Response element which is being created. - */ - public Response hangup(Long schedule) { - elements.add(Hangup.createHangup(schedule)); - return this; - } - - /** - * Conveniece method for creating a new Hangup element. - * - * @see #hangup(Long) - * @return The Response element which is being created. - */ - public Response hangup() { - elements.add(Hangup.createHangup(null)); - return this; - } - - /** - * Convenience method for creating a redirect element. - * - * @see #redirect(String, HttpMethod) - * @param url - * The URL to which to redirect. - * @return The Response element which is being created. - */ - public Response redirect(String url) { - elements.add(Redirect.createRedirect(url, null)); - return this; - } - - /** - * Adds a Redirect element to the Response element. The Redirect element - * directs the call to another InboundXML document. The URL of the - * InboundXML document is nested within the Redirect element, and the method - * attribute sets if the request will be a GET or a POST. In addition to the - * default voice request parameters, the parameter UrlBase will also be - * forwarded when the redirect request is made. UrlBase points to the base - * InboundXML document where the Redirect occurred. - * - * @param url - * The URL to which to redirect. - * @param method - * Method used to request the InboundXML doucment the call is - * being redirected to. Defaults to POST. - * @return The Response element which is being created. - */ - public Response redirect(String url, HttpMethod method) { - elements.add(Redirect.createRedirect(url, method)); - return this; - } - - /** - * Adds a Reject element to the Response element. The Reject element will - * reject an incoming call. The reason attribute determines if the caller - * hears a busy signal or a not-in-service message. - * - * @param reason - * The reason to list as why the call was rejected. Defaults to - * rejected. - * @return The response element which is being created. - */ - public Response reject(RejectReason reason) { - elements.add(Reject.createReject(reason)); - return this; - } - - /** - * Convenience method for adding a Reject element to the current Response - * element. - * - * @see #reject(RejectReason) - * @return The Response element which is being created. - */ - public Response reject() { - elements.add(Reject.createReject(null)); - return this; - } - - /** - * Adds a Pause element to the Response element. The Pause element will - * pause the call, holding for the number of seconds set by the length - * attribute. - * - * @param length - * The length in seconds the pause should be. Allowed values are - * 1 or greater. Defaults to 1. - * @return The Response element which is being created. - */ - public Response pause(Long length) { - elements.add(Pause.createPause(length)); - return this; - } - - /** - * Adds a Pause element to the Response element. Pauses for one second. - * - * @see #pause(Long) - * @return The response element which is being created. - */ - public Response pause() { - elements.add(Pause.createPause(null)); - return this; - } - - /** - * Appends an SMS Element to the current Response element. TelAPI allows SMS - * messages to be sent during a call using the Sms element. The SMS receiver - * (to attribute) must be a valid phone number and the sender (from - * attribute) must be one of your registered TelAPI numbers. Text of the - * message should be placed inside the element and can not be longer than - * 160 characters. - * - * The action attribute can be used to direct the SMS to a new InboundXML - * document for processing. If directed to a new InboundXML using the action - * attribute, all InboundXML beneath the Sms element in the originating - * InboundXML document is disregarded. Similarly, the statusCallback - * attribute is provided to report the outcome of the SMS transmission. - * - * @param text - * The content of the SMS. - * @param to - * The phone number that will receive the SMS message (required). - * @param from - * The number that will display as sending the SMS message - * (required). - * @param action - * URL where parameters specific to Sms are sent. - * @param method - * Method used to request the action URL. Defaults to POST. - * @param statusCallback - * URL where the status of the SMS can be sent. - * @return The Response element which is being created. - */ - public Response sms(String text, String to, String from, String action, - HttpMethod method, String statusCallback) { - elements.add(Sms.createSms(text, to, from, action, method, - statusCallback)); - return this; - } - - /** - * Convenience method for adding an Sms element. - * - * @see #sms(String, String, String, String, HttpMethod, String) - * @param text - * The content of the SMS. - * @param to - * The phone number that will receive the SMS message (required). - * @param from - * The number that will display as sending the SMS message - * (required). - * @return The Response element which is being created. - */ - public Response sms(String text, String to, String from) { - elements.add(Sms.createSms(text, to, from, null, null, null)); - return this; - } - - /** - * Adds a Gather element to the current Response element. The Gather element - * allows callers to input digits to the call using their keypads which are - * then sent via POST or GET to a URL for further processing. There are many - * ways to get creative with Gather but its most common use case is in - * creating IVR menus. This is accomplished by nesting prompts for input - * from the caller using the Say or Play elements. - * - * By default an unlimited number of digits can be gathered, the Gather will - * timeout after 5 seconds pass without any new digits or once the '#' key - * is pressed, and the gathered digits will be submitted to the current - * InboundXML document. This default behavior of Gather can be altered using - * its provided element attributes. - * - * @param gather - * The Gather element to add. It must be created by calling the - * Gather.create(...) method. - * @return The Response element which is being created. - */ - public Response gather(Gather gather) { - elements.add(gather); - return this; - } - - /** - * Adds a GetSpeech element to the current Response element. The GetSpeech - * element is used to translate a callers voice into text. That translated - * text is then submitted to an action URL for further processing and use in - * your application. - * - * @param getSpeech - * The GetSpeech element to add. It must be created by calling - * the GetSpeech.create(...) method. - * @return The Response element which is being created. - */ - public Response getSpeech(GetSpeech getSpeech) { - elements.add(getSpeech); - return this; - } - - public String createXml() { - return xstream.toXML(this); - } -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/ResponseElement.java b/src/main/java/com/telapi/api/inboundxml/elements/ResponseElement.java deleted file mode 100644 index 8c8f967..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/ResponseElement.java +++ /dev/null @@ -1,5 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -public interface ResponseElement { - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Say.java b/src/main/java/com/telapi/api/inboundxml/elements/Say.java deleted file mode 100644 index c759f4d..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Say.java +++ /dev/null @@ -1,34 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import com.telapi.api.inboundxml.elements.enums.Voice; -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamConverter; -import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter; - -@XStreamAlias("Say") -@XStreamConverter(value=ToAttributedValueConverter.class, strings={"text"}) -@SuppressWarnings("unused") -public class Say implements ResponseElement, GatherElement { - - @XStreamAsAttribute - private Long loop; - - @XStreamAsAttribute - private String voice; - - private String text; - - protected Say() { - - } - - static Say createSay(String text, Voice voice, Long loop) { - Say p = new Say(); - p.loop = loop; - p.text = text; - p.voice = voice == null ? null : voice.toString(); - return p; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Sip.java b/src/main/java/com/telapi/api/inboundxml/elements/Sip.java deleted file mode 100644 index ff39f60..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Sip.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import com.telapi.api.domain.enums.HttpMethod; -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamConverter; -import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter; - -@XStreamAlias("Sip") -@XStreamConverter(value=ToAttributedValueConverter.class, strings={"sipAddress"}) -@SuppressWarnings("unused") -public class Sip implements DialElement{ - - private String sipAddress; - - @XStreamAsAttribute - private String sendDigits; - @XStreamAsAttribute - private String url; - @XStreamAsAttribute - private String method; - - protected Sip() { - - } - - static Sip createSip(String sipAddress, String sendDigits, String url, HttpMethod method) { - Sip s = new Sip(); - s.sipAddress = sipAddress; - s.sendDigits = sendDigits; - s.url = url; - s.method = method == null ? null : method.toString(); - return s; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/Sms.java b/src/main/java/com/telapi/api/inboundxml/elements/Sms.java deleted file mode 100644 index da4fbcf..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/Sms.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.telapi.api.inboundxml.elements; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.enums.Voice; -import com.thoughtworks.xstream.annotations.XStreamAlias; -import com.thoughtworks.xstream.annotations.XStreamAsAttribute; -import com.thoughtworks.xstream.annotations.XStreamConverter; -import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter; - -@XStreamAlias("Sms") -@XStreamConverter(value=ToAttributedValueConverter.class, strings={"text"}) -@SuppressWarnings("unused") -public class Sms implements ResponseElement { - - private String text; - - @XStreamAsAttribute - private String to; - @XStreamAsAttribute - private String from; - @XStreamAsAttribute - private String action; - @XStreamAsAttribute - private String method; - @XStreamAsAttribute - private String statusCallback; - - protected Sms() { - - } - - static Sms createSms(String text, String to, String from, String action, HttpMethod method, String statusCallback) { - Sms s = new Sms(); - s.text = text; - s.to = to; - s.from = from; - s.action = action; - s.method = method == null ? null : method.toString(); - s.statusCallback = statusCallback; - return s; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/enums/RecordingFileFormat.java b/src/main/java/com/telapi/api/inboundxml/elements/enums/RecordingFileFormat.java deleted file mode 100644 index a3a27f4..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/enums/RecordingFileFormat.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.telapi.api.inboundxml.elements.enums; - -import java.util.HashMap; -import java.util.Map; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum RecordingFileFormat { - MP3, WAV; - - private static Map map; - - static { - map = new HashMap(); - map.put(MP3, "mp3"); - map.put(WAV, "wav"); - } - - public static RecordingFileFormat forValue(String s) { - return EnumUtil.getValue(s, map, null); - } - - @Override - public String toString() { - return map.get(this); - } -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/enums/RejectReason.java b/src/main/java/com/telapi/api/inboundxml/elements/enums/RejectReason.java deleted file mode 100644 index d650571..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/enums/RejectReason.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.telapi.api.inboundxml.elements.enums; - -import java.util.HashMap; -import java.util.Map; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum RejectReason { - BUSY, REJECTED; - - private static Map map; - - static { - map = new HashMap(); - map.put(BUSY, "busy"); - map.put(REJECTED, "rejected"); - } - - public static RejectReason forValue(String s) { - return EnumUtil.getValue(s, map, null); - } - - @Override - public String toString() { - return map.get(this); - } -} diff --git a/src/main/java/com/telapi/api/inboundxml/elements/enums/Voice.java b/src/main/java/com/telapi/api/inboundxml/elements/enums/Voice.java deleted file mode 100644 index cb60670..0000000 --- a/src/main/java/com/telapi/api/inboundxml/elements/enums/Voice.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.telapi.api.inboundxml.elements.enums; - -import java.util.HashMap; -import java.util.Map; - -import com.telapi.api.domain.enums.util.EnumUtil; - -public enum Voice { - MAN, WOMAN; - - private static Map map; - - static { - map = new HashMap(); - map.put(MAN, "man"); - map.put(WOMAN, "woman"); - } - - public static Voice forValue(String s) { - return EnumUtil.getValue(s, map, null); - } - - @Override - public String toString() { - return map.get(this); - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/ConferenceExample.java b/src/main/java/com/telapi/api/inboundxml/example/ConferenceExample.java deleted file mode 100644 index ceb701c..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/ConferenceExample.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.inboundxml.elements.Dial; -import com.telapi.api.inboundxml.elements.Response; -import com.telapi.api.inboundxml.parameters.ConferenceParameters; - -public class ConferenceExample { - - public static void main(String[] args) { - ConferenceParameters params = new ConferenceParameters(); - params.setConferenceName("TelAPIExampleChat"); - params.setStartConferenceOnEnter(true); - params.setCallbackUrl("http://liveoutput.com/telapi-inboundxml-callback-action"); - params.setHangupOnStar(true); - params.setMaxParticipants(5L); - - String inboundXml = Response.create() - .dial( - Dial.createDial() - .conference(params) - ) - .createXml(); - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/DialExample.java b/src/main/java/com/telapi/api/inboundxml/example/DialExample.java deleted file mode 100644 index 27ef5f3..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/DialExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.Dial; -import com.telapi.api.inboundxml.elements.Response; -import com.telapi.api.inboundxml.parameters.DialParameters; - -public class DialExample { - - public static void main(String[] args) { - DialParameters params = new DialParameters(); - params.setNumber("(555) 724-2212"); - params.setAction("http://liveoutput.com/telapi-inboundxml-dial-sample"); - params.setMethod(HttpMethod.GET); - String inboundXml = Response.create() - .dial(Dial.createDial(params) - ) - .createXml(); - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/GatherExample.java b/src/main/java/com/telapi/api/inboundxml/example/GatherExample.java deleted file mode 100644 index 1243456..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/GatherExample.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.Gather; -import com.telapi.api.inboundxml.elements.Response; - -public class GatherExample { - - public static void main(String[] args) { - - String inboundXml = Response.create() - .gather( - Gather.createGather( - "http://example.com/example-callback-url/say?example=simple.xml", - HttpMethod.GET, null, - "#", - 4L) - .say("Please enter your 4 digit pin.") - ) - .createXml(); - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/GetSpeechExample.java b/src/main/java/com/telapi/api/inboundxml/example/GetSpeechExample.java deleted file mode 100644 index d3ede64..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/GetSpeechExample.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.inboundxml.elements.GetSpeech; -import com.telapi.api.inboundxml.elements.Response; - -public class GetSpeechExample { - - public static void main(String[] args) { - - String inboundXml = Response.create() - .getSpeech( - GetSpeech.createGetSpeech("http://example.com/grammarfile", "http://example.com/action") - .say("Speak and we will interpret what you say!") - ) - .createXml(); - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/HangupExample.java b/src/main/java/com/telapi/api/inboundxml/example/HangupExample.java deleted file mode 100644 index b2d9591..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/HangupExample.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.inboundxml.elements.Response; - -public class HangupExample { - - public static void main(String[] args) { - - String inboundXml = Response.create() - .hangup() - .createXml(); - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/NumberExample.java b/src/main/java/com/telapi/api/inboundxml/example/NumberExample.java deleted file mode 100644 index 3c4e9c3..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/NumberExample.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.inboundxml.elements.Dial; -import com.telapi.api.inboundxml.elements.Response; - -public class NumberExample { - - public static void main(String[] args) { - - String inboundXml = Response.create() - .dial(Dial.createDial(). - number("(555) 555-5555", "ww12w3221", null, null) - ) - .createXml(); - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/PauseExample.java b/src/main/java/com/telapi/api/inboundxml/example/PauseExample.java deleted file mode 100644 index ce31766..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/PauseExample.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.inboundxml.elements.Response; - -public class PauseExample { - - public static void main(String[] args) { - - String inboundXml = Response.create() - .say("Hello.") - .pause(5L) - .say("Are you still there?") - .createXml(); - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/PlayExample.java b/src/main/java/com/telapi/api/inboundxml/example/PlayExample.java deleted file mode 100644 index 5ef0ada..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/PlayExample.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.inboundxml.elements.Response; - -public class PlayExample { - - public static void main(String[] args) { - - String inboundXml = Response.create() - .play(3L, "http://example.com/hello.mp3") - .createXml(); - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/RecordExample.java b/src/main/java/com/telapi/api/inboundxml/example/RecordExample.java deleted file mode 100644 index 31071f2..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/RecordExample.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.Response; -import com.telapi.api.inboundxml.elements.enums.Voice; -import com.telapi.api.inboundxml.parameters.RecordParameters; - -public class RecordExample { - - public static void main(String[] args) { - - RecordParameters params = new RecordParameters("http://liveoutput.com/telapi-telml-recording-action-example"); - params.setMethod(HttpMethod.POST); - - String inboundXml = Response.create() - .say("Please state your name.", Voice.MAN, 3L) - .record(params) - .createXml(); - - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/RedirectExample.java b/src/main/java/com/telapi/api/inboundxml/example/RedirectExample.java deleted file mode 100644 index 0b87d67..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/RedirectExample.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.Response; - -public class RedirectExample { - - public static void main(String[] args) { - - String inboundXml = Response.create() - .say("You will now be redirected.") - .redirect("http://example.com/rest.xml", HttpMethod.POST) - .say("You will never hear this.") - .createXml(); - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/RejectExample.java b/src/main/java/com/telapi/api/inboundxml/example/RejectExample.java deleted file mode 100644 index 58876f1..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/RejectExample.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.inboundxml.elements.Response; -import com.telapi.api.inboundxml.elements.enums.RejectReason; - -public class RejectExample { - - public static void main(String[] args) { - - String inboundXml = Response.create() - .reject(RejectReason.BUSY) - .createXml(); - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/SayExample.java b/src/main/java/com/telapi/api/inboundxml/example/SayExample.java deleted file mode 100644 index e20a65d..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/SayExample.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.inboundxml.elements.Response; -import com.telapi.api.inboundxml.elements.enums.Voice; - -public class SayExample { - - public static void main(String[] args) { - - Response.create() - .say("Hello.", Voice.MAN, 3L) - .say("Hello, My name is Jane", Voice.WOMAN, null) - .say("Now I will not stop talking.", null, 0L) - .createXml(); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/SipExample.java b/src/main/java/com/telapi/api/inboundxml/example/SipExample.java deleted file mode 100644 index b405059..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/SipExample.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.inboundxml.elements.Dial; -import com.telapi.api.inboundxml.elements.Response; - -public class SipExample { - - public static void main(String[] args) { - - String inboundXml = Response.create() - .dial(Dial.createDial() - .sip("username@domain.com") - ).createXml(); - System.out.println(inboundXml); - - } -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/SmsExample.java b/src/main/java/com/telapi/api/inboundxml/example/SmsExample.java deleted file mode 100644 index ec5fedf..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/SmsExample.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.Response; - -public class SmsExample { - - public static void main(String[] args) { - - String inboundXml = Response.create() - .sms("Test message sent from TelAPI!", - "(555) 555-5552", - "(555) 555-5551", - "http://liveoutput.com/telapi-test-sms-action", - HttpMethod.POST, - "http://liveoutput.com/telapi-test-status-callback") - .createXml(); - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/example/SmsRedirectExample.java b/src/main/java/com/telapi/api/inboundxml/example/SmsRedirectExample.java deleted file mode 100644 index 20b2488..0000000 --- a/src/main/java/com/telapi/api/inboundxml/example/SmsRedirectExample.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.inboundxml.example; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.Response; - -public class SmsRedirectExample { - - public static void main(String[] args) { - - String inboundXml = Response.create() - .sms("You will now be redirected.", - "(555) 555-5552", - "(555) 555-5551") - .redirect("http://example.com/rest.xml", HttpMethod.POST) - .sms("You will never receive this message.", - "(555) 555-5552", - "(555) 555-5551") - .createXml(); - System.out.println(inboundXml); - - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/parameters/ConferenceParameters.java b/src/main/java/com/telapi/api/inboundxml/parameters/ConferenceParameters.java deleted file mode 100644 index 0101d6e..0000000 --- a/src/main/java/com/telapi/api/inboundxml/parameters/ConferenceParameters.java +++ /dev/null @@ -1,216 +0,0 @@ -package com.telapi.api.inboundxml.parameters; - -import com.telapi.api.domain.enums.HttpMethod; - -public class ConferenceParameters { - - private String conferenceName; - private Boolean muted; - private Boolean beep; - private Boolean startConferenceOnEnter; - private Boolean endConferenceOnExit; - private Long maxParticipants; - private String waitUrl; - private HttpMethod waitMethod; - private Boolean hangupOnStar; - private String callbackUrl; - private HttpMethod callbackMethod; - private String waitSound; - private HttpMethod waitSoundMethod; - private String digitsMatch; - private Boolean stayAlone; - - public String getConferenceName() { - return conferenceName; - } - /** - * - * @param conferenceName - * The conference name (required). - */ - public void setConferenceName(String conferenceName) { - this.conferenceName = conferenceName; - } - public Boolean getMuted() { - return muted; - } - - /** - * - * @param muted - * Boolean value specifying if the conference should be muted. - * Defaults to false. - */ - public void setMuted(Boolean muted) { - this.muted = muted; - } - public Boolean getBeep() { - return beep; - } - - /** - * - * @param beep - * Boolean value specifying if a beep should play upon entrance - * to conference. Defaults to false. - */ - public void setBeep(Boolean beep) { - this.beep = beep; - } - public Boolean getStartConferenceOnEnter() { - return startConferenceOnEnter; - } - - /** - * - * @param startConferenceOnEnter - * Boolean value specifying if conference should begin upon - * entrance. Defaults to true. - */ - public void setStartConferenceOnEnter(Boolean startConferenceOnEnter) { - this.startConferenceOnEnter = startConferenceOnEnter; - } - public Boolean getEndConferenceOnExit() { - return endConferenceOnExit; - } - - /** - * - * @param endConferenceOnExit - * Boolean value specifying if conference should begin upon exit. - * Defaults to true. - */ - public void setEndConferenceOnExit(Boolean endConferenceOnExit) { - this.endConferenceOnExit = endConferenceOnExit; - } - public Long getMaxParticipants() { - return maxParticipants; - } - - /** - * - * @param maxParticipants - * The maximum number of participants allowed in the conference - * call. Defaults to 40. - */ - public void setMaxParticipants(Long maxParticipants) { - this.maxParticipants = maxParticipants; - } - public String getWaitUrl() { - return waitUrl; - } - - /** - * - * @param waitUrl - * URL conference participants can be sent to while they wait for - * entrance into the conference. - */ - public void setWaitUrl(String waitUrl) { - this.waitUrl = waitUrl; - } - public HttpMethod getWaitMethod() { - return waitMethod; - } - - /** - * - * @param waitMethod - * Method used to request waitUrl. Defaults to POST. - */ - public void setWaitMethod(HttpMethod waitMethod) { - this.waitMethod = waitMethod; - } - public Boolean getHangupOnStar() { - return hangupOnStar; - } - - /** - * - * @param hangupOnStar - * Boolean value specifying if pressing * should end the - * conference. Defaults to false. - */ - public void setHangupOnStar(Boolean hangupOnStar) { - this.hangupOnStar = hangupOnStar; - } - public String getCallbackUrl() { - return callbackUrl; - } - - /** - * - * @param callbackUrl - * URL where some parameters specific to Conference will be sent - * once it is completed. - */ - public void setCallbackUrl(String callbackUrl) { - this.callbackUrl = callbackUrl; - } - public HttpMethod getCallbackMethod() { - return callbackMethod; - } - - /** - * - * @param callbackMethod - * Method used to request the callback URL. Defaults to POST. - */ - public void setCallbackMethod(HttpMethod callbackMethod) { - this.callbackMethod = callbackMethod; - } - public String getWaitSound() { - return waitSound; - } - - /** - * - * @param waitSound - * URL to sound that can be played while waiting to enter the - * conference. - */ - public void setWaitSound(String waitSound) { - this.waitSound = waitSound; - } - public HttpMethod getWaitSoundMethod() { - return waitSoundMethod; - } - - /** - * - * @param waitSoundMethod - * Method used to request the waitsound URL. Defaults to POST. - */ - public void setWaitSoundMethod(HttpMethod waitSoundMethod) { - this.waitSoundMethod = waitSoundMethod; - } - public String getDigitsMatch() { - return digitsMatch; - } - - /** - * - * @param digitsMatch - * Specifies digits that TelAPI should listen for and send to the - * callbackUrl if a caller inputs them. Seperate additional - * digits or digit patterns with a comma. Can be a digit, # or *. - */ - public void setDigitsMatch(String digitsMatch) { - this.digitsMatch = digitsMatch; - } - public Boolean getStayAlone() { - return stayAlone; - } - - /** - * - * @param stayAlone - * Boolean value specifying if the caller should stay alone in - * the conference call. Defaults to true. - */ - public void setStayAlone(Boolean stayAlone) { - this.stayAlone = stayAlone; - } - - -} diff --git a/src/main/java/com/telapi/api/inboundxml/parameters/DialParameters.java b/src/main/java/com/telapi/api/inboundxml/parameters/DialParameters.java deleted file mode 100644 index 4cf4a92..0000000 --- a/src/main/java/com/telapi/api/inboundxml/parameters/DialParameters.java +++ /dev/null @@ -1,215 +0,0 @@ -package com.telapi.api.inboundxml.parameters; - -import com.telapi.api.domain.enums.HttpMethod; - - -public class DialParameters { - - private String number; - private String action; - private HttpMethod method; - private Long timeout; - private Boolean hangupOnStar; - private Long timeLimit; - private String callerId; - private Boolean hideCallerId; - private String dialMusic; - private String callbackUrl; - private HttpMethod callbackMethod; - private Boolean confirmSound; - private String digitsMatch; - private Boolean straightToVm; - private String heartbeatUrl; - private HttpMethod heartbeatMethod; - private String forwardedFrom; - - - public String getNumber() { - return number; - } - - /** - * The number which is to be dialed. If used, you cannot append elements to the Dial element. - * @param number The number which is to be dialed. - */ - public void setNumber(String number) { - this.number = number; - } - public String getAction() { - return action; - } - - /** - * - * @param action URL where some parameters specific to Dial will be sent for further processing. The calling party can be redirected here upon the hang up of the B leg caller. - */ - public void setAction(String action) { - this.action = action; - } - public HttpMethod getMethod() { - return method; - } - - /** - * - * @param method Method used to request the action URL. Defaults to POST. - */ - public void setMethod(HttpMethod method) { - this.method = method; - } - public Long getTimeout() { - return timeout; - } - - /** - * - * @param timeout The number of seconds calls made with are allowed silence before ending. Defaults to 30. - */ - public void setTimeout(Long timeout) { - this.timeout = timeout; - } - public Boolean getHangupOnStar() { - return hangupOnStar; - } - - /** - * - * @param hangupOnStar Boolean value specifying if pressing * should end the dial. Defaults to false. - */ - public void setHangupOnStar(Boolean hangupOnStar) { - this.hangupOnStar = hangupOnStar; - } - public Long getTimeLimit() { - return timeLimit; - } - - /** - * - * @param timeLimit The duration in seconds a call made through should occur for before ending. Defaults to 14400. - */ - public void setTimeLimit(Long timeLimit) { - this.timeLimit = timeLimit; - } - public String getCallerId() { - return callerId; - } - - /** - * - * @param callerId Number to display as calling. Defaults to the ID of phone being used. Defaults to the caller's caller ID. - */ - public void setCallerId(String callerId) { - this.callerId = callerId; - } - public Boolean getHideCallerId() { - return hideCallerId; - } - - /** - * - * @param hideCallerId hideCallerId Boolean value specifying if the caller ID should be hidden or not. Defaults to false. - */ - public void setHideCallerId(Boolean hideCallerId) { - this.hideCallerId = hideCallerId; - } - public String getDialMusic() { - return dialMusic; - } - - /** - * - * @param dialMusic URL containing an audio file that can be played during the dial. - */ - public void setDialMusic(String dialMusic) { - this.dialMusic = dialMusic; - } - public String getCallbackUrl() { - return callbackUrl; - } - - /** - * - * @param callbackUrl URL requested once the dialed call connects. - */ - public void setCallbackUrl(String callbackUrl) { - this.callbackUrl = callbackUrl; - } - public HttpMethod getCallbackMethod() { - return callbackMethod; - } - - /** - * - * @param callbackMethod Method used to request the callback URL. Defaults to POST. - */ - public void setCallbackMethod(HttpMethod callbackMethod) { - this.callbackMethod = callbackMethod; - } - public Boolean getConfirmSound() { - return confirmSound; - } - - /** - * - * @param confirmSound Boolean value specifying if a sound should play when dial is successful. Defaults to false. - */ - public void setConfirmSound(Boolean confirmSound) { - this.confirmSound = confirmSound; - } - public String getDigitsMatch() { - return digitsMatch; - } - - /** - * - * @param digitsMatch Specifies digits that TelAPI should listen for and send to the callbackUrl if a caller inputs them. Separate additional digits or digit patterns with a comma. Allowed values are digits, # and *. - */ - public void setDigitsMatch(String digitsMatch) { - this.digitsMatch = digitsMatch; - } - public Boolean getStraightToVm() { - return straightToVm; - } - - /** - * - * @param straightToVm Boolean value specifying if call should be redirected to voice mail immediately. Defaults to false. - */ - public void setStraightToVm(Boolean straightToVm) { - this.straightToVm = straightToVm; - } - public String getHeartbeatUrl() { - return heartbeatUrl; - } - - /** - * - * @param heartbeatUrl A URL TelAPI can request every 60 seconds during the call to notify of elapsed time and pass other general information. - */ - public void setHeartbeatUrl(String heartbeatUrl) { - this.heartbeatUrl = heartbeatUrl; - } - public HttpMethod getHeartbeatMethod() { - return heartbeatMethod; - } - - /** - * - * @param heartbeatMethod Method used to request the heartbeat URL. Defaults to POST. - */ - public void setHeartbeatMethod(HttpMethod heartbeatMethod) { - this.heartbeatMethod = heartbeatMethod; - } - public String getForwardedFrom() { - return forwardedFrom; - } - - /** - * - * @param forwardedFrom Specifies the number to list the call as forwarded from. - */ - public void setForwardedFrom(String forwardedFrom) { - this.forwardedFrom = forwardedFrom; - } - -} diff --git a/src/main/java/com/telapi/api/inboundxml/parameters/RecordParameters.java b/src/main/java/com/telapi/api/inboundxml/parameters/RecordParameters.java deleted file mode 100644 index e067f5c..0000000 --- a/src/main/java/com/telapi/api/inboundxml/parameters/RecordParameters.java +++ /dev/null @@ -1,138 +0,0 @@ -package com.telapi.api.inboundxml.parameters; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.enums.RecordingFileFormat; - -public class RecordParameters { - private String action; - private HttpMethod method; - private Long timeout; - private String finishOnKey; - private Long maxLength; - private Boolean transcribe; - private String transcribeCallback; - private Boolean playBeep; - private Boolean bothLegs; - private RecordingFileFormat fileFormat; - - /** - * - * @param action URL where some parameters specific to Record will be sent for further processing (required). - */ - public RecordParameters(String action) { - this.action = action; - } - - public String getAction() { - return action; - } - - /** - * - * @param action URL where some parameters specific to Record will be sent for further processing (required). - */ - public void setAction(String action) { - this.action = action; - } - public HttpMethod getMethod() { - return method; - } - - /** - * - * @param method Specifies the method to use when requesting the action or transcribeCallback URL. - */ - public void setMethod(HttpMethod method) { - this.method = method; - } - public Long getTimeout() { - return timeout; - } - - /** - * - * @param timeout The number of seconds Record should wait during silence before ending. Greater than or equal to 0. Defaults to 5. - */ - public void setTimeout(Long timeout) { - this.timeout = timeout; - } - public String getFinishOnKey() { - return finishOnKey; - } - - /** - * - * @param finishOnKey The key a caller can press to end the Record. Allowed values are 0-9, # or *. Defaults to #. - */ - public void setFinishOnKey(String finishOnKey) { - this.finishOnKey = finishOnKey; - } - public Long getMaxLength() { - return maxLength; - } - - /** - * - * @param maxLength The maximum length in seconds a recording should be. Defaults to 3600. - */ - public void setMaxLength(Long maxLength) { - this.maxLength = maxLength; - } - public Boolean getTranscribe() { - return transcribe; - } - - /** - * - * @param transcribe Boolean value specifying if the recording should be transcribed. Defaults to false. - */ - public void setTranscribe(Boolean transcribe) { - this.transcribe = transcribe; - } - public String getTranscribeCallback() { - return transcribeCallback; - } - - /** - * - * @param transcribeCallback URL where the recording transcription will be sent. Defaults to the current InboundXML document. - */ - public void setTranscribeCallback(String transcribeCallback) { - this.transcribeCallback = transcribeCallback; - } - public Boolean getPlayBeep() { - return playBeep; - } - - /** - * - * @param playBeep Boolean value specifying if a beep should be played when the recording begins. Defaults to false. - */ - public void setPlayBeep(Boolean playBeep) { - this.playBeep = playBeep; - } - public Boolean getBothLegs() { - return bothLegs; - } - - /** - * - * @param bothLegs Boolean value specifying if both call legs should be recorded. Defaults to false. - */ - public void setBothLegs(Boolean bothLegs) { - this.bothLegs = bothLegs; - } - public RecordingFileFormat getFileFormat() { - return fileFormat; - } - - /** - * - * @param fileFormat The recording file format. Can be mp3 or wav. Default is mp3. - */ - public void setFileFormat(RecordingFileFormat fileFormat) { - this.fileFormat = fileFormat; - } - - -} diff --git a/src/main/java/com/telapi/api/json/JsonBooleanParser.java b/src/main/java/com/telapi/api/json/JsonBooleanParser.java deleted file mode 100644 index 19915df..0000000 --- a/src/main/java/com/telapi/api/json/JsonBooleanParser.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.telapi.api.json; - -import java.io.IOException; - -import org.codehaus.jackson.JsonParser; -import org.codehaus.jackson.JsonProcessingException; -import org.codehaus.jackson.map.DeserializationContext; -import org.codehaus.jackson.map.JsonDeserializer; - -public class JsonBooleanParser extends JsonDeserializer { - @Override - public Boolean deserialize(JsonParser jsonparser, - DeserializationContext deserializationcontext) throws IOException, - JsonProcessingException { - String value = jsonparser.getText(); - if (value == null) - return null; - else if (value.toLowerCase().equals("true")) return true; - else if (value.toLowerCase().equals("false")) return false; - return null; - } -} diff --git a/src/main/java/com/telapi/api/json/JsonDateParser.java b/src/main/java/com/telapi/api/json/JsonDateParser.java deleted file mode 100644 index 1796a80..0000000 --- a/src/main/java/com/telapi/api/json/JsonDateParser.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.telapi.api.json; - -import java.io.IOException; -import java.text.ParseException; -import java.util.Date; - -import org.codehaus.jackson.JsonParser; -import org.codehaus.jackson.JsonProcessingException; -import org.codehaus.jackson.map.DeserializationContext; -import org.codehaus.jackson.map.JsonDeserializer; - -import com.telapi.api.configuration.TelapiConstants; - -public class JsonDateParser extends JsonDeserializer { - @Override - public Date deserialize(JsonParser jsonparser, - DeserializationContext deserializationcontext) throws IOException, - JsonProcessingException { - String date = jsonparser.getText(); - if (date == null) - return null; - try { - return TelapiConstants.jsonDateFormat.parse(date); - } catch (ParseException e) { - return null; - } - - } -} diff --git a/src/main/java/com/telapi/api/json/JsonDurationParser.java b/src/main/java/com/telapi/api/json/JsonDurationParser.java deleted file mode 100644 index 0463ecb..0000000 --- a/src/main/java/com/telapi/api/json/JsonDurationParser.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api.json; - -import java.io.IOException; - -import org.codehaus.jackson.JsonParser; -import org.codehaus.jackson.JsonProcessingException; -import org.codehaus.jackson.map.DeserializationContext; -import org.codehaus.jackson.map.JsonDeserializer; - -public class JsonDurationParser extends JsonDeserializer { - @Override - public Long deserialize(JsonParser jsonparser, - DeserializationContext deserializationcontext) throws IOException, - JsonProcessingException { - String date = jsonparser.getText(); - if (date == null) - return null; - try { - Long retVal = new Long(date); - return retVal; - } catch (NumberFormatException e) { - return 0L; - } - - } -} diff --git a/src/main/java/com/telapi/api/requests/ApplicationRequest.java b/src/main/java/com/telapi/api/requests/ApplicationRequest.java deleted file mode 100644 index a789d7e..0000000 --- a/src/main/java/com/telapi/api/requests/ApplicationRequest.java +++ /dev/null @@ -1,120 +0,0 @@ -package com.telapi.api.requests; - -import com.telapi.api.domain.enums.HttpMethod; - -public class ApplicationRequest { - private String sid = null; - private String accountSid = null; - private String friendlyName = null; - private String voiceUrl = null; - private HttpMethod voiceMethod = null; - private String voiceFallbackUrl = null; - private HttpMethod voiceFallbackMethod = null; - private Boolean voiceCallerIdLookup = null; - private String smsUrl = null; - private HttpMethod smsMethod = null; - private String smsFallbackUrl = null; - private HttpMethod smsFallbackMethod = null; - private String heartbeatUrl = null; - private HttpMethod heartbeatMethod = null; - private String statusCallback = null; - private HttpMethod statusCallbackMethod = null; - - public String getSid() { - return sid; - } - public void setSid(String sid) { - this.sid = sid; - } - public String getAccountSid() { - return accountSid; - } - public void setAccountSid(String accountSid) { - this.accountSid = accountSid; - } - public String getFriendlyName() { - return friendlyName; - } - public void setFriendlyName(String friendlyName) { - this.friendlyName = friendlyName; - } - public String getVoiceUrl() { - return voiceUrl; - } - public void setVoiceUrl(String voiceUrl) { - this.voiceUrl = voiceUrl; - } - public HttpMethod getVoiceMethod() { - return voiceMethod; - } - public void setVoiceMethod(HttpMethod voiceMethod) { - this.voiceMethod = voiceMethod; - } - public String getVoiceFallbackUrl() { - return voiceFallbackUrl; - } - public void setVoiceFallbackUrl(String voiceFallbackUrl) { - this.voiceFallbackUrl = voiceFallbackUrl; - } - public HttpMethod getVoiceFallbackMethod() { - return voiceFallbackMethod; - } - public void setVoiceFallbackMethod(HttpMethod voiceFallbackMethod) { - this.voiceFallbackMethod = voiceFallbackMethod; - } - public Boolean getVoiceCallerIdLookup() { - return voiceCallerIdLookup; - } - public void setVoiceCallerIdLookup(Boolean voiceCallerIdLookup) { - this.voiceCallerIdLookup = voiceCallerIdLookup; - } - public String getSmsUrl() { - return smsUrl; - } - public void setSmsUrl(String smsUrl) { - this.smsUrl = smsUrl; - } - public HttpMethod getSmsMethod() { - return smsMethod; - } - public void setSmsMethod(HttpMethod smsMethod) { - this.smsMethod = smsMethod; - } - public String getSmsFallbackUrl() { - return smsFallbackUrl; - } - public void setSmsFallbackUrl(String smsFallbackUrl) { - this.smsFallbackUrl = smsFallbackUrl; - } - public HttpMethod getSmsFallbackMethod() { - return smsFallbackMethod; - } - public void setSmsFallbackMethod(HttpMethod smsFallbackMethod) { - this.smsFallbackMethod = smsFallbackMethod; - } - public String getHeartbeatUrl() { - return heartbeatUrl; - } - public void setHeartbeatUrl(String heartbeatUrl) { - this.heartbeatUrl = heartbeatUrl; - } - public HttpMethod getHeartbeatMethod() { - return heartbeatMethod; - } - public void setHeartbeatMethod(HttpMethod heartbeatMethod) { - this.heartbeatMethod = heartbeatMethod; - } - public String getStatusCallback() { - return statusCallback; - } - public void setStatusCallback(String statusCallback) { - this.statusCallback = statusCallback; - } - public HttpMethod getStatusCallbackMethod() { - return statusCallbackMethod; - } - public void setStatusCallbackMethod(HttpMethod statusCallbackMethod) { - this.statusCallbackMethod = statusCallbackMethod; - } - -} diff --git a/src/main/java/com/telapi/api/requests/CallRequest.java b/src/main/java/com/telapi/api/requests/CallRequest.java deleted file mode 100644 index fa5ebfa..0000000 --- a/src/main/java/com/telapi/api/requests/CallRequest.java +++ /dev/null @@ -1,157 +0,0 @@ -package com.telapi.api.requests; - -import com.telapi.api.domain.enums.HttpMethod; - -public class CallRequest { - - private String accountSid = null; - private String to = null; - private String from = null; - private String url = null; - private HttpMethod method = null; - private String fallbackUrl = null; - private HttpMethod fallbackMethod = null; - private String statusCallback = null; - private HttpMethod StatusCallbackMethod = null; - private String heartbeatUrl = null; - private HttpMethod heartbeatMethod = null; - private String forwardedFrom = null; - private String sendDigits = null; - private Long timeout = null; - private Boolean hideCallerId = null; - private Boolean record = null; - private String recordCallback = null; - private HttpMethod recordCallbackMethod = null; - private Boolean transcribe = null; - private String transcribeCallback = null; - private HttpMethod transcribeCallbackMethod = null; - - public String getAccountSid() { - return accountSid; - } - public void setAccountSid(String accountSid) { - this.accountSid = accountSid; - } - public String getTo() { - return to; - } - public void setTo(String to) { - this.to = to; - } - public String getFrom() { - return from; - } - public void setFrom(String from) { - this.from = from; - } - public String getUrl() { - return url; - } - public void setUrl(String url) { - this.url = url; - } - public String getForwardedFrom() { - return forwardedFrom; - } - public void setForwardedFrom(String forwardedFrom) { - this.forwardedFrom = forwardedFrom; - } - public HttpMethod getMethod() { - return method; - } - public void setMethod(HttpMethod method) { - this.method = method; - } - public String getFallbackUrl() { - return fallbackUrl; - } - public void setFallbackUrl(String fallbackUrl) { - this.fallbackUrl = fallbackUrl; - } - public HttpMethod getFallbackMethod() { - return fallbackMethod; - } - public void setFallbackMethod(HttpMethod fallbackMethod) { - this.fallbackMethod = fallbackMethod; - } - public String getStatusCallback() { - return statusCallback; - } - public void setStatusCallback(String statusCallback) { - this.statusCallback = statusCallback; - } - public HttpMethod getStatusCallbackMethod() { - return StatusCallbackMethod; - } - public void setStatusCallbackMethod(HttpMethod statusCallbackMethod) { - StatusCallbackMethod = statusCallbackMethod; - } - public String getSendDigits() { - return sendDigits; - } - public void setSendDigits(String sendDigits) { - this.sendDigits = sendDigits; - } - public Long getTimeout() { - return timeout; - } - public void setTimeout(Long timeout) { - this.timeout = timeout; - } - public Boolean getHideCallerId() { - return hideCallerId; - } - public void setHideCallerId(Boolean hideCallerId) { - this.hideCallerId = hideCallerId; - } - public String getHeartbeatUrl() { - return heartbeatUrl; - } - public void setHeartbeatUrl(String heartbeatUrl) { - this.heartbeatUrl = heartbeatUrl; - } - public HttpMethod getHeartbeatMethod() { - return heartbeatMethod; - } - public void setHeartbeatMethod(HttpMethod heartbeatMethod) { - this.heartbeatMethod = heartbeatMethod; - } - public Boolean getRecord() { - return record; - } - public void setRecord(Boolean record) { - this.record = record; - } - public String getRecordCallback() { - return recordCallback; - } - public void setRecordCallback(String recordCallback) { - this.recordCallback = recordCallback; - } - public HttpMethod getRecordCallbackMethod() { - return recordCallbackMethod; - } - public void setRecordCallbackMethod(HttpMethod recordCallbackMethod) { - this.recordCallbackMethod = recordCallbackMethod; - } - public Boolean getTranscribe() { - return transcribe; - } - public void setTranscribe(Boolean transcribe) { - this.transcribe = transcribe; - } - public String getTranscribeCallback() { - return transcribeCallback; - } - public void setTranscribeCallback(String transcribeCallback) { - this.transcribeCallback = transcribeCallback; - } - public HttpMethod getTranscribeCallbackMethod() { - return transcribeCallbackMethod; - } - public void setTranscribeCallbackMethod(HttpMethod transcribeCallbackMethod) { - this.transcribeCallbackMethod = transcribeCallbackMethod; - } - - -} diff --git a/src/main/java/com/telapi/api/requests/IncomingPhoneNumberRequest.java b/src/main/java/com/telapi/api/requests/IncomingPhoneNumberRequest.java deleted file mode 100644 index 9e87189..0000000 --- a/src/main/java/com/telapi/api/requests/IncomingPhoneNumberRequest.java +++ /dev/null @@ -1,121 +0,0 @@ -package com.telapi.api.requests; - -import com.telapi.api.domain.enums.HttpMethod; - - -public class IncomingPhoneNumberRequest { - private String accountSid; - private String incomingPhoneNumberSid; - private String friendlyName; - private String voiceUrl; - private HttpMethod voiceMethod; - private String voiceFallbackUrl; - private HttpMethod voiceFallbackMethod; - private Boolean voiceCallerIdLookup; - private String smsUrl; - private HttpMethod smsMethod; - private String smsFallbackUrl; - private HttpMethod smsFallbackMethod; - private String hangupCallback; - private HttpMethod hangupCallbackMethod; - private String heartbeatUrl; - private HttpMethod heartbeatMethod; - - public String getAccountSid() { - return accountSid; - } - public void setAccountSid(String accountSid) { - this.accountSid = accountSid; - } - public String getIncomingPhoneNumberSid() { - return incomingPhoneNumberSid; - } - public void setIncomingPhoneNumberSid(String incomingPhoneNumberSid) { - this.incomingPhoneNumberSid = incomingPhoneNumberSid; - } - public String getFriendlyName() { - return friendlyName; - } - public void setFriendlyName(String friendlyName) { - this.friendlyName = friendlyName; - } - public String getVoiceUrl() { - return voiceUrl; - } - public void setVoiceUrl(String voiceUrl) { - this.voiceUrl = voiceUrl; - } - public HttpMethod getVoiceMethod() { - return voiceMethod; - } - public void setVoiceMethod(HttpMethod voiceMethod) { - this.voiceMethod = voiceMethod; - } - public String getVoiceFallbackUrl() { - return voiceFallbackUrl; - } - public void setVoiceFallbackUrl(String voiceFallbackUrl) { - this.voiceFallbackUrl = voiceFallbackUrl; - } - public HttpMethod getVoiceFallbackMethod() { - return voiceFallbackMethod; - } - public void setVoiceFallbackMethod(HttpMethod voiceFallbackMethod) { - this.voiceFallbackMethod = voiceFallbackMethod; - } - public Boolean getVoiceCallerIdLookup() { - return voiceCallerIdLookup; - } - public void setVoiceCallerIdLookup(Boolean voiceCallerIdLookup) { - this.voiceCallerIdLookup = voiceCallerIdLookup; - } - public String getSmsUrl() { - return smsUrl; - } - public void setSmsUrl(String smsUrl) { - this.smsUrl = smsUrl; - } - public HttpMethod getSmsMethod() { - return smsMethod; - } - public void setSmsMethod(HttpMethod smsMethod) { - this.smsMethod = smsMethod; - } - public String getSmsFallbackUrl() { - return smsFallbackUrl; - } - public void setSmsFallbackUrl(String smsFallbackUrl) { - this.smsFallbackUrl = smsFallbackUrl; - } - public HttpMethod getSmsFallbackMethod() { - return smsFallbackMethod; - } - public void setSmsFallbackMethod(HttpMethod smsFallbackMethod) { - this.smsFallbackMethod = smsFallbackMethod; - } - public String getHangupCallback() { - return hangupCallback; - } - public void setHangupCallback(String hangupCallback) { - this.hangupCallback = hangupCallback; - } - public HttpMethod getHangupCallbackMethod() { - return hangupCallbackMethod; - } - public void setHangupCallbackMethod(HttpMethod hangupCallbackMethod) { - this.hangupCallbackMethod = hangupCallbackMethod; - } - public String getHeartbeatUrl() { - return heartbeatUrl; - } - public void setHeartbeatUrl(String heartbeatUrl) { - this.heartbeatUrl = heartbeatUrl; - } - public HttpMethod getHeartbeatMethod() { - return heartbeatMethod; - } - public void setHeartbeatMethod(HttpMethod heartbeatMethod) { - this.heartbeatMethod = heartbeatMethod; - } - -} diff --git a/src/main/java/com/telapi/api/restproxies/AccountsProxy.java b/src/main/java/com/telapi/api/restproxies/AccountsProxy.java deleted file mode 100644 index e469695..0000000 --- a/src/main/java/com/telapi/api/restproxies/AccountsProxy.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.telapi.api.restproxies; - -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; - -import org.jboss.resteasy.client.ClientResponse; - -import com.telapi.api.domain.Account; -import com.telapi.api.domain.list.AccountsList; - -public interface AccountsProxy { - @GET - @Path("Accounts/{AccountSid}.json") - @Produces("application/json") - ClientResponse getAccount(@PathParam("AccountSid") String accountSid); - - @GET - @Path("Accounts.json") - @Produces("application/json") - ClientResponse getAccounts(); -} diff --git a/src/main/java/com/telapi/api/restproxies/ApplicationProxy.java b/src/main/java/com/telapi/api/restproxies/ApplicationProxy.java deleted file mode 100644 index 47cc17f..0000000 --- a/src/main/java/com/telapi/api/restproxies/ApplicationProxy.java +++ /dev/null @@ -1,92 +0,0 @@ -package com.telapi.api.restproxies; - -import javax.ws.rs.DELETE; -import javax.ws.rs.GET; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; - -import org.jboss.resteasy.client.ClientResponse; - -import com.telapi.api.domain.Application; -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.domain.list.ApplicationList; - -public interface ApplicationProxy { - - @GET - @Path("Accounts/{AccountSid}/Applications/{ApplicationSid}.json") - @Produces("application/json") - ClientResponse viewApplication( - @PathParam("AccountSid") String accountSid, - @PathParam("ApplicationSid") String applicationSid - ); - - @GET - @Path("Accounts/{AccountSid}/Applications.json") - @Produces("application/json") - ClientResponse listApplications( - @PathParam("AccountSid") String accountSid, - @QueryParam(value="FriendlyName") String friendlyName, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - ); - - - - @POST - @Path("Accounts/{AccountSid}/Applications.json") - @Produces("application/json") - ClientResponse createApplication( - @PathParam("AccountSid") String accountSid, - @QueryParam("FriendlyName") String friendlyName, - @QueryParam("VoiceUrl") String voiceUrl, - @QueryParam("VoiceMethod") HttpMethod voiceMethod, - @QueryParam("VoiceFallbackUrl") String voiceFallbackUrl, - @QueryParam("VoiceFallbackMethod") HttpMethod voiceFallbackMethod, - @QueryParam("VoiceCallerIdLookup") Boolean voiceCallerIdLookup, - @QueryParam("SmsUrl") String smsUrl, - @QueryParam("SmsMethod") HttpMethod smsMethod, - @QueryParam("SmsFallbackUrl") String smsFallbackUrl, - @QueryParam("SmsFallbackMethod") HttpMethod smsFallbackMethod, - @QueryParam("HeartbeatUrl") String heartbeatUrl, - @QueryParam("HeartbeatMethod") HttpMethod heartbeatMethod, - @QueryParam("HangupCallback") String hangupCallback, - @QueryParam("HangupCallbackMethod") HttpMethod hangupCallbackMethod - ); - - - @POST - @Path("Accounts/{AccountSid}/Applications/{ApplicationSid}.json") - @Produces("application/json") - ClientResponse updateApplication( - @PathParam("AccountSid") String accountSid, - @PathParam("ApplicationSid") String applicationSid, - @QueryParam("FriendlyName") String friendlyName, - @QueryParam("VoiceUrl") String voiceUrl, - @QueryParam("VoiceMethod") HttpMethod voiceMethod, - @QueryParam("VoiceFallbackUrl") String voiceFallbackUrl, - @QueryParam("VoiceFallbackMethod") HttpMethod voiceFallbackMethod, - @QueryParam("VoiceCallerIdLookup") Boolean voiceCallerIdLookup, - @QueryParam("SmsUrl") String smsUrl, - @QueryParam("SmsMethod") HttpMethod smsMethod, - @QueryParam("SmsFallbackUrl") String smsFallbackUrl, - @QueryParam("SmsFallbackMethod") HttpMethod smsFallbackMethod, - @QueryParam("HeartbeatUrl") String heartbeatUrl, - @QueryParam("HeartbeatMethod") HttpMethod heartbeatMethod, - @QueryParam("HangupCallback") String hangupCallback, - @QueryParam("HangupCallbackMethod") HttpMethod hangupCallbackMethod - ); - - @DELETE - @Path("Accounts/{AccountSid}/Applications/{ApplicationSid}.json") - @Produces("application/json") - ClientResponse deleteApplication( - @PathParam("AccountSid") String accountSid, - @PathParam("ApplicationSid") String applicationSid - ); - - -} diff --git a/src/main/java/com/telapi/api/restproxies/AvailablePhoneNumberProxy.java b/src/main/java/com/telapi/api/restproxies/AvailablePhoneNumberProxy.java deleted file mode 100644 index 4e0e9c0..0000000 --- a/src/main/java/com/telapi/api/restproxies/AvailablePhoneNumberProxy.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.telapi.api.restproxies; - -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; - -import org.jboss.resteasy.client.ClientResponse; - -import com.telapi.api.domain.list.AvailablePhoneNumberList; - -public interface AvailablePhoneNumberProxy { - - @GET - @Path("Accounts/{AccountSid}/AvailablePhoneNumbers/{IsoCountryCode}/Local.json") - @Produces("application/json") - ClientResponse listAvailablePhoneNumbers( - @PathParam("AccountSid") String accountSid, - @PathParam("IsoCountryCode") String isoCountryCode, - @QueryParam("AreaCode") String areaCode, - @QueryParam("Contains") String contains, - @QueryParam("InRegion") String inRegion, - @QueryParam("InPostalCode") String inPostalCode, - @QueryParam("Page") Long page, - @QueryParam("PageSize") Long pageSize - ); -} diff --git a/src/main/java/com/telapi/api/restproxies/CallProxy.java b/src/main/java/com/telapi/api/restproxies/CallProxy.java deleted file mode 100644 index b044d84..0000000 --- a/src/main/java/com/telapi/api/restproxies/CallProxy.java +++ /dev/null @@ -1,136 +0,0 @@ -package com.telapi.api.restproxies; - -import javax.ws.rs.GET; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; - -import org.jboss.resteasy.client.ClientResponse; - -import com.telapi.api.domain.Call; -import com.telapi.api.domain.enums.AudioDirection; -import com.telapi.api.domain.enums.CallInterruptStatus; -import com.telapi.api.domain.enums.CallStatus; -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.domain.enums.Legs; -import com.telapi.api.domain.list.CallList; -import com.telapi.api.domain.list.RecordingList; - -public interface CallProxy { - - @GET - @Path("Accounts/{AccountSid}/Calls/{CallSid}.json") - @Produces("application/json") - ClientResponse viewCall(@PathParam("AccountSid") String accountSid, @PathParam("CallSid") String callSid); - - @GET - @Path("Accounts/{AccountSid}/Calls.json") - @Produces("application/json") - ClientResponse listCalls( - @PathParam("AccountSid") String accountSid, - @QueryParam(value="To") String to, - @QueryParam(value="From") String from, - @QueryParam(value="Status") CallStatus status, - @QueryParam(value="StartTime>") String startTimeGte, - @QueryParam(value="StartTime<") String startTimeLt, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - ); - - @POST - @Path("Accounts/{AccountSid}/Calls.json") - @Produces("application/json") - ClientResponse makeCall( - @PathParam("AccountSid") String accountSid, - @QueryParam(value = "To") String to, - @QueryParam(value = "From") String from, - @QueryParam(value = "Url") String url, - @QueryParam(value = "Method") HttpMethod method, - @QueryParam(value = "FallbackUrl") String fallbackUrl, - @QueryParam(value = "FallbackMethod") HttpMethod fallbackMethod, - @QueryParam(value = "StatusCallback") String statusCallback, - @QueryParam(value = "StatusCallbackMethod") HttpMethod StatusCallbackMethod, - @QueryParam(value = "HeartbeatUrl") String heartbeatUrl, - @QueryParam(value = "HeartbeatMethod") HttpMethod heartbeatMethod, - @QueryParam(value = "ForwardedFrom") String forwardedFrom, - @QueryParam(value = "SendDigits") String sendDigits, - @QueryParam(value = "Timeout") Long timeout, - @QueryParam(value = "HideCallerId") Boolean hideCallerId, - @QueryParam(value = "Record") Boolean record, - @QueryParam(value = "RecordCallback") String recordCallback, - @QueryParam(value = "RecordCallbackMethod") HttpMethod recordCallbackMethod, - @QueryParam(value = "Transcribe") Boolean transcribe, - @QueryParam(value = "TranscribeCallback") String transcribeCallback, - @QueryParam(value = "TranscribeCallbackMethod") HttpMethod transcribeCallbackMethod - ); - - - @POST - @Path("Accounts/{AccountSid}/Calls/{CallSid}.json") - @Produces("application/json") - ClientResponse interruptLiveCall( - @PathParam("AccountSid") String accountSid, - @PathParam("CallSid") String callSid, - @QueryParam(value = "Url") String url, - @QueryParam(value = "Method") HttpMethod method, - @QueryParam(value = "Status") CallInterruptStatus status - ); - - @POST - @Path("Accounts/{AccountSid}/Calls/{CallSid}.json") - @Produces("application/json") - ClientResponse hangupCall( - @PathParam("AccountSid") String accountSid, - @PathParam("CallSid") String callSid, - @QueryParam(value = "Status") CallInterruptStatus status - ); - - @POST - @Path("Accounts/{AccountSid}/Calls/{CallSid}.json") - @Produces("application/json") - ClientResponse sendDigits( - @PathParam("AccountSid") String accountSid, - @PathParam("CallSid") String callSid, - @QueryParam("PlayDtmf") String playDtfm, - @QueryParam("PlayDtmfLeg") Legs dtmfLeg - ); - - @POST - @Path("Accounts/{AccountSid}/Calls/{CallSid}/Play.json") - @Produces("application/json") - ClientResponse playAudio( - @PathParam("AccountSid") String accountSid, - @PathParam("CallSid") String callSid, - @QueryParam("AudioUrl") String audioUrl, - @QueryParam("Length") Long length, - @QueryParam("Legs") Legs legs, - @QueryParam("Loop") Boolean loop, - @QueryParam("Mix") Boolean mix - ); - - @POST - @Path("Accounts/{AccountSid}/Calls/{CallSid}/Effect.json") - @Produces("application/json") - ClientResponse voiceEffects( - @PathParam("AccountSid") String accountSid, - @PathParam("CallSid") String callSid, - @QueryParam("AudioDirection") AudioDirection audioDirection, - @QueryParam("Pitch") Double pitch, - @QueryParam("PitchSemiTones") Long pitchSemiTones, - @QueryParam("PitchOctaves") Long pitchOctaves, - @QueryParam("Rate") Double rate - ); - - @POST - @Path("Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json") - @Produces("application/json") - ClientResponse recordCall( - @PathParam("AccountSid") String accountSid, - @PathParam("CallSid") String callSid, - @QueryParam("Record") Boolean record, - @QueryParam("TimeLimit") Long timeLimit, - @QueryParam("CallbackUrl") String callbackUrl - ); -} diff --git a/src/main/java/com/telapi/api/restproxies/CarrierLookupProxy.java b/src/main/java/com/telapi/api/restproxies/CarrierLookupProxy.java deleted file mode 100644 index 129245a..0000000 --- a/src/main/java/com/telapi/api/restproxies/CarrierLookupProxy.java +++ /dev/null @@ -1,50 +0,0 @@ -package com.telapi.api.restproxies; - -import java.util.List; - -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; - -import org.jboss.resteasy.client.ClientResponse; - -import com.telapi.api.domain.list.CarrierLookupList; -import com.telapi.api.domain.list.CnamDipList; - -public interface CarrierLookupProxy { - - @GET - @Path("Accounts/{AccountSid}/Carrier.json") - @Produces("application/json") - ClientResponse carrierLookup( - @PathParam("AccountSid") String accountSid, - @QueryParam("PhoneNumber") String phoneNumber - ); - - @GET - @Path("Accounts/{AccountSid}/Carrier.json") - @Produces("application/json") - ClientResponse carrierLookup( - @PathParam("AccountSid") String accountSid, - @QueryParam("PhoneNumber") List phoneNumber - ); - - @GET - @Path("Accounts/{AccountSid}/CNAM.json") - @Produces("application/json") - ClientResponse cnamLookup( - @PathParam("AccountSid") String accountSid, - @QueryParam("PhoneNumber") String phoneNumber - ); - - @GET - @Path("Accounts/{AccountSid}/CNAM.json") - @Produces("application/json") - ClientResponse cnamLookup( - @PathParam("AccountSid") String accountSid, - @QueryParam("PhoneNumber") List phoneNumbers - ); - -} diff --git a/src/main/java/com/telapi/api/restproxies/ConferenceProxy.java b/src/main/java/com/telapi/api/restproxies/ConferenceProxy.java deleted file mode 100644 index bbedda2..0000000 --- a/src/main/java/com/telapi/api/restproxies/ConferenceProxy.java +++ /dev/null @@ -1,101 +0,0 @@ -package com.telapi.api.restproxies; - -import java.util.List; - -import javax.ws.rs.DELETE; -import javax.ws.rs.GET; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; - -import org.jboss.resteasy.client.ClientResponse; - -import com.telapi.api.domain.Conference; -import com.telapi.api.domain.Participant; -import com.telapi.api.domain.list.ConferenceList; - -public interface ConferenceProxy { - - @GET - @Path("Accounts/{AccountSid}/Conferences/{ConferenceSid}.json") - @Produces("application/json") - ClientResponse viewConference( - @PathParam("AccountSid") String accountSid, - @PathParam("ConferenceSid") String conferenceSid - ); - - @GET - @Path("Accounts/{AccountSid}/Conferences.json") - @Produces("application/json") - ClientResponse listConferences( - @PathParam("AccountSid") String accountSid, - @QueryParam("FriendlyName") String friendlyName, - @QueryParam("Status") String status, - @QueryParam("DateCreated>") String dateCreatedGte, - @QueryParam("DateCreated<") String dateCreatedLt, - @QueryParam("DateUpdated>") String dateUpdatedGte, - @QueryParam("DateUpdated<") String dateUpdatedLt, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - ); - - @GET - @Path("Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json") - @Produces("application/json") - ClientResponse viewParticipant( - @PathParam("AccountSid") String accountSid, - @PathParam("ConferenceSid") String conferenceSid, - @PathParam("CallSid") String callSid - ); - - @GET - @Path("Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants.json") - @Produces("application/json") - ClientResponse> listParticipants( - @PathParam("AccountSid") String accountSid, - @PathParam("ConferenceSid") String conferenceSid, - @QueryParam("Muted") Boolean muted, - @QueryParam("Deaf") Boolean deaf, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - ); - - @POST - @Path("Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json") - @Produces("application/json") - ClientResponse muteDeafParticipant( - @PathParam("AccountSid") String accountSid, - @PathParam("ConferenceSid") String conferenceSid, - @PathParam("CallSid") String callSid, - @QueryParam("Muted") Boolean muted, - @QueryParam("Deaf") Boolean deaf - ); - - - - @DELETE - @Path("Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}.json") - @Produces("application/json") - ClientResponse hangupParticipant( - @PathParam("AccountSid") String accountSid, - @PathParam("ConferenceSid") String conferenceSid, - @PathParam("CallSid") String callSid - ); - - - @POST - @Path("Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid}/Play.json") - @Produces("application/json") - ClientResponse playAudioToParticipant( - @PathParam("AccountSid") String accountSid, - @PathParam("ConferenceSid") String conferenceSid, - @PathParam("CallSid") String callSid, - @QueryParam("AudioUrl") String audioUrl - ); - - - - -} diff --git a/src/main/java/com/telapi/api/restproxies/FraudControlProxy.java b/src/main/java/com/telapi/api/restproxies/FraudControlProxy.java deleted file mode 100644 index 9060edd..0000000 --- a/src/main/java/com/telapi/api/restproxies/FraudControlProxy.java +++ /dev/null @@ -1,65 +0,0 @@ -package com.telapi.api.restproxies; - -import javax.ws.rs.GET; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.QueryParam; - -import org.jboss.resteasy.client.ClientResponse; - -import com.telapi.api.domain.list.FraudList; - -public interface FraudControlProxy { - - @GET - @Path("Accounts/{AccountSid}/Fraud.json") - ClientResponse listFraudControlResources( - @PathParam("AccountSid") String accountSid, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - ); - - - @POST - @Path("Accounts/{AccountSid}/Fraud/Authorize/{CountryCode}.json") - ClientResponse authorizeDestination( - @PathParam("AccountSid") String accountSid, - @PathParam("CountryCode") String countryCode, - @QueryParam(value="MobileEnabled") Boolean mobileEnabled, - @QueryParam(value="LandlineEnabled") Boolean landlineEnabled, - @QueryParam(value="SmsEnabled") Boolean smsEnabled - ); - - - - @POST - @Path("Accounts/{AccountSid}/Fraud/Block/{CountryCode}.json") - ClientResponse blockDestination( - @PathParam("AccountSid") String accountSid, - @PathParam("CountryCode") String countryCode, - @QueryParam(value="MobileEnabled") Boolean mobileEnabled, - @QueryParam(value="LandlineEnabled") Boolean landlineEnabled, - @QueryParam(value="SmsEnabled") Boolean smsEnabled - ); - - @POST - @Path("Accounts/{AccountSid}/Fraud/Extend/{CountryCode}.json") - ClientResponse extendDestinationAuth( - @PathParam("AccountSid") String accountSid, - @PathParam("CountryCode") String countryCode, - @QueryParam(value="MobileEnabled") Boolean mobileEnabled, - @QueryParam(value="LandlineEnabled") Boolean landlineEnabled, - @QueryParam(value="SmsEnabled") Boolean smsEnabled - ); - - @POST - @Path("Accounts/{AccountSid}/Fraud/Whitelist/{CountryCode}.json") - ClientResponse whitelistDestination( - @PathParam("AccountSid") String accountSid, - @PathParam("CountryCode") String countryCode, - @QueryParam(value="MobileEnabled") Boolean mobileEnabled, - @QueryParam(value="LandlineEnabled") Boolean landlineEnabled, - @QueryParam(value="SmsEnabled") Boolean smsEnabled - ); -} diff --git a/src/main/java/com/telapi/api/restproxies/IncomingPhoneNumberProxy.java b/src/main/java/com/telapi/api/restproxies/IncomingPhoneNumberProxy.java deleted file mode 100644 index f89a355..0000000 --- a/src/main/java/com/telapi/api/restproxies/IncomingPhoneNumberProxy.java +++ /dev/null @@ -1,81 +0,0 @@ -package com.telapi.api.restproxies; - -import javax.ws.rs.DELETE; -import javax.ws.rs.GET; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; - -import org.jboss.resteasy.client.ClientResponse; - -import com.telapi.api.domain.IncomingPhoneNumber; -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.domain.list.IncomingPhoneNumberList; - -public interface IncomingPhoneNumberProxy { - - @GET - @Path("Accounts/{AccountSid}/IncomingPhoneNumbers/{IncomingPhoneNumberSid}.json") - @Produces("application/json") - ClientResponse viewIncomingPhoneNumber( - @PathParam("AccountSid") String accountSid, - @PathParam("IncomingPhoneNumberSid") String incomingPhoneNumberSid - ); - - @GET - @Path("Accounts/{AccountSid}/IncomingPhoneNumbers.json") - @Produces("application/json") - ClientResponse listIncomingPhoneNumbers( - @PathParam("AccountSid") String accountSid, - @QueryParam("PhoneNumber") String phoneNumber, - @QueryParam("FriendlyName") String friendlyName, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - ); - - @POST - @Path("Accounts/{AccountSid}/IncomingPhoneNumbers.json") - @Produces("application/json") - ClientResponse addIncomingPhoneNumber( - @PathParam("AccountSid") String accountSid, - @QueryParam("PhoneNumber") String phoneNumber, - @QueryParam("AreaCode") String areaCode - ); - - @DELETE - @Path("Accounts/{AccountSid}/IncomingPhoneNumbers/{IncomingPhoneNumberSid}.json") - @Produces("application/json") - ClientResponse deleteIncomingPhoneNumber( - @PathParam("AccountSid") String accountSid, - @PathParam("IncomingPhoneNumberSid") String incomingPhoneNumberSid - ); - - @POST - @Path("Accounts/{AccountSid}/IncomingPhoneNumbers/{IncomingPhoneNumberSid}.json") - @Produces("application/json") - ClientResponse updateIncomingPhoneNumber( - @PathParam("AccountSid") String accountSid, - @PathParam("IncomingPhoneNumberSid") String incomingPhoneNumberSid, - - @QueryParam("FriendlyName") String friendlyName, - @QueryParam("VoiceUrl") String voiceUrl, - @QueryParam("VoiceMethod") HttpMethod voiceMethod, - @QueryParam("VoiceFallbackUrl") String voiceFallbackUrl, - @QueryParam("VoiceFallbackMethod") HttpMethod voiceFallbackMethod, - @QueryParam("VoiceCallerIdLookup") Boolean voiceCallerIdLookup, - @QueryParam("SmsUrl") String smsUrl, - @QueryParam("SmsMethod") HttpMethod smsMethod, - @QueryParam("SmsFallbackUrl") String smsFallbackUrl, - @QueryParam("SmsFallbackMethod") HttpMethod smsFallbackMethod, - @QueryParam("HangupCallback") String hangupCallback, - @QueryParam("HangupCallbackMethod") HttpMethod hangupCallbackMethod, - @QueryParam("HeartbeatUrl") String heartbeatUrl, - @QueryParam("HeartbeatMethod") HttpMethod heartbeatMethod - ); - - - - -} diff --git a/src/main/java/com/telapi/api/restproxies/NotificationProxy.java b/src/main/java/com/telapi/api/restproxies/NotificationProxy.java deleted file mode 100644 index 0314f80..0000000 --- a/src/main/java/com/telapi/api/restproxies/NotificationProxy.java +++ /dev/null @@ -1,45 +0,0 @@ -package com.telapi.api.restproxies; - -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; - -import org.jboss.resteasy.client.ClientResponse; - -import com.telapi.api.domain.Notification; -import com.telapi.api.domain.enums.LogLevel; -import com.telapi.api.domain.list.NotificationList; - -public interface NotificationProxy { - - @GET - @Path("Accounts/{AccountSid}/Notifications/{NotificationSid}.json") - @Produces("application/json") - ClientResponse viewNotification( - @PathParam("AccountSid") String accountSid, - @PathParam("NotificationSid") String notificationSid - ); - - @GET - @Path("Accounts/{AccountSid}/Notifications.json") - @Produces("application/json") - ClientResponse listNotifications( - @PathParam("AccountSid") String accountSid, - @QueryParam(value="Log") LogLevel log, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - ); - - @GET - @Path("Accounts/{AccountSid}/Calls/{CallSid}/Notifications.json") - @Produces("application/json") - ClientResponse listCallNotifications( - @PathParam("AccountSid") String accountSid, - @PathParam("CallSid") String callSid, - @QueryParam(value="Log") LogLevel log, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - ); -} diff --git a/src/main/java/com/telapi/api/restproxies/RecordingProxy.java b/src/main/java/com/telapi/api/restproxies/RecordingProxy.java deleted file mode 100644 index b2a919c..0000000 --- a/src/main/java/com/telapi/api/restproxies/RecordingProxy.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.telapi.api.restproxies; - -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; - -import org.jboss.resteasy.client.ClientResponse; - -import com.telapi.api.domain.Recording; -import com.telapi.api.domain.list.RecordingList; - -public interface RecordingProxy { - - @GET - @Path("Accounts/{AccountSid}/Recordings/{RecordingSid}.json") - @Produces("application/json") - ClientResponse viewRecording( - @PathParam("AccountSid") String accountSid, - @PathParam("RecordingSid") String recordingSid); - - @GET - @Path("Accounts/{AccountSid}/Recordings/{RecordingSid}.mp3") - @Produces("application/json") - ClientResponse getRecording( - @PathParam("AccountSid") String accountSid, - @PathParam("RecordingSid") String recordingSid); - - @GET - @Path("Accounts/{AccountSid}/Recordings.json") - @Produces("application/json") - ClientResponse listRecordings( - @PathParam("AccountSid") String accountSid, - @QueryParam(value="DateCreated>") String dateCreatedGte, - @QueryParam(value="DateCreated<") String dateCreatedLt, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - ); - - @GET - @Path("Accounts/{AccountSid}/Calls/{CallSid}/Recordings.json") - @Produces("application/json") - ClientResponse listCallRecordings( - @PathParam("AccountSid") String accountSid, - @PathParam("CallSid") String callSid, - @QueryParam(value="DateCreated>") String dateCreatedGte, - @QueryParam(value="DateCreated<") String dateCreatedLt, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - ); -} diff --git a/src/main/java/com/telapi/api/restproxies/SmsProxy.java b/src/main/java/com/telapi/api/restproxies/SmsProxy.java deleted file mode 100644 index 0d504b2..0000000 --- a/src/main/java/com/telapi/api/restproxies/SmsProxy.java +++ /dev/null @@ -1,46 +0,0 @@ -package com.telapi.api.restproxies; - -import javax.ws.rs.GET; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; - -import org.jboss.resteasy.client.ClientResponse; - -import com.telapi.api.domain.SmsMessage; -import com.telapi.api.domain.list.SmsMessageList; - -public interface SmsProxy { - @GET - @Path("Accounts/{AccountSid}/SMS/Messages/{SMSMessageSid}.json") - @Produces("application/json") - ClientResponse getSmsMessage(@PathParam("AccountSid") String accountSid, @PathParam("SMSMessageSid") String smsMessageSid); - - @GET - @Path("Accounts/{AccountSid}/SMS/Messages.json") - @Produces("application/json") - ClientResponse getSmsMessageList( - @PathParam("AccountSid") String accountSid, - @QueryParam(value="To") String to, - @QueryParam(value="From") String from, - @QueryParam(value="DateSent>") String dateSentGte, - @QueryParam(value="DateSent<") String dateSentLt, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - ); - - @POST - @Path("Accounts/{AccountSid}/SMS/Messages.json") - @Produces("application/json") - ClientResponse sendSmsMessage( - @PathParam("AccountSid") String accountSid, - @QueryParam(value="To") String to, - @QueryParam(value="From") String from, - @QueryParam(value="Body") String body, - @QueryParam(value="StatusCallback") String statusCallback - ); - -} - diff --git a/src/main/java/com/telapi/api/restproxies/TranscriptionProxy.java b/src/main/java/com/telapi/api/restproxies/TranscriptionProxy.java deleted file mode 100644 index 86a7d58..0000000 --- a/src/main/java/com/telapi/api/restproxies/TranscriptionProxy.java +++ /dev/null @@ -1,84 +0,0 @@ -package com.telapi.api.restproxies; - -import javax.ws.rs.GET; -import javax.ws.rs.POST; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; - -import org.jboss.resteasy.client.ClientResponse; - -import com.telapi.api.domain.Transcription; -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.domain.enums.TranscriptionStatus; -import com.telapi.api.domain.enums.TranscriptionType; -import com.telapi.api.domain.list.TranscriptionList; - -public interface TranscriptionProxy { - - @GET - @Path("Accounts/{AccountSid}/Transcriptions/{TranscriptionSid}.json") - @Produces("application/json") - ClientResponse viewTranscription( - @PathParam("AccountSid") String accountSid, - @PathParam("TranscriptionSid") String transcriptionSid - ); - - @GET - @Path("Accounts/{AccountSid}/Transcriptions/{TranscriptionSid}.txt") - @Produces("text/plain") - ClientResponse viewTranscriptionText( - @PathParam("AccountSid") String accountSid, - @PathParam("TranscriptionSid") String transcriptionSid - ); - - @GET - @Path("Accounts/{AccountSid}/Transcriptions.json") - @Produces("application/json") - ClientResponse listTranscriptions( - @PathParam("AccountSid") String accountSid, - @QueryParam(value="Status") TranscriptionStatus status, - @QueryParam(value="DateTranscribed>") String dateTranscribedGte, - @QueryParam(value="DateTranscribed<") String dateTranscribedLt, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - - ); - - @GET - @Path("Accounts/{AccountSid}/{RecordingSid}/Transcriptions.json") - @Produces("application/json") - ClientResponse listRecordingTranscriptions( - @PathParam("AccountSid") String accountSid, - @PathParam("RecordingSid") String recordingSid, - @QueryParam(value="Status") TranscriptionStatus status, - @QueryParam(value="DateTranscribed>") String dateTranscribedGte, - @QueryParam(value="DateTranscribed<") String dateTranscribedLt, - @QueryParam(value="Page") Long page, - @QueryParam(value="PageSize") Long pageSize - ); - - @POST - @Path("Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions.json") - @Produces("application/json") - ClientResponse transcribeRecording( - @PathParam("AccountSid") String accountSid, - @PathParam("RecordingSid") String recordingSid, - @QueryParam(value="TranscribeCallback") String transcribeCallback, - @QueryParam(value="CallbackMehtod") HttpMethod callbackMethod, - @QueryParam(value="Quality") TranscriptionType quality - ); - - @POST - @Path("Accounts/{AccountSid}/Transcriptions.json") - @Produces("application/json") - ClientResponse transcribeAudioUrl( - @PathParam("AccountSid") String accountSid, - @QueryParam(value="AudioUrl") String audioUrl, - @QueryParam(value="TranscribeCallback") String transcribeCallback, - @QueryParam(value="CallbackMehtod") HttpMethod callbackMethod, - @QueryParam(value="Quality") TranscriptionType quality - ); - -} diff --git a/src/main/java/log4j.properties b/src/main/java/log4j.properties deleted file mode 100644 index 85116b0..0000000 --- a/src/main/java/log4j.properties +++ /dev/null @@ -1,17 +0,0 @@ -log4j.rootLogger=debug, stdout - -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout - -# Pattern to output the caller's file name and line number. -log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n - -log4j.appender.R=org.apache.log4j.RollingFileAppender -log4j.appender.R.File=example.log - -log4j.appender.R.MaxFileSize=100KB -# Keep one backup file -log4j.appender.R.MaxBackupIndex=1 - -log4j.appender.R.layout=org.apache.log4j.PatternLayout -log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n \ No newline at end of file diff --git a/src/main/java/telapi.properties.example b/src/main/java/telapi.properties.example deleted file mode 100644 index 5cea572..0000000 --- a/src/main/java/telapi.properties.example +++ /dev/null @@ -1,5 +0,0 @@ -sid=YOURSIDGOESHERE -authToken=YOURAUTHORIZATIONTOKENGOESHERE -proxyHost= -proxyPort=8080 -proxyProtocol=http \ No newline at end of file diff --git a/src/test/java/com/telapi/api/AccountTest.java b/src/test/java/com/telapi/api/AccountTest.java deleted file mode 100644 index e54f9d4..0000000 --- a/src/test/java/com/telapi/api/AccountTest.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.telapi.api; - -import org.junit.Test; - -import com.telapi.api.exceptions.TelapiException; - -public class AccountTest extends BaseTelapiTest{ - - @Test - public void testGetAccount() throws TelapiException{ - connector.viewAccount(conf.getSid()); - connector.viewAccounts(); - } - -} diff --git a/src/test/java/com/telapi/api/ApplicationTest.java b/src/test/java/com/telapi/api/ApplicationTest.java deleted file mode 100644 index 19167da..0000000 --- a/src/test/java/com/telapi/api/ApplicationTest.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.telapi.api; - -import org.junit.Assert; -import org.junit.Test; - -import com.telapi.api.domain.Application; -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.domain.list.ApplicationList; -import com.telapi.api.exceptions.TelapiException; - -public class ApplicationTest extends BaseTelapiTest { - - @Test - public void testCreateApplication() throws TelapiException { - Application app = connector.createApplication("my_app", "www.google.com", HttpMethod.GET, "voicefallback.com", - HttpMethod.POST, true, "smsurl.com", HttpMethod.GET, "smsfallback.com", HttpMethod.GET, "heartbeat.com", HttpMethod.GET, "hangupcallback.com", HttpMethod.POST); - - Assert.assertEquals("heartbeat.com", app.getHeartbeatUrl()); - Assert.assertEquals("my_app", app.getFriendlyName()); - connector.deleteApplication(app.getSid()); - } - - @Test - public void testListApplications() throws TelapiException { - Application app = connector.createApplication("my_app", "www.google.com", HttpMethod.GET, null, - null, null, null, null, null, null, "heartbeat.com", HttpMethod.GET, null, null); - - - ApplicationList list = connector.listApplications("my_app", 0L, 10L); - - boolean found = false; - for(Application lApp : list) { - if (lApp.getSid().equals(app.getSid())) { - found = true; - break; - } - } - Assert.assertTrue(found); - } - - @Test - public void testViewApplication() throws TelapiException { - Application app = connector.createApplication("my_app", "www.google.com", HttpMethod.GET, null, - null, null, null, null, null, null, "heartbeat.com", HttpMethod.GET, null, null); - - Application vApp = connector.viewApplication(app.getSid()); - - Assert.assertEquals(app.getSid(), vApp.getSid()); - Assert.assertEquals("heartbeat.com", vApp.getHeartbeatUrl()); - Assert.assertEquals("my_app", vApp.getFriendlyName()); - connector.deleteApplication(app.getSid()); - } - - @Test - public void testUpdateApplication() throws TelapiException { - Application app = connector.createApplication("my_app", "www.google.com", HttpMethod.GET, null, - null, null, null, null, null, null, "heartbeat.com", HttpMethod.GET, null, null); - - Assert.assertEquals("heartbeat.com", app.getHeartbeatUrl()); - Assert.assertEquals(HttpMethod.GET, app.getHeartbeatMethod()); - - Application uApp = connector.updateApplication(app.getSid(), - "my_app", "www.google.com", HttpMethod.GET, "voicefallback.com", - HttpMethod.POST, true, "smsurl.com", HttpMethod.GET, "smsfallback.com", HttpMethod.GET, "nobeat.com", HttpMethod.POST, "hangupcallback.com", HttpMethod.POST); - - Application vApp = connector.viewApplication(uApp.getSid()); - - Assert.assertEquals(vApp.getSid(), app.getSid()); - Assert.assertEquals("nobeat.com", vApp.getHeartbeatUrl()); - Assert.assertEquals(HttpMethod.POST, vApp.getHeartbeatMethod()); - connector.deleteApplication(app.getSid()); - } - - @Test - public void testDeleteApplication() throws TelapiException { - Application app = connector.createApplication("my_app", "www.google.com", HttpMethod.GET, null, - null, null, null, null, null, null, "heartbeat.com", HttpMethod.GET, null, null); - - connector.deleteApplication(app.getSid()); - - ApplicationList list = connector.listApplications(null, null, null); - - for(Application lApp : list) { - if (lApp.getSid().equals(app.getSid())) { - Assert.fail("Application wasn't deleted."); - } - } - } - - @Test - public void testDeleteAllApplications() throws TelapiException { - ApplicationList list = connector.listApplications(null, null, null); - - for(Application app : list) { - connector.deleteApplication(app.getSid()); - } - } -} diff --git a/src/test/java/com/telapi/api/AvailablePhoneNumbersTest.java b/src/test/java/com/telapi/api/AvailablePhoneNumbersTest.java deleted file mode 100644 index 8627afe..0000000 --- a/src/test/java/com/telapi/api/AvailablePhoneNumbersTest.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.telapi.api; - -import org.junit.Test; - -import com.telapi.api.exceptions.TelapiException; - -public class AvailablePhoneNumbersTest extends BaseTelapiTest { - - @Test - public void testListAvailablePhoneNumbers() throws TelapiException{ - connector.listAvailablePhoneNumbers("US", "425", "999", "KS", "66101", 0L, 10L); - } -} diff --git a/src/test/java/com/telapi/api/BaseTelapiTest.java b/src/test/java/com/telapi/api/BaseTelapiTest.java deleted file mode 100644 index 349310b..0000000 --- a/src/test/java/com/telapi/api/BaseTelapiTest.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.telapi.api; - -import com.telapi.api.configuration.PropertiesFileTelapiConfiguration; -import com.telapi.api.configuration.TelapiConfiguration; -import com.telapi.api.testutil.TestParameters; - -public abstract class BaseTelapiTest { - - protected TelapiConfiguration conf; - protected TestParameters testParameters; - protected TelapiConnector connector; - - public BaseTelapiTest(){ - this.testParameters = new TestParameters(); - conf = new PropertiesFileTelapiConfiguration(); - connector = new TelapiConnector(conf); - } - -} diff --git a/src/test/java/com/telapi/api/CallTest.java b/src/test/java/com/telapi/api/CallTest.java deleted file mode 100644 index ea8d15b..0000000 --- a/src/test/java/com/telapi/api/CallTest.java +++ /dev/null @@ -1,88 +0,0 @@ -package com.telapi.api; - -import java.util.Date; - -import org.junit.Assert; -import org.junit.Test; - -import com.telapi.api.domain.Call; -import com.telapi.api.domain.enums.AudioDirection; -import com.telapi.api.domain.enums.CallStatus; -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.domain.enums.Legs; -import com.telapi.api.domain.list.CallList; -import com.telapi.api.exceptions.TelapiException; -import com.telapi.api.requests.CallRequest; - -public class CallTest extends BaseTelapiTest{ - - private CallRequest createRequest(){ - CallRequest request = new CallRequest(); - request.setTo(testParameters.getPhone1()); - request.setFrom(testParameters.getPhone2()); - request.setUrl("http://www.telapi.com/ivr/welcome/call"); - request.setTimeout(15L); - return request; - } - - @Test - public void testListCalls() throws TelapiException { - connector.listCalls("1", "1", CallStatus.COMPLETED, new Date(0L), new Date(), 0L, 5L, null); - } - - @Test - public void testViewCall() throws TelapiException { - CallList calls = connector.listCalls(null, null, null, null, null, 0L, 5L, null); - connector.viewCall(calls.iterator().next().getSid()); - } - - @Test - public void makeCall() throws TelapiException { - Call call = connector.makeCall(testParameters.getPhone1(), testParameters.getPhone2(), "http://www.telapi.com/ivr/welcome/call", HttpMethod.POST, - "fallbackurl.com", HttpMethod.GET, "statusCallback.com", HttpMethod.POST, "heartbeat.com", HttpMethod.GET, testParameters.getPhone2(), "123", 15L, false, false, "recording.com", HttpMethod.POST, - true, "transcribe.com", HttpMethod.GET); - Assert.assertNotNull(call); - Call receivedCall = connector.viewCall(call.getSid()); - - Assert.assertEquals(call.getSid(), receivedCall.getSid()); - connector.hangUpCall(call.getSid()); - - } - - @Test - public void hangUpAll() throws TelapiException { - CallList list = connector.listCalls(null, null, null, null, null, null, null, null); - for (Call c : list) { - connector.hangUpCall(c.getSid()); - } - } - - @Test - public void testSendDigits() throws TelapiException { - - Call call = connector.makeCall(createRequest()); - connector.sendDigits(call.getSid(), "123123wwww123", Legs.BOTH); - connector.hangUpCall(call.getSid()); - } - - @Test - public void testPlaySound() throws TelapiException { - Call call = connector.makeCall(createRequest()); - connector.playAudioToCall(call.getSid(), "http://www.freeinfosociety.com/media/sounds/198.mp3", 15L, Legs.BOTH, false, true); - connector.hangUpCall(call.getSid()); - } - - @Test - public void testVoiceEffects() throws TelapiException { - Call call = connector.makeCall(createRequest()); - connector.voiceEffects(call.getSid(), AudioDirection.OUT, 0.7, 2L, 1L, 0.9); - connector.hangUpCall(call.getSid()); - } - - @Test - public void testRecordCalls() throws TelapiException { - Call call = connector.makeCall(createRequest()); - connector.recordCall(call.getSid(), true, 100L, "callback.com"); - connector.hangUpCall(call.getSid()); - } -} diff --git a/src/test/java/com/telapi/api/CarrierLookupTest.java b/src/test/java/com/telapi/api/CarrierLookupTest.java deleted file mode 100644 index ceca73f..0000000 --- a/src/test/java/com/telapi/api/CarrierLookupTest.java +++ /dev/null @@ -1,37 +0,0 @@ -package com.telapi.api; - -import java.util.ArrayList; -import java.util.List; - -import org.junit.Test; - -import com.telapi.api.domain.list.CarrierLookupList; -import com.telapi.api.domain.list.CnamDipList; -import com.telapi.api.exceptions.TelapiException; - -public class CarrierLookupTest extends BaseTelapiTest { - - @Test - public void testCarrierLookup() throws TelapiException { - CarrierLookupList lookuplist = connector.carrierLookup(testParameters.getPhone1()); - System.out.println(lookuplist.getTotal()); - - } - - @Test - public void testCnamLookup() throws TelapiException { - CnamDipList lookup = connector.cnamLookup(testParameters.getPhone1()); - System.out.println(lookup.getTotal()); - } - - - @Test - public void testCnamLookupMany() throws TelapiException { - List lookupNumbers = new ArrayList(); - lookupNumbers.add(testParameters.getPhone1()); - lookupNumbers.add(testParameters.getPhone2()); - CnamDipList lookup = connector.cnamLookup(lookupNumbers); - System.out.println(lookup.getTotal()); - } - -} diff --git a/src/test/java/com/telapi/api/ConferenceTest.java b/src/test/java/com/telapi/api/ConferenceTest.java deleted file mode 100644 index 47ffa5d..0000000 --- a/src/test/java/com/telapi/api/ConferenceTest.java +++ /dev/null @@ -1,67 +0,0 @@ -package com.telapi.api; - -import java.util.Date; -import java.util.List; - -import org.junit.Test; - -import com.telapi.api.domain.Conference; -import com.telapi.api.domain.Participant; -import com.telapi.api.domain.list.ConferenceList; -import com.telapi.api.exceptions.TelapiException; - -public class ConferenceTest extends BaseTelapiTest { - - - @Test - public void testViewConference() throws TelapiException { - ConferenceList conferences = connector.listConferences(); - Conference c = conferences.iterator().next(); - connector.viewConference(c.getSid()); - } - - @Test - public void testListConferences() throws TelapiException { - connector.listConferences("fname", "in-progress", new Date(0L), new Date(), new Date(0L), new Date(), 0L, 10L); - } - - @Test - public void testListParticipants() throws TelapiException { - ConferenceList conferences = connector.listConferences(null, null, null, null, null, null, 0L, 2L); - Conference c = conferences.iterator().next(); - connector.listParticipants(c.getSid(), false, false, 0L, 10L); - } - - @Test - public void testViewParticipant() throws TelapiException { - ConferenceList conferences = connector.listConferences(null, null, null, null, null, null, 0L, 2L); - Conference c = conferences.iterator().next(); - List participants = connector.listParticipants(c.getSid()); - Participant p = participants.iterator().next(); - connector.viewParticipant(c.getSid(), p.getCallSid()); - } - - @Test - public void testMuteDeafParticipant() throws TelapiException { - ConferenceList conferences = connector.listConferences(null, null, null, null, null, null, 0L, 2L); - Conference c = conferences.iterator().next(); - List participants = connector.listParticipants(c.getSid()); - Participant p = participants.iterator().next(); - connector.deafOrMuteParticipant(c.getSid(), p.getCallSid(), true, false); - } - - @Test - public void testPlayAudio() throws TelapiException { - Conference c = connector.listConferences(null, null, null, null, null, null, 0L, 2L).iterator().next(); - Participant participant = connector.listParticipants(c.getSid()).iterator().next(); - connector.playAudioToParticipant(c.getSid(), participant.getCallSid(), testParameters.getMp3Url()); - } - - - @Test - public void testHangupMember() throws TelapiException { - Conference c = connector.listConferences(null, null, null, null, null, null, 0L, 2L).iterator().next(); - Participant participant = connector.listParticipants(c.getSid()).iterator().next(); - connector.hangupParticipant(c.getSid(), participant.getCallSid()); - } -} diff --git a/src/test/java/com/telapi/api/ConnectionTest.java b/src/test/java/com/telapi/api/ConnectionTest.java deleted file mode 100644 index 594adb2..0000000 --- a/src/test/java/com/telapi/api/ConnectionTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.telapi.api; - -import junit.framework.Assert; - -import org.junit.Test; - -import com.telapi.api.configuration.BasicTelapiConfiguration; -import com.telapi.api.configuration.PropertiesFileTelapiConfiguration; -import com.telapi.api.exceptions.TelapiException; - -public class ConnectionTest { - - @Test - public void testInvalidCredentials(){ - BasicTelapiConfiguration conf = new BasicTelapiConfiguration("", ""); - TelapiConnector conn = new TelapiConnector(conf); - - try { - conn.viewAccount(new PropertiesFileTelapiConfiguration().getSid()); - Assert.fail(); - } catch (TelapiException e) { - - } - } - -} diff --git a/src/test/java/com/telapi/api/FraudControlTest.java b/src/test/java/com/telapi/api/FraudControlTest.java deleted file mode 100644 index 423585b..0000000 --- a/src/test/java/com/telapi/api/FraudControlTest.java +++ /dev/null @@ -1,34 +0,0 @@ -package com.telapi.api; - -import org.junit.Test; - -import com.telapi.api.exceptions.TelapiException; - -public class FraudControlTest extends BaseTelapiTest { - - @Test - public void testListFraudControlResources() throws TelapiException { - connector.listFraudControlResources(0L, 15L); - } - - @Test - public void testBlockDestination() throws TelapiException { - connector.blockDestination("US", true, true, true); - } - - @Test - public void testAuthorizeDestination() throws TelapiException { - connector.authorizeDestination("US", true, true, true); - } - - @Test - public void testExtendDestination() throws TelapiException { - connector.extendDestinationAuth("US", true, true, true); - } - - @Test - public void testWhitelistDestination() throws TelapiException { - connector.whitelistDestination("US", true, true, true); - } - -} diff --git a/src/test/java/com/telapi/api/IncomingPhoneNumberTest.java b/src/test/java/com/telapi/api/IncomingPhoneNumberTest.java deleted file mode 100644 index 9e870c7..0000000 --- a/src/test/java/com/telapi/api/IncomingPhoneNumberTest.java +++ /dev/null @@ -1,71 +0,0 @@ -package com.telapi.api; - -import junit.framework.Assert; - -import org.junit.Test; - -import com.telapi.api.domain.IncomingPhoneNumber; -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.domain.list.IncomingPhoneNumberList; -import com.telapi.api.exceptions.TelapiException; - -public class IncomingPhoneNumberTest extends BaseTelapiTest { - - @Test - public void testListPhoneNumbers() throws TelapiException { - connector.listIncomingPhoneNumbers("1", "name", 0L, 10L); - } - - @Test - public void testViewPhoneNumber() throws TelapiException { - IncomingPhoneNumberList list = connector.listIncomingPhoneNumbers(null, null, null, null); - for(IncomingPhoneNumber number : list) { - connector.viewIncomingPhoneNumber(number.getSid()); - } - } - - - public void addPhoneNumbers() throws TelapiException { - connector.addIncomingPhoneNumber(testParameters.getPhone1(), testParameters.getArea1()); - connector.addIncomingPhoneNumber(testParameters.getPhone2(), testParameters.getArea2()); - } - - @Test - public void testDeleteAndAddPhoneNumber() throws TelapiException { - - IncomingPhoneNumberList list = connector.listIncomingPhoneNumbers(null, null, 0L, 1L); - IncomingPhoneNumber number = list.iterator().next(); - - connector.deleteIncomingPhoneNumber(number.getSid()); - - list = connector.listIncomingPhoneNumbers(null, null, null, null); - for(IncomingPhoneNumber lNumber : list) { - if (lNumber.getSid().equals(number.getSid())) { - Assert.fail("Number wasn't deleted!"); - return; - } - } - - String prefix = number.getPhoneNumber().substring(0, 5); - connector.addIncomingPhoneNumber(number.getPhoneNumber(), prefix); - - } - - @Test - public void testUpdateNumber() throws TelapiException{ - IncomingPhoneNumberList list = connector.listIncomingPhoneNumbers(null, null, null, null); - IncomingPhoneNumber number = list.iterator().next(); - connector.updateIncomingPhoneNumber(number.getSid(), "first_number", - "voice.com", HttpMethod.POST, "fallbackUrl.com", HttpMethod.GET, false, "smsurl.com", HttpMethod.POST, - "smsfallbackurl.com", HttpMethod.GET, "hangup.com", HttpMethod.POST, "heartbeat.com", HttpMethod.GET); - IncomingPhoneNumber nr = connector.viewIncomingPhoneNumber(number.getSid()); - Assert.assertEquals("voice.com", nr.getVoiceUrl().trim()); - - connector.updateIncomingPhoneNumber(number.getSid(), null, - "", null, null, null, null, null, null, null, null, null, null, null, null); - nr = connector.viewIncomingPhoneNumber(number.getSid()); - Assert.assertEquals("", nr.getVoiceUrl().trim()); - - } - -} diff --git a/src/test/java/com/telapi/api/NotificationTest.java b/src/test/java/com/telapi/api/NotificationTest.java deleted file mode 100644 index 5339a93..0000000 --- a/src/test/java/com/telapi/api/NotificationTest.java +++ /dev/null @@ -1,50 +0,0 @@ -package com.telapi.api; - -import java.util.Iterator; - -import junit.framework.Assert; - -import org.junit.Test; - -import com.telapi.api.domain.Call; -import com.telapi.api.domain.Notification; -import com.telapi.api.domain.enums.LogLevel; -import com.telapi.api.domain.list.NotificationList; -import com.telapi.api.exceptions.TelapiException; - -public class NotificationTest extends BaseTelapiTest { - - - @Test - public void testListNotifications() throws TelapiException{ - connector.listNotifications(LogLevel.INFO, 0L, 10L); - } - - @Test - public void testListCallNotifications() throws TelapiException { - NotificationList list = connector.listNotifications(LogLevel.INFO, 0L, 10L); - Notification n = null; - Call c = connector.listCalls(null, null, null, null, null, 0L, 1L, null).iterator().next(); - Iterator it = list.iterator(); - while ((n = it.next()).getCallSid() == null); - NotificationList cList = connector.listCallNotifications(c.getSid(), LogLevel.INFO, 0L, 10L); - - boolean found = false; - for(Notification n2 : cList) { - if (n2.getSid().equals(n.getSid())) { - found = true; - break; - } - } - Assert.assertTrue(found); - } - - @Test - public void testViewNotification() throws TelapiException { - NotificationList list = connector.listNotifications(LogLevel.INFO, null, null); - Notification n = list.iterator().next(); - Notification vNot = connector.viewNotification(n.getSid()); - Assert.assertEquals(vNot.getSid(), n.getSid()); - } - -} diff --git a/src/test/java/com/telapi/api/RecordingsTest.java b/src/test/java/com/telapi/api/RecordingsTest.java deleted file mode 100644 index e6ef4ee..0000000 --- a/src/test/java/com/telapi/api/RecordingsTest.java +++ /dev/null @@ -1,46 +0,0 @@ -package com.telapi.api; - -import java.util.Date; - -import org.junit.Test; - -import com.telapi.api.domain.Call; -import com.telapi.api.domain.Recording; -import com.telapi.api.domain.list.RecordingList; -import com.telapi.api.exceptions.TelapiException; - -public class RecordingsTest extends BaseTelapiTest { - - @Test - public void testListRecordings() throws TelapiException { - RecordingList list = connector.listRecordings(new Date(0), new Date(), 0L, 10L); - for(Recording r : list) { - System.out.println(r.getCallSid() + " " + r.getSid()); - } - } - - @Test - public void testListCallRecordings() throws TelapiException { - Call c = connector.listCalls(null, null, null, null, null, null, null, null).iterator().next(); - RecordingList list = connector.listCallRecordings(c.getSid(), new Date(0), new Date(), 0L, 10L); - - for(Recording r : list) { - System.out.println(r.getCallSid() + " " + r.getSid()); - } - } - - @Test - public void testViewRecording() throws TelapiException { - RecordingList list = connector.listRecordings(null, null, null, null); - Recording r = list.iterator().next(); - connector.viewRecording(r.getSid()); - } - - @Test - public void testGetRecordingUrl() throws TelapiException { - RecordingList list = connector.listRecordings(null, null, null, null); - Recording r = list.iterator().next(); - String url = connector.getRecordingUrl(r.getSid()); - System.out.println(url); - } -} diff --git a/src/test/java/com/telapi/api/SmsTest.java b/src/test/java/com/telapi/api/SmsTest.java deleted file mode 100644 index dcc703a..0000000 --- a/src/test/java/com/telapi/api/SmsTest.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.telapi.api; - -import java.util.Date; - -import junit.framework.Assert; - -import org.junit.Test; - -import com.telapi.api.domain.SmsMessage; -import com.telapi.api.exceptions.TelapiException; - - -public class SmsTest extends BaseTelapiTest { - - @Test - public void testGetSmsList() throws TelapiException{ - connector.listSmsMessages("1", "2", new Date(0), new Date(), 0L, 10L); - } - - @Test - public void testSendAndGetSms() throws TelapiException{ - SmsMessage msg = connector.sendSmsMessage(testParameters.getPhone1(), testParameters.getPhone2(), "test from java", "callback.url"); - SmsMessage receivedMessage = connector.viewSmsMessage(msg.getSid()); - Assert.assertEquals(msg.getSid(), receivedMessage.getSid()); - } - -} diff --git a/src/test/java/com/telapi/api/TranscriptionTest.java b/src/test/java/com/telapi/api/TranscriptionTest.java deleted file mode 100644 index 53bfcc2..0000000 --- a/src/test/java/com/telapi/api/TranscriptionTest.java +++ /dev/null @@ -1,53 +0,0 @@ -package com.telapi.api; - -import java.util.Date; - -import org.junit.Test; - -import com.telapi.api.domain.Recording; -import com.telapi.api.domain.Transcription; -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.domain.enums.TranscriptionStatus; -import com.telapi.api.domain.enums.TranscriptionType; -import com.telapi.api.domain.list.TranscriptionList; -import com.telapi.api.exceptions.TelapiException; - -public class TranscriptionTest extends BaseTelapiTest { - - @Test - public void testTranscribeAudio() throws TelapiException { - Transcription tr = connector.transcribeAudioUrl(testParameters.getMp3Url(), "callbackurl.com", HttpMethod.GET, TranscriptionType.AUTO); - String tt = connector.viewTranscriptionText(tr.getSid()); - System.out.println(tt); - } - - @Test - public void testListTranscriptions() throws TelapiException { - TranscriptionList list = connector.listTranscriptions(TranscriptionStatus.COMPLETED, new Date(0L), new Date(), 0L, 10L); - for (Transcription t : list) { - System.out.println(t.getSid()); - } - } - - @Test - public void testViewTranscription() throws TelapiException { - TranscriptionList list = connector.listTranscriptions(); - Transcription t = list.iterator().next(); - connector.viewTranscription(t.getSid()); - } - - @Test - public void testViewTranscriptionText() throws TelapiException { - TranscriptionList list = connector.listTranscriptions(); - Transcription t = list.iterator().next(); - String transcription = connector.viewTranscriptionText(t.getSid()); - System.out.println(transcription); - } - - @Test - public void testTranscribeRecording() throws TelapiException { - Recording r = connector.listRecordings(null, null, null, null).iterator().next(); - connector.transcribeRecording(r.getSid(), "transcribecallback.com", HttpMethod.GET, TranscriptionType.AUTO); - } - -} diff --git a/src/test/java/com/telapi/api/inboundxml/InboundXmlTest.java b/src/test/java/com/telapi/api/inboundxml/InboundXmlTest.java deleted file mode 100644 index 766d26c..0000000 --- a/src/test/java/com/telapi/api/inboundxml/InboundXmlTest.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.telapi.api.inboundxml; - -import junit.framework.Assert; - -import org.junit.Test; - -import com.telapi.api.domain.enums.HttpMethod; -import com.telapi.api.inboundxml.elements.Dial; -import com.telapi.api.inboundxml.elements.Gather; -import com.telapi.api.inboundxml.elements.Response; -import com.telapi.api.inboundxml.elements.enums.RejectReason; -import com.telapi.api.inboundxml.elements.enums.Voice; - -public class InboundXmlTest { - - @Test - public void testCreateXml(){ - - Response r = Response.create().say("Hello world!", Voice.MAN, 3L) - .play(10L, "lala.mp3") - .say("ohayo!", Voice.WOMAN, null) - .dial(Dial.createDial("456") - .number("123", "###", null, HttpMethod.POST) - .conference("my_conference") - .sip("sip@sip.com", "123", null, null)) - .hangup() - .redirect("www.google.com", HttpMethod.GET) - .record("action") - .reject(RejectReason.BUSY) - .sms("sending", "receivingNumber", "incomingNumber") - .pause() - .gather(Gather.createGather("returnaddress.com") - .pause(12L) - .play(12L, "mp3.mp3") - .say("Goodbye world!", Voice.MAN, null)); - String xml = r.createXml(); - Assert.assertNotNull(xml); - System.out.println(xml); - } -} diff --git a/src/test/java/com/telapi/api/testutil/TestParameters.java b/src/test/java/com/telapi/api/testutil/TestParameters.java deleted file mode 100644 index 19ee7b0..0000000 --- a/src/test/java/com/telapi/api/testutil/TestParameters.java +++ /dev/null @@ -1,47 +0,0 @@ -package com.telapi.api.testutil; - -import java.io.IOException; -import java.net.URL; -import java.util.Properties; - -import org.apache.log4j.Logger; - -public class TestParameters extends Properties { - private static final long serialVersionUID = -7348144965758395514L; - Logger logger = Logger.getLogger(TestParameters.class); - - public TestParameters() { - this("telapi.test.properties"); - } - - protected TestParameters(String propFileName) { - URL url = ClassLoader.getSystemResource(propFileName); - try { - load(url.openStream()); - } catch (IOException e) { - logger.error("Cannot load or find Telapi test properties file on classpath: " - + propFileName, e); - } - } - - public String getPhone1() { - return getProperty("phone1"); - } - - public String getArea1() { - return getProperty("area1"); - } - - public String getPhone2() { - return getProperty("phone2"); - } - - public String getArea2() { - return getProperty("area2"); - } - - public String getMp3Url() { - return getProperty("mp3url"); - } - -} diff --git a/src/test/java/telapi.test.properties.example b/src/test/java/telapi.test.properties.example deleted file mode 100644 index e49212e..0000000 --- a/src/test/java/telapi.test.properties.example +++ /dev/null @@ -1,3 +0,0 @@ -phone1=RECEIVINGPHONENUMBER -phone2=SENDINGPHONENUMBER -mp3url=URLTOANMP3 \ No newline at end of file diff --git a/team-list.html b/team-list.html new file mode 100644 index 0000000..141a88f --- /dev/null +++ b/team-list.html @@ -0,0 +1,136 @@ + + + + + + Team list + + + + + + + + + +
+ +
+
+
+

The Team

A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.

The team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated.

Members

The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.

IdNameEmailOrganizationOrganization URL
vprennerVladimir Prennervladimir.prenner@calyx.hrCalyx d.o.ohttp://www.calyx.hr

Contributors

There are no contributors listed for this project. Please check back again later.

+
+
+
+
+
+ + + diff --git a/testapidocs/allclasses-frame.html b/testapidocs/allclasses-frame.html new file mode 100644 index 0000000..69d1779 --- /dev/null +++ b/testapidocs/allclasses-frame.html @@ -0,0 +1,62 @@ + + + + + + + +All Classes (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + +All Classes +
+ + + + + +
AccountTest +
+ApplicationTest +
+AvailablePhoneNumbersTest +
+BaseTelapiTest +
+CallTest +
+CarrierLookupTest +
+ConferenceTest +
+ConnectionTest +
+FraudControlTest +
+InboundXmlTest +
+IncomingPhoneNumberTest +
+NotificationTest +
+RecordingsTest +
+SmsTest +
+TestParameters +
+TranscriptionTest +
+
+ + + diff --git a/testapidocs/allclasses-noframe.html b/testapidocs/allclasses-noframe.html new file mode 100644 index 0000000..94c3543 --- /dev/null +++ b/testapidocs/allclasses-noframe.html @@ -0,0 +1,62 @@ + + + + + + + +All Classes (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + +All Classes +
+ + + + + +
AccountTest +
+ApplicationTest +
+AvailablePhoneNumbersTest +
+BaseTelapiTest +
+CallTest +
+CarrierLookupTest +
+ConferenceTest +
+ConnectionTest +
+FraudControlTest +
+InboundXmlTest +
+IncomingPhoneNumberTest +
+NotificationTest +
+RecordingsTest +
+SmsTest +
+TestParameters +
+TranscriptionTest +
+
+ + + diff --git a/testapidocs/com/telapi/api/AccountTest.html b/testapidocs/com/telapi/api/AccountTest.html new file mode 100644 index 0000000..c0df940 --- /dev/null +++ b/testapidocs/com/telapi/api/AccountTest.html @@ -0,0 +1,255 @@ + + + + + + + +AccountTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class AccountTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+      extended by com.telapi.api.AccountTest
+
+
+
+
public class AccountTest
extends BaseTelapiTest
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AccountTest() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidtestGetAccount() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AccountTest

+
+public AccountTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testGetAccount

+
+public void testGetAccount()
+                    throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/ApplicationTest.html b/testapidocs/com/telapi/api/ApplicationTest.html new file mode 100644 index 0000000..d16c714 --- /dev/null +++ b/testapidocs/com/telapi/api/ApplicationTest.html @@ -0,0 +1,365 @@ + + + + + + + +ApplicationTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class ApplicationTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+      extended by com.telapi.api.ApplicationTest
+
+
+
+
public class ApplicationTest
extends BaseTelapiTest
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ApplicationTest() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestCreateApplication() + +
+           
+ voidtestDeleteAllApplications() + +
+           
+ voidtestDeleteApplication() + +
+           
+ voidtestListApplications() + +
+           
+ voidtestUpdateApplication() + +
+           
+ voidtestViewApplication() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ApplicationTest

+
+public ApplicationTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testCreateApplication

+
+public void testCreateApplication()
+                           throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testListApplications

+
+public void testListApplications()
+                          throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testViewApplication

+
+public void testViewApplication()
+                         throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testUpdateApplication

+
+public void testUpdateApplication()
+                           throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testDeleteApplication

+
+public void testDeleteApplication()
+                           throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testDeleteAllApplications

+
+public void testDeleteAllApplications()
+                               throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/AvailablePhoneNumbersTest.html b/testapidocs/com/telapi/api/AvailablePhoneNumbersTest.html new file mode 100644 index 0000000..63da508 --- /dev/null +++ b/testapidocs/com/telapi/api/AvailablePhoneNumbersTest.html @@ -0,0 +1,255 @@ + + + + + + + +AvailablePhoneNumbersTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class AvailablePhoneNumbersTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+      extended by com.telapi.api.AvailablePhoneNumbersTest
+
+
+
+
public class AvailablePhoneNumbersTest
extends BaseTelapiTest
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AvailablePhoneNumbersTest() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidtestListAvailablePhoneNumbers() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AvailablePhoneNumbersTest

+
+public AvailablePhoneNumbersTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testListAvailablePhoneNumbers

+
+public void testListAvailablePhoneNumbers()
+                                   throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/BaseTelapiTest.html b/testapidocs/com/telapi/api/BaseTelapiTest.html new file mode 100644 index 0000000..1bf218c --- /dev/null +++ b/testapidocs/com/telapi/api/BaseTelapiTest.html @@ -0,0 +1,226 @@ + + + + + + + +BaseTelapiTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class BaseTelapiTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+
+
+
Direct Known Subclasses:
AccountTest, ApplicationTest, AvailablePhoneNumbersTest, CallTest, CarrierLookupTest, ConferenceTest, FraudControlTest, IncomingPhoneNumberTest, NotificationTest, RecordingsTest, SmsTest, TranscriptionTest
+
+
+
+
public abstract class BaseTelapiTest
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
BaseTelapiTest() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BaseTelapiTest

+
+public BaseTelapiTest()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/CallTest.html b/testapidocs/com/telapi/api/CallTest.html new file mode 100644 index 0000000..c1f72c0 --- /dev/null +++ b/testapidocs/com/telapi/api/CallTest.html @@ -0,0 +1,409 @@ + + + + + + + +CallTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class CallTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+      extended by com.telapi.api.CallTest
+
+
+
+
public class CallTest
extends BaseTelapiTest
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CallTest() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidhangUpAll() + +
+           
+ voidmakeCall() + +
+           
+ voidtestListCalls() + +
+           
+ voidtestPlaySound() + +
+           
+ voidtestRecordCalls() + +
+           
+ voidtestSendDigits() + +
+           
+ voidtestViewCall() + +
+           
+ voidtestVoiceEffects() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CallTest

+
+public CallTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testListCalls

+
+public void testListCalls()
+                   throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testViewCall

+
+public void testViewCall()
+                  throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+makeCall

+
+public void makeCall()
+              throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+hangUpAll

+
+public void hangUpAll()
+               throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testSendDigits

+
+public void testSendDigits()
+                    throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testPlaySound

+
+public void testPlaySound()
+                   throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testVoiceEffects

+
+public void testVoiceEffects()
+                      throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testRecordCalls

+
+public void testRecordCalls()
+                     throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/CarrierLookupTest.html b/testapidocs/com/telapi/api/CarrierLookupTest.html new file mode 100644 index 0000000..000fe0b --- /dev/null +++ b/testapidocs/com/telapi/api/CarrierLookupTest.html @@ -0,0 +1,299 @@ + + + + + + + +CarrierLookupTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class CarrierLookupTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+      extended by com.telapi.api.CarrierLookupTest
+
+
+
+
public class CarrierLookupTest
extends BaseTelapiTest
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CarrierLookupTest() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestCarrierLookup() + +
+           
+ voidtestCnamLookup() + +
+           
+ voidtestCnamLookupMany() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CarrierLookupTest

+
+public CarrierLookupTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testCarrierLookup

+
+public void testCarrierLookup()
+                       throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testCnamLookup

+
+public void testCnamLookup()
+                    throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testCnamLookupMany

+
+public void testCnamLookupMany()
+                        throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/ConferenceTest.html b/testapidocs/com/telapi/api/ConferenceTest.html new file mode 100644 index 0000000..88a2198 --- /dev/null +++ b/testapidocs/com/telapi/api/ConferenceTest.html @@ -0,0 +1,387 @@ + + + + + + + +ConferenceTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class ConferenceTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+      extended by com.telapi.api.ConferenceTest
+
+
+
+
public class ConferenceTest
extends BaseTelapiTest
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ConferenceTest() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestHangupMember() + +
+           
+ voidtestListConferences() + +
+           
+ voidtestListParticipants() + +
+           
+ voidtestMuteDeafParticipant() + +
+           
+ voidtestPlayAudio() + +
+           
+ voidtestViewConference() + +
+           
+ voidtestViewParticipant() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConferenceTest

+
+public ConferenceTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testViewConference

+
+public void testViewConference()
+                        throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testListConferences

+
+public void testListConferences()
+                         throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testListParticipants

+
+public void testListParticipants()
+                          throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testViewParticipant

+
+public void testViewParticipant()
+                         throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testMuteDeafParticipant

+
+public void testMuteDeafParticipant()
+                             throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testPlayAudio

+
+public void testPlayAudio()
+                   throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testHangupMember

+
+public void testHangupMember()
+                      throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/ConnectionTest.html b/testapidocs/com/telapi/api/ConnectionTest.html new file mode 100644 index 0000000..0f9f7ab --- /dev/null +++ b/testapidocs/com/telapi/api/ConnectionTest.html @@ -0,0 +1,251 @@ + + + + + + + +ConnectionTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class ConnectionTest

+
+java.lang.Object
+  extended by com.telapi.api.ConnectionTest
+
+
+
+
public class ConnectionTest
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ConnectionTest() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidtestInvalidCredentials() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConnectionTest

+
+public ConnectionTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testInvalidCredentials

+
+public void testInvalidCredentials()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/FraudControlTest.html b/testapidocs/com/telapi/api/FraudControlTest.html new file mode 100644 index 0000000..a738092 --- /dev/null +++ b/testapidocs/com/telapi/api/FraudControlTest.html @@ -0,0 +1,343 @@ + + + + + + + +FraudControlTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class FraudControlTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+      extended by com.telapi.api.FraudControlTest
+
+
+
+
public class FraudControlTest
extends BaseTelapiTest
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
FraudControlTest() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestAuthorizeDestination() + +
+           
+ voidtestBlockDestination() + +
+           
+ voidtestExtendDestination() + +
+           
+ voidtestListFraudControlResources() + +
+           
+ voidtestWhitelistDestination() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FraudControlTest

+
+public FraudControlTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testListFraudControlResources

+
+public void testListFraudControlResources()
+                                   throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testBlockDestination

+
+public void testBlockDestination()
+                          throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testAuthorizeDestination

+
+public void testAuthorizeDestination()
+                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testExtendDestination

+
+public void testExtendDestination()
+                           throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testWhitelistDestination

+
+public void testWhitelistDestination()
+                              throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/IncomingPhoneNumberTest.html b/testapidocs/com/telapi/api/IncomingPhoneNumberTest.html new file mode 100644 index 0000000..64ecc15 --- /dev/null +++ b/testapidocs/com/telapi/api/IncomingPhoneNumberTest.html @@ -0,0 +1,343 @@ + + + + + + + +IncomingPhoneNumberTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class IncomingPhoneNumberTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+      extended by com.telapi.api.IncomingPhoneNumberTest
+
+
+
+
public class IncomingPhoneNumberTest
extends BaseTelapiTest
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
IncomingPhoneNumberTest() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddPhoneNumbers() + +
+           
+ voidtestDeleteAndAddPhoneNumber() + +
+           
+ voidtestListPhoneNumbers() + +
+           
+ voidtestUpdateNumber() + +
+           
+ voidtestViewPhoneNumber() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IncomingPhoneNumberTest

+
+public IncomingPhoneNumberTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testListPhoneNumbers

+
+public void testListPhoneNumbers()
+                          throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testViewPhoneNumber

+
+public void testViewPhoneNumber()
+                         throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+addPhoneNumbers

+
+public void addPhoneNumbers()
+                     throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testDeleteAndAddPhoneNumber

+
+public void testDeleteAndAddPhoneNumber()
+                                 throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testUpdateNumber

+
+public void testUpdateNumber()
+                      throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/NotificationTest.html b/testapidocs/com/telapi/api/NotificationTest.html new file mode 100644 index 0000000..7ba292a --- /dev/null +++ b/testapidocs/com/telapi/api/NotificationTest.html @@ -0,0 +1,299 @@ + + + + + + + +NotificationTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class NotificationTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+      extended by com.telapi.api.NotificationTest
+
+
+
+
public class NotificationTest
extends BaseTelapiTest
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
NotificationTest() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestListCallNotifications() + +
+           
+ voidtestListNotifications() + +
+           
+ voidtestViewNotification() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NotificationTest

+
+public NotificationTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testListNotifications

+
+public void testListNotifications()
+                           throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testListCallNotifications

+
+public void testListCallNotifications()
+                               throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testViewNotification

+
+public void testViewNotification()
+                          throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/RecordingsTest.html b/testapidocs/com/telapi/api/RecordingsTest.html new file mode 100644 index 0000000..785fe1d --- /dev/null +++ b/testapidocs/com/telapi/api/RecordingsTest.html @@ -0,0 +1,321 @@ + + + + + + + +RecordingsTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class RecordingsTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+      extended by com.telapi.api.RecordingsTest
+
+
+
+
public class RecordingsTest
extends BaseTelapiTest
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RecordingsTest() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestGetRecordingUrl() + +
+           
+ voidtestListCallRecordings() + +
+           
+ voidtestListRecordings() + +
+           
+ voidtestViewRecording() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RecordingsTest

+
+public RecordingsTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testListRecordings

+
+public void testListRecordings()
+                        throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testListCallRecordings

+
+public void testListCallRecordings()
+                            throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testViewRecording

+
+public void testViewRecording()
+                       throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testGetRecordingUrl

+
+public void testGetRecordingUrl()
+                         throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/SmsTest.html b/testapidocs/com/telapi/api/SmsTest.html new file mode 100644 index 0000000..1e4d316 --- /dev/null +++ b/testapidocs/com/telapi/api/SmsTest.html @@ -0,0 +1,277 @@ + + + + + + + +SmsTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class SmsTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+      extended by com.telapi.api.SmsTest
+
+
+
+
public class SmsTest
extends BaseTelapiTest
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SmsTest() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestGetSmsList() + +
+           
+ voidtestSendAndGetSms() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SmsTest

+
+public SmsTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testGetSmsList

+
+public void testGetSmsList()
+                    throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testSendAndGetSms

+
+public void testSendAndGetSms()
+                       throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/TranscriptionTest.html b/testapidocs/com/telapi/api/TranscriptionTest.html new file mode 100644 index 0000000..fe52fbc --- /dev/null +++ b/testapidocs/com/telapi/api/TranscriptionTest.html @@ -0,0 +1,343 @@ + + + + + + + +TranscriptionTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api +
+Class TranscriptionTest

+
+java.lang.Object
+  extended by com.telapi.api.BaseTelapiTest
+      extended by com.telapi.api.TranscriptionTest
+
+
+
+
public class TranscriptionTest
extends BaseTelapiTest
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TranscriptionTest() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestListTranscriptions() + +
+           
+ voidtestTranscribeAudio() + +
+           
+ voidtestTranscribeRecording() + +
+           
+ voidtestViewTranscription() + +
+           
+ voidtestViewTranscriptionText() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TranscriptionTest

+
+public TranscriptionTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testTranscribeAudio

+
+public void testTranscribeAudio()
+                         throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testListTranscriptions

+
+public void testListTranscriptions()
+                            throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testViewTranscription

+
+public void testViewTranscription()
+                           throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testViewTranscriptionText

+
+public void testViewTranscriptionText()
+                               throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+
+ +

+testTranscribeRecording

+
+public void testTranscribeRecording()
+                             throws TelapiException
+
+
+ +
Throws: +
TelapiException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/AccountTest.html b/testapidocs/com/telapi/api/class-use/AccountTest.html new file mode 100644 index 0000000..c9dc898 --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/AccountTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.AccountTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.AccountTest

+
+No usage of com.telapi.api.AccountTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/ApplicationTest.html b/testapidocs/com/telapi/api/class-use/ApplicationTest.html new file mode 100644 index 0000000..5ecdd39 --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/ApplicationTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.ApplicationTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.ApplicationTest

+
+No usage of com.telapi.api.ApplicationTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/AvailablePhoneNumbersTest.html b/testapidocs/com/telapi/api/class-use/AvailablePhoneNumbersTest.html new file mode 100644 index 0000000..f4a2e46 --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/AvailablePhoneNumbersTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.AvailablePhoneNumbersTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.AvailablePhoneNumbersTest

+
+No usage of com.telapi.api.AvailablePhoneNumbersTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/BaseTelapiTest.html b/testapidocs/com/telapi/api/class-use/BaseTelapiTest.html new file mode 100644 index 0000000..9bb64b4 --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/BaseTelapiTest.html @@ -0,0 +1,267 @@ + + + + + + + +Uses of Class com.telapi.api.BaseTelapiTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.BaseTelapiTest

+
+ + + + + + + + + +
+Packages that use BaseTelapiTest
com.telapi.api  
+  +

+ + + + + +
+Uses of BaseTelapiTest in com.telapi.api
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of BaseTelapiTest in com.telapi.api
+ classAccountTest + +
+           
+ classApplicationTest + +
+           
+ classAvailablePhoneNumbersTest + +
+           
+ classCallTest + +
+           
+ classCarrierLookupTest + +
+           
+ classConferenceTest + +
+           
+ classFraudControlTest + +
+           
+ classIncomingPhoneNumberTest + +
+           
+ classNotificationTest + +
+           
+ classRecordingsTest + +
+           
+ classSmsTest + +
+           
+ classTranscriptionTest + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/CallTest.html b/testapidocs/com/telapi/api/class-use/CallTest.html new file mode 100644 index 0000000..2b4bcc8 --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/CallTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.CallTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.CallTest

+
+No usage of com.telapi.api.CallTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/CarrierLookupTest.html b/testapidocs/com/telapi/api/class-use/CarrierLookupTest.html new file mode 100644 index 0000000..7ee29b5 --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/CarrierLookupTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.CarrierLookupTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.CarrierLookupTest

+
+No usage of com.telapi.api.CarrierLookupTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/ConferenceTest.html b/testapidocs/com/telapi/api/class-use/ConferenceTest.html new file mode 100644 index 0000000..da2c348 --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/ConferenceTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.ConferenceTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.ConferenceTest

+
+No usage of com.telapi.api.ConferenceTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/ConnectionTest.html b/testapidocs/com/telapi/api/class-use/ConnectionTest.html new file mode 100644 index 0000000..8c0412f --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/ConnectionTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.ConnectionTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.ConnectionTest

+
+No usage of com.telapi.api.ConnectionTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/FraudControlTest.html b/testapidocs/com/telapi/api/class-use/FraudControlTest.html new file mode 100644 index 0000000..c715fce --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/FraudControlTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.FraudControlTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.FraudControlTest

+
+No usage of com.telapi.api.FraudControlTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/IncomingPhoneNumberTest.html b/testapidocs/com/telapi/api/class-use/IncomingPhoneNumberTest.html new file mode 100644 index 0000000..ece92c7 --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/IncomingPhoneNumberTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.IncomingPhoneNumberTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.IncomingPhoneNumberTest

+
+No usage of com.telapi.api.IncomingPhoneNumberTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/NotificationTest.html b/testapidocs/com/telapi/api/class-use/NotificationTest.html new file mode 100644 index 0000000..1d0debe --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/NotificationTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.NotificationTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.NotificationTest

+
+No usage of com.telapi.api.NotificationTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/RecordingsTest.html b/testapidocs/com/telapi/api/class-use/RecordingsTest.html new file mode 100644 index 0000000..fb3932f --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/RecordingsTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.RecordingsTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.RecordingsTest

+
+No usage of com.telapi.api.RecordingsTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/SmsTest.html b/testapidocs/com/telapi/api/class-use/SmsTest.html new file mode 100644 index 0000000..1ce8ed6 --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/SmsTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.SmsTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.SmsTest

+
+No usage of com.telapi.api.SmsTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/class-use/TranscriptionTest.html b/testapidocs/com/telapi/api/class-use/TranscriptionTest.html new file mode 100644 index 0000000..4b8d8d4 --- /dev/null +++ b/testapidocs/com/telapi/api/class-use/TranscriptionTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.TranscriptionTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.TranscriptionTest

+
+No usage of com.telapi.api.TranscriptionTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/inboundxml/InboundXmlTest.html b/testapidocs/com/telapi/api/inboundxml/InboundXmlTest.html new file mode 100644 index 0000000..8b2d771 --- /dev/null +++ b/testapidocs/com/telapi/api/inboundxml/InboundXmlTest.html @@ -0,0 +1,251 @@ + + + + + + + +InboundXmlTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.inboundxml +
+Class InboundXmlTest

+
+java.lang.Object
+  extended by com.telapi.api.inboundxml.InboundXmlTest
+
+
+
+
public class InboundXmlTest
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
InboundXmlTest() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidtestCreateXml() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+InboundXmlTest

+
+public InboundXmlTest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testCreateXml

+
+public void testCreateXml()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/inboundxml/class-use/InboundXmlTest.html b/testapidocs/com/telapi/api/inboundxml/class-use/InboundXmlTest.html new file mode 100644 index 0000000..2ccc676 --- /dev/null +++ b/testapidocs/com/telapi/api/inboundxml/class-use/InboundXmlTest.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.inboundxml.InboundXmlTest (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.inboundxml.InboundXmlTest

+
+No usage of com.telapi.api.inboundxml.InboundXmlTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/inboundxml/package-frame.html b/testapidocs/com/telapi/api/inboundxml/package-frame.html new file mode 100644 index 0000000..24cd0c9 --- /dev/null +++ b/testapidocs/com/telapi/api/inboundxml/package-frame.html @@ -0,0 +1,33 @@ + + + + + + + +com.telapi.api.inboundxml (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + +com.telapi.api.inboundxml + + + + +
+Classes  + +
+InboundXmlTest
+ + + + diff --git a/testapidocs/com/telapi/api/inboundxml/package-summary.html b/testapidocs/com/telapi/api/inboundxml/package-summary.html new file mode 100644 index 0000000..6d36760 --- /dev/null +++ b/testapidocs/com/telapi/api/inboundxml/package-summary.html @@ -0,0 +1,156 @@ + + + + + + + +com.telapi.api.inboundxml (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.inboundxml +

+ + + + + + + + + +
+Class Summary
InboundXmlTest 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/inboundxml/package-tree.html b/testapidocs/com/telapi/api/inboundxml/package-tree.html new file mode 100644 index 0000000..d06dc69 --- /dev/null +++ b/testapidocs/com/telapi/api/inboundxml/package-tree.html @@ -0,0 +1,152 @@ + + + + + + + +com.telapi.api.inboundxml Class Hierarchy (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.inboundxml +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/inboundxml/package-use.html b/testapidocs/com/telapi/api/inboundxml/package-use.html new file mode 100644 index 0000000..be0a592 --- /dev/null +++ b/testapidocs/com/telapi/api/inboundxml/package-use.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Package com.telapi.api.inboundxml (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.inboundxml

+
+No usage of com.telapi.api.inboundxml +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/package-frame.html b/testapidocs/com/telapi/api/package-frame.html new file mode 100644 index 0000000..959bd83 --- /dev/null +++ b/testapidocs/com/telapi/api/package-frame.html @@ -0,0 +1,59 @@ + + + + + + + +com.telapi.api (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + +com.telapi.api + + + + +
+Classes  + +
+AccountTest +
+ApplicationTest +
+AvailablePhoneNumbersTest +
+BaseTelapiTest +
+CallTest +
+CarrierLookupTest +
+ConferenceTest +
+ConnectionTest +
+FraudControlTest +
+IncomingPhoneNumberTest +
+NotificationTest +
+RecordingsTest +
+SmsTest +
+TranscriptionTest
+ + + + diff --git a/testapidocs/com/telapi/api/package-summary.html b/testapidocs/com/telapi/api/package-summary.html new file mode 100644 index 0000000..dee8e36 --- /dev/null +++ b/testapidocs/com/telapi/api/package-summary.html @@ -0,0 +1,208 @@ + + + + + + + +com.telapi.api (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AccountTest 
ApplicationTest 
AvailablePhoneNumbersTest 
BaseTelapiTest 
CallTest 
CarrierLookupTest 
ConferenceTest 
ConnectionTest 
FraudControlTest 
IncomingPhoneNumberTest 
NotificationTest 
RecordingsTest 
SmsTest 
TranscriptionTest 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/package-tree.html b/testapidocs/com/telapi/api/package-tree.html new file mode 100644 index 0000000..82c63b2 --- /dev/null +++ b/testapidocs/com/telapi/api/package-tree.html @@ -0,0 +1,154 @@ + + + + + + + +com.telapi.api Class Hierarchy (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/package-use.html b/testapidocs/com/telapi/api/package-use.html new file mode 100644 index 0000000..537063c --- /dev/null +++ b/testapidocs/com/telapi/api/package-use.html @@ -0,0 +1,169 @@ + + + + + + + +Uses of Package com.telapi.api (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api

+
+ + + + + + + + + +
+Packages that use com.telapi.api
com.telapi.api  
+  +

+ + + + + + + + +
+Classes in com.telapi.api used by com.telapi.api
BaseTelapiTest + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/testutil/TestParameters.html b/testapidocs/com/telapi/api/testutil/TestParameters.html new file mode 100644 index 0000000..339d3d8 --- /dev/null +++ b/testapidocs/com/telapi/api/testutil/TestParameters.html @@ -0,0 +1,353 @@ + + + + + + + +TestParameters (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.telapi.api.testutil +
+Class TestParameters

+
+java.lang.Object
+  extended by java.util.Dictionary<K,V>
+      extended by java.util.Hashtable<Object,Object>
+          extended by java.util.Properties
+              extended by com.telapi.api.testutil.TestParameters
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>
+
+
+
+
public class TestParameters
extends Properties
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
TestParameters() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetArea1() + +
+           
+ StringgetArea2() + +
+           
+ StringgetMp3Url() + +
+           
+ StringgetPhone1() + +
+           
+ StringgetPhone2() + +
+           
+ + + + + + + +
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
+ + + + + + + +
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestParameters

+
+public TestParameters()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getPhone1

+
+public String getPhone1()
+
+
+
+
+
+
+ +

+getArea1

+
+public String getArea1()
+
+
+
+
+
+
+ +

+getPhone2

+
+public String getPhone2()
+
+
+
+
+
+
+ +

+getArea2

+
+public String getArea2()
+
+
+
+
+
+
+ +

+getMp3Url

+
+public String getMp3Url()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/testutil/class-use/TestParameters.html b/testapidocs/com/telapi/api/testutil/class-use/TestParameters.html new file mode 100644 index 0000000..663810f --- /dev/null +++ b/testapidocs/com/telapi/api/testutil/class-use/TestParameters.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class com.telapi.api.testutil.TestParameters (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.telapi.api.testutil.TestParameters

+
+No usage of com.telapi.api.testutil.TestParameters +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/testutil/package-frame.html b/testapidocs/com/telapi/api/testutil/package-frame.html new file mode 100644 index 0000000..03d5d29 --- /dev/null +++ b/testapidocs/com/telapi/api/testutil/package-frame.html @@ -0,0 +1,33 @@ + + + + + + + +com.telapi.api.testutil (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + +com.telapi.api.testutil + + + + +
+Classes  + +
+TestParameters
+ + + + diff --git a/testapidocs/com/telapi/api/testutil/package-summary.html b/testapidocs/com/telapi/api/testutil/package-summary.html new file mode 100644 index 0000000..b271d79 --- /dev/null +++ b/testapidocs/com/telapi/api/testutil/package-summary.html @@ -0,0 +1,156 @@ + + + + + + + +com.telapi.api.testutil (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.telapi.api.testutil +

+ + + + + + + + + +
+Class Summary
TestParameters 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/testutil/package-tree.html b/testapidocs/com/telapi/api/testutil/package-tree.html new file mode 100644 index 0000000..5a5f678 --- /dev/null +++ b/testapidocs/com/telapi/api/testutil/package-tree.html @@ -0,0 +1,159 @@ + + + + + + + +com.telapi.api.testutil Class Hierarchy (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.telapi.api.testutil +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/com/telapi/api/testutil/package-use.html b/testapidocs/com/telapi/api/testutil/package-use.html new file mode 100644 index 0000000..b7a74ee --- /dev/null +++ b/testapidocs/com/telapi/api/testutil/package-use.html @@ -0,0 +1,143 @@ + + + + + + + +Uses of Package com.telapi.api.testutil (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.telapi.api.testutil

+
+No usage of com.telapi.api.testutil +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/constant-values.html b/testapidocs/constant-values.html new file mode 100644 index 0000000..d30b32f --- /dev/null +++ b/testapidocs/constant-values.html @@ -0,0 +1,145 @@ + + + + + + + +Constant Field Values (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents
    +
+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/deprecated-list.html b/testapidocs/deprecated-list.html new file mode 100644 index 0000000..d243563 --- /dev/null +++ b/testapidocs/deprecated-list.html @@ -0,0 +1,145 @@ + + + + + + + +Deprecated List (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents
    +
+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/index-all.html b/testapidocs/index-all.html new file mode 100644 index 0000000..0568a6c --- /dev/null +++ b/testapidocs/index-all.html @@ -0,0 +1,415 @@ + + + + + + + +Index (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C F G H I M N R S T
+

+A

+
+
AccountTest - Class in com.telapi.api
 
AccountTest() - +Constructor for class com.telapi.api.AccountTest +
  +
addPhoneNumbers() - +Method in class com.telapi.api.IncomingPhoneNumberTest +
  +
ApplicationTest - Class in com.telapi.api
 
ApplicationTest() - +Constructor for class com.telapi.api.ApplicationTest +
  +
AvailablePhoneNumbersTest - Class in com.telapi.api
 
AvailablePhoneNumbersTest() - +Constructor for class com.telapi.api.AvailablePhoneNumbersTest +
  +
+
+

+B

+
+
BaseTelapiTest - Class in com.telapi.api
 
BaseTelapiTest() - +Constructor for class com.telapi.api.BaseTelapiTest +
  +
+
+

+C

+
+
CallTest - Class in com.telapi.api
 
CallTest() - +Constructor for class com.telapi.api.CallTest +
  +
CarrierLookupTest - Class in com.telapi.api
 
CarrierLookupTest() - +Constructor for class com.telapi.api.CarrierLookupTest +
  +
com.telapi.api - package com.telapi.api
 
com.telapi.api.inboundxml - package com.telapi.api.inboundxml
 
com.telapi.api.testutil - package com.telapi.api.testutil
 
ConferenceTest - Class in com.telapi.api
 
ConferenceTest() - +Constructor for class com.telapi.api.ConferenceTest +
  +
ConnectionTest - Class in com.telapi.api
 
ConnectionTest() - +Constructor for class com.telapi.api.ConnectionTest +
  +
+
+

+F

+
+
FraudControlTest - Class in com.telapi.api
 
FraudControlTest() - +Constructor for class com.telapi.api.FraudControlTest +
  +
+
+

+G

+
+
getArea1() - +Method in class com.telapi.api.testutil.TestParameters +
  +
getArea2() - +Method in class com.telapi.api.testutil.TestParameters +
  +
getMp3Url() - +Method in class com.telapi.api.testutil.TestParameters +
  +
getPhone1() - +Method in class com.telapi.api.testutil.TestParameters +
  +
getPhone2() - +Method in class com.telapi.api.testutil.TestParameters +
  +
+
+

+H

+
+
hangUpAll() - +Method in class com.telapi.api.CallTest +
  +
+
+

+I

+
+
InboundXmlTest - Class in com.telapi.api.inboundxml
 
InboundXmlTest() - +Constructor for class com.telapi.api.inboundxml.InboundXmlTest +
  +
IncomingPhoneNumberTest - Class in com.telapi.api
 
IncomingPhoneNumberTest() - +Constructor for class com.telapi.api.IncomingPhoneNumberTest +
  +
+
+

+M

+
+
makeCall() - +Method in class com.telapi.api.CallTest +
  +
+
+

+N

+
+
NotificationTest - Class in com.telapi.api
 
NotificationTest() - +Constructor for class com.telapi.api.NotificationTest +
  +
+
+

+R

+
+
RecordingsTest - Class in com.telapi.api
 
RecordingsTest() - +Constructor for class com.telapi.api.RecordingsTest +
  +
+
+

+S

+
+
SmsTest - Class in com.telapi.api
 
SmsTest() - +Constructor for class com.telapi.api.SmsTest +
  +
+
+

+T

+
+
testAuthorizeDestination() - +Method in class com.telapi.api.FraudControlTest +
  +
testBlockDestination() - +Method in class com.telapi.api.FraudControlTest +
  +
testCarrierLookup() - +Method in class com.telapi.api.CarrierLookupTest +
  +
testCnamLookup() - +Method in class com.telapi.api.CarrierLookupTest +
  +
testCnamLookupMany() - +Method in class com.telapi.api.CarrierLookupTest +
  +
testCreateApplication() - +Method in class com.telapi.api.ApplicationTest +
  +
testCreateXml() - +Method in class com.telapi.api.inboundxml.InboundXmlTest +
  +
testDeleteAllApplications() - +Method in class com.telapi.api.ApplicationTest +
  +
testDeleteAndAddPhoneNumber() - +Method in class com.telapi.api.IncomingPhoneNumberTest +
  +
testDeleteApplication() - +Method in class com.telapi.api.ApplicationTest +
  +
testExtendDestination() - +Method in class com.telapi.api.FraudControlTest +
  +
testGetAccount() - +Method in class com.telapi.api.AccountTest +
  +
testGetRecordingUrl() - +Method in class com.telapi.api.RecordingsTest +
  +
testGetSmsList() - +Method in class com.telapi.api.SmsTest +
  +
testHangupMember() - +Method in class com.telapi.api.ConferenceTest +
  +
testInvalidCredentials() - +Method in class com.telapi.api.ConnectionTest +
  +
testListApplications() - +Method in class com.telapi.api.ApplicationTest +
  +
testListAvailablePhoneNumbers() - +Method in class com.telapi.api.AvailablePhoneNumbersTest +
  +
testListCallNotifications() - +Method in class com.telapi.api.NotificationTest +
  +
testListCallRecordings() - +Method in class com.telapi.api.RecordingsTest +
  +
testListCalls() - +Method in class com.telapi.api.CallTest +
  +
testListConferences() - +Method in class com.telapi.api.ConferenceTest +
  +
testListFraudControlResources() - +Method in class com.telapi.api.FraudControlTest +
  +
testListNotifications() - +Method in class com.telapi.api.NotificationTest +
  +
testListParticipants() - +Method in class com.telapi.api.ConferenceTest +
  +
testListPhoneNumbers() - +Method in class com.telapi.api.IncomingPhoneNumberTest +
  +
testListRecordings() - +Method in class com.telapi.api.RecordingsTest +
  +
testListTranscriptions() - +Method in class com.telapi.api.TranscriptionTest +
  +
testMuteDeafParticipant() - +Method in class com.telapi.api.ConferenceTest +
  +
TestParameters - Class in com.telapi.api.testutil
 
TestParameters() - +Constructor for class com.telapi.api.testutil.TestParameters +
  +
testPlayAudio() - +Method in class com.telapi.api.ConferenceTest +
  +
testPlaySound() - +Method in class com.telapi.api.CallTest +
  +
testRecordCalls() - +Method in class com.telapi.api.CallTest +
  +
testSendAndGetSms() - +Method in class com.telapi.api.SmsTest +
  +
testSendDigits() - +Method in class com.telapi.api.CallTest +
  +
testTranscribeAudio() - +Method in class com.telapi.api.TranscriptionTest +
  +
testTranscribeRecording() - +Method in class com.telapi.api.TranscriptionTest +
  +
testUpdateApplication() - +Method in class com.telapi.api.ApplicationTest +
  +
testUpdateNumber() - +Method in class com.telapi.api.IncomingPhoneNumberTest +
  +
testViewApplication() - +Method in class com.telapi.api.ApplicationTest +
  +
testViewCall() - +Method in class com.telapi.api.CallTest +
  +
testViewConference() - +Method in class com.telapi.api.ConferenceTest +
  +
testViewNotification() - +Method in class com.telapi.api.NotificationTest +
  +
testViewParticipant() - +Method in class com.telapi.api.ConferenceTest +
  +
testViewPhoneNumber() - +Method in class com.telapi.api.IncomingPhoneNumberTest +
  +
testViewRecording() - +Method in class com.telapi.api.RecordingsTest +
  +
testViewTranscription() - +Method in class com.telapi.api.TranscriptionTest +
  +
testViewTranscriptionText() - +Method in class com.telapi.api.TranscriptionTest +
  +
testVoiceEffects() - +Method in class com.telapi.api.CallTest +
  +
testWhitelistDestination() - +Method in class com.telapi.api.FraudControlTest +
  +
TranscriptionTest - Class in com.telapi.api
 
TranscriptionTest() - +Constructor for class com.telapi.api.TranscriptionTest +
  +
+
+A B C F G H I M N R S T + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/index.html b/testapidocs/index.html new file mode 100644 index 0000000..f26c2ce --- /dev/null +++ b/testapidocs/index.html @@ -0,0 +1,40 @@ + + + + + + + +telapi-java 0.0.3-SNAPSHOT Test API + + + + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> + + + diff --git a/testapidocs/options b/testapidocs/options new file mode 100644 index 0000000..23efad3 --- /dev/null +++ b/testapidocs/options @@ -0,0 +1,27 @@ +-classpath +'/home/tomek/workspace/telapi-java/target/classes:/home/tomek/workspace/telapi-java/target/test-classes:/home/tomek/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/home/tomek/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.8.5/jackson-jaxrs-1.8.5.jar:/home/tomek/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar:/home/tomek/.m2/repository/com/thoughtworks/xstream/xstream/1.4.3/xstream-1.4.3.jar:/home/tomek/.m2/repository/org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2.jar:/home/tomek/.m2/repository/org/apache/httpcomponents/httpcore/4.1.2/httpcore-4.1.2.jar:/home/tomek/.m2/repository/org/jboss/resteasy/resteasy-jackson-provider/2.3.4.Final/resteasy-jackson-provider-2.3.4.Final.jar:/home/tomek/.m2/repository/org/jboss/resteasy/resteasy-jaxrs/2.3.4.Final/resteasy-jaxrs-2.3.4.Final.jar:/home/tomek/.m2/repository/junit/junit/4.10/junit-4.10.jar:/home/tomek/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/home/tomek/.m2/repository/org/jboss/resteasy/jaxrs-api/2.3.4.Final/jaxrs-api-2.3.4.Final.jar:/home/tomek/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.8.5/jackson-core-asl-1.8.5.jar:/home/tomek/.m2/repository/org/codehaus/jackson/jackson-xc/1.8.5/jackson-xc-1.8.5.jar:/home/tomek/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/home/tomek/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.8.5/jackson-mapper-asl-1.8.5.jar:/home/tomek/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/home/tomek/.m2/repository/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar:/home/tomek/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar:/home/tomek/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/tomek/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar:/home/tomek/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar' +-encoding +'UTF-8' +-public +-sourcepath +'/home/tomek/workspace/telapi-java/src/test/java' +-author +-bottom +'Copyright © 2012 Telapi, Inc. All Rights Reserved.' +-charset +'UTF-8' +-d +'/home/tomek/workspace/telapi-java/target/site/testapidocs' +-docencoding +'UTF-8' +-doctitle +'telapi-java 0.0.3-SNAPSHOT Test API' +-link +'../apidocs' +-linkoffline +'http://download.oracle.com/javase/6/docs/api' '/home/tomek/workspace/telapi-java/target/javadoc-bundle-options' +-nohelp +-use +-version +-windowtitle +'telapi-java 0.0.3-SNAPSHOT Test API' \ No newline at end of file diff --git a/testapidocs/overview-frame.html b/testapidocs/overview-frame.html new file mode 100644 index 0000000..ed9122a --- /dev/null +++ b/testapidocs/overview-frame.html @@ -0,0 +1,47 @@ + + + + + + + +Overview List (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + + + + +
+
+ + + + + +
All Classes +

+ +Packages +
+com.telapi.api +
+com.telapi.api.inboundxml +
+com.telapi.api.testutil +
+

+ +

+  + + diff --git a/testapidocs/overview-summary.html b/testapidocs/overview-summary.html new file mode 100644 index 0000000..e3212c4 --- /dev/null +++ b/testapidocs/overview-summary.html @@ -0,0 +1,163 @@ + + + + + + + +Overview (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+telapi-java 0.0.3-SNAPSHOT Test API +

+
+ + + + + + + + + + + + + + + + + +
+Packages
com.telapi.api 
com.telapi.api.inboundxml 
com.telapi.api.testutil 
+ +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/overview-tree.html b/testapidocs/overview-tree.html new file mode 100644 index 0000000..a0c1bb5 --- /dev/null +++ b/testapidocs/overview-tree.html @@ -0,0 +1,160 @@ + + + + + + + +Class Hierarchy (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
com.telapi.api, com.telapi.api.inboundxml, com.telapi.api.testutil
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/package-list b/testapidocs/package-list new file mode 100644 index 0000000..9f74207 --- /dev/null +++ b/testapidocs/package-list @@ -0,0 +1,3 @@ +com.telapi.api +com.telapi.api.inboundxml +com.telapi.api.testutil diff --git a/testapidocs/packages b/testapidocs/packages new file mode 100644 index 0000000..bc9f19f --- /dev/null +++ b/testapidocs/packages @@ -0,0 +1,3 @@ +com.telapi.api.inboundxml +com.telapi.api +com.telapi.api.testutil \ No newline at end of file diff --git a/testapidocs/resources/inherit.gif b/testapidocs/resources/inherit.gif new file mode 100644 index 0000000..c814867 Binary files /dev/null and b/testapidocs/resources/inherit.gif differ diff --git a/testapidocs/serialized-form.html b/testapidocs/serialized-form.html new file mode 100644 index 0000000..0ecb11b --- /dev/null +++ b/testapidocs/serialized-form.html @@ -0,0 +1,181 @@ + + + + + + + +Serialized Form (telapi-java 0.0.3-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package com.telapi.api.testutil
+ +

+ + + + + +
+Class com.telapi.api.testutil.TestParameters extends Properties implements Serializable
+ +

+serialVersionUID: -7348144965758395514L + +

+ + + + + +
+Serialized Fields
+ +

+logger

+
+org.apache.log4j.Logger logger
+
+
+
+
+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2012 Telapi, Inc. All Rights Reserved. + + diff --git a/testapidocs/stylesheet.css b/testapidocs/stylesheet.css new file mode 100644 index 0000000..6ea9e51 --- /dev/null +++ b/testapidocs/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +