Package co.ecg.alpaca.toolkit.generated
Class BWSystem.SystemServiceCodeAddRequest
- java.lang.Object
-
- co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
-
- co.ecg.alpaca.toolkit.generated.BWSystem.SystemServiceCodeAddRequest
-
- Enclosing class:
- BWSystem
public static class BWSystem.SystemServiceCodeAddRequest extends Request<DefaultResponse>
Request to add a service code for the purpose of providing free format routable strings for dialing The response is either SuccessResponse or 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=200) Stringdescriptionprotected @NotNull @Size(min=1,max=30) StringserviceCode
-
Constructor Summary
Constructors Constructor Description SystemServiceCodeAddRequest()SystemServiceCodeAddRequest(BroadWorksServer broadWorksServer, String serviceCode, String description)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidformRequest()Forms the XML Document for this Request Object.StringgetDescription()static BWSystem.SystemServiceCodeAddRequestgetEmptyObject(BroadWorksServer broadWorksServer)Retrieves this object with minimal setup.StringgetServiceCode()BWSystem.SystemServiceCodeAddRequestsetDescription(String description)BWSystem.SystemServiceCodeAddRequestsetServiceCode(String serviceCode)-
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, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setEcho, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRetries, setRetryCodes, setRootElement, toString, validate
-
-
-
-
Constructor Detail
-
SystemServiceCodeAddRequest
public SystemServiceCodeAddRequest()
-
SystemServiceCodeAddRequest
public SystemServiceCodeAddRequest(BroadWorksServer broadWorksServer, String serviceCode, String description)
-
-
Method Detail
-
setServiceCode
public BWSystem.SystemServiceCodeAddRequest setServiceCode(String serviceCode)
-
getServiceCode
public String getServiceCode()
-
setDescription
public BWSystem.SystemServiceCodeAddRequest setDescription(String description)
-
getDescription
public String getDescription()
-
getEmptyObject
public static BWSystem.SystemServiceCodeAddRequest 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:
formRequestin classRequest<DefaultResponse>
-
-