Package co.ecg.alpaca.toolkit.generated
Class Enterprise.EnterpriseDepartmentDeleteRequest
- java.lang.Object
-
- co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
-
- co.ecg.alpaca.toolkit.generated.Enterprise.EnterpriseDepartmentDeleteRequest
-
- Enclosing class:
- Enterprise
public static class Enterprise.EnterpriseDepartmentDeleteRequest extends Request<DefaultResponse>
Delete a department from an enterprise. 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 @Size(min=1,max=50) String
departmentName
protected @NotNull @Valid Enterprise
enterprise
-
Constructor Summary
Constructors Constructor Description EnterpriseDepartmentDeleteRequest()
EnterpriseDepartmentDeleteRequest(Enterprise enterprise, String departmentName)
-
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.String
getDepartmentName()
static Enterprise.EnterpriseDepartmentDeleteRequest
getEmptyObject(BroadWorksServer broadWorksServer)
Retrieves this object with minimal setup.Enterprise
getEnterprise()
Enterprise.EnterpriseDepartmentDeleteRequest
setDepartmentName(String departmentName)
Enterprise.EnterpriseDepartmentDeleteRequest
setEnterprise(Enterprise enterprise)
-
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
-
enterprise
@NotNull @Valid protected transient @NotNull @Valid Enterprise enterprise
-
departmentName
@NotNull @Size(min=1, max=50) protected @NotNull @Size(min=1,max=50) String departmentName
-
-
Constructor Detail
-
EnterpriseDepartmentDeleteRequest
public EnterpriseDepartmentDeleteRequest()
-
EnterpriseDepartmentDeleteRequest
public EnterpriseDepartmentDeleteRequest(Enterprise enterprise, String departmentName)
-
-
Method Detail
-
setEnterprise
public Enterprise.EnterpriseDepartmentDeleteRequest setEnterprise(Enterprise enterprise)
-
getEnterprise
public Enterprise getEnterprise()
-
setDepartmentName
public Enterprise.EnterpriseDepartmentDeleteRequest setDepartmentName(String departmentName)
-
getDepartmentName
public String getDepartmentName()
-
getEmptyObject
public static Enterprise.EnterpriseDepartmentDeleteRequest 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>
-
-