-
Notifications
You must be signed in to change notification settings - Fork 13
/
queueconversationmessageeventtopicmessagemediaparticipant.go
170 lines (92 loc) · 3.45 KB
/
queueconversationmessageeventtopicmessagemediaparticipant.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
package platformclientv2
import (
"time"
"encoding/json"
"strconv"
"strings"
)
// Queueconversationmessageeventtopicmessagemediaparticipant
type Queueconversationmessageeventtopicmessagemediaparticipant struct {
// Id
Id *string `json:"id,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Address
Address *string `json:"address,omitempty"`
// StartTime
StartTime *time.Time `json:"startTime,omitempty"`
// ConnectedTime
ConnectedTime *time.Time `json:"connectedTime,omitempty"`
// EndTime
EndTime *time.Time `json:"endTime,omitempty"`
// StartHoldTime
StartHoldTime *time.Time `json:"startHoldTime,omitempty"`
// Purpose
Purpose *string `json:"purpose,omitempty"`
// State
State *string `json:"state,omitempty"`
// Direction
Direction *string `json:"direction,omitempty"`
// DisconnectType
DisconnectType *string `json:"disconnectType,omitempty"`
// Held
Held *bool `json:"held,omitempty"`
// WrapupRequired
WrapupRequired *bool `json:"wrapupRequired,omitempty"`
// WrapupPrompt
WrapupPrompt *string `json:"wrapupPrompt,omitempty"`
// User
User *Queueconversationmessageeventtopicurireference `json:"user,omitempty"`
// Queue
Queue *Queueconversationmessageeventtopicurireference `json:"queue,omitempty"`
// Team
Team *Queueconversationmessageeventtopicurireference `json:"team,omitempty"`
// Attributes
Attributes *map[string]string `json:"attributes,omitempty"`
// ErrorInfo
ErrorInfo *Queueconversationmessageeventtopicerrorbody `json:"errorInfo,omitempty"`
// Script
Script *Queueconversationmessageeventtopicurireference `json:"script,omitempty"`
// WrapupTimeoutMs
WrapupTimeoutMs *int `json:"wrapupTimeoutMs,omitempty"`
// WrapupSkipped
WrapupSkipped *bool `json:"wrapupSkipped,omitempty"`
// AlertingTimeoutMs
AlertingTimeoutMs *int `json:"alertingTimeoutMs,omitempty"`
// Provider
Provider *string `json:"provider,omitempty"`
// ExternalContact
ExternalContact *Queueconversationmessageeventtopicurireference `json:"externalContact,omitempty"`
// ExternalOrganization
ExternalOrganization *Queueconversationmessageeventtopicurireference `json:"externalOrganization,omitempty"`
// Wrapup
Wrapup *Queueconversationmessageeventtopicwrapup `json:"wrapup,omitempty"`
// ConversationRoutingData
ConversationRoutingData *Queueconversationmessageeventtopicconversationroutingdata `json:"conversationRoutingData,omitempty"`
// Peer
Peer *string `json:"peer,omitempty"`
// ScreenRecordingState
ScreenRecordingState *string `json:"screenRecordingState,omitempty"`
// FlaggedReason
FlaggedReason *string `json:"flaggedReason,omitempty"`
// JourneyContext
JourneyContext *Queueconversationmessageeventtopicjourneycontext `json:"journeyContext,omitempty"`
// StartAcwTime
StartAcwTime *time.Time `json:"startAcwTime,omitempty"`
// EndAcwTime
EndAcwTime *time.Time `json:"endAcwTime,omitempty"`
// Messages
Messages *[]Queueconversationmessageeventtopicmessagedetails `json:"messages,omitempty"`
// VarType
VarType *string `json:"type,omitempty"`
// RecipientCountry
RecipientCountry *string `json:"recipientCountry,omitempty"`
// RecipientType
RecipientType *string `json:"recipientType,omitempty"`
}
// String returns a JSON representation of the model
func (o *Queueconversationmessageeventtopicmessagemediaparticipant) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}