@GwtIncompatible public static class BWSystem.SystemCountryCodeAddRequest extends Request<DefaultResponse>
Request.Protocol
Modifier and Type | Field and Description |
---|---|
protected String |
countryCode |
protected String |
countryName |
protected Boolean |
disableNationalPrefixForOffNetCalls |
protected Boolean |
enableNationalPrefix |
protected Integer |
maxCallWaitingTones |
protected String |
nationalPrefix |
protected Integer |
offHookWarningTimerSeconds |
protected Integer |
ringPeriodMilliseconds |
protected Integer |
timeBetweenCallWaitingTonesMilliseconds |
Constructor and Description |
---|
SystemCountryCodeAddRequest(BroadWorksServer broadWorksServer,
String countryCode,
String countryName) |
appendChild, appendChild, appendChild, asyncFire, createElement, createNilElement, createTextElement, fire, fire, getBroadWorksServer, getCacheString, getCommandElement, getCommandType, getDomDocument, getId, getOCSProtocol, getRequestTimeoutMillis, getResponseClass, getRootElement, getValidationErrorsAsString, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRootElement, toString, validate
@NotNull @Pattern(regexp="[0-9]|[1-9][0-9]{1,2}") @Size(max=3) protected String countryCode
@NotNull @Size(min=1, max=80) protected String countryName
protected Integer ringPeriodMilliseconds
protected Integer offHookWarningTimerSeconds
protected Boolean enableNationalPrefix
@Size(min=1, max=2) protected String nationalPrefix
protected Integer maxCallWaitingTones
protected Integer timeBetweenCallWaitingTonesMilliseconds
protected Boolean disableNationalPrefixForOffNetCalls
public SystemCountryCodeAddRequest(BroadWorksServer broadWorksServer, String countryCode, String countryName)
public BWSystem.SystemCountryCodeAddRequest setCountryCode(String countryCode)
public String getCountryCode()
public BWSystem.SystemCountryCodeAddRequest setCountryName(String countryName)
public String getCountryName()
public BWSystem.SystemCountryCodeAddRequest setRingPeriodMilliseconds(Integer ringPeriodMilliseconds)
public Integer getRingPeriodMilliseconds()
public BWSystem.SystemCountryCodeAddRequest setOffHookWarningTimerSeconds(Integer offHookWarningTimerSeconds)
public Integer getOffHookWarningTimerSeconds()
public BWSystem.SystemCountryCodeAddRequest setEnableNationalPrefix(Boolean enableNationalPrefix)
public Boolean getEnableNationalPrefix()
public BWSystem.SystemCountryCodeAddRequest setNationalPrefix(String nationalPrefix)
public String getNationalPrefix()
public BWSystem.SystemCountryCodeAddRequest setMaxCallWaitingTones(Integer maxCallWaitingTones)
public Integer getMaxCallWaitingTones()
public BWSystem.SystemCountryCodeAddRequest setTimeBetweenCallWaitingTonesMilliseconds(Integer timeBetweenCallWaitingTonesMilliseconds)
public Integer getTimeBetweenCallWaitingTonesMilliseconds()
public BWSystem.SystemCountryCodeAddRequest setDisableNationalPrefixForOffNetCalls(Boolean disableNationalPrefixForOffNetCalls)
public Boolean getDisableNationalPrefixForOffNetCalls()
public static BWSystem.SystemCountryCodeAddRequest getEmptyObject(BroadWorksServer broadWorksServer)
broadWorksServer
- The BroadWorksServerpublic void formRequest()
formRequest
in class Request<DefaultResponse>
Copyright © 2017 ECG. All rights reserved.