ParallelismConfigurationDescription.fromJson constructor

ParallelismConfigurationDescription.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ParallelismConfigurationDescription.fromJson(
    Map<String, dynamic> json) {
  return ParallelismConfigurationDescription(
    autoScalingEnabled: json['AutoScalingEnabled'] as bool?,
    configurationType:
        (json['ConfigurationType'] as String?)?.toConfigurationType(),
    currentParallelism: json['CurrentParallelism'] as int?,
    parallelism: json['Parallelism'] as int?,
    parallelismPerKPU: json['ParallelismPerKPU'] as int?,
  );
}