-
Notifications
You must be signed in to change notification settings - Fork 12
/
shifttradematchreviewuserresponse.go
37 lines (25 loc) · 1.38 KB
/
shifttradematchreviewuserresponse.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
package platformclientv2
import (
"encoding/json"
"strconv"
"strings"
)
// Shifttradematchreviewuserresponse
type Shifttradematchreviewuserresponse struct {
// WeeklyMinimumPaidMinutes - The minimum weekly paid minutes for this user per the work plan tied to the agent schedule
WeeklyMinimumPaidMinutes *int `json:"weeklyMinimumPaidMinutes,omitempty"`
// WeeklyMaximumPaidMinutes - The maximum weekly paid minutes for this user per the work plan tied to the agent schedule
WeeklyMaximumPaidMinutes *int `json:"weeklyMaximumPaidMinutes,omitempty"`
// PreTradeSchedulePaidMinutes - The paid minutes on the week schedule for this user prior to the shift trade
PreTradeSchedulePaidMinutes *int `json:"preTradeSchedulePaidMinutes,omitempty"`
// PostTradeSchedulePaidMinutes - The paid minutes on the week schedule for this user if the shift trade is approved
PostTradeSchedulePaidMinutes *int `json:"postTradeSchedulePaidMinutes,omitempty"`
// PostTradeNewShift - Preview of what the shift will look like for the opposite side of this trade after the match is approved
PostTradeNewShift *Shifttradepreviewresponse `json:"postTradeNewShift,omitempty"`
}
// String returns a JSON representation of the model
func (o *Shifttradematchreviewuserresponse) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}