-
Notifications
You must be signed in to change notification settings - Fork 12
/
queueconversationeventtopicmessage.go
110 lines (62 loc) · 2.21 KB
/
queueconversationeventtopicmessage.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
package platformclientv2
import (
"time"
"encoding/json"
"strconv"
"strings"
)
// Queueconversationeventtopicmessage
type Queueconversationeventtopicmessage struct {
// Id
Id *string `json:"id,omitempty"`
// State
State *string `json:"state,omitempty"`
// Held
Held *bool `json:"held,omitempty"`
// ErrorInfo
ErrorInfo *Queueconversationeventtopicerrordetails `json:"errorInfo,omitempty"`
// Provider
Provider *string `json:"provider,omitempty"`
// ScriptId
ScriptId *string `json:"scriptId,omitempty"`
// PeerId
PeerId *string `json:"peerId,omitempty"`
// DisconnectType
DisconnectType *string `json:"disconnectType,omitempty"`
// StartHoldTime
StartHoldTime *time.Time `json:"startHoldTime,omitempty"`
// ConnectedTime
ConnectedTime *time.Time `json:"connectedTime,omitempty"`
// DisconnectedTime
DisconnectedTime *time.Time `json:"disconnectedTime,omitempty"`
// ToAddress
ToAddress *Queueconversationeventtopicaddress `json:"toAddress,omitempty"`
// FromAddress
FromAddress *Queueconversationeventtopicaddress `json:"fromAddress,omitempty"`
// Messages
Messages *[]Queueconversationeventtopicmessagedetails `json:"messages,omitempty"`
// MessagesTranscriptUri
MessagesTranscriptUri *string `json:"messagesTranscriptUri,omitempty"`
// VarType
VarType *string `json:"type,omitempty"`
// RecipientCountry
RecipientCountry *string `json:"recipientCountry,omitempty"`
// RecipientType
RecipientType *string `json:"recipientType,omitempty"`
// JourneyContext
JourneyContext *Queueconversationeventtopicjourneycontext `json:"journeyContext,omitempty"`
// Wrapup
Wrapup *Queueconversationeventtopicwrapup `json:"wrapup,omitempty"`
// AfterCallWork
AfterCallWork *Queueconversationeventtopicaftercallwork `json:"afterCallWork,omitempty"`
// AfterCallWorkRequired
AfterCallWorkRequired *bool `json:"afterCallWorkRequired,omitempty"`
// AdditionalProperties
AdditionalProperties *interface{} `json:"additionalProperties,omitempty"`
}
// String returns a JSON representation of the model
func (o *Queueconversationeventtopicmessage) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}