toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoscalingSpec != null) 'autoscalingSpec': autoscalingSpec!,
      if (diskSpec != null) 'diskSpec': diskSpec!,
      if (id != null) 'id': id!,
      if (machineSpec != null) 'machineSpec': machineSpec!,
      if (replicaCount != null) 'replicaCount': replicaCount!,
      if (usedReplicaCount != null) 'usedReplicaCount': usedReplicaCount!,
    };