ConfigManagementPolicyController.fromJson constructor

ConfigManagementPolicyController.fromJson(
  1. Map json_
)

Implementation

ConfigManagementPolicyController.fromJson(core.Map json_)
  : this(
      auditIntervalSeconds: json_['auditIntervalSeconds'] as core.String?,
      enabled: json_['enabled'] as core.bool?,
      exemptableNamespaces: (json_['exemptableNamespaces'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      logDeniesEnabled: json_['logDeniesEnabled'] as core.bool?,
      monitoring: json_.containsKey('monitoring')
          ? ConfigManagementPolicyControllerMonitoring.fromJson(
              json_['monitoring'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      mutationEnabled: json_['mutationEnabled'] as core.bool?,
      referentialRulesEnabled: json_['referentialRulesEnabled'] as core.bool?,
      templateLibraryInstalled:
          json_['templateLibraryInstalled'] as core.bool?,
      updateTime: json_['updateTime'] as core.String?,
    );