@@ -29,38 +29,38 @@ func main() {
2929
3030 update := & jamfpro.ResourceMobileDevicePrestage {
3131 DisplayName : "jamfpro-sdk-example-mobiledevicePrestage-config" ,
32- Mandatory : jamfpro . TruePtr () ,
33- MdmRemovable : jamfpro . FalsePtr () ,
32+ Mandatory : true ,
33+ MdmRemovable : false ,
3434 SupportPhoneNumber : "111-222-3333" ,
3535 SupportEmailAddress : "email@company.com" ,
3636 Department : "department name" ,
37- DefaultPrestage : jamfpro . FalsePtr () ,
37+ DefaultPrestage : false ,
3838 EnrollmentSiteID : "-1" ,
39- KeepExistingSiteMembership : jamfpro . FalsePtr () ,
40- KeepExistingLocationInformation : jamfpro . FalsePtr () ,
41- RequireAuthentication : jamfpro . FalsePtr () ,
39+ KeepExistingSiteMembership : false ,
40+ KeepExistingLocationInformation : false ,
41+ RequireAuthentication : false ,
4242 AuthenticationPrompt : "" ,
43- PreventActivationLock : jamfpro . TruePtr () ,
44- EnableDeviceBasedActivationLock : jamfpro . FalsePtr () ,
43+ PreventActivationLock : true ,
44+ EnableDeviceBasedActivationLock : false ,
4545 DeviceEnrollmentProgramInstanceID : "1" ,
4646 AnchorCertificates : []string {},
4747 EnrollmentCustomizationID : "0" ,
4848 Language : "" ,
4949 Region : "" ,
50- AutoAdvanceSetup : jamfpro . FalsePtr () ,
51- AllowPairing : jamfpro . TruePtr () ,
52- MultiUser : jamfpro . FalsePtr () ,
53- Supervised : jamfpro . TruePtr () ,
50+ AutoAdvanceSetup : false ,
51+ AllowPairing : true ,
52+ MultiUser : false ,
53+ Supervised : true ,
5454 MaximumSharedAccounts : 10 ,
55- ConfigureDeviceBeforeSetupAssistant : jamfpro . TruePtr () ,
56- SendTimezone : jamfpro . FalsePtr () ,
55+ ConfigureDeviceBeforeSetupAssistant : true ,
56+ SendTimezone : false ,
5757 Timezone : "UTC" ,
5858 StorageQuotaSizeMegabytes : 4096 ,
59- UseStorageQuotaSize : jamfpro . FalsePtr () ,
60- TemporarySessionOnly : jamfpro . FalsePtr () ,
61- EnforceTemporarySessionTimeout : jamfpro . FalsePtr () ,
59+ UseStorageQuotaSize : false ,
60+ TemporarySessionOnly : false ,
61+ EnforceTemporarySessionTimeout : false ,
6262 TemporarySessionTimeout : nil ,
63- EnforceUserSessionTimeout : jamfpro . FalsePtr () ,
63+ EnforceUserSessionTimeout : false ,
6464 UserSessionTimeout : nil ,
6565 SiteId : "-1" ,
6666 VersionLock : currentPrestage .VersionLock ,
@@ -72,46 +72,46 @@ func main() {
7272
7373 update .SkipSetupItems = jamfpro.MobileDevicePrestageSubsetSkipSetupItems {
7474 // Selected items are not displayed in the Setup Assistant during enrollment
75- Location : jamfpro . TruePtr () ,
76- Privacy : jamfpro . TruePtr () ,
77- Biometric : jamfpro . TruePtr () ,
78- SoftwareUpdate : jamfpro . TruePtr () ,
79- Diagnostics : jamfpro . TruePtr () ,
80- IMessageAndFaceTime : jamfpro . TruePtr () ,
81- Intelligence : jamfpro . TruePtr () ,
82- TVRoom : jamfpro . TruePtr () ,
83- Passcode : jamfpro . TruePtr () ,
84- SIMSetup : jamfpro . TruePtr () ,
85- ScreenTime : jamfpro . TruePtr () ,
86- RestoreCompleted : jamfpro . TruePtr () ,
87- TVProviderSignIn : jamfpro . TruePtr () ,
88- Siri : jamfpro . TruePtr () ,
89- Restore : jamfpro . TruePtr () ,
90- ScreenSaver : jamfpro . TruePtr () ,
91- HomeButtonSensitivity : jamfpro . TruePtr () ,
92- CloudStorage : jamfpro . TruePtr () ,
93- ActionButton : jamfpro . TruePtr () ,
94- TransferData : jamfpro . TruePtr () ,
95- EnableLockdownMode : jamfpro . TruePtr () ,
96- Zoom : jamfpro . TruePtr () ,
97- PreferredLanguage : jamfpro . TruePtr () ,
98- VoiceSelection : jamfpro . TruePtr () ,
99- TVHomeScreenSync : jamfpro . TruePtr () ,
100- Safety : jamfpro . TruePtr () ,
101- TermsOfAddress : jamfpro . TruePtr () ,
102- ExpressLanguage : jamfpro . TruePtr () ,
103- CameraButton : jamfpro . TruePtr () ,
104- AppleID : jamfpro . TruePtr () ,
105- DisplayTone : jamfpro . TruePtr () ,
106- WatchMigration : jamfpro . TruePtr () ,
107- UpdateCompleted : jamfpro . TruePtr () ,
108- Appearance : jamfpro . TruePtr () ,
109- Android : jamfpro . TruePtr () ,
110- Payment : jamfpro . TruePtr () ,
111- OnBoarding : jamfpro . TruePtr () ,
112- TOS : jamfpro . TruePtr () ,
113- Welcome : jamfpro . TruePtr () ,
114- TapToSetup : jamfpro . TruePtr () ,
75+ Location : true ,
76+ Privacy : true ,
77+ Biometric : true ,
78+ SoftwareUpdate : true ,
79+ Diagnostics : true ,
80+ IMessageAndFaceTime : true ,
81+ Intelligence : true ,
82+ TVRoom : true ,
83+ Passcode : true ,
84+ SIMSetup : true ,
85+ ScreenTime : true ,
86+ RestoreCompleted : true ,
87+ TVProviderSignIn : true ,
88+ Siri : true ,
89+ Restore : true ,
90+ ScreenSaver : true ,
91+ HomeButtonSensitivity : true ,
92+ CloudStorage : true ,
93+ ActionButton : true ,
94+ TransferData : true ,
95+ EnableLockdownMode : true ,
96+ Zoom : true ,
97+ PreferredLanguage : true ,
98+ VoiceSelection : true ,
99+ TVHomeScreenSync : true ,
100+ Safety : true ,
101+ TermsOfAddress : true ,
102+ ExpressLanguage : true ,
103+ CameraButton : true ,
104+ AppleID : true ,
105+ DisplayTone : true ,
106+ WatchMigration : true ,
107+ UpdateCompleted : true ,
108+ Appearance : true ,
109+ Android : true ,
110+ Payment : true ,
111+ OnBoarding : true ,
112+ TOS : true ,
113+ Welcome : true ,
114+ TapToSetup : true ,
115115 }
116116
117117 update .LocationInformation = jamfpro.MobileDevicePrestageSubsetLocationInformation {
@@ -129,8 +129,8 @@ func main() {
129129
130130 update .PurchasingInformation = jamfpro.MobileDevicePrestageSubsetPurchasingInformation {
131131 ID : "-1" , // Required
132- Leased : jamfpro . FalsePtr () ,
133- Purchased : jamfpro . TruePtr () ,
132+ Leased : false ,
133+ Purchased : true ,
134134 AppleCareId : "" ,
135135 PoNumber : "" ,
136136 Vendor : "" ,
@@ -150,8 +150,8 @@ func main() {
150150 DeviceNamePrefix : "" ,
151151 DeviceNameSuffix : "" ,
152152 SingleDeviceName : "" ,
153- ManageNames : jamfpro . TruePtr () ,
154- DeviceNamingConfigured : jamfpro . TruePtr () ,
153+ ManageNames : true ,
154+ DeviceNamingConfigured : true ,
155155 }
156156
157157 // Call UpdateMobileDevicePrestageByID to update the prestage
0 commit comments