public static class BWSystem.SystemSystemVoicePortalAddRequest extends Request<Response.DefaultResponse>
Constructor and Description |
---|
SystemSystemVoicePortalAddRequest(BroadWorksServer bws)
Default Constructor -- Not Guaranteed to work without checking Request validity with isValid()
|
SystemSystemVoicePortalAddRequest(BroadWorksServer bws,
String systemVoicePortalId,
String name,
String callingLineIdName,
String language,
String timeZone,
Boolean allowIdentificationByPhoneNumberOrVoiceMailAliasesOnLogin,
Boolean useVoicePortalWizard,
Boolean useVoicePortalDefaultGreeting,
Boolean useVoiceMessagingDefaultGreeting) |
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
@Size(min=1, max=161) public String systemVoicePortalId
public transient boolean systemVoicePortalIdIsModified
@Size(min=1, max=80) public String name
public transient boolean nameIsModified
@Size(min=1, max=80) public String callingLineIdName
public transient boolean callingLineIdNameIsModified
@Size(min=1, max=40) public String language
public transient boolean languageIsModified
@Size(min=1, max=127) public String timeZone
public transient boolean timeZoneIsModified
@Size(min=1, max=23) public String phoneNumber
public transient boolean phoneNumberIsModified
@Pattern(regexp="[a-zA-Z0-9._!~*\'()+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}") @Size(min=1, max=161) public String publicUserIdentity
public transient boolean publicUserIdentityIsModified
@Size(min=1, max=23) public String networkVoicePortalNumber
public transient boolean networkVoicePortalNumberIsModified
public Boolean allowIdentificationByPhoneNumberOrVoiceMailAliasesOnLogin
public transient boolean allowIdentificationByPhoneNumberOrVoiceMailAliasesOnLoginIsModified
public Boolean useVoicePortalWizard
public transient boolean useVoicePortalWizardIsModified
public Boolean useVoicePortalDefaultGreeting
public transient boolean useVoicePortalDefaultGreetingIsModified
public LabeledMediaFileResource voicePortalGreetingFile
public transient boolean voicePortalGreetingFileIsModified
public Boolean useVoiceMessagingDefaultGreeting
public transient boolean useVoiceMessagingDefaultGreetingIsModified
public LabeledMediaFileResource voiceMessagingGreetingFile
public transient boolean voiceMessagingGreetingFileIsModified
public SystemSystemVoicePortalAddRequest(BroadWorksServer bws, String systemVoicePortalId, String name, String callingLineIdName, String language, String timeZone, Boolean allowIdentificationByPhoneNumberOrVoiceMailAliasesOnLogin, Boolean useVoicePortalWizard, Boolean useVoicePortalDefaultGreeting, Boolean useVoiceMessagingDefaultGreeting)
public SystemSystemVoicePortalAddRequest(BroadWorksServer bws)
bws
- The BroadWorksServer to use for the Requestpublic BWSystem.SystemSystemVoicePortalAddRequest setSystemVoicePortalId(String systemVoicePortalId)
public String getSystemVoicePortalId()
public BWSystem.SystemSystemVoicePortalAddRequest setName(String name)
public String getName()
public BWSystem.SystemSystemVoicePortalAddRequest setCallingLineIdName(String callingLineIdName)
public String getCallingLineIdName()
public BWSystem.SystemSystemVoicePortalAddRequest setLanguage(String language)
public String getLanguage()
public BWSystem.SystemSystemVoicePortalAddRequest setTimeZone(String timeZone)
public String getTimeZone()
public BWSystem.SystemSystemVoicePortalAddRequest setPhoneNumber(String phoneNumber)
public String getPhoneNumber()
public BWSystem.SystemSystemVoicePortalAddRequest setPublicUserIdentity(String publicUserIdentity)
public String getPublicUserIdentity()
public BWSystem.SystemSystemVoicePortalAddRequest setNetworkVoicePortalNumber(String networkVoicePortalNumber)
public String getNetworkVoicePortalNumber()
public BWSystem.SystemSystemVoicePortalAddRequest setAllowIdentificationByPhoneNumberOrVoiceMailAliasesOnLogin(Boolean allowIdentificationByPhoneNumberOrVoiceMailAliasesOnLogin)
public Boolean getAllowIdentificationByPhoneNumberOrVoiceMailAliasesOnLogin()
public BWSystem.SystemSystemVoicePortalAddRequest setUseVoicePortalWizard(Boolean useVoicePortalWizard)
public Boolean getUseVoicePortalWizard()
public BWSystem.SystemSystemVoicePortalAddRequest setUseVoicePortalDefaultGreeting(Boolean useVoicePortalDefaultGreeting)
public Boolean getUseVoicePortalDefaultGreeting()
public BWSystem.SystemSystemVoicePortalAddRequest setVoicePortalGreetingFile(LabeledMediaFileResource voicePortalGreetingFile)
public LabeledMediaFileResource getVoicePortalGreetingFile()
public BWSystem.SystemSystemVoicePortalAddRequest setUseVoiceMessagingDefaultGreeting(Boolean useVoiceMessagingDefaultGreeting)
public Boolean getUseVoiceMessagingDefaultGreeting()
public BWSystem.SystemSystemVoicePortalAddRequest setVoiceMessagingGreetingFile(LabeledMediaFileResource voiceMessagingGreetingFile)
public LabeledMediaFileResource getVoiceMessagingGreetingFile()
public void formRequest() throws RequestException
formRequest
in class Request<Response.DefaultResponse>
RequestException
Copyright © 2016 ECG, Inc. All rights reserved.