Class UserOutgoingCallingPlan.UserOutgoingCallingPlanAuthorizationCodeAddListRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
co.ecg.alpaca.toolkit.generated.services.UserOutgoingCallingPlan.UserOutgoingCallingPlanAuthorizationCodeAddListRequest
- Enclosing class:
- UserOutgoingCallingPlan
public static class UserOutgoingCallingPlan.UserOutgoingCallingPlanAuthorizationCodeAddListRequest
extends Request<DefaultResponse>
Add a list of authorization codes to a user. 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 @NotNull @Valid BroadWorksUser
-
Constructor Summary
ConstructorsConstructorDescriptionUserOutgoingCallingPlanAuthorizationCodeAddListRequest
(BroadWorksUser user, OutgoingCallingPlanAuthorizationCodeEntry... codeEntry) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Forms the XML Document for this Request Object.getEmptyObject
(BroadWorksServer broadWorksServer) Retrieves this object with minimal setup.setCodeEntry
(OutgoingCallingPlanAuthorizationCodeEntry... codeEntry) 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 Details
-
user
-
codeEntry
@NotNull @Valid @Size(min=1) protected @NotNull @Valid @Size(min=1) OutgoingCallingPlanAuthorizationCodeEntry[] codeEntry
-
-
Constructor Details
-
UserOutgoingCallingPlanAuthorizationCodeAddListRequest
public UserOutgoingCallingPlanAuthorizationCodeAddListRequest() -
UserOutgoingCallingPlanAuthorizationCodeAddListRequest
public UserOutgoingCallingPlanAuthorizationCodeAddListRequest(BroadWorksUser user, OutgoingCallingPlanAuthorizationCodeEntry... codeEntry)
-
-
Method Details
-
setUser
-
getBroadWorksUser
-
setCodeEntry
public UserOutgoingCallingPlan.UserOutgoingCallingPlanAuthorizationCodeAddListRequest setCodeEntry(OutgoingCallingPlanAuthorizationCodeEntry... codeEntry) -
getCodeEntry
-
getEmptyObject
public static UserOutgoingCallingPlan.UserOutgoingCallingPlanAuthorizationCodeAddListRequest 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>
-