toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (banDurationSec != null) 'banDurationSec': banDurationSec!,
      if (banThreshold != null) 'banThreshold': banThreshold!,
      if (conformAction != null) 'conformAction': conformAction!,
      if (enforceOnKey != null) 'enforceOnKey': enforceOnKey!,
      if (enforceOnKeyConfigs != null)
        'enforceOnKeyConfigs': enforceOnKeyConfigs!,
      if (enforceOnKeyName != null) 'enforceOnKeyName': enforceOnKeyName!,
      if (exceedAction != null) 'exceedAction': exceedAction!,
      if (exceedRedirectOptions != null)
        'exceedRedirectOptions': exceedRedirectOptions!,
      if (rateLimitThreshold != null)
        'rateLimitThreshold': rateLimitThreshold!,
    };