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 SystemAdminType
adminType
protected @Size(min=1,max=30) String
firstName
protected @Size(min=1,max=40) String
language
protected @Size(min=1,max=30) String
lastName
protected @NotNull @Size(min=1,max=60) String
password
protected @NotNull Boolean
readOnly
protected @NotNull @Valid BroadWorksUser
user
-
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 void
formRequest()
Forms the XML Document for this Request Object.SystemAdminType
getAdminType()
BroadWorksUser
getBroadWorksUser()
static BWSystem.SystemAdminAddRequest
getEmptyObject(BroadWorksServer broadWorksServer)
Retrieves this object with minimal setup.String
getFirstName()
String
getLanguage()
String
getLastName()
String
getPassword()
Boolean
getReadOnly()
BWSystem.SystemAdminAddRequest
setAdminType(SystemAdminType adminType)
BWSystem.SystemAdminAddRequest
setFirstName(String firstName)
BWSystem.SystemAdminAddRequest
setLanguage(String language)
BWSystem.SystemAdminAddRequest
setLastName(String lastName)
BWSystem.SystemAdminAddRequest
setPassword(String password)
BWSystem.SystemAdminAddRequest
setReadOnly(Boolean readOnly)
BWSystem.SystemAdminAddRequest
setUser(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:
formRequest
in classRequest<DefaultResponse>
-
-