Package co.ecg.alpaca.toolkit.generated
Class Group.GroupConsolidatedAddRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<Group.GroupConsolidatedAddResponse>
co.ecg.alpaca.toolkit.generated.Group.GroupConsolidatedAddRequest
- Enclosing class:
- Group
@ChoiceGroup("serviceProviderId") @ChoiceGroup("serviceProviderExternalId")
public static class Group.GroupConsolidatedAddRequest
extends Request<Group.GroupConsolidatedAddResponse>
Add a group. The following elements are only used in AS data mode and ignored in XS data mode: serviceProviderExternalId groupExternalId The following elements are ignored in AS and XS data mode: servicePolicy, callProcessingSliceId, provisioningSliceId, subscriberPartition. The following elements are only used in XS data mode and ignored in AS mode: preferredDataCenter. Only Provisioning admin and above can change the preferredDataCenter. The following elements are only used in XS data mode and ignored in AS data mode: defaultUserCallingLineIdPhoneNumber. The following elements are optional for the group. If the elements are included, they will be either added, authorized, or modified on the group. Should any of the following elements be rejected to due existing system or service provider settings, the group will not be added and the response will be an ErrorResponse: domain admin minExtensionLength maxExtensionLength defaultExtensionLength servicePackAuthorization groupServiceAuthorizationAndAssignment userServiceAuthorization servicePack activatablePhoneNumber activatableDNRange routingProfile trunkGroupMaxActiveCalls trunkGroupBurstingMaxActiveCalls meetMeConferencingAllocatedPorts When a group or user service is included that is not activated, is not licensed, or not authorized to the service provider, the response will be an ErrorResponse. If the group service authorized quantity is not included it will default to Unlimited. If activatablePhoneNumber and activatableDNRange elements are included, when activate element is present, this value overrides the system group default activatable settings. If the activatablePhoneNumber and activatableDNRange element are included, the phone numbers are added to the service provider if they are available to be assigned to the group and not currently added to the service provider. The response returned is a- SuccessResponse if all the data is successfully added.- ErrorResponse if any data other than the DN validation/assignment fails. - GroupConsolidatedAddResponse if any of the activatablePhoneNumber or activatableDNRange fails validation.
- 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 ActivatableDNRange[]protected @Valid ActivatableDN[]protected @Valid StreetAddressprotected @Valid GroupAdmin[]protected @Size(min=1,max=80) Stringprotected @Size(min=1,max=80) Stringprotected @Valid Contactprotected @NotNull @Size(min=1,max=80) Stringprotected Integerprotected @Size(min=1,max=23) Stringprotected String[]protected @Size(max=36) Stringprotected @Size(min=1,max=30) Stringprotected @Size(min=1,max=80) Stringprotected @Valid GroupServiceAuthorizationAndAssignment[]protected @Size(min=1,max=15) Stringprotected Integerprotected @Valid MeetMeConferencingConferencePortsprotected Integerprotected @Size(min=1,max=80) Stringprotected @Size(min=1,max=80) Stringprotected @Valid ServicePackAuthorization[]protected @Size(min=1,max=80) Stringprotected @Size(max=36) Stringprotected @Size(min=1,max=30) Stringprotected @Size(min=1,max=80) Stringprotected @Size(min=1,max=127) Stringprotected @Valid UnboundedNonNegativeIntprotected Integerprotected @NotNull Integerprotected @Valid UserServiceAuthorization[] -
Constructor Summary
ConstructorsConstructorDescriptionGroupConsolidatedAddRequest(BroadWorksServer broadWorksServer, String defaultDomain, Integer userLimit) GroupConsolidatedAddRequest(BroadWorksServer broadWorksServer, String serviceProviderId, String defaultDomain, Integer userLimit) -
Method Summary
Modifier and TypeMethodDescriptionvoidForms the XML Document for this Request Object.getAdmin()String[]getEmptyObject(BroadWorksServer broadWorksServer) Retrieves this object with minimal setup.setActivatableDNRange(ActivatableDNRange... activatableDNRange) setActivatablePhoneNumber(ActivatableDN... activatablePhoneNumber) setAddress(StreetAddress address) setAdmin(GroupAdmin... admin) setCallingLineIdName(String callingLineIdName) setCallProcessingSliceId(String callProcessingSliceId) setContact(Contact contact) setDefaultDomain(String defaultDomain) setDefaultExtensionLength(Integer defaultExtensionLength) setDefaultUserCallingLineIdPhoneNumber(String defaultUserCallingLineIdPhoneNumber) setGroupExternalId(String groupExternalId) setGroupId(String groupId) setGroupName(String groupName) setGroupServiceAuthorizationAndAssignment(GroupServiceAuthorizationAndAssignment... groupServiceAuthorizationAndAssignment) setLocationDialingCode(String locationDialingCode) setMaxExtensionLength(Integer maxExtensionLength) setMeetMeConferencingAllocatedPorts(MeetMeConferencingConferencePorts meetMeConferencingAllocatedPorts) setMinExtensionLength(Integer minExtensionLength) setPreferredDataCenter(String preferredDataCenter) setProvisioningSliceId(String provisioningSliceId) setRoutingProfile(String routingProfile) setServicePackAuthorization(ServicePackAuthorization... servicePackAuthorization) setServicePolicy(String servicePolicy) setServiceProviderExternalId(String serviceProviderExternalId) setServiceProviderId(String serviceProviderId) setSubscriberPartition(String subscriberPartition) setTimeZone(String timeZone) setTrunkGroupBurstingMaxActiveCalls(UnboundedNonNegativeInt trunkGroupBurstingMaxActiveCalls) setTrunkGroupMaxActiveCalls(Integer trunkGroupMaxActiveCalls) setUserLimit(Integer userLimit) setUserServiceAuthorization(UserServiceAuthorization... userServiceAuthorization) 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
-
serviceProviderId
-
serviceProviderExternalId
-
groupId
-
groupExternalId
-
defaultDomain
-
userLimit
-
groupName
-
callingLineIdName
-
timeZone
-
locationDialingCode
-
contact
-
address
-
servicePolicy
-
callProcessingSliceId
-
provisioningSliceId
-
subscriberPartition
-
preferredDataCenter
-
defaultUserCallingLineIdPhoneNumber
-
domain
-
admin
-
minExtensionLength
-
maxExtensionLength
-
defaultExtensionLength
-
groupServiceAuthorizationAndAssignment
@Valid protected @Valid GroupServiceAuthorizationAndAssignment[] groupServiceAuthorizationAndAssignment -
userServiceAuthorization
-
servicePackAuthorization
-
activatablePhoneNumber
-
activatableDNRange
-
routingProfile
-
meetMeConferencingAllocatedPorts
-
trunkGroupMaxActiveCalls
-
trunkGroupBurstingMaxActiveCalls
-
-
Constructor Details
-
GroupConsolidatedAddRequest
public GroupConsolidatedAddRequest() -
GroupConsolidatedAddRequest
public GroupConsolidatedAddRequest(BroadWorksServer broadWorksServer, String defaultDomain, Integer userLimit) -
GroupConsolidatedAddRequest
public GroupConsolidatedAddRequest(BroadWorksServer broadWorksServer, String serviceProviderId, String defaultDomain, Integer userLimit)
-
-
Method Details
-
setServiceProviderId
-
getServiceProviderId
-
setServiceProviderExternalId
public Group.GroupConsolidatedAddRequest setServiceProviderExternalId(String serviceProviderExternalId) -
getServiceProviderExternalId
-
setGroupId
-
getGroupId
-
setGroupExternalId
-
getGroupExternalId
-
setDefaultDomain
-
getDefaultDomain
-
setUserLimit
-
getUserLimit
-
setGroupName
-
getGroupName
-
setCallingLineIdName
-
getCallingLineIdName
-
setTimeZone
-
getTimeZone
-
setLocationDialingCode
-
getLocationDialingCode
-
setContact
-
getContact
-
setAddress
-
getAddress
-
setServicePolicy
-
getServicePolicy
-
setCallProcessingSliceId
-
getCallProcessingSliceId
-
setProvisioningSliceId
-
getProvisioningSliceId
-
setSubscriberPartition
-
getSubscriberPartition
-
setPreferredDataCenter
-
getPreferredDataCenter
-
setDefaultUserCallingLineIdPhoneNumber
public Group.GroupConsolidatedAddRequest setDefaultUserCallingLineIdPhoneNumber(String defaultUserCallingLineIdPhoneNumber) -
getDefaultUserCallingLineIdPhoneNumber
-
setDomain
-
getDomain
-
setAdmin
-
getAdmin
-
setMinExtensionLength
-
getMinExtensionLength
-
setMaxExtensionLength
-
getMaxExtensionLength
-
setDefaultExtensionLength
-
getDefaultExtensionLength
-
setGroupServiceAuthorizationAndAssignment
public Group.GroupConsolidatedAddRequest setGroupServiceAuthorizationAndAssignment(GroupServiceAuthorizationAndAssignment... groupServiceAuthorizationAndAssignment) -
getGroupServiceAuthorizationAndAssignment
-
setUserServiceAuthorization
public Group.GroupConsolidatedAddRequest setUserServiceAuthorization(UserServiceAuthorization... userServiceAuthorization) -
getUserServiceAuthorization
-
setServicePackAuthorization
public Group.GroupConsolidatedAddRequest setServicePackAuthorization(ServicePackAuthorization... servicePackAuthorization) -
getServicePackAuthorization
-
setActivatablePhoneNumber
public Group.GroupConsolidatedAddRequest setActivatablePhoneNumber(ActivatableDN... activatablePhoneNumber) -
getActivatablePhoneNumber
-
setActivatableDNRange
public Group.GroupConsolidatedAddRequest setActivatableDNRange(ActivatableDNRange... activatableDNRange) -
getActivatableDNRange
-
unsetRoutingProfile
-
setRoutingProfile
-
getRoutingProfile
-
setMeetMeConferencingAllocatedPorts
public Group.GroupConsolidatedAddRequest setMeetMeConferencingAllocatedPorts(MeetMeConferencingConferencePorts meetMeConferencingAllocatedPorts) -
getMeetMeConferencingAllocatedPorts
-
setTrunkGroupMaxActiveCalls
public Group.GroupConsolidatedAddRequest setTrunkGroupMaxActiveCalls(Integer trunkGroupMaxActiveCalls) -
getTrunkGroupMaxActiveCalls
-
setTrunkGroupBurstingMaxActiveCalls
public Group.GroupConsolidatedAddRequest setTrunkGroupBurstingMaxActiveCalls(UnboundedNonNegativeInt trunkGroupBurstingMaxActiveCalls) -
getTrunkGroupBurstingMaxActiveCalls
-
getEmptyObject
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:
formRequestin classRequest<Group.GroupConsolidatedAddResponse>
-