-
Notifications
You must be signed in to change notification settings - Fork 12
/
wfmhistoricaladherencequery.go
38 lines (26 loc) · 1.21 KB
/
wfmhistoricaladherencequery.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
package platformclientv2
import (
"time"
"encoding/json"
"strconv"
"strings"
)
// Wfmhistoricaladherencequery
type Wfmhistoricaladherencequery struct {
// StartDate - Beginning of the date range to query in ISO-8601 format
StartDate *time.Time `json:"startDate,omitempty"`
// EndDate - End of the date range to query in ISO-8601 format. If it is not set, end date will be set to current time
EndDate *time.Time `json:"endDate,omitempty"`
// TimeZone - The time zone to use for returned results in olson format. If it is not set, the business unit time zone will be used to compute adherence
TimeZone *string `json:"timeZone,omitempty"`
// UserIds - The userIds to report on. If null or not set, adherence will be computed for all the users in management unit or requested teamIds
UserIds *[]string `json:"userIds,omitempty"`
// IncludeExceptions - Whether user exceptions should be returned as part of the results
IncludeExceptions *bool `json:"includeExceptions,omitempty"`
}
// String returns a JSON representation of the model
func (o *Wfmhistoricaladherencequery) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}