Documentation ¶
Index ¶
- 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 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) 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) 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 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 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 NumberElement
- type PlayElement
- type PreAnswerElement
- 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 SpeakElement
- type UserElement
- type WaitElement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 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"` 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"` 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) 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) 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 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 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 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 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 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 SpeakElement ¶
type SpeakElement struct { Contents string `xml:",innerxml"` Voice *string `xml:"voice,attr"` Language *string `xml:"language,attr"` Loop *int `xml:"loop,attr"` XMLName xml.Name `xml:"Speak"` }
func (SpeakElement) SetContents ¶
func (e SpeakElement) SetContents(value string) SpeakElement
func (SpeakElement) SetLanguage ¶
func (e SpeakElement) SetLanguage(value string) SpeakElement
func (SpeakElement) SetLoop ¶
func (e SpeakElement) SetLoop(value int) SpeakElement
func (SpeakElement) SetVoice ¶
func (e SpeakElement) SetVoice(value string) SpeakElement
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.