toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (auditIntervalSeconds != null)
    'auditIntervalSeconds': auditIntervalSeconds!,
  if (constraintViolationLimit != null)
    'constraintViolationLimit': constraintViolationLimit!,
  if (deploymentConfigs != null) 'deploymentConfigs': deploymentConfigs!,
  if (exemptableNamespaces != null)
    'exemptableNamespaces': exemptableNamespaces!,
  if (installSpec != null) 'installSpec': installSpec!,
  if (logDeniesEnabled != null) 'logDeniesEnabled': logDeniesEnabled!,
  if (monitoring != null) 'monitoring': monitoring!,
  if (mutationEnabled != null) 'mutationEnabled': mutationEnabled!,
  if (policyContent != null) 'policyContent': policyContent!,
  if (referentialRulesEnabled != null)
    'referentialRulesEnabled': referentialRulesEnabled!,
};