toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (connectionRatelimitWindowSeconds != null)
        'connectionRatelimitWindowSeconds': connectionRatelimitWindowSeconds!,
      if (deploymentModel != null) 'deploymentModel': deploymentModel!,
      if (hpaConfig != null) 'hpaConfig': hpaConfig!,
      if (internalclientRatelimitThreshold != null)
        'internalclientRatelimitThreshold': internalclientRatelimitThreshold!,
      if (ratelimitThreshold != null)
        'ratelimitThreshold': ratelimitThreshold!,
      if (resourceLimits != null) 'resourceLimits': resourceLimits!,
      if (resourceRequests != null) 'resourceRequests': resourceRequests!,
      if (sharedDeployment != null) 'sharedDeployment': sharedDeployment!,
    };