forked from MyPureCloud/platform-client-sdk-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
historicaladherencedaymetrics.go
61 lines (37 loc) · 2.2 KB
/
historicaladherencedaymetrics.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
package platformclientv2
import (
"encoding/json"
"strconv"
"strings"
)
// Historicaladherencedaymetrics
type Historicaladherencedaymetrics struct {
// DayStartOffsetSecs - Start of day offset in seconds relative to query start time
DayStartOffsetSecs *int `json:"dayStartOffsetSecs,omitempty"`
// AdherenceScheduleSecs - Duration of schedule in seconds included for adherence percentage calculation
AdherenceScheduleSecs *int `json:"adherenceScheduleSecs,omitempty"`
// ConformanceScheduleSecs - Total scheduled duration in seconds for OnQueue activities
ConformanceScheduleSecs *int `json:"conformanceScheduleSecs,omitempty"`
// ConformanceActualSecs - Total actually worked duration in seconds for OnQueue activities
ConformanceActualSecs *int `json:"conformanceActualSecs,omitempty"`
// ExceptionCount - Total number of adherence exceptions for this user
ExceptionCount *int `json:"exceptionCount,omitempty"`
// ExceptionDurationSecs - Total duration in seconds of adherence exceptions for this user
ExceptionDurationSecs *int `json:"exceptionDurationSecs,omitempty"`
// ImpactSeconds - The impact duration in seconds of current adherence state for this user
ImpactSeconds *int `json:"impactSeconds,omitempty"`
// ScheduleLengthSecs - Total duration in seconds for all scheduled activities
ScheduleLengthSecs *int `json:"scheduleLengthSecs,omitempty"`
// ActualLengthSecs - Total duration in seconds for all actually worked activities
ActualLengthSecs *int `json:"actualLengthSecs,omitempty"`
// AdherencePercentage - Total adherence percentage for this user, in the scale of 0 - 100
AdherencePercentage *float64 `json:"adherencePercentage,omitempty"`
// ConformancePercentage - Total conformance percentage for this user, in the scale of 0 - 100. Conformance percentage can be greater than 100 when the actual on queue time is greater than the scheduled on queue time for the same period.
ConformancePercentage *float64 `json:"conformancePercentage,omitempty"`
}
// String returns a JSON representation of the model
func (o *Historicaladherencedaymetrics) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}