forked from MyPureCloud/platform-client-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
createcallrequest.go
65 lines (39 loc) · 1.81 KB
/
createcallrequest.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
package platformclientv2
import (
"encoding/json"
"strconv"
"strings"
)
// Createcallrequest
type Createcallrequest struct {
// PhoneNumber - The phone number to dial.
PhoneNumber *string `json:"phoneNumber,omitempty"`
// CallerId - The caller id phone number for this outbound call.
CallerId *string `json:"callerId,omitempty"`
// CallerIdName - The caller id name for this outbound call.
CallerIdName *string `json:"callerIdName,omitempty"`
// CallFromQueueId - The queue ID to call on behalf of.
CallFromQueueId *string `json:"callFromQueueId,omitempty"`
// CallQueueId - The queue ID to call.
CallQueueId *string `json:"callQueueId,omitempty"`
// CallUserId - The user ID to call.
CallUserId *string `json:"callUserId,omitempty"`
// Priority - The priority to assign to this call (if calling a queue).
Priority *int `json:"priority,omitempty"`
// LanguageId - The language skill ID to use for routing this call (if calling a queue).
LanguageId *string `json:"languageId,omitempty"`
// RoutingSkillsIds - The skill ID's to use for routing this call (if calling a queue).
RoutingSkillsIds *[]string `json:"routingSkillsIds,omitempty"`
// ConversationIds - The list of existing call conversations to merge into a new ad-hoc conference.
ConversationIds *[]string `json:"conversationIds,omitempty"`
// Participants - The list of participants to call to create a new ad-hoc conference.
Participants *[]Destination `json:"participants,omitempty"`
// UuiData - User to User Information (UUI) data managed by SIP session application.
UuiData *string `json:"uuiData,omitempty"`
}
// String returns a JSON representation of the model
func (o *Createcallrequest) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}