Package co.ecg.alpaca.toolkit.generated
Class Enterprise.EnterpriseVoiceVPNModifyPolicyRequest
- java.lang.Object
-
- co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
-
- co.ecg.alpaca.toolkit.generated.Enterprise.EnterpriseVoiceVPNModifyPolicyRequest
-
- Enclosing class:
- Enterprise
@Choice(minOccurs=0,value={@ChoiceGroup("digitManipulation"),@ChoiceGroup("treatmentId")}) public static class Enterprise.EnterpriseVoiceVPNModifyPolicyRequest extends Request<DefaultResponse>
Modify the enterprise level data associated with a Voice VPN location code. 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 Modifier and Type Field Description protected Optional<@Size(min=1,max=40) String>
description
protected @Valid @Size(max=8) EnterpriseVoiceVPNDigitManipulation[]
digitManipulation
protected @NotNull @Valid Enterprise
enterprise
protected @NotNull @Size(min=1,max=22) String
locationDialingCode
protected Integer
maxExtensionLength
protected Integer
minExtensionLength
protected EnterpriseVoiceVPNPolicySelection
policySelection
protected @Size(min=1,max=30) String
routeGroupId
protected @Size(min=1,max=30) String
treatmentId
-
Constructor Summary
Constructors Constructor Description EnterpriseVoiceVPNModifyPolicyRequest()
EnterpriseVoiceVPNModifyPolicyRequest(Enterprise enterprise, String locationDialingCode)
-
Method Summary
-
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 Detail
-
enterprise
@NotNull @Valid protected transient @NotNull @Valid Enterprise enterprise
-
locationDialingCode
@NotNull @Size(min=1, max=22) protected @NotNull @Size(min=1,max=22) String locationDialingCode
-
minExtensionLength
protected Integer minExtensionLength
-
maxExtensionLength
protected Integer maxExtensionLength
-
routeGroupId
@Size(min=1, max=30) protected @Size(min=1,max=30) String routeGroupId
-
policySelection
protected EnterpriseVoiceVPNPolicySelection policySelection
-
digitManipulation
@Valid @Size(max=8) protected @Valid @Size(max=8) EnterpriseVoiceVPNDigitManipulation[] digitManipulation
-
treatmentId
@Size(min=1, max=30) protected @Size(min=1,max=30) String treatmentId
-
-
Constructor Detail
-
EnterpriseVoiceVPNModifyPolicyRequest
public EnterpriseVoiceVPNModifyPolicyRequest()
-
EnterpriseVoiceVPNModifyPolicyRequest
public EnterpriseVoiceVPNModifyPolicyRequest(Enterprise enterprise, String locationDialingCode)
-
-
Method Detail
-
setEnterprise
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setEnterprise(Enterprise enterprise)
-
getEnterprise
public Enterprise getEnterprise()
-
setLocationDialingCode
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setLocationDialingCode(String locationDialingCode)
-
getLocationDialingCode
public String getLocationDialingCode()
-
setMinExtensionLength
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setMinExtensionLength(Integer minExtensionLength)
-
getMinExtensionLength
public Integer getMinExtensionLength()
-
setMaxExtensionLength
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setMaxExtensionLength(Integer maxExtensionLength)
-
getMaxExtensionLength
public Integer getMaxExtensionLength()
-
unsetDescription
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest unsetDescription()
-
setDescription
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setDescription(String description)
-
setRouteGroupId
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setRouteGroupId(String routeGroupId)
-
getRouteGroupId
public String getRouteGroupId()
-
setPolicySelection
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setPolicySelection(EnterpriseVoiceVPNPolicySelection policySelection)
-
getPolicySelection
public EnterpriseVoiceVPNPolicySelection getPolicySelection()
-
setDigitManipulation
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setDigitManipulation(EnterpriseVoiceVPNDigitManipulation... digitManipulation)
-
getDigitManipulation
public EnterpriseVoiceVPNDigitManipulation[] getDigitManipulation()
-
setTreatmentId
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setTreatmentId(String treatmentId)
-
getTreatmentId
public String getTreatmentId()
-
getEmptyObject
public static Enterprise.EnterpriseVoiceVPNModifyPolicyRequest 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>
-
-