ConnectorVersionInfraConfig.fromJson constructor

ConnectorVersionInfraConfig.fromJson(
  1. Map json_
)

Implementation

ConnectorVersionInfraConfig.fromJson(core.Map json_)
    : this(
        connectionRatelimitWindowSeconds:
            json_.containsKey('connectionRatelimitWindowSeconds')
                ? json_['connectionRatelimitWindowSeconds'] as core.String
                : null,
        deploymentModel: json_.containsKey('deploymentModel')
            ? json_['deploymentModel'] as core.String
            : null,
        hpaConfig: json_.containsKey('hpaConfig')
            ? HPAConfig.fromJson(
                json_['hpaConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        internalclientRatelimitThreshold:
            json_.containsKey('internalclientRatelimitThreshold')
                ? json_['internalclientRatelimitThreshold'] as core.String
                : null,
        ratelimitThreshold: json_.containsKey('ratelimitThreshold')
            ? json_['ratelimitThreshold'] as core.String
            : null,
        resourceLimits: json_.containsKey('resourceLimits')
            ? ResourceLimits.fromJson(json_['resourceLimits']
                as core.Map<core.String, core.dynamic>)
            : null,
        resourceRequests: json_.containsKey('resourceRequests')
            ? ResourceRequests.fromJson(json_['resourceRequests']
                as core.Map<core.String, core.dynamic>)
            : null,
        sharedDeployment: json_.containsKey('sharedDeployment')
            ? json_['sharedDeployment'] as core.String
            : null,
      );