-
Notifications
You must be signed in to change notification settings - Fork 13
/
asyncuserdetailsquery.go
41 lines (27 loc) · 1.37 KB
/
asyncuserdetailsquery.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
package platformclientv2
import (
"encoding/json"
"strconv"
"strings"
)
// Asyncuserdetailsquery
type Asyncuserdetailsquery struct {
// Interval - Specifies the date and time range of data being queried. Conversations MUST have started within this time range to potentially be included within the result set. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
Interval *string `json:"interval,omitempty"`
// UserFilters - Filters that target the users to retrieve data for
UserFilters *[]Userdetailqueryfilter `json:"userFilters,omitempty"`
// PresenceFilters - Filters that target system and organization presence-level data
PresenceFilters *[]Presencedetailqueryfilter `json:"presenceFilters,omitempty"`
// RoutingStatusFilters - Filters that target agent routing status-level data
RoutingStatusFilters *[]Routingstatusdetailqueryfilter `json:"routingStatusFilters,omitempty"`
// Order - Sort the result set in ascending/descending order. Default is ascending
Order *string `json:"order,omitempty"`
// Limit - Specify number of results to be returned
Limit *int `json:"limit,omitempty"`
}
// String returns a JSON representation of the model
func (o *Asyncuserdetailsquery) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}