Documentation
¶
Index ¶
- func Contains(a []string, x string) bool
- func TransformString(s string) string
- func ValidateLanguageVoice(language string, voice string) error
- type AgentHoldMusicElement
- type BreakElement
- type ConferenceElement
- func (e ConferenceElement) SetAction(value string) ConferenceElement
- func (e ConferenceElement) SetCallbackMethod(value string) ConferenceElement
- func (e ConferenceElement) SetCallbackUrl(value string) ConferenceElement
- func (e ConferenceElement) SetContents(value string) ConferenceElement
- func (e ConferenceElement) SetDigitsMatch(value string) ConferenceElement
- func (e ConferenceElement) SetEndConferenceOnExit(value bool) ConferenceElement
- func (e ConferenceElement) SetEnterSound(value string) ConferenceElement
- func (e ConferenceElement) SetExitSound(value string) ConferenceElement
- func (e ConferenceElement) SetFloorEvent(value bool) ConferenceElement
- func (e ConferenceElement) SetHangupOnStar(value bool) ConferenceElement
- func (e ConferenceElement) SetMaxMembers(value int) ConferenceElement
- func (e ConferenceElement) SetMethod(value string) ConferenceElement
- func (e ConferenceElement) SetMuted(value bool) ConferenceElement
- func (e ConferenceElement) SetRecord(value bool) ConferenceElement
- func (e ConferenceElement) SetRecordFileFormat(value string) ConferenceElement
- func (e ConferenceElement) SetRedirect(value bool) ConferenceElement
- func (e ConferenceElement) SetRelayDTMF(value bool) ConferenceElement
- func (e ConferenceElement) SetStartConferenceOnEnter(value bool) ConferenceElement
- func (e ConferenceElement) SetStayAlone(value bool) ConferenceElement
- func (e ConferenceElement) SetTimeLimit(value int) ConferenceElement
- func (e ConferenceElement) SetWaitSound(value string) ConferenceElement
- type CustomerHoldMusicElement
- type DTMFElement
- type DialElement
- func (e DialElement) SetAction(value string) DialElement
- func (e DialElement) SetCallbackMethod(value string) DialElement
- func (e DialElement) SetCallbackUrl(value string) DialElement
- func (e DialElement) SetCallerID(value string) DialElement
- func (e DialElement) SetCallerName(value string) DialElement
- func (e DialElement) SetConfirmKey(value string) DialElement
- func (e DialElement) SetConfirmSound(value string) DialElement
- func (e DialElement) SetConfirmTimeout(value string) DialElement
- func (e DialElement) SetContents(value []interface{}) DialElement
- func (e DialElement) SetDialMusic(value string) DialElement
- func (e DialElement) SetDigitsMatch(value string) DialElement
- func (e DialElement) SetDigitsMatchBLeg(value string) DialElement
- func (e DialElement) SetHangupOnStar(value bool) DialElement
- func (e DialElement) SetMachineDetection(value string) DialElement
- func (e DialElement) SetMethod(value string) DialElement
- func (e DialElement) SetRedirect(value bool) DialElement
- func (e DialElement) SetSipHeaders(value string) DialElement
- func (e DialElement) SetTimeLimit(value int) DialElement
- func (e DialElement) SetTimeout(value int) DialElement
- type EmphasisElement
- type GetDigitsElement
- func (e GetDigitsElement) SetAction(value string) GetDigitsElement
- func (e GetDigitsElement) SetContents(value []interface{}) GetDigitsElement
- func (e GetDigitsElement) SetDigitTimeout(value int) GetDigitsElement
- func (e GetDigitsElement) SetFinishOnKey(value string) GetDigitsElement
- func (e GetDigitsElement) SetInvalidDigitsSound(value string) GetDigitsElement
- func (e GetDigitsElement) SetLog(value bool) GetDigitsElement
- func (e GetDigitsElement) SetMethod(value string) GetDigitsElement
- func (e GetDigitsElement) SetNumDigits(value int) GetDigitsElement
- func (e GetDigitsElement) SetPlayBeep(value bool) GetDigitsElement
- func (e GetDigitsElement) SetRedirect(value bool) GetDigitsElement
- func (e GetDigitsElement) SetRetries(value int) GetDigitsElement
- func (e GetDigitsElement) SetTimeout(value int) GetDigitsElement
- func (e GetDigitsElement) SetValidDigits(value string) GetDigitsElement
- type GetInputElement
- func (e GetInputElement) SetAction(value string) GetInputElement
- func (e GetInputElement) SetContents(value []interface{}) GetInputElement
- func (e GetInputElement) SetDigitEndTimeout(value int) GetInputElement
- func (e GetInputElement) SetExecutionTimeout(value int) GetInputElement
- func (e GetInputElement) SetFinishOnKey(value string) GetInputElement
- func (e GetInputElement) SetHints(value string) GetInputElement
- func (e GetInputElement) SetInputType(value string) GetInputElement
- func (e GetInputElement) SetInterimSpeechResultsCallback(value string) GetInputElement
- func (e GetInputElement) SetInterimSpeechResultsCallbackMethod(value string) GetInputElement
- func (e GetInputElement) SetLanguage(value string) GetInputElement
- func (e GetInputElement) SetLog(value bool) GetInputElement
- func (e GetInputElement) SetMethod(value string) GetInputElement
- func (e GetInputElement) SetNumDigits(value int) GetInputElement
- func (e GetInputElement) SetProfanityFilter(value bool) GetInputElement
- func (e GetInputElement) SetRedirect(value bool) GetInputElement
- func (e GetInputElement) SetSpeechEndTimeout(value int) GetInputElement
- func (e GetInputElement) SetSpeechModel(value string) GetInputElement
- type HangupElement
- type LangElement
- type MessageElement
- func (e MessageElement) SetCallbackMethod(value string) MessageElement
- func (e MessageElement) SetCallbackUrl(value string) MessageElement
- func (e MessageElement) SetContents(value string) MessageElement
- func (e MessageElement) SetDst(value string) MessageElement
- func (e MessageElement) SetSrc(value string) MessageElement
- func (e MessageElement) SetType(value string) MessageElement
- type MultiPartyCallElement
- func (e MultiPartyCallElement) AddContents(values ...interface{}) MultiPartyCallElement
- func (e MultiPartyCallElement) SetAgentHoldMusicMethod(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetAgentHoldMusicUrl(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetCoachMode(value bool) MultiPartyCallElement
- func (e MultiPartyCallElement) SetContents(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetCustomerHoldMusicMethod(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetCustomerHoldMusicUrl(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetEndMpcOnExit(value bool) MultiPartyCallElement
- func (e MultiPartyCallElement) SetEnterSound(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetEnterSoundMethod(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetExitSound(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetExitSoundMethod(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetHold(value bool) MultiPartyCallElement
- func (e MultiPartyCallElement) SetMaxDuration(value int64) MultiPartyCallElement
- func (e MultiPartyCallElement) SetMaxParticipants(value int64) MultiPartyCallElement
- func (e MultiPartyCallElement) SetMute(value bool) MultiPartyCallElement
- func (e MultiPartyCallElement) SetOnExitActionMethod(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetOnExitActionUrl(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetRecord(value bool) MultiPartyCallElement
- func (e MultiPartyCallElement) SetRecordFileFormat(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetRecordMinMemberCount(value int64) MultiPartyCallElement
- func (e MultiPartyCallElement) SetRecordParticipantTrack(value bool) MultiPartyCallElement
- func (e MultiPartyCallElement) SetRecordingCallbackMethod(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetRecordingCallbackUrl(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetRelayDtmfInputs(value bool) MultiPartyCallElement
- func (e MultiPartyCallElement) SetRole(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetStartMpcOnEnter(value bool) MultiPartyCallElement
- func (e MultiPartyCallElement) SetStartRecordingAudio(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetStartRecordingAudioMethod(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetStatusCallbackEvents(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetStatusCallbackMethod(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetStatusCallbackUrl(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetStayAlone(value bool) MultiPartyCallElement
- func (e MultiPartyCallElement) SetStopRecordingAudio(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetStopRecordingAudioMethod(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetTranscript(value bool) MultiPartyCallElement
- func (e MultiPartyCallElement) SetTranscriptionUrl(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetWaitMusicMethod(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetWaitMusicUrl(value string) MultiPartyCallElement
- func (e MultiPartyCallElement) SetWaitTime(value int64) MultiPartyCallElement
- type NumberElement
- type PElement
- type PhonemeElement
- type PlayElement
- type PreAnswerElement
- type ProsodyElement
- type RecordElement
- func (e RecordElement) SetAction(value string) RecordElement
- func (e RecordElement) SetCallbackMethod(value string) RecordElement
- func (e RecordElement) SetCallbackUrl(value string) RecordElement
- func (e RecordElement) SetFileFormat(value string) RecordElement
- func (e RecordElement) SetFinishOnKey(value string) RecordElement
- func (e RecordElement) SetMaxLength(value int) RecordElement
- func (e RecordElement) SetMethod(value string) RecordElement
- func (e RecordElement) SetPlayBeep(value bool) RecordElement
- func (e RecordElement) SetRecordSession(value bool) RecordElement
- func (e RecordElement) SetRedirect(value bool) RecordElement
- func (e RecordElement) SetStartOnDialAnswer(value bool) RecordElement
- func (e RecordElement) SetTimeout(value int) RecordElement
- func (e RecordElement) SetTranscriptionMethod(value string) RecordElement
- func (e RecordElement) SetTranscriptionType(value string) RecordElement
- func (e RecordElement) SetTranscriptionUrl(value string) RecordElement
- type RedirectElement
- type ResponseElement
- type SElement
- type SayAsElement
- type SpeakElement
- func (e SpeakElement) AddBreak(strength string, time string) SpeakElement
- func (e SpeakElement) AddContents(values ...interface{}) SpeakElement
- func (e SpeakElement) AddEmphasis(contents string, level string) SpeakElement
- func (e SpeakElement) AddLang(contents string, lang string) SpeakElement
- func (e SpeakElement) AddP(contents string) SpeakElement
- func (e SpeakElement) AddPhoneme(contents string, alphabet string, ph string) SpeakElement
- func (e SpeakElement) AddProsody(contents string, volume string, rate string, pitch string) SpeakElement
- func (e SpeakElement) AddS(contents string) SpeakElement
- func (e SpeakElement) AddSayAs(contents string, interpretAs string, format string) SpeakElement
- func (e SpeakElement) AddSpeak(contents string) SpeakElement
- func (e SpeakElement) AddSub(contents string, alias string) SpeakElement
- func (e SpeakElement) AddW(contents string, role string) SpeakElement
- func (e SpeakElement) ContinueSpeak(value string) SpeakElement
- func (e SpeakElement) SetLanguageVoice(language string, voice string) SpeakElement
- func (e SpeakElement) SetLoop(loop int) SpeakElement
- type StreamElement
- func (e StreamElement) SetAudioTrack(value string) StreamElement
- func (e StreamElement) SetBidirectional(value bool) StreamElement
- func (e StreamElement) SetContentType(value string) StreamElement
- func (e StreamElement) SetContents(value string) StreamElement
- func (e StreamElement) SetExtraHeaders(value string) StreamElement
- func (e StreamElement) SetKeepCallAlive(value bool) StreamElement
- func (e StreamElement) SetStatusCallbackMethod(value string) StreamElement
- func (e StreamElement) SetStatusCallbackUrl(value string) StreamElement
- func (e StreamElement) SetStreamTimeout(value int) StreamElement
- type SubElement
- type UserElement
- type WElement
- type WaitElement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TransformString ¶
func ValidateLanguageVoice ¶
Types ¶
type AgentHoldMusicElement ¶ added in v7.20.0
type AgentHoldMusicElement struct { Contents []interface{} `xml:",innerxml"` XMLName xml.Name `xml:"AgentHoldMusic"` }
func (AgentHoldMusicElement) SetContents ¶ added in v7.20.0
func (e AgentHoldMusicElement) SetContents(value []interface{}) AgentHoldMusicElement
type BreakElement ¶
type ConferenceElement ¶
type ConferenceElement struct { Contents string `xml:",innerxml"` Muted *bool `xml:"muted,attr"` EnterSound *string `xml:"enterSound,attr"` ExitSound *string `xml:"exitSound,attr"` StartConferenceOnEnter *bool `xml:"startConferenceOnEnter,attr"` EndConferenceOnExit *bool `xml:"endConferenceOnExit,attr"` StayAlone *bool `xml:"stayAlone,attr"` WaitSound *string `xml:"waitSound,attr"` MaxMembers *int `xml:"maxMembers,attr"` Record *bool `xml:"record,attr"` RecordFileFormat *string `xml:"recordFileFormat,attr"` TimeLimit *int `xml:"timeLimit,attr"` HangupOnStar *bool `xml:"hangupOnStar,attr"` Action *string `xml:"action,attr"` Method *string `xml:"method,attr"` CallbackUrl *string `xml:"callbackUrl,attr"` CallbackMethod *string `xml:"callbackMethod,attr"` DigitsMatch *string `xml:"digitsMatch,attr"` FloorEvent *bool `xml:"floorEvent,attr"` Redirect *bool `xml:"redirect,attr"` RelayDTMF *bool `xml:"relayDTMF,attr"` XMLName xml.Name `xml:"Conference"` }
func (ConferenceElement) SetAction ¶
func (e ConferenceElement) SetAction(value string) ConferenceElement
func (ConferenceElement) SetCallbackMethod ¶
func (e ConferenceElement) SetCallbackMethod(value string) ConferenceElement
func (ConferenceElement) SetCallbackUrl ¶
func (e ConferenceElement) SetCallbackUrl(value string) ConferenceElement
func (ConferenceElement) SetContents ¶
func (e ConferenceElement) SetContents(value string) ConferenceElement
func (ConferenceElement) SetDigitsMatch ¶
func (e ConferenceElement) SetDigitsMatch(value string) ConferenceElement
func (ConferenceElement) SetEndConferenceOnExit ¶
func (e ConferenceElement) SetEndConferenceOnExit(value bool) ConferenceElement
func (ConferenceElement) SetEnterSound ¶
func (e ConferenceElement) SetEnterSound(value string) ConferenceElement
func (ConferenceElement) SetExitSound ¶
func (e ConferenceElement) SetExitSound(value string) ConferenceElement
func (ConferenceElement) SetFloorEvent ¶
func (e ConferenceElement) SetFloorEvent(value bool) ConferenceElement
func (ConferenceElement) SetHangupOnStar ¶
func (e ConferenceElement) SetHangupOnStar(value bool) ConferenceElement
func (ConferenceElement) SetMaxMembers ¶
func (e ConferenceElement) SetMaxMembers(value int) ConferenceElement
func (ConferenceElement) SetMethod ¶
func (e ConferenceElement) SetMethod(value string) ConferenceElement
func (ConferenceElement) SetMuted ¶
func (e ConferenceElement) SetMuted(value bool) ConferenceElement
func (ConferenceElement) SetRecord ¶
func (e ConferenceElement) SetRecord(value bool) ConferenceElement
func (ConferenceElement) SetRecordFileFormat ¶
func (e ConferenceElement) SetRecordFileFormat(value string) ConferenceElement
func (ConferenceElement) SetRedirect ¶
func (e ConferenceElement) SetRedirect(value bool) ConferenceElement
func (ConferenceElement) SetRelayDTMF ¶
func (e ConferenceElement) SetRelayDTMF(value bool) ConferenceElement
func (ConferenceElement) SetStartConferenceOnEnter ¶
func (e ConferenceElement) SetStartConferenceOnEnter(value bool) ConferenceElement
func (ConferenceElement) SetStayAlone ¶
func (e ConferenceElement) SetStayAlone(value bool) ConferenceElement
func (ConferenceElement) SetTimeLimit ¶
func (e ConferenceElement) SetTimeLimit(value int) ConferenceElement
func (ConferenceElement) SetWaitSound ¶
func (e ConferenceElement) SetWaitSound(value string) ConferenceElement
type CustomerHoldMusicElement ¶ added in v7.20.0
type CustomerHoldMusicElement struct { Contents []interface{} `xml:",innerxml"` XMLName xml.Name `xml:"CustomerHoldMusic"` }
func (CustomerHoldMusicElement) SetContents ¶ added in v7.20.0
func (e CustomerHoldMusicElement) SetContents(value []interface{}) CustomerHoldMusicElement
type DTMFElement ¶
type DTMFElement struct { Contents string `xml:",innerxml"` Async *bool `xml:"async,attr"` XMLName xml.Name `xml:"DTMF"` }
func (DTMFElement) SetAsync ¶
func (e DTMFElement) SetAsync(value bool) DTMFElement
func (DTMFElement) SetContents ¶
func (e DTMFElement) SetContents(value string) DTMFElement
type DialElement ¶
type DialElement struct { Contents []interface{} `xml:",innerxml"` Action *string `xml:"action,attr"` Method *string `xml:"method,attr"` HangupOnStar *bool `xml:"hangupOnStar,attr"` TimeLimit *int `xml:"timeLimit,attr"` Timeout *int `xml:"timeout,attr"` CallerID *string `xml:"callerId,attr"` CallerName *string `xml:"callerName,attr"` ConfirmSound *string `xml:"confirmSound,attr"` ConfirmTimeout *string `xml:"confirmTimeout,attr"` ConfirmKey *string `xml:"confirmKey,attr"` DialMusic *string `xml:"dialMusic,attr"` CallbackUrl *string `xml:"callbackUrl,attr"` CallbackMethod *string `xml:"callbackMethod,attr"` Redirect *bool `xml:"redirect,attr"` DigitsMatch *string `xml:"digitsMatch,attr"` DigitsMatchBLeg *string `xml:"digitsMatchBLeg,attr"` SipHeaders *string `xml:"sipHeaders,attr"` MachineDetection *string `xml:"machineDetection,attr"` XMLName xml.Name `xml:"Dial"` }
func (DialElement) SetAction ¶
func (e DialElement) SetAction(value string) DialElement
func (DialElement) SetCallbackMethod ¶
func (e DialElement) SetCallbackMethod(value string) DialElement
func (DialElement) SetCallbackUrl ¶
func (e DialElement) SetCallbackUrl(value string) DialElement
func (DialElement) SetCallerID ¶
func (e DialElement) SetCallerID(value string) DialElement
func (DialElement) SetCallerName ¶
func (e DialElement) SetCallerName(value string) DialElement
func (DialElement) SetConfirmKey ¶
func (e DialElement) SetConfirmKey(value string) DialElement
func (DialElement) SetConfirmSound ¶
func (e DialElement) SetConfirmSound(value string) DialElement
func (DialElement) SetConfirmTimeout ¶ added in v7.8.0
func (e DialElement) SetConfirmTimeout(value string) DialElement
func (DialElement) SetContents ¶
func (e DialElement) SetContents(value []interface{}) DialElement
func (DialElement) SetDialMusic ¶
func (e DialElement) SetDialMusic(value string) DialElement
func (DialElement) SetDigitsMatch ¶
func (e DialElement) SetDigitsMatch(value string) DialElement
func (DialElement) SetDigitsMatchBLeg ¶
func (e DialElement) SetDigitsMatchBLeg(value string) DialElement
func (DialElement) SetHangupOnStar ¶
func (e DialElement) SetHangupOnStar(value bool) DialElement
func (DialElement) SetMachineDetection ¶ added in v7.57.0
func (e DialElement) SetMachineDetection(value string) DialElement
func (DialElement) SetMethod ¶
func (e DialElement) SetMethod(value string) DialElement
func (DialElement) SetRedirect ¶
func (e DialElement) SetRedirect(value bool) DialElement
func (DialElement) SetSipHeaders ¶
func (e DialElement) SetSipHeaders(value string) DialElement
func (DialElement) SetTimeLimit ¶
func (e DialElement) SetTimeLimit(value int) DialElement
func (DialElement) SetTimeout ¶
func (e DialElement) SetTimeout(value int) DialElement
type EmphasisElement ¶
type GetDigitsElement ¶
type GetDigitsElement struct { Contents []interface{} `xml:",innerxml"` Action *string `xml:"action,attr"` Method *string `xml:"method,attr"` Timeout *int `xml:"timeout,attr"` DigitTimeout *int `xml:"digitTimeout,attr"` FinishOnKey *string `xml:"finishOnKey,attr"` NumDigits *int `xml:"numDigits,attr"` Retries *int `xml:"retries,attr"` Redirect *bool `xml:"redirect,attr"` PlayBeep *bool `xml:"playBeep,attr"` ValidDigits *string `xml:"validDigits,attr"` InvalidDigitsSound *string `xml:"invalidDigitsSound,attr"` Log *bool `xml:"log,attr"` XMLName xml.Name `xml:"GetDigits"` }
func (GetDigitsElement) SetAction ¶
func (e GetDigitsElement) SetAction(value string) GetDigitsElement
func (GetDigitsElement) SetContents ¶
func (e GetDigitsElement) SetContents(value []interface{}) GetDigitsElement
func (GetDigitsElement) SetDigitTimeout ¶
func (e GetDigitsElement) SetDigitTimeout(value int) GetDigitsElement
func (GetDigitsElement) SetFinishOnKey ¶
func (e GetDigitsElement) SetFinishOnKey(value string) GetDigitsElement
func (GetDigitsElement) SetInvalidDigitsSound ¶
func (e GetDigitsElement) SetInvalidDigitsSound(value string) GetDigitsElement
func (GetDigitsElement) SetLog ¶
func (e GetDigitsElement) SetLog(value bool) GetDigitsElement
func (GetDigitsElement) SetMethod ¶
func (e GetDigitsElement) SetMethod(value string) GetDigitsElement
func (GetDigitsElement) SetNumDigits ¶
func (e GetDigitsElement) SetNumDigits(value int) GetDigitsElement
func (GetDigitsElement) SetPlayBeep ¶
func (e GetDigitsElement) SetPlayBeep(value bool) GetDigitsElement
func (GetDigitsElement) SetRedirect ¶
func (e GetDigitsElement) SetRedirect(value bool) GetDigitsElement
func (GetDigitsElement) SetRetries ¶
func (e GetDigitsElement) SetRetries(value int) GetDigitsElement
func (GetDigitsElement) SetTimeout ¶
func (e GetDigitsElement) SetTimeout(value int) GetDigitsElement
func (GetDigitsElement) SetValidDigits ¶
func (e GetDigitsElement) SetValidDigits(value string) GetDigitsElement
type GetInputElement ¶
type GetInputElement struct { Contents []interface{} `xml:",innerxml"` Action *string `xml:"action,attr"` Method *string `xml:"method,attr"` InputType *string `xml:"inputType,attr"` ExecutionTimeout *int `xml:"executionTimeout,attr"` DigitEndTimeout *int `xml:"digitEndTimeout,attr"` SpeechEndTimeout *int `xml:"speechEndTimeout,attr"` FinishOnKey *string `xml:"finishOnKey,attr"` NumDigits *int `xml:"numDigits,attr"` SpeechModel *string `xml:"speechModel,attr"` Hints *string `xml:"hints,attr"` Language *string `xml:"language,attr"` InterimSpeechResultsCallback *string `xml:"interimSpeechResultsCallback,attr"` InterimSpeechResultsCallbackMethod *string `xml:"interimSpeechResultsCallbackMethod,attr"` Redirect *bool `xml:"redirect,attr"` Log *bool `xml:"log,attr"` ProfanityFilter *bool `xml:"profanityFilter,attr"` XMLName xml.Name `xml:"GetInput"` }
func (GetInputElement) SetAction ¶
func (e GetInputElement) SetAction(value string) GetInputElement
func (GetInputElement) SetContents ¶
func (e GetInputElement) SetContents(value []interface{}) GetInputElement
func (GetInputElement) SetDigitEndTimeout ¶
func (e GetInputElement) SetDigitEndTimeout(value int) GetInputElement
func (GetInputElement) SetExecutionTimeout ¶
func (e GetInputElement) SetExecutionTimeout(value int) GetInputElement
func (GetInputElement) SetFinishOnKey ¶
func (e GetInputElement) SetFinishOnKey(value string) GetInputElement
func (GetInputElement) SetHints ¶
func (e GetInputElement) SetHints(value string) GetInputElement
func (GetInputElement) SetInputType ¶
func (e GetInputElement) SetInputType(value string) GetInputElement
func (GetInputElement) SetInterimSpeechResultsCallback ¶
func (e GetInputElement) SetInterimSpeechResultsCallback(value string) GetInputElement
func (GetInputElement) SetInterimSpeechResultsCallbackMethod ¶
func (e GetInputElement) SetInterimSpeechResultsCallbackMethod(value string) GetInputElement
func (GetInputElement) SetLanguage ¶
func (e GetInputElement) SetLanguage(value string) GetInputElement
func (GetInputElement) SetLog ¶
func (e GetInputElement) SetLog(value bool) GetInputElement
func (GetInputElement) SetMethod ¶
func (e GetInputElement) SetMethod(value string) GetInputElement
func (GetInputElement) SetNumDigits ¶
func (e GetInputElement) SetNumDigits(value int) GetInputElement
func (GetInputElement) SetProfanityFilter ¶
func (e GetInputElement) SetProfanityFilter(value bool) GetInputElement
func (GetInputElement) SetRedirect ¶
func (e GetInputElement) SetRedirect(value bool) GetInputElement
func (GetInputElement) SetSpeechEndTimeout ¶
func (e GetInputElement) SetSpeechEndTimeout(value int) GetInputElement
func (GetInputElement) SetSpeechModel ¶
func (e GetInputElement) SetSpeechModel(value string) GetInputElement
type HangupElement ¶
type HangupElement struct { Reason *string `xml:"reason,attr"` Schedule *int `xml:"schedule,attr"` XMLName xml.Name `xml:"Hangup"` }
func (HangupElement) SetReason ¶
func (e HangupElement) SetReason(value string) HangupElement
func (HangupElement) SetSchedule ¶
func (e HangupElement) SetSchedule(value int) HangupElement
type LangElement ¶
type MessageElement ¶
type MessageElement struct { Contents string `xml:",innerxml"` Src *string `xml:"src,attr"` Dst *string `xml:"dst,attr"` Type *string `xml:"type,attr"` CallbackUrl *string `xml:"callbackUrl,attr"` CallbackMethod *string `xml:"callbackMethod,attr"` XMLName xml.Name `xml:"Message"` }
func (MessageElement) SetCallbackMethod ¶
func (e MessageElement) SetCallbackMethod(value string) MessageElement
func (MessageElement) SetCallbackUrl ¶
func (e MessageElement) SetCallbackUrl(value string) MessageElement
func (MessageElement) SetContents ¶
func (e MessageElement) SetContents(value string) MessageElement
func (MessageElement) SetDst ¶
func (e MessageElement) SetDst(value string) MessageElement
func (MessageElement) SetSrc ¶
func (e MessageElement) SetSrc(value string) MessageElement
func (MessageElement) SetType ¶
func (e MessageElement) SetType(value string) MessageElement
type MultiPartyCallElement ¶
type MultiPartyCallElement struct { Contents []interface{} `xml:",innerxml"` Role *string `xml:"role,attr"` MaxDuration *int64 `xml:"maxDuration,attr"` MaxParticipants *int64 `xml:"maxParticipants,attr"` RecordMinMemberCount *int64 `xml:"recordMinMemberCount,attr"` WaitMusicUrl *string `xml:"waitMusicUrl,attr"` WaitMusicMethod *string `xml:"waitMusicMethod,attr"` WaitTime *int64 `xml:"waitTime,attr"` AgentHoldMusicUrl *string `xml:"agentHoldMusicUrl,attr"` AgentHoldMusicMethod *string `xml:"agentHoldMusicMethod,attr"` CustomerHoldMusicUrl *string `xml:"customerHoldMusicUrl,attr"` CustomerHoldMusicMethod *string `xml:"customerHoldMusicMethod,attr"` Record *bool `xml:"record,attr"` RecordFileFormat *string `xml:"recordFileFormat,attr"` RecordingCallbackUrl *string `xml:"recordingCallbackUrl,attr"` RecordingCallbackMethod *string `xml:"recordingCallbackMethod,attr"` StatusCallbackEvents *string `xml:"statusCallbackEvents,attr"` StatusCallbackUrl *string `xml:"statusCallbackUrl,attr"` StatusCallbackMethod *string `xml:"statusCallbackMethod,attr"` StayAlone *bool `xml:"stayAlone,attr"` CoachMode *bool `xml:"coachMode,attr"` Mute *bool `xml:"mute,attr"` Hold *bool `xml:"hold,attr"` StartMpcOnEnter *bool `xml:"startMpcOnEnter,attr"` EndMpcOnExit *bool `xml:"endMpcOnExit,attr"` EnterSound *string `xml:"enterSound,attr"` EnterSoundMethod *string `xml:"enterSoundMethod,attr"` ExitSound *string `xml:"exitSound,attr"` ExitSoundMethod *string `xml:"exitSoundMethod,attr"` OnExitActionUrl *string `xml:"onExitActionUrl,attr"` OnExitActionMethod *string `xml:"onExitActionMethod,attr"` RelayDtmfInputs *bool `xml:"relayDtmfInputs,attr"` XMLName xml.Name `xml:"MultiPartyCall"` StartRecordingAudio *string `xml:"StartRecordingAudio,attr"` StartRecordingAudioMethod *string `xml:"StartRecordingAudioMethod,attr"` StopRecordingAudio *string `xml:"StopRecordingAudio,attr"` StopRecordingAudioMethod *string `xml:"StopRecordingAudioMethod,attr"` Transcript *bool `xml:"transcript,attr"` TranscriptionUrl *string `xml:"transcriptionUrl,attr"` RecordParticipantTrack *bool `xml:"recordParticipantTrack,attr"` }
func (MultiPartyCallElement) AddContents ¶ added in v7.20.0
func (e MultiPartyCallElement) AddContents(values ...interface{}) MultiPartyCallElement
func (MultiPartyCallElement) SetAgentHoldMusicMethod ¶
func (e MultiPartyCallElement) SetAgentHoldMusicMethod(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetAgentHoldMusicUrl ¶
func (e MultiPartyCallElement) SetAgentHoldMusicUrl(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetCoachMode ¶
func (e MultiPartyCallElement) SetCoachMode(value bool) MultiPartyCallElement
func (MultiPartyCallElement) SetContents ¶
func (e MultiPartyCallElement) SetContents(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetCustomerHoldMusicMethod ¶
func (e MultiPartyCallElement) SetCustomerHoldMusicMethod(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetCustomerHoldMusicUrl ¶
func (e MultiPartyCallElement) SetCustomerHoldMusicUrl(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetEndMpcOnExit ¶
func (e MultiPartyCallElement) SetEndMpcOnExit(value bool) MultiPartyCallElement
func (MultiPartyCallElement) SetEnterSound ¶
func (e MultiPartyCallElement) SetEnterSound(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetEnterSoundMethod ¶
func (e MultiPartyCallElement) SetEnterSoundMethod(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetExitSound ¶
func (e MultiPartyCallElement) SetExitSound(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetExitSoundMethod ¶
func (e MultiPartyCallElement) SetExitSoundMethod(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetHold ¶
func (e MultiPartyCallElement) SetHold(value bool) MultiPartyCallElement
func (MultiPartyCallElement) SetMaxDuration ¶
func (e MultiPartyCallElement) SetMaxDuration(value int64) MultiPartyCallElement
func (MultiPartyCallElement) SetMaxParticipants ¶
func (e MultiPartyCallElement) SetMaxParticipants(value int64) MultiPartyCallElement
func (MultiPartyCallElement) SetMute ¶
func (e MultiPartyCallElement) SetMute(value bool) MultiPartyCallElement
func (MultiPartyCallElement) SetOnExitActionMethod ¶
func (e MultiPartyCallElement) SetOnExitActionMethod(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetOnExitActionUrl ¶
func (e MultiPartyCallElement) SetOnExitActionUrl(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetRecord ¶
func (e MultiPartyCallElement) SetRecord(value bool) MultiPartyCallElement
func (MultiPartyCallElement) SetRecordFileFormat ¶
func (e MultiPartyCallElement) SetRecordFileFormat(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetRecordMinMemberCount ¶ added in v7.9.0
func (e MultiPartyCallElement) SetRecordMinMemberCount(value int64) MultiPartyCallElement
func (MultiPartyCallElement) SetRecordParticipantTrack ¶ added in v7.55.1
func (e MultiPartyCallElement) SetRecordParticipantTrack(value bool) MultiPartyCallElement
func (MultiPartyCallElement) SetRecordingCallbackMethod ¶
func (e MultiPartyCallElement) SetRecordingCallbackMethod(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetRecordingCallbackUrl ¶
func (e MultiPartyCallElement) SetRecordingCallbackUrl(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetRelayDtmfInputs ¶
func (e MultiPartyCallElement) SetRelayDtmfInputs(value bool) MultiPartyCallElement
func (MultiPartyCallElement) SetRole ¶
func (e MultiPartyCallElement) SetRole(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetStartMpcOnEnter ¶
func (e MultiPartyCallElement) SetStartMpcOnEnter(value bool) MultiPartyCallElement
func (MultiPartyCallElement) SetStartRecordingAudio ¶
func (e MultiPartyCallElement) SetStartRecordingAudio(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetStartRecordingAudioMethod ¶
func (e MultiPartyCallElement) SetStartRecordingAudioMethod(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetStatusCallbackEvents ¶
func (e MultiPartyCallElement) SetStatusCallbackEvents(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetStatusCallbackMethod ¶
func (e MultiPartyCallElement) SetStatusCallbackMethod(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetStatusCallbackUrl ¶
func (e MultiPartyCallElement) SetStatusCallbackUrl(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetStayAlone ¶
func (e MultiPartyCallElement) SetStayAlone(value bool) MultiPartyCallElement
func (MultiPartyCallElement) SetStopRecordingAudio ¶
func (e MultiPartyCallElement) SetStopRecordingAudio(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetStopRecordingAudioMethod ¶
func (e MultiPartyCallElement) SetStopRecordingAudioMethod(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetTranscript ¶ added in v7.56.0
func (e MultiPartyCallElement) SetTranscript(value bool) MultiPartyCallElement
func (MultiPartyCallElement) SetTranscriptionUrl ¶ added in v7.56.0
func (e MultiPartyCallElement) SetTranscriptionUrl(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetWaitMusicMethod ¶
func (e MultiPartyCallElement) SetWaitMusicMethod(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetWaitMusicUrl ¶
func (e MultiPartyCallElement) SetWaitMusicUrl(value string) MultiPartyCallElement
func (MultiPartyCallElement) SetWaitTime ¶ added in v7.45.5
func (e MultiPartyCallElement) SetWaitTime(value int64) MultiPartyCallElement
type NumberElement ¶
type NumberElement struct { Contents string `xml:",innerxml"` SendDigits *string `xml:"sendDigits,attr"` SendOnPreanswer *bool `xml:"sendOnPreanswer,attr"` XMLName xml.Name `xml:"Number"` }
func (NumberElement) SetContents ¶
func (e NumberElement) SetContents(value string) NumberElement
func (NumberElement) SetSendDigits ¶
func (e NumberElement) SetSendDigits(value string) NumberElement
func (NumberElement) SetSendOnPreanswer ¶
func (e NumberElement) SetSendOnPreanswer(value bool) NumberElement
type PhonemeElement ¶
type PlayElement ¶
type PlayElement struct { Contents string `xml:",innerxml"` Loop *int `xml:"loop,attr"` XMLName xml.Name `xml:"Play"` }
func (PlayElement) SetContents ¶
func (e PlayElement) SetContents(value string) PlayElement
func (PlayElement) SetLoop ¶
func (e PlayElement) SetLoop(value int) PlayElement
type PreAnswerElement ¶
type PreAnswerElement struct { Contents []interface{} `xml:",innerxml"` XMLName xml.Name `xml:"PreAnswer"` }
func (PreAnswerElement) SetContents ¶
func (e PreAnswerElement) SetContents(value []interface{}) PreAnswerElement
type ProsodyElement ¶
type RecordElement ¶
type RecordElement struct { Action *string `xml:"action,attr"` Method *string `xml:"method,attr"` FileFormat *string `xml:"fileFormat,attr"` Redirect *bool `xml:"redirect,attr"` Timeout *int `xml:"timeout,attr"` MaxLength *int `xml:"maxLength,attr"` PlayBeep *bool `xml:"playBeep,attr"` FinishOnKey *string `xml:"finishOnKey,attr"` RecordSession *bool `xml:"recordSession,attr"` StartOnDialAnswer *bool `xml:"startOnDialAnswer,attr"` TranscriptionType *string `xml:"transcriptionType,attr"` TranscriptionUrl *string `xml:"transcriptionUrl,attr"` TranscriptionMethod *string `xml:"transcriptionMethod,attr"` CallbackUrl *string `xml:"callbackUrl,attr"` CallbackMethod *string `xml:"callbackMethod,attr"` XMLName xml.Name `xml:"Record"` }
func (RecordElement) SetAction ¶
func (e RecordElement) SetAction(value string) RecordElement
func (RecordElement) SetCallbackMethod ¶
func (e RecordElement) SetCallbackMethod(value string) RecordElement
func (RecordElement) SetCallbackUrl ¶
func (e RecordElement) SetCallbackUrl(value string) RecordElement
func (RecordElement) SetFileFormat ¶
func (e RecordElement) SetFileFormat(value string) RecordElement
func (RecordElement) SetFinishOnKey ¶
func (e RecordElement) SetFinishOnKey(value string) RecordElement
func (RecordElement) SetMaxLength ¶
func (e RecordElement) SetMaxLength(value int) RecordElement
func (RecordElement) SetMethod ¶
func (e RecordElement) SetMethod(value string) RecordElement
func (RecordElement) SetPlayBeep ¶
func (e RecordElement) SetPlayBeep(value bool) RecordElement
func (RecordElement) SetRecordSession ¶
func (e RecordElement) SetRecordSession(value bool) RecordElement
func (RecordElement) SetRedirect ¶
func (e RecordElement) SetRedirect(value bool) RecordElement
func (RecordElement) SetStartOnDialAnswer ¶
func (e RecordElement) SetStartOnDialAnswer(value bool) RecordElement
func (RecordElement) SetTimeout ¶
func (e RecordElement) SetTimeout(value int) RecordElement
func (RecordElement) SetTranscriptionMethod ¶
func (e RecordElement) SetTranscriptionMethod(value string) RecordElement
func (RecordElement) SetTranscriptionType ¶
func (e RecordElement) SetTranscriptionType(value string) RecordElement
func (RecordElement) SetTranscriptionUrl ¶
func (e RecordElement) SetTranscriptionUrl(value string) RecordElement
type RedirectElement ¶
type RedirectElement struct { Contents string `xml:",innerxml"` Method *string `xml:"method,attr"` XMLName xml.Name `xml:"Redirect"` }
func (RedirectElement) SetContents ¶
func (e RedirectElement) SetContents(value string) RedirectElement
func (RedirectElement) SetMethod ¶
func (e RedirectElement) SetMethod(value string) RedirectElement
type ResponseElement ¶
type ResponseElement struct { XMLName xml.Name `xml:"Response"` Contents []interface{} `xml:"xmlvalue"` }
func (ResponseElement) String ¶
func (element ResponseElement) String() string
type SayAsElement ¶
type SpeakElement ¶
type SpeakElement struct { Contents []interface{} `xml:",innerxml"` Voice *string `xml:"voice,attr"` Language *string `xml:"language,attr"` Loop *int `xml:"loop,attr"` XMLName xml.Name `xml:"Speak"` }
func (SpeakElement) AddBreak ¶
func (e SpeakElement) AddBreak(strength string, time string) SpeakElement
func (SpeakElement) AddContents ¶
func (e SpeakElement) AddContents(values ...interface{}) SpeakElement
func (SpeakElement) AddEmphasis ¶
func (e SpeakElement) AddEmphasis(contents string, level string) SpeakElement
func (SpeakElement) AddLang ¶
func (e SpeakElement) AddLang(contents string, lang string) SpeakElement
func (SpeakElement) AddP ¶
func (e SpeakElement) AddP(contents string) SpeakElement
func (SpeakElement) AddPhoneme ¶
func (e SpeakElement) AddPhoneme(contents string, alphabet string, ph string) SpeakElement
func (SpeakElement) AddProsody ¶
func (e SpeakElement) AddProsody(contents string, volume string, rate string, pitch string) SpeakElement
func (SpeakElement) AddS ¶
func (e SpeakElement) AddS(contents string) SpeakElement
func (SpeakElement) AddSayAs ¶
func (e SpeakElement) AddSayAs(contents string, interpretAs string, format string) SpeakElement
func (SpeakElement) AddSpeak ¶
func (e SpeakElement) AddSpeak(contents string) SpeakElement
func (SpeakElement) AddSub ¶
func (e SpeakElement) AddSub(contents string, alias string) SpeakElement
func (SpeakElement) AddW ¶
func (e SpeakElement) AddW(contents string, role string) SpeakElement
func (SpeakElement) ContinueSpeak ¶
func (e SpeakElement) ContinueSpeak(value string) SpeakElement
func (SpeakElement) SetLanguageVoice ¶
func (e SpeakElement) SetLanguageVoice(language string, voice string) SpeakElement
func (SpeakElement) SetLoop ¶
func (e SpeakElement) SetLoop(loop int) SpeakElement
type StreamElement ¶ added in v7.32.0
type StreamElement struct { Contents string `xml:",innerxml"` Bidirectional *bool `xml:"bidirectional,attr"` AudioTrack *string `xml:"audioTrack,attr"` StreamTimeout *int `xml:"streamTimeout,attr"` StatusCallbackUrl *string `xml:"statusCallbackUrl,attr"` StatusCallbackMethod *string `xml:"statusCallbackMethod,attr"` ContentType *string `xml:"contentType,attr"` ExtraHeaders *string `xml:"extraHeaders,attr"` KeepCallAlive *bool `xml:"keepCallAlive,attr"` XMLName xml.Name `xml:"Stream"` }
func (StreamElement) SetAudioTrack ¶ added in v7.32.0
func (e StreamElement) SetAudioTrack(value string) StreamElement
func (StreamElement) SetBidirectional ¶ added in v7.32.0
func (e StreamElement) SetBidirectional(value bool) StreamElement
func (StreamElement) SetContentType ¶ added in v7.32.0
func (e StreamElement) SetContentType(value string) StreamElement
func (StreamElement) SetContents ¶ added in v7.32.0
func (e StreamElement) SetContents(value string) StreamElement
func (StreamElement) SetExtraHeaders ¶ added in v7.32.0
func (e StreamElement) SetExtraHeaders(value string) StreamElement
func (StreamElement) SetKeepCallAlive ¶ added in v7.51.1
func (e StreamElement) SetKeepCallAlive(value bool) StreamElement
func (StreamElement) SetStatusCallbackMethod ¶ added in v7.32.0
func (e StreamElement) SetStatusCallbackMethod(value string) StreamElement
func (StreamElement) SetStatusCallbackUrl ¶ added in v7.32.0
func (e StreamElement) SetStatusCallbackUrl(value string) StreamElement
func (StreamElement) SetStreamTimeout ¶ added in v7.32.0
func (e StreamElement) SetStreamTimeout(value int) StreamElement
type SubElement ¶
type UserElement ¶
type UserElement struct { Contents string `xml:",innerxml"` SendDigits *string `xml:"sendDigits,attr"` SendOnPreanswer *bool `xml:"sendOnPreanswer,attr"` SipHeaders *string `xml:"sipHeaders,attr"` XMLName xml.Name `xml:"User"` }
func (UserElement) SetContents ¶
func (e UserElement) SetContents(value string) UserElement
func (UserElement) SetSendDigits ¶
func (e UserElement) SetSendDigits(value string) UserElement
func (UserElement) SetSendOnPreanswer ¶
func (e UserElement) SetSendOnPreanswer(value bool) UserElement
func (UserElement) SetSipHeaders ¶
func (e UserElement) SetSipHeaders(value string) UserElement
type WaitElement ¶
type WaitElement struct { Length *int `xml:"length,attr"` Silence *bool `xml:"silence,attr"` MinSilence *int `xml:"minSilence,attr"` Beep *bool `xml:"beep,attr"` XMLName xml.Name `xml:"Wait"` }
func (WaitElement) SetBeep ¶
func (e WaitElement) SetBeep(value bool) WaitElement
func (WaitElement) SetLength ¶
func (e WaitElement) SetLength(value int) WaitElement
func (WaitElement) SetMinSilence ¶
func (e WaitElement) SetMinSilence(value int) WaitElement
func (WaitElement) SetSilence ¶
func (e WaitElement) SetSilence(value bool) WaitElement
Click to show internal directories.
Click to hide internal directories.