/
record.go
26 lines (22 loc) · 1.04 KB
/
record.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package verbs
import (
"encoding/xml"
)
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 Record struct {
XMLName xml.Name `xml:"Record"`
RecordAttributes
}