Package co.ecg.alpaca.toolkit.generated
Class AutoAttendant.GroupAutoAttendantConsolidatedDeleteInstanceRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
co.ecg.alpaca.toolkit.generated.AutoAttendant.GroupAutoAttendantConsolidatedDeleteInstanceRequest
- Enclosing class:
AutoAttendant
public static class AutoAttendant.GroupAutoAttendantConsolidatedDeleteInstanceRequest
extends Request<DefaultResponse>
Delete a Auto Attendant instance from a group and free up phone numbers. If UnassignPhoneNumbersLevel is set to 'Group', the user's primary phone number, fax number and any alternate numbers, will be un-assigned from the group if the command is executed by a service provider administrator or above. When set to 'Service Provider', they will be un-assigned from the group and service provider if the command is executed by a provisioning administrator or above. When omitted, the number(s) will be left assigned to the group. An ErrorResponse will be returned if any number cannot be unassigned because of insufficient privilege. The response is either SuccessResponse or 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 UnassignPhoneNumbersLevel
protected @NotNull @Valid AutoAttendant
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
Forms the XML Document for this Request Object.getEmptyObject
(BroadWorksServer broadWorksServer) Retrieves this object with minimal setup.setUnassignPhoneNumbers
(UnassignPhoneNumbersLevel unassignPhoneNumbers) setUser
(AutoAttendant user) 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
-
user
-
unassignPhoneNumbers
-
-
Constructor Details
-
GroupAutoAttendantConsolidatedDeleteInstanceRequest
public GroupAutoAttendantConsolidatedDeleteInstanceRequest() -
GroupAutoAttendantConsolidatedDeleteInstanceRequest
-
-
Method Details
-
setUser
public AutoAttendant.GroupAutoAttendantConsolidatedDeleteInstanceRequest setUser(AutoAttendant user) -
getAutoAttendant
-
setUnassignPhoneNumbers
public AutoAttendant.GroupAutoAttendantConsolidatedDeleteInstanceRequest setUnassignPhoneNumbers(UnassignPhoneNumbersLevel unassignPhoneNumbers) -
getUnassignPhoneNumbers
-
getEmptyObject
public static AutoAttendant.GroupAutoAttendantConsolidatedDeleteInstanceRequest 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>
-