Package co.ecg.alpaca.toolkit.generated
Class BWSystem.SystemCountryCodeAddRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
co.ecg.alpaca.toolkit.generated.BWSystem.SystemCountryCodeAddRequest
- Enclosing class:
- BWSystem
Add a country code to the system. If ringPeriodMilliseconds is not specified, a default of 6000 milliseconds is assumed. If offHookWarningTimerSeconds is not specified, a default of 30 seconds is assumed. If enableNationalPrefix is not specified, a default of false is assumed. If nationalPrefix is not specified, a default of null string is assumed. If disableNationalPrefixForOffNetCalls is not specified, a default of false is assumed. The following elements are only used in AS data mode: disableNationalPrefixForOffNetCalls. The response is either a SuccessResponse or an ErrorResponse.
- Author:
- AlpacaGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from class co.ecg.alpaca.toolkit.messaging.request.Request
Request.Protocol
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSystemCountryCodeAddRequest
(BroadWorksServer broadWorksServer, String countryCode, String countryName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Forms the XML Document for this Request Object.getEmptyObject
(BroadWorksServer broadWorksServer) Retrieves this object with minimal setup.setCountryCode
(String countryCode) setCountryName
(String countryName) setDisableNationalPrefixForOffNetCalls
(Boolean disableNationalPrefixForOffNetCalls) setEnableNationalPrefix
(Boolean enableNationalPrefix) setMaxCallWaitingTones
(Integer maxCallWaitingTones) setNationalPrefix
(String nationalPrefix) setOffHookWarningTimerSeconds
(Integer offHookWarningTimerSeconds) setRingPeriodMilliseconds
(Integer ringPeriodMilliseconds) setTimeBetweenCallWaitingTonesMilliseconds
(Integer timeBetweenCallWaitingTonesMilliseconds) Methods inherited from class co.ecg.alpaca.toolkit.messaging.request.Request
appendChild, appendChild, appendChild, asyncFire, createElement, createNilElement, createNilElement, createTextElement, equals, fire, fire, getBroadWorksServer, getCacheString, getCommandElement, getCommandType, getDomDocument, getId, getOCSProtocol, getRequestTimeoutMillis, getResponseClass, getRetries, getRetryCodes, getRootElement, getValidationErrorsAsString, hashCode, isIgnoreCache, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setEcho, setIgnoreCache, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRetries, setRetryCodes, setRootElement, toString, validate
-
Field Details
-
countryCode
-
countryName
-
ringPeriodMilliseconds
-
offHookWarningTimerSeconds
-
enableNationalPrefix
-
nationalPrefix
-
maxCallWaitingTones
-
timeBetweenCallWaitingTonesMilliseconds
-
disableNationalPrefixForOffNetCalls
-
-
Constructor Details
-
SystemCountryCodeAddRequest
public SystemCountryCodeAddRequest() -
SystemCountryCodeAddRequest
public SystemCountryCodeAddRequest(BroadWorksServer broadWorksServer, String countryCode, String countryName)
-
-
Method Details
-
setCountryCode
-
getCountryCode
-
setCountryName
-
getCountryName
-
setRingPeriodMilliseconds
public BWSystem.SystemCountryCodeAddRequest setRingPeriodMilliseconds(Integer ringPeriodMilliseconds) -
getRingPeriodMilliseconds
-
setOffHookWarningTimerSeconds
public BWSystem.SystemCountryCodeAddRequest setOffHookWarningTimerSeconds(Integer offHookWarningTimerSeconds) -
getOffHookWarningTimerSeconds
-
setEnableNationalPrefix
-
getEnableNationalPrefix
-
setNationalPrefix
-
getNationalPrefix
-
setMaxCallWaitingTones
-
getMaxCallWaitingTones
-
setTimeBetweenCallWaitingTonesMilliseconds
public BWSystem.SystemCountryCodeAddRequest setTimeBetweenCallWaitingTonesMilliseconds(Integer timeBetweenCallWaitingTonesMilliseconds) -
getTimeBetweenCallWaitingTonesMilliseconds
-
setDisableNationalPrefixForOffNetCalls
public BWSystem.SystemCountryCodeAddRequest setDisableNationalPrefixForOffNetCalls(Boolean disableNationalPrefixForOffNetCalls) -
getDisableNationalPrefixForOffNetCalls
-
getEmptyObject
public static BWSystem.SystemCountryCodeAddRequest getEmptyObject(BroadWorksServer broadWorksServer) Retrieves this object with minimal setup.- Parameters:
broadWorksServer
- The BroadWorksServer
-
formRequest
public void formRequest()Forms the XML Document for this Request Object. Called by the Request upon fire().- Overrides:
formRequest
in classRequest<DefaultResponse>
-