PipelineExecutionStepMetadata.fromJson constructor

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

Implementation

factory PipelineExecutionStepMetadata.fromJson(Map<String, dynamic> json) {
  return PipelineExecutionStepMetadata(
    condition: json['Condition'] != null
        ? ConditionStepMetadata.fromJson(
            json['Condition'] as Map<String, dynamic>)
        : null,
    model: json['Model'] != null
        ? ModelStepMetadata.fromJson(json['Model'] as Map<String, dynamic>)
        : null,
    processingJob: json['ProcessingJob'] != null
        ? ProcessingJobStepMetadata.fromJson(
            json['ProcessingJob'] as Map<String, dynamic>)
        : null,
    registerModel: json['RegisterModel'] != null
        ? RegisterModelStepMetadata.fromJson(
            json['RegisterModel'] as Map<String, dynamic>)
        : null,
    trainingJob: json['TrainingJob'] != null
        ? TrainingJobStepMetadata.fromJson(
            json['TrainingJob'] as Map<String, dynamic>)
        : null,
    transformJob: json['TransformJob'] != null
        ? TransformJobStepMetadata.fromJson(
            json['TransformJob'] as Map<String, dynamic>)
        : null,
  );
}