Class GroupOutgoingCallingPlan.GroupOutgoingCallingPlanDepartmentAuthorizationCodeAddListRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
co.ecg.alpaca.toolkit.generated.services.GroupOutgoingCallingPlan.GroupOutgoingCallingPlanDepartmentAuthorizationCodeAddListRequest
- Enclosing class:
GroupOutgoingCallingPlan
public static class GroupOutgoingCallingPlan.GroupOutgoingCallingPlanDepartmentAuthorizationCodeAddListRequest
extends Request<DefaultResponse>
Add a list of authorization codes to the group's default or a department. When department is not specified, it is for the group default. 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
FieldsModifier and TypeFieldDescriptionprotected @NotNull @Valid @Size(min=1) OutgoingCallingPlanAuthorizationCodeEntry[]
protected @Valid DepartmentKey
protected @NotNull @Valid Group
-
Constructor Summary
ConstructorsConstructorDescriptionGroupOutgoingCallingPlanDepartmentAuthorizationCodeAddListRequest
(Group group, OutgoingCallingPlanAuthorizationCodeEntry... codeEntry) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Forms the XML Document for this Request Object.getEmptyObject
(BroadWorksServer broadWorksServer) Retrieves this object with minimal setup.getGroup()
setCodeEntry
(OutgoingCallingPlanAuthorizationCodeEntry... codeEntry) setDepartmentKey
(DepartmentKey departmentKey) 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 Details
-
group
-
departmentKey
-
codeEntry
@NotNull @Valid @Size(min=1) protected @NotNull @Valid @Size(min=1) OutgoingCallingPlanAuthorizationCodeEntry[] codeEntry
-
-
Constructor Details
-
GroupOutgoingCallingPlanDepartmentAuthorizationCodeAddListRequest
public GroupOutgoingCallingPlanDepartmentAuthorizationCodeAddListRequest() -
GroupOutgoingCallingPlanDepartmentAuthorizationCodeAddListRequest
public GroupOutgoingCallingPlanDepartmentAuthorizationCodeAddListRequest(Group group, OutgoingCallingPlanAuthorizationCodeEntry... codeEntry)
-
-
Method Details
-
setGroup
public GroupOutgoingCallingPlan.GroupOutgoingCallingPlanDepartmentAuthorizationCodeAddListRequest setGroup(Group group) -
getGroup
-
setDepartmentKey
public GroupOutgoingCallingPlan.GroupOutgoingCallingPlanDepartmentAuthorizationCodeAddListRequest setDepartmentKey(DepartmentKey departmentKey) -
getDepartmentKey
-
setCodeEntry
public GroupOutgoingCallingPlan.GroupOutgoingCallingPlanDepartmentAuthorizationCodeAddListRequest setCodeEntry(OutgoingCallingPlanAuthorizationCodeEntry... codeEntry) -
getCodeEntry
-
getEmptyObject
public static GroupOutgoingCallingPlan.GroupOutgoingCallingPlanDepartmentAuthorizationCodeAddListRequest 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>
-