-
Notifications
You must be signed in to change notification settings - Fork 12
/
userschedulefulldaytimeoffmarker.go
41 lines (27 loc) · 1.31 KB
/
userschedulefulldaytimeoffmarker.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"
)
// Userschedulefulldaytimeoffmarker - Marker to indicate an approved full day time off request
type Userschedulefulldaytimeoffmarker struct {
// ManagementUnitDate - The date associated with the time off request that this marker corresponds to. Date only, in ISO-8601 format.
ManagementUnitDate *string `json:"managementUnitDate,omitempty"`
// ActivityCodeId - The id for the activity code. Look up a map of activity codes with the activities route
ActivityCodeId *string `json:"activityCodeId,omitempty"`
// IsPaid - Whether this is paid time off
IsPaid *bool `json:"isPaid,omitempty"`
// LengthInMinutes - The length in minutes of this time off marker
LengthInMinutes *int `json:"lengthInMinutes,omitempty"`
// Description - The description associated with the time off request that this marker corresponds to
Description *string `json:"description,omitempty"`
// Delete - If marked true for updating an existing full day time off marker, it will be deleted
Delete *bool `json:"delete,omitempty"`
}
// String returns a JSON representation of the model
func (o *Userschedulefulldaytimeoffmarker) String() string {
j, _ := json.Marshal(o)
str, _ := strconv.Unquote(strings.Replace(strconv.Quote(string(j)), `\\u`, `\u`, -1))
return str
}