-
Notifications
You must be signed in to change notification settings - Fork 13
/
conversationeventtopicmessage.go
110 lines (62 loc) · 2.17 KB
/
conversationeventtopicmessage.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"
)
// Conversationeventtopicmessage
type Conversationeventtopicmessage struct {
// Id
Id *string `json:"id,omitempty"`
// State
State *string `json:"state,omitempty"`
// Held
Held *bool `json:"held,omitempty"`
// ErrorInfo
ErrorInfo *Conversationeventtopicerrordetails `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 *Conversationeventtopicaddress `json:"toAddress,omitempty"`
// FromAddress
FromAddress *Conversationeventtopicaddress `json:"fromAddress,omitempty"`
// Messages
Messages *[]Conversationeventtopicmessagedetails `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 *Conversationeventtopicjourneycontext `json:"journeyContext,omitempty"`
// Wrapup
Wrapup *Conversationeventtopicwrapup `json:"wrapup,omitempty"`
// AfterCallWork
AfterCallWork *Conversationeventtopicaftercallwork `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 *Conversationeventtopicmessage) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}