Skip to content

Commit 111c7de

Browse files
authored
Merge pull request #897 from neilmartin83/nm-computer-prestages-11-20
feat: computer_prestages additional fields for Jamf Pro 11.20
2 parents 8441e71 + fd7e0c0 commit 111c7de

File tree

1 file changed

+27
-23
lines changed

1 file changed

+27
-23
lines changed

sdk/jamfpro/jamfproapi_computer_prestages.go

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// jamfproapi_computer_prestages.go
22
// Jamf Pro Api - Computer Prestages
3-
// api reference: https://developer.jamf.com/jamf-pro/reference/get_v2-computer-prestages-scope
3+
// api reference: https://developer.jamf.com/jamf-pro/reference/get_v3-computer-prestages
44
// Jamf Pro API requires the structs to support a JSON data structure.
55
// Endpoint uses optimistic locking, https://developer.jamf.com/jamf-pro/docs/optimistic-locking
66
package jamfpro
@@ -105,33 +105,37 @@ type ResourceComputerPrestage struct {
105105
SessionTimeout int `json:"sessionTimeout,omitempty"`
106106
DeviceType string `json:"deviceType,omitempty"`
107107
OnboardingItems []OnboardingItem `json:"onboardingItems,omitempty"`
108+
PssoEnabled *bool `json:"pssoEnabled,omitempty"`
109+
PlatformSsoAppBundleId string `json:"platformSsoAppBundleId,omitempty"`
108110
}
109111

110112
// Subsets & Containers
111113

112114
type ComputerPrestageSubsetSkipSetupItems struct {
113-
Biometric *bool `json:"Biometric"`
114-
TermsOfAddress *bool `json:"TermsOfAddress"`
115-
FileVault *bool `json:"FileVault"`
116-
ICloudDiagnostics *bool `json:"iCloudDiagnostics"`
117-
Diagnostics *bool `json:"Diagnostics"`
118-
Accessibility *bool `json:"Accessibility"`
119-
AppleID *bool `json:"AppleID"`
120-
ScreenTime *bool `json:"ScreenTime"`
121-
Siri *bool `json:"Siri"`
122-
DisplayTone *bool `json:"DisplayTone"`
123-
Restore *bool `json:"Restore"`
124-
Appearance *bool `json:"Appearance"`
125-
Privacy *bool `json:"Privacy"`
126-
Payment *bool `json:"Payment"`
127-
Registration *bool `json:"Registration"`
128-
TOS *bool `json:"TOS"`
129-
ICloudStorage *bool `json:"iCloudStorage"`
130-
Location *bool `json:"Location"`
131-
Intelligence *bool `json:"Intelligence"`
132-
EnableLockdownMode *bool `json:"EnableLockdownMode"`
133-
Welcome *bool `json:"Welcome"`
134-
Wallpaper *bool `json:"Wallpaper"`
115+
Biometric *bool `json:"Biometric"`
116+
TermsOfAddress *bool `json:"TermsOfAddress"`
117+
FileVault *bool `json:"FileVault"`
118+
ICloudDiagnostics *bool `json:"iCloudDiagnostics"`
119+
Diagnostics *bool `json:"Diagnostics"`
120+
Accessibility *bool `json:"Accessibility"`
121+
AppleID *bool `json:"AppleID"`
122+
ScreenTime *bool `json:"ScreenTime"`
123+
Siri *bool `json:"Siri"`
124+
DisplayTone *bool `json:"DisplayTone"`
125+
Restore *bool `json:"Restore"`
126+
Appearance *bool `json:"Appearance"`
127+
Privacy *bool `json:"Privacy"`
128+
Payment *bool `json:"Payment"`
129+
Registration *bool `json:"Registration"`
130+
TOS *bool `json:"TOS"`
131+
ICloudStorage *bool `json:"iCloudStorage"`
132+
Location *bool `json:"Location"`
133+
Intelligence *bool `json:"Intelligence"`
134+
EnableLockdownMode *bool `json:"EnableLockdownMode"`
135+
Welcome *bool `json:"Welcome"`
136+
Wallpaper *bool `json:"Wallpaper"`
137+
SoftwareUpdate *bool `json:"SoftwareUpdate"`
138+
AdditionalPrivacySettings *bool `json:"AdditionalPrivacySettings"`
135139
}
136140

137141
type ComputerPrestageSubsetLocationInformation struct {

0 commit comments

Comments
 (0)