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