// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'task_plan_detail.dart';

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

TaskPlanDetailModel _$TaskPlanDetailModelFromJson(Map<String, dynamic> json) {
  return TaskPlanDetailModel(
    title: json['title'] as String?,
    content: json['content'] as String?,
    cronExpression: json['cronExpression'] as String?,
    enable: json['enable'] as bool?,
    startTime: json['startTime'] as String?,
    endTime: json['endTime'] as String?,
    executorCount: json['executorCount'] as num?,
    files: (json['files'] as List<dynamic>?)
        ?.map((e) => FileModel.fromJson(e))
        .toList(),
    inventoryName: json['inventoryName'] as String?,
    createdBy: json['createdBy'] as String?,
  );
}

Map<String, dynamic> _$TaskPlanDetailModelToJson(
        TaskPlanDetailModel instance) =>
    <String, dynamic>{
      'title': instance.title,
      'content': instance.content,
      'cronExpression': instance.cronExpression,
      'enable': instance.enable,
      'startTime': instance.startTime,
      'endTime': instance.endTime,
      'executorCount': instance.executorCount,
      'files': instance.files,
      'inventoryName': instance.inventoryName,
      'createdBy': instance.createdBy,
    };
