toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (manualInstanceCount != null)
        'manualInstanceCount': manualInstanceCount!,
      if (maxInstanceCount != null) 'maxInstanceCount': maxInstanceCount!,
      if (maxSurge != null) 'maxSurge': maxSurge!,
      if (maxUnavailable != null) 'maxUnavailable': maxUnavailable!,
      if (minInstanceCount != null) 'minInstanceCount': minInstanceCount!,
      if (scalingMode != null) 'scalingMode': scalingMode!,
    };