/
homerrecord.go
218 lines (115 loc) · 5.29 KB
/
homerrecord.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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
package platformclientv2
import (
"time"
"encoding/json"
)
// Homerrecord
type Homerrecord struct {
// Id - The globally unique identifier for the object.
Id *string `json:"id,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Date - metadata associated to the SIP calls. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
Date *time.Time `json:"date,omitempty"`
// MilliTs - metadata associated to the SIP calls
MilliTs *string `json:"milliTs,omitempty"`
// MicroTs - metadata associated to the SIP calls
MicroTs *string `json:"microTs,omitempty"`
// Method - metadata associated to the SIP calls
Method *string `json:"method,omitempty"`
// ReplyReason - metadata associated to the SIP calls
ReplyReason *string `json:"replyReason,omitempty"`
// Ruri - metadata associated to the SIP calls
Ruri *string `json:"ruri,omitempty"`
// RuriUser - metadata associated to the SIP calls
RuriUser *string `json:"ruriUser,omitempty"`
// RuriDomain - metadata associated to the SIP calls
RuriDomain *string `json:"ruriDomain,omitempty"`
// FromUser - metadata associated to the SIP calls
FromUser *string `json:"fromUser,omitempty"`
// FromDomain - metadata associated to the SIP calls
FromDomain *string `json:"fromDomain,omitempty"`
// FromTag - metadata associated to the SIP calls
FromTag *string `json:"fromTag,omitempty"`
// ToUser - metadata associated to the SIP calls
ToUser *string `json:"toUser,omitempty"`
// ToDomain - metadata associated to the SIP calls
ToDomain *string `json:"toDomain,omitempty"`
// ToTag - metadata associated to the SIP calls
ToTag *string `json:"toTag,omitempty"`
// PidUser - metadata associated to the SIP calls
PidUser *string `json:"pidUser,omitempty"`
// ContactUser - metadata associated to the SIP calls
ContactUser *string `json:"contactUser,omitempty"`
// AuthUser - metadata associated to the SIP calls
AuthUser *string `json:"authUser,omitempty"`
// Callid - metadata associated to the SIP calls
Callid *string `json:"callid,omitempty"`
// CallidAleg - metadata associated to the SIP calls
CallidAleg *string `json:"callidAleg,omitempty"`
// Via1 - metadata associated to the SIP calls
Via1 *string `json:"via1,omitempty"`
// Via1Branch - metadata associated to the SIP calls
Via1Branch *string `json:"via1Branch,omitempty"`
// Cseq - metadata associated to the SIP calls
Cseq *string `json:"cseq,omitempty"`
// Diversion - metadata associated to the SIP calls
Diversion *string `json:"diversion,omitempty"`
// Reason - metadata associated to the SIP calls
Reason *string `json:"reason,omitempty"`
// ContentType - metadata associated to the SIP calls
ContentType *string `json:"contentType,omitempty"`
// Auth - metadata associated to the SIP calls
Auth *string `json:"auth,omitempty"`
// UserAgent - metadata associated to the SIP calls
UserAgent *string `json:"userAgent,omitempty"`
// SourceIp - metadata associated to the SIP calls
SourceIp *string `json:"sourceIp,omitempty"`
// SourcePort - metadata associated to the SIP calls
SourcePort *string `json:"sourcePort,omitempty"`
// DestinationIp - metadata associated to the SIP calls
DestinationIp *string `json:"destinationIp,omitempty"`
// DestinationPort - metadata associated to the SIP calls
DestinationPort *string `json:"destinationPort,omitempty"`
// ContactIp - metadata associated to the SIP calls
ContactIp *string `json:"contactIp,omitempty"`
// ContactPort - metadata associated to the SIP calls
ContactPort *string `json:"contactPort,omitempty"`
// OriginatorIp - metadata associated to the SIP calls
OriginatorIp *string `json:"originatorIp,omitempty"`
// OriginatorPort - metadata associated to the SIP calls
OriginatorPort *string `json:"originatorPort,omitempty"`
// CorrelationId - metadata associated to the SIP calls
CorrelationId *string `json:"correlationId,omitempty"`
// Proto - metadata associated to the SIP calls
Proto *string `json:"proto,omitempty"`
// Family - metadata associated to the SIP calls
Family *string `json:"family,omitempty"`
// RtpStat - metadata associated to the SIP calls
RtpStat *string `json:"rtpStat,omitempty"`
// VarType - metadata associated to the SIP calls
VarType *string `json:"type,omitempty"`
// Node - metadata associated to the SIP calls
Node *string `json:"node,omitempty"`
// Trans - metadata associated to the SIP calls
Trans *string `json:"trans,omitempty"`
// Dbnode - metadata associated to the SIP calls
Dbnode *string `json:"dbnode,omitempty"`
// Msg - metadata associated to the SIP calls
Msg *string `json:"msg,omitempty"`
// SourceAlias - metadata associated to the SIP calls
SourceAlias *string `json:"sourceAlias,omitempty"`
// DestinationAlias - metadata associated to the SIP calls
DestinationAlias *string `json:"destinationAlias,omitempty"`
// ConversationId - metadata associated to the SIP calls
ConversationId *string `json:"conversationId,omitempty"`
// ParticipantId - metadata associated to the SIP calls
ParticipantId *string `json:"participantId,omitempty"`
// SelfUri - The URI for this object
SelfUri *string `json:"selfUri,omitempty"`
}
// String returns a JSON representation of the model
func (o *Homerrecord) String() string {
j, _ := json.Marshal(o)
return string(j)
}