toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appEngine != null) 'appEngine': appEngine!,
      if (basicService != null) 'basicService': basicService!,
      if (cloudEndpoints != null) 'cloudEndpoints': cloudEndpoints!,
      if (cloudRun != null) 'cloudRun': cloudRun!,
      if (clusterIstio != null) 'clusterIstio': clusterIstio!,
      if (custom != null) 'custom': custom!,
      if (displayName != null) 'displayName': displayName!,
      if (gkeNamespace != null) 'gkeNamespace': gkeNamespace!,
      if (gkeService != null) 'gkeService': gkeService!,
      if (gkeWorkload != null) 'gkeWorkload': gkeWorkload!,
      if (istioCanonicalService != null)
        'istioCanonicalService': istioCanonicalService!,
      if (meshIstio != null) 'meshIstio': meshIstio!,
      if (name != null) 'name': name!,
      if (telemetry != null) 'telemetry': telemetry!,
      if (userLabels != null) 'userLabels': userLabels!,
    };