public static class Group.GroupDepartmentAddRequest extends Request<Response.DefaultResponse>
Modifier and Type | Field and Description |
---|---|
String |
callingLineIdName |
boolean |
callingLineIdNameIsModified |
String |
callingLineIdPhoneNumber |
boolean |
callingLineIdPhoneNumberIsModified |
String |
departmentName |
boolean |
departmentNameIsModified |
Group |
group |
boolean |
groupIsModified |
DepartmentKey |
parentDepartmentKey |
boolean |
parentDepartmentKeyIsModified |
Constructor and Description |
---|
GroupDepartmentAddRequest(BroadWorksServer bws)
Default Constructor -- Not Guaranteed to work without checking Request validity with isValid()
|
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() |
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, createElement, createNilElement, createTextElement, fire, fire, getBroadWorksServer, getCommandType, getDomDocument, getResponseClass, isMemberOfBundle, isValid, run, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setMemberOfBundle, setRequestId, setResponseClass, setRootElement, toString, validate
@NotNull public Group group
public transient boolean groupIsModified
@Size(min=1, max=50) public String departmentName
public transient boolean departmentNameIsModified
public DepartmentKey parentDepartmentKey
public transient boolean parentDepartmentKeyIsModified
@Size(min=1, max=80) public String callingLineIdName
public transient boolean callingLineIdNameIsModified
@Size(min=1, max=23) public String callingLineIdPhoneNumber
public transient boolean callingLineIdPhoneNumberIsModified
public GroupDepartmentAddRequest(BroadWorksServer bws)
bws
- The BroadWorksServer to use for the Requestpublic 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 void formRequest() throws RequestException
formRequest
in class Request<Response.DefaultResponse>
RequestException
Copyright © 2016 ECG, Inc. All rights reserved.