Package co.ecg.alpaca.toolkit.generated
Class BWSystem.SystemAdminAddRequest
- java.lang.Object
-
- co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
-
- co.ecg.alpaca.toolkit.generated.BWSystem.SystemAdminAddRequest
-
- Enclosing class:
- BWSystem
public static class BWSystem.SystemAdminAddRequest extends Request<DefaultResponse>
Add a system or provisioning administrator. 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 @NotNull SystemAdminTypeadminTypeprotected @Size(min=1,max=30) StringfirstNameprotected @Size(min=1,max=40) Stringlanguageprotected @Size(min=1,max=30) StringlastNameprotected @NotNull @Size(min=1,max=60) Stringpasswordprotected @NotNull BooleanreadOnlyprotected @NotNull @Valid BroadWorksUseruser
-
Constructor Summary
Constructors Constructor Description SystemAdminAddRequest()SystemAdminAddRequest(BroadWorksUser user, String password, SystemAdminType adminType, Boolean readOnly)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidformRequest()Forms the XML Document for this Request Object.SystemAdminTypegetAdminType()BroadWorksUsergetBroadWorksUser()static BWSystem.SystemAdminAddRequestgetEmptyObject(BroadWorksServer broadWorksServer)Retrieves this object with minimal setup.StringgetFirstName()StringgetLanguage()StringgetLastName()StringgetPassword()BooleangetReadOnly()BWSystem.SystemAdminAddRequestsetAdminType(SystemAdminType adminType)BWSystem.SystemAdminAddRequestsetFirstName(String firstName)BWSystem.SystemAdminAddRequestsetLanguage(String language)BWSystem.SystemAdminAddRequestsetLastName(String lastName)BWSystem.SystemAdminAddRequestsetPassword(String password)BWSystem.SystemAdminAddRequestsetReadOnly(Boolean readOnly)BWSystem.SystemAdminAddRequestsetUser(BroadWorksUser 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, isIgnoreCache, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setEcho, setIgnoreCache, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRetries, setRetryCodes, setRootElement, toString, validate
-
-
-
-
Field Detail
-
user
@NotNull @Valid protected transient @NotNull @Valid BroadWorksUser user
-
firstName
@Size(min=1, max=30) protected @Size(min=1,max=30) String firstName
-
lastName
@Size(min=1, max=30) protected @Size(min=1,max=30) String lastName
-
password
@NotNull @Size(min=1, max=60) protected @NotNull @Size(min=1,max=60) String password
-
language
@Size(min=1, max=40) protected @Size(min=1,max=40) String language
-
adminType
@NotNull protected @NotNull SystemAdminType adminType
-
readOnly
@NotNull protected @NotNull Boolean readOnly
-
-
Constructor Detail
-
SystemAdminAddRequest
public SystemAdminAddRequest()
-
SystemAdminAddRequest
public SystemAdminAddRequest(BroadWorksUser user, String password, SystemAdminType adminType, Boolean readOnly)
-
-
Method Detail
-
setUser
public BWSystem.SystemAdminAddRequest setUser(BroadWorksUser user)
-
getBroadWorksUser
public BroadWorksUser getBroadWorksUser()
-
setFirstName
public BWSystem.SystemAdminAddRequest setFirstName(String firstName)
-
getFirstName
public String getFirstName()
-
setLastName
public BWSystem.SystemAdminAddRequest setLastName(String lastName)
-
getLastName
public String getLastName()
-
setPassword
public BWSystem.SystemAdminAddRequest setPassword(String password)
-
getPassword
public String getPassword()
-
setLanguage
public BWSystem.SystemAdminAddRequest setLanguage(String language)
-
getLanguage
public String getLanguage()
-
setAdminType
public BWSystem.SystemAdminAddRequest setAdminType(SystemAdminType adminType)
-
getAdminType
public SystemAdminType getAdminType()
-
setReadOnly
public BWSystem.SystemAdminAddRequest setReadOnly(Boolean readOnly)
-
getReadOnly
public Boolean getReadOnly()
-
getEmptyObject
public static BWSystem.SystemAdminAddRequest 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:
formRequestin classRequest<DefaultResponse>
-
-