toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (containerResources != null)
        'containerResources': containerResources!,
      if (podAffinity != null) 'podAffinity': podAffinity!,
      if (podAntiAffinity != null) 'podAntiAffinity': podAntiAffinity!,
      if (podTolerations != null) 'podTolerations': podTolerations!,
      if (replicaCount != null) 'replicaCount': replicaCount!,
    };