-
Notifications
You must be signed in to change notification settings - Fork 13
/
inboundmessagerequest.go
65 lines (39 loc) · 1.8 KB
/
inboundmessagerequest.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"
)
// Inboundmessagerequest
type Inboundmessagerequest struct {
// QueueId - The ID of the queue to use for routing the email conversation. This field is mutually exclusive with flowId
QueueId *string `json:"queueId,omitempty"`
// FlowId - The ID of the flow to use for routing email conversation. This field is mutually exclusive with queueId
FlowId *string `json:"flowId,omitempty"`
// Provider - The name of the provider that is sourcing the email such as Oracle, Salesforce, etc.
Provider *string `json:"provider,omitempty"`
// SkillIds - The list of skill ID's to use for routing.
SkillIds *[]string `json:"skillIds,omitempty"`
// LanguageId - The ID of the language to use for routing.
LanguageId *string `json:"languageId,omitempty"`
// Priority - The priority to assign to the conversation for routing.
Priority *int `json:"priority,omitempty"`
// Attributes - The list of attributes to associate with the customer participant.
Attributes *map[string]string `json:"attributes,omitempty"`
// ToAddress - The email address of the recipient of the email.
ToAddress *string `json:"toAddress,omitempty"`
// ToName - The name of the recipient of the email.
ToName *string `json:"toName,omitempty"`
// FromAddress - The email address of the sender of the email.
FromAddress *string `json:"fromAddress,omitempty"`
// FromName - The name of the sender of the email.
FromName *string `json:"fromName,omitempty"`
// Subject - The subject of the email
Subject *string `json:"subject,omitempty"`
}
// String returns a JSON representation of the model
func (o *Inboundmessagerequest) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}