toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acknowledged != null) 'acknowledged': acknowledged!,
      if (acknowledgementTime != null)
        'acknowledgementTime': acknowledgementTime!,
      if (associatedOrgPolicyViolationId != null)
        'associatedOrgPolicyViolationId': associatedOrgPolicyViolationId!,
      if (auditLogLink != null) 'auditLogLink': auditLogLink!,
      if (beginTime != null) 'beginTime': beginTime!,
      if (category != null) 'category': category!,
      if (description != null) 'description': description!,
      if (exceptionAuditLogLink != null)
        'exceptionAuditLogLink': exceptionAuditLogLink!,
      if (exceptionContexts != null) 'exceptionContexts': exceptionContexts!,
      if (name != null) 'name': name!,
      if (nonCompliantOrgPolicy != null)
        'nonCompliantOrgPolicy': nonCompliantOrgPolicy!,
      if (orgPolicyConstraint != null)
        'orgPolicyConstraint': orgPolicyConstraint!,
      if (parentProjectNumber != null)
        'parentProjectNumber': parentProjectNumber!,
      if (remediation != null) 'remediation': remediation!,
      if (resolveTime != null) 'resolveTime': resolveTime!,
      if (resourceName != null) 'resourceName': resourceName!,
      if (resourceType != null) 'resourceType': resourceType!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (violationType != null) 'violationType': violationType!,
    };