Policy constructor

Policy({
  1. List<String>? accountTypesWithManagementDisabled,
  2. bool? addUserDisabled,
  3. bool? adjustVolumeDisabled,
  4. AdvancedSecurityOverrides? advancedSecurityOverrides,
  5. AlwaysOnVpnPackage? alwaysOnVpnPackage,
  6. List<String>? androidDevicePolicyTracks,
  7. String? appAutoUpdatePolicy,
  8. String? appFunctions,
  9. List<ApplicationPolicy>? applications,
  10. String? assistContentPolicy,
  11. String? autoDateAndTimeZone,
  12. bool? autoTimeRequired,
  13. bool? blockApplicationsEnabled,
  14. bool? bluetoothConfigDisabled,
  15. bool? bluetoothContactSharingDisabled,
  16. bool? bluetoothDisabled,
  17. String? cameraAccess,
  18. bool? cameraDisabled,
  19. bool? cellBroadcastsConfigDisabled,
  20. List<ChoosePrivateKeyRule>? choosePrivateKeyRules,
  21. List<ComplianceRule>? complianceRules,
  22. bool? createWindowsDisabled,
  23. String? credentialProviderPolicyDefault,
  24. bool? credentialsConfigDisabled,
  25. CrossProfilePolicies? crossProfilePolicies,
  26. bool? dataRoamingDisabled,
  27. bool? debuggingFeaturesAllowed,
  28. String? defaultPermissionPolicy,
  29. DeviceConnectivityManagement? deviceConnectivityManagement,
  30. UserFacingMessage? deviceOwnerLockScreenInfo,
  31. DeviceRadioState? deviceRadioState,
  32. DisplaySettings? displaySettings,
  33. String? encryptionPolicy,
  34. bool? ensureVerifyAppsEnabled,
  35. String? enterpriseDisplayNameVisibility,
  36. bool? factoryResetDisabled,
  37. List<String>? frpAdminEmails,
  38. bool? funDisabled,
  39. bool? installAppsDisabled,
  40. bool? installUnknownSourcesAllowed,
  41. bool? keyguardDisabled,
  42. List<String>? keyguardDisabledFeatures,
  43. bool? kioskCustomLauncherEnabled,
  44. KioskCustomization? kioskCustomization,
  45. String? locationMode,
  46. UserFacingMessage? longSupportMessage,
  47. String? maximumTimeToLock,
  48. String? microphoneAccess,
  49. int? minimumApiLevel,
  50. bool? mobileNetworksConfigDisabled,
  51. bool? modifyAccountsDisabled,
  52. bool? mountPhysicalMediaDisabled,
  53. String? name,
  54. bool? networkEscapeHatchEnabled,
  55. bool? networkResetDisabled,
  56. List<OncCertificateProvider>? oncCertificateProviders,
  57. Map<String, Object?>? openNetworkConfiguration,
  58. bool? outgoingBeamDisabled,
  59. bool? outgoingCallsDisabled,
  60. List<PasswordRequirements>? passwordPolicies,
  61. PasswordRequirements? passwordRequirements,
  62. List<PermissionGrant>? permissionGrants,
  63. PackageNameList? permittedAccessibilityServices,
  64. PackageNameList? permittedInputMethods,
  65. List<PersistentPreferredActivity>? persistentPreferredActivities,
  66. PersonalUsagePolicies? personalUsagePolicies,
  67. String? playStoreMode,
  68. List<PolicyEnforcementRule>? policyEnforcementRules,
  69. String? preferentialNetworkService,
  70. String? printingPolicy,
  71. bool? privateKeySelectionEnabled,
  72. ProxyInfo? recommendedGlobalProxy,
  73. bool? removeUserDisabled,
  74. bool? safeBootDisabled,
  75. bool? screenCaptureDisabled,
  76. bool? setUserIconDisabled,
  77. bool? setWallpaperDisabled,
  78. List<SetupAction>? setupActions,
  79. bool? shareLocationDisabled,
  80. UserFacingMessage? shortSupportMessage,
  81. bool? skipFirstUseHintsEnabled,
  82. bool? smsDisabled,
  83. bool? statusBarDisabled,
  84. StatusReportingSettings? statusReportingSettings,
  85. List<String>? stayOnPluggedModes,
  86. SystemUpdate? systemUpdate,
  87. bool? tetheringConfigDisabled,
  88. bool? uninstallAppsDisabled,
  89. bool? unmuteMicrophoneDisabled,
  90. UsageLog? usageLog,
  91. bool? usbFileTransferDisabled,
  92. bool? usbMassStorageEnabled,
  93. String? version,
  94. bool? vpnConfigDisabled,
  95. bool? wifiConfigDisabled,
  96. bool? wifiConfigsLockdownEnabled,
  97. List<String>? wipeDataFlags,
  98. WorkAccountSetupConfig? workAccountSetupConfig,
})

Implementation

Policy({
  this.accountTypesWithManagementDisabled,
  this.addUserDisabled,
  this.adjustVolumeDisabled,
  this.advancedSecurityOverrides,
  this.alwaysOnVpnPackage,
  this.androidDevicePolicyTracks,
  this.appAutoUpdatePolicy,
  this.appFunctions,
  this.applications,
  this.assistContentPolicy,
  this.autoDateAndTimeZone,
  this.autoTimeRequired,
  this.blockApplicationsEnabled,
  this.bluetoothConfigDisabled,
  this.bluetoothContactSharingDisabled,
  this.bluetoothDisabled,
  this.cameraAccess,
  this.cameraDisabled,
  this.cellBroadcastsConfigDisabled,
  this.choosePrivateKeyRules,
  this.complianceRules,
  this.createWindowsDisabled,
  this.credentialProviderPolicyDefault,
  this.credentialsConfigDisabled,
  this.crossProfilePolicies,
  this.dataRoamingDisabled,
  this.debuggingFeaturesAllowed,
  this.defaultPermissionPolicy,
  this.deviceConnectivityManagement,
  this.deviceOwnerLockScreenInfo,
  this.deviceRadioState,
  this.displaySettings,
  this.encryptionPolicy,
  this.ensureVerifyAppsEnabled,
  this.enterpriseDisplayNameVisibility,
  this.factoryResetDisabled,
  this.frpAdminEmails,
  this.funDisabled,
  this.installAppsDisabled,
  this.installUnknownSourcesAllowed,
  this.keyguardDisabled,
  this.keyguardDisabledFeatures,
  this.kioskCustomLauncherEnabled,
  this.kioskCustomization,
  this.locationMode,
  this.longSupportMessage,
  this.maximumTimeToLock,
  this.microphoneAccess,
  this.minimumApiLevel,
  this.mobileNetworksConfigDisabled,
  this.modifyAccountsDisabled,
  this.mountPhysicalMediaDisabled,
  this.name,
  this.networkEscapeHatchEnabled,
  this.networkResetDisabled,
  this.oncCertificateProviders,
  this.openNetworkConfiguration,
  this.outgoingBeamDisabled,
  this.outgoingCallsDisabled,
  this.passwordPolicies,
  this.passwordRequirements,
  this.permissionGrants,
  this.permittedAccessibilityServices,
  this.permittedInputMethods,
  this.persistentPreferredActivities,
  this.personalUsagePolicies,
  this.playStoreMode,
  this.policyEnforcementRules,
  this.preferentialNetworkService,
  this.printingPolicy,
  this.privateKeySelectionEnabled,
  this.recommendedGlobalProxy,
  this.removeUserDisabled,
  this.safeBootDisabled,
  this.screenCaptureDisabled,
  this.setUserIconDisabled,
  this.setWallpaperDisabled,
  this.setupActions,
  this.shareLocationDisabled,
  this.shortSupportMessage,
  this.skipFirstUseHintsEnabled,
  this.smsDisabled,
  this.statusBarDisabled,
  this.statusReportingSettings,
  this.stayOnPluggedModes,
  this.systemUpdate,
  this.tetheringConfigDisabled,
  this.uninstallAppsDisabled,
  this.unmuteMicrophoneDisabled,
  this.usageLog,
  this.usbFileTransferDisabled,
  this.usbMassStorageEnabled,
  this.version,
  this.vpnConfigDisabled,
  this.wifiConfigDisabled,
  this.wifiConfigsLockdownEnabled,
  this.wipeDataFlags,
  this.workAccountSetupConfig,
});