Package co.ecg.alpaca.toolkit.generated
Class ServiceProvider.ServiceProviderConsolidatedAddRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
co.ecg.alpaca.toolkit.generated.ServiceProvider.ServiceProviderConsolidatedAddRequest
- Enclosing class:
- ServiceProvider
@ChoiceGroup("isEnterprise") @ChoiceGroup("useCustomRoutingProfile")
public static class ServiceProvider.ServiceProviderConsolidatedAddRequest
extends Request<DefaultResponse>
Add a service provider or enterprise. The response is either a SuccessResponse or an ErrorResponse. The following elements are only used in AS data mode and ignored in XS data mode: serviceProviderExtenalId The following elements are only used in Amplify data mode and ignored in AS and XS data mode: servicePolicy, callProcessingSliceId, provisioningSliceId, subscriberPartition. When the callProcessingSliceId or provisioningSliceId is not specified in the AmplifyDataMode, the default slice Id is assigned to the service provider. Only Provisioning admin and above can change the callProcessingSliceId, provisioningSliceId, andsubscriberPartition. The following elements are only used in Amplify and XS data mode and ignored in AS data mode: preferredDataCenter. Only Provisioning admin and above can change the preferredDataCenter. The following data elements are only used in AS data mode: resellerId If reseller administrator sends the request, resellerId is ignored. The reseller administrator's reseller id is used. The following elements are optional for the service provider. If the elements are included, they will be either added, authorized, or modified on the service provider. Should any of the following elements be rejected to due existing system settings, the service provider will not be added and the response will be an ErrorResponse: domain admin groupServiceAuthorization userServiceAuthorization servicePack phoneNumber dnRange routingProfile meetMeConferencingAllocatedPorts trunkGroupMaxActiveCalls trunkGroupBurstingMaxActiveCalls voiceMessagingGroupSettings voiceMessagingVoicePortalScope When a group or user service is included that is not activated or is not licensed, the response will be 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 StreetAddress
protected @Valid ServiceProviderAdmin[]
protected @Size(min=1,max=80) String
protected @Valid Contact
protected @NotNull @Size(min=1,max=80) String
protected @Valid DNRange[]
protected String[]
protected @Valid GroupServiceAuthorization[]
protected @AssertTrue Boolean
protected @Valid MeetMeConferencingConferencePorts
protected String[]
protected @Size(min=1,max=80) String
protected @Size(min=1,max=80) String
protected @Size(min=1,max=36) String
protected @Valid ServicePack[]
protected @Size(min=1,max=80) String
protected @Size(max=36) String
protected @Size(min=1,max=30) String
protected @Size(min=1,max=80) String
protected @Size(min=1,max=80) String
protected @Size(min=1,max=80) String
protected @Valid UnboundedNonNegativeInt
protected @Valid UnboundedNonNegativeInt
protected Boolean
protected @Valid UserServiceAuthorization[]
protected @Valid ServiceProviderVoiceMessagingGroupSettingsAdd
protected ServiceProviderVoicePortalScope
-
Constructor Summary
ConstructorsConstructorDescriptionServiceProviderConsolidatedAddRequest
(BroadWorksServer broadWorksServer, Boolean isEnterprise, String defaultDomain) ServiceProviderConsolidatedAddRequest
(BroadWorksServer broadWorksServer, String defaultDomain) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Forms the XML Document for this Request Object.getAdmin()
DNRange[]
String[]
getEmptyObject
(BroadWorksServer broadWorksServer) Retrieves this object with minimal setup.String[]
boolean
setAddress
(StreetAddress address) setAdmin
(ServiceProviderAdmin... admin) setCallProcessingSliceId
(String callProcessingSliceId) setContact
(Contact contact) setDefaultDomain
(String defaultDomain) setDnRange
(DNRange... dnRange) setGroupServiceAuthorization
(GroupServiceAuthorization... groupServiceAuthorization) setMeetMeConferencingAllocatedPorts
(MeetMeConferencingConferencePorts meetMeConferencingAllocatedPorts) setPhoneNumber
(String... phoneNumber) setPreferredDataCenter
(String preferredDataCenter) setProvisioningSliceId
(String provisioningSliceId) setResellerId
(String resellerId) setRoutingProfile
(String routingProfile) setServicePack
(ServicePack... servicePack) setServicePolicy
(String servicePolicy) setServiceProviderExternalId
(String serviceProviderExternalId) setServiceProviderId
(String serviceProviderId) setServiceProviderName
(String serviceProviderName) setSubscriberPartition
(String subscriberPartition) setSupportEmail
(String supportEmail) setTrunkGroupBurstingMaxActiveCalls
(UnboundedNonNegativeInt trunkGroupBurstingMaxActiveCalls) setTrunkGroupMaxActiveCalls
(UnboundedNonNegativeInt trunkGroupMaxActiveCalls) setUseCustomRoutingProfile
(Boolean useCustomRoutingProfile) setUserServiceAuthorization
(UserServiceAuthorization... userServiceAuthorization) setVoiceMessagingGroupSettings
(ServiceProviderVoiceMessagingGroupSettingsAdd voiceMessagingGroupSettings) setVoiceMessagingGroupVoicePortalScope
(ServiceProviderVoicePortalScope voiceMessagingGroupVoicePortalScope) 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
-
isEnterprise
-
useCustomRoutingProfile
-
serviceProviderId
-
serviceProviderExternalId
-
defaultDomain
-
serviceProviderName
-
supportEmail
-
contact
-
address
-
servicePolicy
-
callProcessingSliceId
-
provisioningSliceId
-
subscriberPartition
-
preferredDataCenter
-
resellerId
-
domain
-
admin
-
groupServiceAuthorization
-
userServiceAuthorization
-
servicePack
-
phoneNumber
-
dnRange
-
routingProfile
-
meetMeConferencingAllocatedPorts
-
trunkGroupMaxActiveCalls
-
trunkGroupBurstingMaxActiveCalls
-
voiceMessagingGroupSettings
-
voiceMessagingGroupVoicePortalScope
-
-
Constructor Details
-
ServiceProviderConsolidatedAddRequest
public ServiceProviderConsolidatedAddRequest() -
ServiceProviderConsolidatedAddRequest
public ServiceProviderConsolidatedAddRequest(BroadWorksServer broadWorksServer, String defaultDomain) -
ServiceProviderConsolidatedAddRequest
public ServiceProviderConsolidatedAddRequest(BroadWorksServer broadWorksServer, Boolean isEnterprise, String defaultDomain)
-
-
Method Details
-
setFlagIsEnterprise
-
isEnterpriseFlagExist
public boolean isEnterpriseFlagExist() -
getIsEnterprise
-
setUseCustomRoutingProfile
public ServiceProvider.ServiceProviderConsolidatedAddRequest setUseCustomRoutingProfile(Boolean useCustomRoutingProfile) -
getUseCustomRoutingProfile
-
setServiceProviderId
public ServiceProvider.ServiceProviderConsolidatedAddRequest setServiceProviderId(String serviceProviderId) -
getServiceProviderId
-
setServiceProviderExternalId
public ServiceProvider.ServiceProviderConsolidatedAddRequest setServiceProviderExternalId(String serviceProviderExternalId) -
getServiceProviderExternalId
-
setDefaultDomain
-
getDefaultDomain
-
setServiceProviderName
public ServiceProvider.ServiceProviderConsolidatedAddRequest setServiceProviderName(String serviceProviderName) -
getServiceProviderName
-
setSupportEmail
-
getSupportEmail
-
setContact
-
getContact
-
setAddress
-
getAddress
-
setServicePolicy
-
getServicePolicy
-
setCallProcessingSliceId
public ServiceProvider.ServiceProviderConsolidatedAddRequest setCallProcessingSliceId(String callProcessingSliceId) -
getCallProcessingSliceId
-
setProvisioningSliceId
public ServiceProvider.ServiceProviderConsolidatedAddRequest setProvisioningSliceId(String provisioningSliceId) -
getProvisioningSliceId
-
setSubscriberPartition
public ServiceProvider.ServiceProviderConsolidatedAddRequest setSubscriberPartition(String subscriberPartition) -
getSubscriberPartition
-
setPreferredDataCenter
public ServiceProvider.ServiceProviderConsolidatedAddRequest setPreferredDataCenter(String preferredDataCenter) -
getPreferredDataCenter
-
setResellerId
-
getResellerId
-
setDomain
-
getDomain
-
setAdmin
public ServiceProvider.ServiceProviderConsolidatedAddRequest setAdmin(ServiceProviderAdmin... admin) -
getAdmin
-
setGroupServiceAuthorization
public ServiceProvider.ServiceProviderConsolidatedAddRequest setGroupServiceAuthorization(GroupServiceAuthorization... groupServiceAuthorization) -
getGroupServiceAuthorization
-
setUserServiceAuthorization
public ServiceProvider.ServiceProviderConsolidatedAddRequest setUserServiceAuthorization(UserServiceAuthorization... userServiceAuthorization) -
getUserServiceAuthorization
-
setServicePack
public ServiceProvider.ServiceProviderConsolidatedAddRequest setServicePack(ServicePack... servicePack) -
getServicePack
-
setPhoneNumber
-
getPhoneNumber
-
setDnRange
-
getDnRange
-
unsetRoutingProfile
-
setRoutingProfile
public ServiceProvider.ServiceProviderConsolidatedAddRequest setRoutingProfile(String routingProfile) -
getRoutingProfile
-
setMeetMeConferencingAllocatedPorts
public ServiceProvider.ServiceProviderConsolidatedAddRequest setMeetMeConferencingAllocatedPorts(MeetMeConferencingConferencePorts meetMeConferencingAllocatedPorts) -
getMeetMeConferencingAllocatedPorts
-
setTrunkGroupMaxActiveCalls
public ServiceProvider.ServiceProviderConsolidatedAddRequest setTrunkGroupMaxActiveCalls(UnboundedNonNegativeInt trunkGroupMaxActiveCalls) -
getTrunkGroupMaxActiveCalls
-
setTrunkGroupBurstingMaxActiveCalls
public ServiceProvider.ServiceProviderConsolidatedAddRequest setTrunkGroupBurstingMaxActiveCalls(UnboundedNonNegativeInt trunkGroupBurstingMaxActiveCalls) -
getTrunkGroupBurstingMaxActiveCalls
-
setVoiceMessagingGroupSettings
public ServiceProvider.ServiceProviderConsolidatedAddRequest setVoiceMessagingGroupSettings(ServiceProviderVoiceMessagingGroupSettingsAdd voiceMessagingGroupSettings) -
getVoiceMessagingGroupSettings
-
setVoiceMessagingGroupVoicePortalScope
public ServiceProvider.ServiceProviderConsolidatedAddRequest setVoiceMessagingGroupVoicePortalScope(ServiceProviderVoicePortalScope voiceMessagingGroupVoicePortalScope) -
getVoiceMessagingGroupVoicePortalScope
-
getEmptyObject
public static ServiceProvider.ServiceProviderConsolidatedAddRequest 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>
-