NonComplianceDetail class

Provides detail about non-compliance with a policy setting.

Constructors

NonComplianceDetail({Object? currentValue, String? fieldPath, String? installationFailureReason, String? nonComplianceReason, String? packageName, String? settingName, SpecificNonComplianceContext? specificNonComplianceContext, String? specificNonComplianceReason})
NonComplianceDetail.fromJson(Map json_)

Properties

currentValue Object?
If the policy setting could not be applied, the current value of the setting on the device.
getter/setter pair
fieldPath String?
For settings with nested fields, if a particular nested field is out of compliance, this specifies the full path to the offending field.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
installationFailureReason String?
If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can't be installed or updated. Possible string values are:
getter/setter pair
nonComplianceReason String?
The reason the device is not in compliance with the setting. Possible string values are:
getter/setter pair
packageName String?
The package name indicating which app is out of compliance, if applicable.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settingName String?
The name of the policy setting.
getter/setter pair
specificNonComplianceContext SpecificNonComplianceContext?
Additional context for specific_non_compliance_reason.
getter/setter pair
specificNonComplianceReason String?
The policy-specific reason the device is not in compliance with the setting. Possible string values are:
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited