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
FieldsModifier and TypeFieldDescriptionprotected @Valid @Size(max=8) EnterpriseVoiceVPNDigitManipulation[]
protected @NotNull @Valid Enterprise
protected @NotNull @Size(min=1,max=22) String
protected Integer
protected Integer
protected EnterpriseVoiceVPNPolicySelection
protected @Size(min=1,max=30) String
protected @Size(min=1,max=30) String
-
Constructor Summary
ConstructorsConstructorDescriptionEnterpriseVoiceVPNModifyPolicyRequest
(Enterprise enterprise, String locationDialingCode) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Forms the XML Document for this Request Object.getEmptyObject
(BroadWorksServer broadWorksServer) Retrieves this object with minimal setup.setDescription
(String description) setDigitManipulation
(EnterpriseVoiceVPNDigitManipulation... digitManipulation) setEnterprise
(Enterprise enterprise) setLocationDialingCode
(String locationDialingCode) setMaxExtensionLength
(Integer maxExtensionLength) setMinExtensionLength
(Integer minExtensionLength) setPolicySelection
(EnterpriseVoiceVPNPolicySelection policySelection) setRouteGroupId
(String routeGroupId) setTreatmentId
(String treatmentId) 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
-
enterprise
-
locationDialingCode
-
minExtensionLength
-
maxExtensionLength
-
description
-
routeGroupId
-
policySelection
-
digitManipulation
@Valid @Size(max=8) protected @Valid @Size(max=8) EnterpriseVoiceVPNDigitManipulation[] digitManipulation -
treatmentId
-
-
Constructor Details
-
EnterpriseVoiceVPNModifyPolicyRequest
public EnterpriseVoiceVPNModifyPolicyRequest() -
EnterpriseVoiceVPNModifyPolicyRequest
-
-
Method Details
-
setEnterprise
-
getEnterprise
-
setLocationDialingCode
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setLocationDialingCode(String locationDialingCode) -
getLocationDialingCode
-
setMinExtensionLength
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setMinExtensionLength(Integer minExtensionLength) -
getMinExtensionLength
-
setMaxExtensionLength
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setMaxExtensionLength(Integer maxExtensionLength) -
getMaxExtensionLength
-
unsetDescription
-
setDescription
-
getDescription
-
setRouteGroupId
-
getRouteGroupId
-
setPolicySelection
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setPolicySelection(EnterpriseVoiceVPNPolicySelection policySelection) -
getPolicySelection
-
setDigitManipulation
public Enterprise.EnterpriseVoiceVPNModifyPolicyRequest setDigitManipulation(EnterpriseVoiceVPNDigitManipulation... digitManipulation) -
getDigitManipulation
-
setTreatmentId
-
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>
-