Package co.ecg.alpaca.toolkit.generated
Class AutoAttendant.GroupAutoAttendantDeleteInstanceRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
co.ecg.alpaca.toolkit.generated.AutoAttendant.GroupAutoAttendantDeleteInstanceRequest
- Enclosing class:
- AutoAttendant
public static class AutoAttendant.GroupAutoAttendantDeleteInstanceRequest extends Request<DefaultResponse>
Delete a Auto Attendant instance from a group. If UnassignPhoneNumbersLevel is set to 'Group', the user's primary phone number, fax number and any alternate numbers, will be unassigned from the group if the command is executed by a service provider administrator or above. When set to 'Service Provider', they will be unassigned 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 with the type warning 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
Fields Modifier and Type Field Description protected @NotNull @Valid AutoAttendant
user
-
Constructor Summary
Constructors Constructor Description GroupAutoAttendantDeleteInstanceRequest()
GroupAutoAttendantDeleteInstanceRequest(AutoAttendant user)
-
Method Summary
Modifier and Type Method Description void
formRequest()
Forms the XML Document for this Request Object.AutoAttendant
getAutoAttendant()
static AutoAttendant.GroupAutoAttendantDeleteInstanceRequest
getEmptyObject(BroadWorksServer broadWorksServer)
Retrieves this object with minimal setup.AutoAttendant.GroupAutoAttendantDeleteInstanceRequest
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, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setEcho, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRetries, setRetryCodes, setRootElement, toString, validate
-
Field Details
-
Constructor Details
-
GroupAutoAttendantDeleteInstanceRequest
public GroupAutoAttendantDeleteInstanceRequest() -
GroupAutoAttendantDeleteInstanceRequest
-
-
Method Details
-
setUser
-
getAutoAttendant
-
getEmptyObject
public static AutoAttendant.GroupAutoAttendantDeleteInstanceRequest 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>
-