// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'base_data.dart';

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

DataCommon _$DataCommonFromJson(Map<String, dynamic> json) => DataCommon()
  ..workspace = json['workspace'] as String
  ..jenkinsHome = json['jenkinsHome'] as String
  ..jenkinsUrl = json['jenkinsUrl'] as String
  ..buildUrl = json['buildUrl'] as String
  ..jobUrl = json['jobUrl'] as String
  ..jobName = json['jobName'] as String
  ..gitCommit = json['gitCommit'] as String
  ..buildNumber = (json['buildNumber'] as num).toInt()
  ..buildID = (json['buildID'] as num).toInt()
  ..buildDisplayName = json['buildDisplayName'] as String
  ..gitBranch = json['gitBranch'] as String
  ..buildTag = json['buildTag'] as String;

Map<String, dynamic> _$DataCommonToJson(DataCommon instance) =>
    <String, dynamic>{
      'workspace': instance.workspace,
      'jenkinsHome': instance.jenkinsHome,
      'jenkinsUrl': instance.jenkinsUrl,
      'buildUrl': instance.buildUrl,
      'jobUrl': instance.jobUrl,
      'jobName': instance.jobName,
      'gitCommit': instance.gitCommit,
      'buildNumber': instance.buildNumber,
      'buildID': instance.buildID,
      'buildDisplayName': instance.buildDisplayName,
      'gitBranch': instance.gitBranch,
      'buildTag': instance.buildTag,
    };

DataParam _$DataParamFromJson(Map<String, dynamic> json) => DataParam()
  ..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?;

Map<String, dynamic> _$DataParamToJson(DataParam instance) => <String, dynamic>{
      'workspace': instance.workspace,
      'passExitCodes': instance.passExitCodes,
      'setResult': instance.setResult,
      'setExitCode': instance.setExitCode,
      'showPrint': instance.showPrint,
    };
