// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'network_data.dart';

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

DataFTP _$DataFTPFromJson(Map<String, dynamic> json) => DataFTP()
  ..workspace = json['workspace'] as String?
  ..passExitCodes = (json['passExitCodes'] as List<dynamic>?)
      ?.map((e) => (e as num).toInt())
      .toList()
  ..setResult = json['setResult'] as String?
  ..setExitCode = json['setExitCode'] as String?
  ..showPrint = json['showPrint'] as bool?
  ..sftp = json['sftp'] as bool
  ..port = (json['port'] as num).toInt()
  ..host = json['host'] as String
  ..user = json['user'] as String
  ..password = json['password'] as String
  ..map = Map<String, String>.from(json['map'] as Map);

Map<String, dynamic> _$DataFTPToJson(DataFTP instance) => <String, dynamic>{
      'workspace': instance.workspace,
      'passExitCodes': instance.passExitCodes,
      'setResult': instance.setResult,
      'setExitCode': instance.setExitCode,
      'showPrint': instance.showPrint,
      'sftp': instance.sftp,
      'port': instance.port,
      'host': instance.host,
      'user': instance.user,
      'password': instance.password,
      'map': instance.map,
    };

DataWebBase _$DataWebBaseFromJson(Map<String, dynamic> json) => DataWebBase()
  ..workspace = json['workspace'] as String?
  ..passExitCodes = (json['passExitCodes'] as List<dynamic>?)
      ?.map((e) => (e as num).toInt())
      .toList()
  ..setResult = json['setResult'] as String?
  ..setExitCode = json['setExitCode'] as String?
  ..showPrint = json['showPrint'] as bool?
  ..url = json['url'] as String
  ..method = json['method'] as String?
  ..headers = (json['headers'] as Map<String, dynamic>?)?.map(
    (k, e) => MapEntry(k, e as String),
  )
  ..fields = (json['fields'] as Map<String, dynamic>?)?.map(
    (k, e) => MapEntry(k, e as String),
  )
  ..successCodes = json['successCodes'] as List<dynamic>?
  ..setResponse = json['setResponse'] as String?;

Map<String, dynamic> _$DataWebBaseToJson(DataWebBase instance) =>
    <String, dynamic>{
      'workspace': instance.workspace,
      'passExitCodes': instance.passExitCodes,
      'setResult': instance.setResult,
      'setExitCode': instance.setExitCode,
      'showPrint': instance.showPrint,
      'url': instance.url,
      'method': instance.method,
      'headers': instance.headers,
      'fields': instance.fields,
      'successCodes': instance.successCodes,
      'setResponse': instance.setResponse,
    };

DataWebFile _$DataWebFileFromJson(Map<String, dynamic> json) => DataWebFile()
  ..workspace = json['workspace'] as String?
  ..passExitCodes = (json['passExitCodes'] as List<dynamic>?)
      ?.map((e) => (e as num).toInt())
      .toList()
  ..setResult = json['setResult'] as String?
  ..setExitCode = json['setExitCode'] as String?
  ..showPrint = json['showPrint'] as bool?
  ..url = json['url'] as String
  ..method = json['method'] as String?
  ..headers = (json['headers'] as Map<String, dynamic>?)?.map(
    (k, e) => MapEntry(k, e as String),
  )
  ..fields = (json['fields'] as Map<String, dynamic>?)?.map(
    (k, e) => MapEntry(k, e as String),
  )
  ..successCodes = json['successCodes'] as List<dynamic>?
  ..setResponse = json['setResponse'] as String?
  ..filePart = json['filePart'] as String?
  ..fileMimeType = json['fileMimeType'] as String?
  ..files = (json['files'] as List<dynamic>?)?.map((e) => e as String).toList();

Map<String, dynamic> _$DataWebFileToJson(DataWebFile instance) =>
    <String, dynamic>{
      'workspace': instance.workspace,
      'passExitCodes': instance.passExitCodes,
      'setResult': instance.setResult,
      'setExitCode': instance.setExitCode,
      'showPrint': instance.showPrint,
      'url': instance.url,
      'method': instance.method,
      'headers': instance.headers,
      'fields': instance.fields,
      'successCodes': instance.successCodes,
      'setResponse': instance.setResponse,
      'filePart': instance.filePart,
      'fileMimeType': instance.fileMimeType,
      'files': instance.files,
    };
