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

Implementation

Policy({
  this.accountTypesWithManagementDisabled,
  this.addUserDisabled,
  this.adjustVolumeDisabled,
  this.advancedSecurityOverrides,
  this.alwaysOnVpnPackage,
  this.androidDevicePolicyTracks,
  this.appAutoUpdatePolicy,
  this.applications,
  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.encryptionPolicy,
  this.ensureVerifyAppsEnabled,
  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,
});