-
Notifications
You must be signed in to change notification settings - Fork 2
/
input.go
26 lines (22 loc) · 1014 Bytes
/
input.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
package models
type ReusableTokenAuthenticationInput struct {
MaxNumberOfAgents int `json:"maxNumberOfAgents"`
}
type KeyValueInput struct {
Key string `json:"key"`
Value string `json:"value"`
}
type ScheduleTimeInput struct {
ScheduleType string `json:"scheduleType,omitempty"`
Time string `json:"time,omitempty"`
WeekDays []string `json:"weekDays,omitempty"`
Duration int `json:"duration,omitempty"`
}
type CreateEmbeddedProfileInput struct {
UpgradeTime *ScheduleTimeInput `json:"upgradeTime,omitempty"`
Name string `json:"name"`
UpgradeMode string `json:"upgradeMode,omitempty"`
AdditionalSettings []KeyValueInput `json:"additionalSettings"`
OnlyDefinedApplications bool `json:"onlyDefinedApplications,omitempty"`
Authentication ReusableTokenAuthenticationInput `json:"authentication,omitempty"`
}