Class UserPriorityAlert.UserPriorityAlertModifyCriteriaRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
co.ecg.alpaca.toolkit.generated.services.UserPriorityAlert.UserPriorityAlertModifyCriteriaRequest
- Enclosing class:
- UserPriorityAlert
public static class UserPriorityAlert.UserPriorityAlertModifyCriteriaRequest extends Request<DefaultResponse>
Modify a criteria for the user's priority alert service. The following elements are only used in AS data mode: callToNumberList For the callToNumbers in the callToNumberList, the extension element is not used and the number element is only used when the type is BroadWorks Mobility. 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
Fields Modifier and Type Field Description protected java.lang.Boolean
blacklisted
protected java.util.Optional<@Valid ReplacementCallToNumberList>
callToNumberList
protected @NotNull @Size(min=1,max=50) java.lang.String
criteriaName
protected @Valid PriorityAlertCriteriaFromDnModify
fromDnCriteria
protected java.util.Optional<@Valid HolidaySchedule>
holidaySchedule
protected @Size(min=1,max=50) java.lang.String
newCriteriaName
protected java.util.Optional<@Valid TimeSchedule>
timeSchedule
protected @NotNull @Valid BroadWorksUser
user
-
Constructor Summary
Constructors Constructor Description UserPriorityAlertModifyCriteriaRequest()
UserPriorityAlertModifyCriteriaRequest(BroadWorksUser user, java.lang.String criteriaName)
-
Method Summary
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
-
user
-
criteriaName
@NotNull @Size(min=1, max=50) protected @NotNull @Size(min=1,max=50) java.lang.String criteriaName -
newCriteriaName
@Size(min=1, max=50) protected @Size(min=1,max=50) java.lang.String newCriteriaName -
timeSchedule
-
fromDnCriteria
-
holidaySchedule
-
blacklisted
protected java.lang.Boolean blacklisted -
callToNumberList
-
-
Constructor Details
-
UserPriorityAlertModifyCriteriaRequest
public UserPriorityAlertModifyCriteriaRequest() -
UserPriorityAlertModifyCriteriaRequest
-
-
Method Details
-
setUser
-
getBroadWorksUser
-
setCriteriaName
public UserPriorityAlert.UserPriorityAlertModifyCriteriaRequest setCriteriaName(java.lang.String criteriaName) -
getCriteriaName
public java.lang.String getCriteriaName() -
setNewCriteriaName
public UserPriorityAlert.UserPriorityAlertModifyCriteriaRequest setNewCriteriaName(java.lang.String newCriteriaName) -
getNewCriteriaName
public java.lang.String getNewCriteriaName() -
setTimeSchedule
public UserPriorityAlert.UserPriorityAlertModifyCriteriaRequest setTimeSchedule(TimeSchedule timeSchedule) -
getTimeSchedule
-
setFromDnCriteria
public UserPriorityAlert.UserPriorityAlertModifyCriteriaRequest setFromDnCriteria(PriorityAlertCriteriaFromDnModify fromDnCriteria) -
getFromDnCriteria
-
setHolidaySchedule
public UserPriorityAlert.UserPriorityAlertModifyCriteriaRequest setHolidaySchedule(HolidaySchedule holidaySchedule) -
getHolidaySchedule
-
setBlacklisted
public UserPriorityAlert.UserPriorityAlertModifyCriteriaRequest setBlacklisted(java.lang.Boolean blacklisted) -
getBlacklisted
public java.lang.Boolean getBlacklisted() -
setCallToNumberList
public UserPriorityAlert.UserPriorityAlertModifyCriteriaRequest setCallToNumberList(ReplacementCallToNumberList callToNumberList) -
getCallToNumberList
-
getEmptyObject
public static UserPriorityAlert.UserPriorityAlertModifyCriteriaRequest 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>
-