toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adaptiveProtectionConfig != null)
        'adaptiveProtectionConfig': adaptiveProtectionConfig!,
      if (advancedOptionsConfig != null)
        'advancedOptionsConfig': advancedOptionsConfig!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (ddosProtectionConfig != null)
        'ddosProtectionConfig': ddosProtectionConfig!,
      if (description != null) 'description': description!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (labelFingerprint != null) 'labelFingerprint': labelFingerprint!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (recaptchaOptionsConfig != null)
        'recaptchaOptionsConfig': recaptchaOptionsConfig!,
      if (region != null) 'region': region!,
      if (rules != null) 'rules': rules!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (type != null) 'type': type!,
      if (userDefinedFields != null) 'userDefinedFields': userDefinedFields!,
    };