Documentation ¶
Index ¶
- type Connect
- func (c *Connect) Autopilot(name string)
- func (c *Connect) Room(name string)
- func (c *Connect) RoomWithAttributes(attributes nouns.RoomAttributes, name string)
- func (c *Connect) Stream() *nouns.Stream
- func (c *Connect) StreamWithAttributes(attributes nouns.StreamAttributes) *nouns.Stream
- func (c *Connect) VirtualAgentWithAttributes(attributes nouns.VirtualAgentAttributes)
- type ConnectAttributes
- type Dial
- func (d *Dial) Client(identity *string) *nouns.Client
- func (d *Dial) ClientWithAttributes(attributes nouns.ClientAttributes, identity *string) *nouns.Client
- func (d *Dial) Conference(name string)
- func (d *Dial) ConferenceWithAttributes(attributes nouns.ConferenceAttributes, name string)
- func (d *Dial) Number(phoneNumber string)
- func (d *Dial) NumberWithAttributes(attributes nouns.NumberAttributes, phoneNumber string)
- func (d *Dial) Queue(name string)
- func (d *Dial) QueueWithAttributes(attributes nouns.QueueAttributes, name string)
- func (d *Dial) Sim(simSid string)
- func (d *Dial) Sip(sipURL string)
- func (d *Dial) SipWithAttributes(attributes nouns.SipAttributes, sipURL string)
- type DialAttributes
- type Enqueue
- type EnqueueAttributes
- type Gather
- func (g *Gather) Pause()
- func (g *Gather) PauseWithAttributes(attributes PauseAttributes)
- func (g *Gather) Play(url *string)
- func (g *Gather) PlayWithAttributes(attributes PlayAttributes, url *string)
- func (g *Gather) Say(message string)
- func (g *Gather) SayWithAttributes(attributes SayAttributes, message string)
- type GatherAttributes
- type Hangup
- type Leave
- type Pause
- type PauseAttributes
- type Pay
- type PayAttributes
- type Play
- type PlayAttributes
- type Prompt
- type PromptAttributes
- type Record
- type RecordAttributes
- type Redirect
- type RedirectAttributes
- type Refer
- type ReferAttributes
- type Reject
- type RejectAttributes
- type Say
- type SayAttributes
- type Sms
- type SmsAttributes
- type Start
- type StartAttributes
- type Stop
- type StopAttributes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connect ¶
type Connect struct { XMLName xml.Name `xml:"Connect"` ConnectAttributes Children []interface{} }
func (*Connect) RoomWithAttributes ¶
func (c *Connect) RoomWithAttributes(attributes nouns.RoomAttributes, name string)
func (*Connect) StreamWithAttributes ¶
func (c *Connect) StreamWithAttributes(attributes nouns.StreamAttributes) *nouns.Stream
func (*Connect) VirtualAgentWithAttributes ¶
func (c *Connect) VirtualAgentWithAttributes(attributes nouns.VirtualAgentAttributes)
type ConnectAttributes ¶
type Dial ¶
type Dial struct { XMLName xml.Name `xml:"Dial"` Text *string `xml:",chardata"` DialAttributes Children []interface{} }
func (*Dial) ClientWithAttributes ¶
func (*Dial) Conference ¶
func (*Dial) ConferenceWithAttributes ¶
func (d *Dial) ConferenceWithAttributes(attributes nouns.ConferenceAttributes, name string)
func (*Dial) NumberWithAttributes ¶
func (d *Dial) NumberWithAttributes(attributes nouns.NumberAttributes, phoneNumber string)
func (*Dial) QueueWithAttributes ¶
func (d *Dial) QueueWithAttributes(attributes nouns.QueueAttributes, name string)
func (*Dial) SipWithAttributes ¶
func (d *Dial) SipWithAttributes(attributes nouns.SipAttributes, sipURL string)
type DialAttributes ¶
type DialAttributes struct { Action *string `xml:"action,attr,omitempty"` AnswerOnBridge *bool `xml:"answerOnBridge,attr,omitempty"` CallerID *string `xml:"callerId,attr,omitempty"` CallReason *string `xml:"callReason,attr,omitempty"` HangupOnStar *bool `xml:"hangupOnStar,attr,omitempty"` Method *string `xml:"method,attr,omitempty"` Record *string `xml:"record,attr,omitempty"` RecordingStatusCallback *string `xml:"recordingStatusCallback,attr,omitempty"` RecordingStatusCallbackEvent *string `xml:"recordingStatusCallbackEvent,attr,omitempty"` RecordingStatusCallbackMethod *string `xml:"recordingStatusCallbackMethod,attr,omitempty"` RecordingTrack *string `xml:"recordingTrack,attr,omitempty"` ReferMethod *string `xml:"referMethod,attr,omitempty"` ReferURL *string `xml:"referUrl,attr,omitempty"` RingTone *string `xml:"ringTone,attr,omitempty"` Sequential *bool `xml:"sequential,attr,omitempty"` TimeLimit *int `xml:"timeLimit,attr,omitempty"` Timeout *int `xml:"timeout,attr,omitempty"` Trim *int `xml:"trim,attr,omitempty"` }
type Enqueue ¶
type Enqueue struct { XMLName xml.Name `xml:"Enqueue"` Text *string `xml:",chardata"` EnqueueAttributes Children []interface{} }
func (*Enqueue) TaskWithAttributes ¶
func (e *Enqueue) TaskWithAttributes(attributes nouns.TaskAttributes, body string)
type EnqueueAttributes ¶
type Gather ¶
type Gather struct { XMLName xml.Name `xml:"Gather"` GatherAttributes Children []interface{} }
func (*Gather) PauseWithAttributes ¶
func (g *Gather) PauseWithAttributes(attributes PauseAttributes)
func (*Gather) PlayWithAttributes ¶
func (g *Gather) PlayWithAttributes(attributes PlayAttributes, url *string)
func (*Gather) SayWithAttributes ¶
func (g *Gather) SayWithAttributes(attributes SayAttributes, message string)
type GatherAttributes ¶
type GatherAttributes struct { Action *string `xml:"action,attr,omitempty"` ActionOnEmptyResult *bool `xml:"actionOnEmptyResult,attr,omitempty"` BargeIn *bool `xml:"bargeIn,attr,omitempty"` Debug *bool `xml:"debug,attr,omitempty"` Enhanced *bool `xml:"enhanced,attr,omitempty"` FinishOnKey *string `xml:"finishOnKey,attr,omitempty"` Hints *string `xml:"hints,attr,omitempty"` Input *string `xml:"input,attr,omitempty"` Language *string `xml:"language,attr,omitempty"` MaxSpeechTime *int `xml:"maxSpeechTime,attr,omitempty"` Method *string `xml:"method,attr,omitempty"` NumDigits *int `xml:"numDigits,attr,omitempty"` PartialResultCallback *string `xml:"partialResultCallback,attr,omitempty"` PartialResultCallbackMethod *string `xml:"partialResultCallbackMethod,attr,omitempty"` ProfanityFilter *bool `xml:"profanityFilter,attr,omitempty"` SpeechModel *string `xml:"speechModel,attr,omitempty"` SpeechTimeout *string `xml:"speechTimeout,attr,omitempty"` Timeout *int `xml:"timeout,attr,omitempty"` }
type Pause ¶
type Pause struct { XMLName xml.Name `xml:"Pause"` PauseAttributes }
type PauseAttributes ¶
type PauseAttributes struct {
Length *int `xml:"length,attr,omitempty"`
}
type Pay ¶
type Pay struct { XMLName xml.Name `xml:"Pay"` PayAttributes Children []interface{} }
func (*Pay) ParameterWithAttributes ¶
func (p *Pay) ParameterWithAttributes(attributes nouns.ParameterAttributes)
func (*Pay) PromptWithAttributes ¶
func (p *Pay) PromptWithAttributes(attributes PromptAttributes) *Prompt
type PayAttributes ¶
type PayAttributes struct { Action *string `xml:"action,attr,omitempty"` BankAccountType *string `xml:"bankAccountType,attr,omitempty"` ChargeAmount *string `xml:"chargeAmount,attr,omitempty"` Currency *string `xml:"currency,attr,omitempty"` Description *string `xml:"description,attr,omitempty"` Input *string `xml:"input,attr,omitempty"` Language *string `xml:"language,attr,omitempty"` MaxAttempts *int `xml:"maxAttempts,attr,omitempty"` MinPostalCodeLength *int `xml:"minPostalCodeLength,attr,omitempty"` PaymentConnector *string `xml:"paymentConnector,attr,omitempty"` PaymentMethod *string `xml:"paymentMethod,attr,omitempty"` PostalCode *string `xml:"postalCode,attr,omitempty"` SecurityCode *bool `xml:"securityCode,attr,omitempty"` StatusCallback *string `xml:"statusCallback,attr,omitempty"` StatusCallbackMethod *string `xml:"statusCallbackMethod,attr,omitempty"` Timeout *int `xml:"timeout,attr,omitempty"` TokenType *string `xml:"tokenType,attr,omitempty"` ValidCardTypes *string `xml:"validCardTypes,attr,omitempty"` }
type Play ¶
type Play struct { XMLName xml.Name `xml:"Play"` Text *string `xml:",chardata"` PlayAttributes }
type PlayAttributes ¶
type Prompt ¶
type Prompt struct { XMLName xml.Name `xml:"Prompt"` PromptAttributes Children []interface{} }
func (*Prompt) PauseWithAttributes ¶
func (p *Prompt) PauseWithAttributes(attributes PauseAttributes)
func (*Prompt) SayWithAttributes ¶
func (p *Prompt) SayWithAttributes(attributes SayAttributes, message string)
type PromptAttributes ¶
type Record ¶
type Record struct { XMLName xml.Name `xml:"Record"` RecordAttributes }
type RecordAttributes ¶
type RecordAttributes struct { Action *string `xml:"action,attr,omitempty"` FinishOnKey *string `xml:"finishOnKey,attr,omitempty"` MaxLength *int `xml:"maxLength,attr,omitempty"` Method *string `xml:"method,attr,omitempty"` PlayBeep *bool `xml:"playBeep,attr,omitempty"` RecordingStatusCallback *string `xml:"recordingStatusCallback,attr,omitempty"` RecordingStatusCallbackEvent *string `xml:"recordingStatusCallbackEvent,attr,omitempty"` RecordingStatusCallbackMethod *string `xml:"recordingStatusCallbackMethod,attr,omitempty"` Timeout *int `xml:"timeout,attr,omitempty"` Transcribe *bool `xml:"transcribe,attr,omitempty"` TranscribeCallback *string `xml:"transcribeCallback,attr,omitempty"` Trim *string `xml:"trim,attr,omitempty"` }
type Redirect ¶
type Redirect struct { XMLName xml.Name `xml:"Redirect"` Text string `xml:",chardata"` RedirectAttributes }
type RedirectAttributes ¶
type RedirectAttributes struct {
Method *string `xml:"method,attr,omitempty"`
}
type Refer ¶
type Refer struct { XMLName xml.Name `xml:"Refer"` ReferAttributes Children []interface{} }
func (*Refer) ReferSipWithAttributes ¶
func (r *Refer) ReferSipWithAttributes(attributes nouns.ReferSipAttributes, sipURL string)
func (*Refer) SipWithAttributes ¶
func (r *Refer) SipWithAttributes(attributes nouns.SipAttributes, sipURL string)
type ReferAttributes ¶
type Reject ¶
type Reject struct { XMLName xml.Name `xml:"Reject"` RejectAttributes }
type RejectAttributes ¶
type RejectAttributes struct {
Reason *string `xml:"reason,attr,omitempty"`
}
type Say ¶
type Say struct { XMLName xml.Name `xml:"Say"` Text string `xml:",chardata"` SayAttributes }
type SayAttributes ¶
type Sms ¶
type Sms struct { XMLName xml.Name `xml:"Sms"` Text string `xml:",chardata"` SmsAttributes }
type SmsAttributes ¶
type Start ¶
type Start struct { XMLName xml.Name `xml:"Start"` StartAttributes Children []interface{} }
func (*Start) SiprecWithAttributes ¶
func (s *Start) SiprecWithAttributes(attributes nouns.SiprecAttributes) *nouns.Siprec
func (*Start) StreamWithAttributes ¶
func (s *Start) StreamWithAttributes(attributes nouns.StreamAttributes) *nouns.Stream
type StartAttributes ¶
type Stop ¶
type Stop struct { XMLName xml.Name `xml:"Stop"` StopAttributes Children []interface{} }
func (*Stop) SiprecWithAttributes ¶
func (s *Stop) SiprecWithAttributes(attributes nouns.SiprecAttributes) *nouns.Siprec
func (*Stop) StreamWithAttributes ¶
func (s *Stop) StreamWithAttributes(attributes nouns.StreamAttributes) *nouns.Stream
type StopAttributes ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.