// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'pipeline_data.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

DataPipeline _$DataPipelineFromJson(Map<String, dynamic> json) => DataPipeline()
  ..id = json['id'] as String
  ..workflow = json['workflow'] as List<dynamic>;

Map<String, dynamic> _$DataPipelineToJson(DataPipeline instance) =>
    <String, dynamic>{
      'id': instance.id,
      'workflow': instance.workflow,
    };

DataCondition _$DataConditionFromJson(Map<String, dynamic> json) =>
    DataCondition()
      ..condition = json['condition'] as String?
      ..type = json['type'] as String?
      ..condition_int = json['condition-int'] as String?
      ..condition_float = json['condition-float'] as String?
      ..condition_string = json['condition-string'] as String?
      ..condition_date = json['condition-date'] as String?
      ..condition_version = json['condition-version'] as String?
      ..condition_bool = json['condition-bool'] as String?
      ..condition_object = json['condition-object'];

Map<String, dynamic> _$DataConditionToJson(DataCondition instance) =>
    <String, dynamic>{
      'condition': instance.condition,
      'type': instance.type,
      'condition-int': instance.condition_int,
      'condition-float': instance.condition_float,
      'condition-string': instance.condition_string,
      'condition-date': instance.condition_date,
      'condition-version': instance.condition_version,
      'condition-bool': instance.condition_bool,
      'condition-object': instance.condition_object,
    };

DataExeHandle _$DataExeHandleFromJson(Map<String, dynamic> json) =>
    DataExeHandle()
      ..id = json['id'] as String?
      ..on_success = json['on-success'] as List<dynamic>?
      ..on_fail = json['on-fail'] as List<dynamic>?;

Map<String, dynamic> _$DataExeHandleToJson(DataExeHandle instance) =>
    <String, dynamic>{
      'id': instance.id,
      'on-success': instance.on_success,
      'on-fail': instance.on_fail,
    };

DataIf _$DataIfFromJson(Map<String, dynamic> json) => DataIf()
  ..condition = json['condition'] as String?
  ..type = json['type'] as String?
  ..condition_int = json['condition-int'] as String?
  ..condition_float = json['condition-float'] as String?
  ..condition_string = json['condition-string'] as String?
  ..condition_date = json['condition-date'] as String?
  ..condition_version = json['condition-version'] as String?
  ..condition_bool = json['condition-bool'] as String?
  ..condition_object = json['condition-object']
  ..on_true = json['on-true'] as List<dynamic>?
  ..on_false = json['on-false'] as List<dynamic>?;

Map<String, dynamic> _$DataIfToJson(DataIf instance) => <String, dynamic>{
      'condition': instance.condition,
      'type': instance.type,
      'condition-int': instance.condition_int,
      'condition-float': instance.condition_float,
      'condition-string': instance.condition_string,
      'condition-date': instance.condition_date,
      'condition-version': instance.condition_version,
      'condition-bool': instance.condition_bool,
      'condition-object': instance.condition_object,
      'on-true': instance.on_true,
      'on-false': instance.on_false,
    };

DataContain _$DataContainFromJson(Map<String, dynamic> json) => DataContain()
  ..list = json['list']
  ..target = json['target'] as String
  ..on_true = json['on-true'] as List<dynamic>?
  ..on_false = json['on-false'] as List<dynamic>?;

Map<String, dynamic> _$DataContainToJson(DataContain instance) =>
    <String, dynamic>{
      'list': instance.list,
      'target': instance.target,
      'on-true': instance.on_true,
      'on-false': instance.on_false,
    };

DataWhile _$DataWhileFromJson(Map<String, dynamic> json) => DataWhile()
  ..condition = json['condition'] as String?
  ..type = json['type'] as String?
  ..condition_int = json['condition-int'] as String?
  ..condition_float = json['condition-float'] as String?
  ..condition_string = json['condition-string'] as String?
  ..condition_date = json['condition-date'] as String?
  ..condition_version = json['condition-version'] as String?
  ..condition_bool = json['condition-bool'] as String?
  ..condition_object = json['condition-object']
  ..on_do = json['on-do'] as List<dynamic>?;

Map<String, dynamic> _$DataWhileToJson(DataWhile instance) => <String, dynamic>{
      'condition': instance.condition,
      'type': instance.type,
      'condition-int': instance.condition_int,
      'condition-float': instance.condition_float,
      'condition-string': instance.condition_string,
      'condition-date': instance.condition_date,
      'condition-version': instance.condition_version,
      'condition-bool': instance.condition_bool,
      'condition-object': instance.condition_object,
      'on-do': instance.on_do,
    };

DataForeach _$DataForeachFromJson(Map<String, dynamic> json) => DataForeach()
  ..iterator = json['iterator'] as String?
  ..setKey = json['setKey']
  ..setValue = json['setValue']
  ..on_do = json['on-do'] as List<dynamic>?;

Map<String, dynamic> _$DataForeachToJson(DataForeach instance) =>
    <String, dynamic>{
      'iterator': instance.iterator,
      'setKey': instance.setKey,
      'setValue': instance.setValue,
      'on-do': instance.on_do,
    };

DataSwitch _$DataSwitchFromJson(Map<String, dynamic> json) => DataSwitch()
  ..condition = json['condition'] as String?
  ..type = json['type'] as String?
  ..condition_int = json['condition-int'] as String?
  ..condition_float = json['condition-float'] as String?
  ..condition_string = json['condition-string'] as String?
  ..condition_date = json['condition-date'] as String?
  ..condition_version = json['condition-version'] as String?
  ..condition_bool = json['condition-bool'] as String?
  ..condition_object = json['condition-object']
  ..cases = (json['cases'] as List<dynamic>)
      .map((e) => DataSwitchValue.fromJson(e as Map<String, dynamic>))
      .toList();

Map<String, dynamic> _$DataSwitchToJson(DataSwitch instance) =>
    <String, dynamic>{
      'condition': instance.condition,
      'type': instance.type,
      'condition-int': instance.condition_int,
      'condition-float': instance.condition_float,
      'condition-string': instance.condition_string,
      'condition-date': instance.condition_date,
      'condition-version': instance.condition_version,
      'condition-bool': instance.condition_bool,
      'condition-object': instance.condition_object,
      'cases': instance.cases,
    };

DataSwitchValue _$DataSwitchValueFromJson(Map<String, dynamic> json) =>
    DataSwitchValue()
      ..value = json['value']
      ..tasks = json['tasks'] as List<dynamic>;

Map<String, dynamic> _$DataSwitchValueToJson(DataSwitchValue instance) =>
    <String, dynamic>{
      'value': instance.value,
      'tasks': instance.tasks,
    };
