Class UserCommunicationBarringUserControl.UserCommunicationBarringUserControlModifyRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
co.ecg.alpaca.toolkit.generated.services.UserCommunicationBarringUserControl.UserCommunicationBarringUserControlModifyRequest
- Enclosing class:
- UserCommunicationBarringUserControl
public static class UserCommunicationBarringUserControl.UserCommunicationBarringUserControlModifyRequest extends Request<DefaultResponse>
Enabling a profile automatically disables the currently active profile. Also allows the passcode for the service to be modified and the lockout to be reset. Admins only need to populate the newPasscode field when changing the passcode. Users must populate both the oldPasscode and new Passcode fields when changing the passcode. 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 Optional<Integer>
enableProfile
protected @Size(min=1,max=30) String
newPasscode
protected @Size(min=1,max=30) String
oldPasscode
protected @AssertTrue Boolean
resetLockout
protected @NotNull @Valid BroadWorksUser
user
-
Constructor Summary
Constructors Constructor Description UserCommunicationBarringUserControlModifyRequest()
UserCommunicationBarringUserControlModifyRequest(BroadWorksUser user)
-
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
-
Constructor Details
-
UserCommunicationBarringUserControlModifyRequest
public UserCommunicationBarringUserControlModifyRequest() -
UserCommunicationBarringUserControlModifyRequest
-
-
Method Details
-
setUser
-
getBroadWorksUser
-
unsetEnableProfile
public UserCommunicationBarringUserControl.UserCommunicationBarringUserControlModifyRequest unsetEnableProfile() -
setEnableProfile
public UserCommunicationBarringUserControl.UserCommunicationBarringUserControlModifyRequest setEnableProfile(Integer enableProfile) -
getEnableProfile
-
setOldPasscode
public UserCommunicationBarringUserControl.UserCommunicationBarringUserControlModifyRequest setOldPasscode(String oldPasscode) -
getOldPasscode
-
setNewPasscode
public UserCommunicationBarringUserControl.UserCommunicationBarringUserControlModifyRequest setNewPasscode(String newPasscode) -
getNewPasscode
-
setFlagResetLockout
public UserCommunicationBarringUserControl.UserCommunicationBarringUserControlModifyRequest setFlagResetLockout() -
resetLockoutFlagExist
public boolean resetLockoutFlagExist() -
getResetLockout
-
getEmptyObject
public static UserCommunicationBarringUserControl.UserCommunicationBarringUserControlModifyRequest 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>
-