@GwtIncompatible public static class Group.GroupDepartmentAddRequest extends Request<DefaultResponse>
Request.Protocol
Modifier and Type | Field and Description |
---|---|
protected String |
callingLineIdName |
protected String |
callingLineIdPhoneNumber |
protected String |
departmentName |
protected Group |
group |
protected DepartmentKey |
parentDepartmentKey |
Constructor and Description |
---|
GroupDepartmentAddRequest(Group group,
String departmentName) |
Modifier and Type | Method and Description |
---|---|
void |
formRequest()
Forms the XML Document for this Request Object.
|
String |
getCallingLineIdName() |
String |
getCallingLineIdPhoneNumber() |
String |
getDepartmentName() |
static Group.GroupDepartmentAddRequest |
getEmptyObject(BroadWorksServer broadWorksServer)
Retrieves this object with minimal setup.
|
Group |
getGroup() |
DepartmentKey |
getParentDepartmentKey() |
Group.GroupDepartmentAddRequest |
setCallingLineIdName(String callingLineIdName) |
Group.GroupDepartmentAddRequest |
setCallingLineIdPhoneNumber(String callingLineIdPhoneNumber) |
Group.GroupDepartmentAddRequest |
setDepartmentName(String departmentName) |
Group.GroupDepartmentAddRequest |
setGroup(Group group) |
Group.GroupDepartmentAddRequest |
setParentDepartmentKey(DepartmentKey parentDepartmentKey) |
appendChild, appendChild, appendChild, asyncFire, createDocument, createElement, createNilElement, createTextElement, fire, fire, getBroadWorksServer, getCommandElement, getCommandType, getDomDocument, getId, getResponseClass, getRootElement, isMemberOfBundle, isValid, run, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setMemberOfBundle, setRequestId, setResponseClass, setRootElement, toString, validate
@NotNull protected transient Group group
@NotNull @Size(min=1, max=50) protected String departmentName
protected DepartmentKey parentDepartmentKey
@Size(min=1, max=80) protected String callingLineIdName
@Size(min=1, max=23) protected String callingLineIdPhoneNumber
public Group.GroupDepartmentAddRequest setGroup(Group group)
public Group getGroup()
public Group.GroupDepartmentAddRequest setDepartmentName(String departmentName)
public String getDepartmentName()
public Group.GroupDepartmentAddRequest setParentDepartmentKey(DepartmentKey parentDepartmentKey)
public DepartmentKey getParentDepartmentKey()
public Group.GroupDepartmentAddRequest setCallingLineIdName(String callingLineIdName)
public String getCallingLineIdName()
public Group.GroupDepartmentAddRequest setCallingLineIdPhoneNumber(String callingLineIdPhoneNumber)
public String getCallingLineIdPhoneNumber()
public static Group.GroupDepartmentAddRequest getEmptyObject(BroadWorksServer broadWorksServer)
broadWorksServer
- The BroadWorksServerpublic void formRequest()
formRequest
in class Request<DefaultResponse>
Copyright © 2016 ECG. All rights reserved.