// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'command_data.dart';

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

DataBuild _$DataBuildFromJson(Map<String, dynamic> json) => DataBuild()
  ..scheduler = json['scheduler'] == null
      ? null
      : DataScheduler.fromJson(json['scheduler'] as Map<String, dynamic>)
  ..property = json['property'] as Map<String, dynamic>?
  ..pipeline = json['pipeline'] == null
      ? null
      : DataPipeline.fromJson(json['pipeline'] as Map<String, dynamic>)
  ..commands = (json['commands'] as List<dynamic>)
      .map((e) => DataCommand.fromJson(e as Map<String, dynamic>))
      .toList();

Map<String, dynamic> _$DataBuildToJson(DataBuild instance) => <String, dynamic>{
      'scheduler': instance.scheduler,
      'property': instance.property,
      'pipeline': instance.pipeline,
      'commands': instance.commands,
    };

DataScheduler _$DataSchedulerFromJson(Map<String, dynamic> json) =>
    DataScheduler()
      ..alias = json['alias'] as String
      ..cron = json['cron'] as String?
      ..interval = (json['interval'] as num?)?.toInt()
      ..enableLog = json['enableLog'] as bool?;

Map<String, dynamic> _$DataSchedulerToJson(DataScheduler instance) =>
    <String, dynamic>{
      'alias': instance.alias,
      'cron': instance.cron,
      'interval': instance.interval,
      'enableLog': instance.enableLog,
    };

DataCommand _$DataCommandFromJson(Map<String, dynamic> json) => DataCommand()
  ..command = $enumDecode(_$CommandTypeEnumMap, json['command'])
  ..id = json['id'] as String
  ..param = json['param'];

Map<String, dynamic> _$DataCommandToJson(DataCommand instance) =>
    <String, dynamic>{
      'command': _$CommandTypeEnumMap[instance.command]!,
      'id': instance.id,
      'param': instance.param,
    };

const _$CommandTypeEnumMap = {
  CommandType.SimpleCommand: 'SimpleCommand',
  CommandType.Print: 'Print',
  CommandType.SetValue: 'SetValue',
  CommandType.CreateAppData: 'CreateAppData',
  CommandType.BuildDart: 'BuildDart',
  CommandType.BuildFlutter: 'BuildFlutter',
  CommandType.BuildDartCompile: 'BuildDartCompile',
  CommandType.BuildDotNet: 'BuildDotNet',
  CommandType.BuildiOS: 'BuildiOS',
  CommandType.TestflightUpload: 'TestflightUpload',
  CommandType.TestflightStatusCheck: 'TestflightStatusCheck',
  CommandType.TestflightDistribute: 'TestflightDistribute',
  CommandType.XcodeprojAddFile: 'XcodeprojAddFile',
  CommandType.BuildMSBuild: 'BuildMSBuild',
  CommandType.CodeSign: 'CodeSign',
  CommandType.CodeSignVerify: 'CodeSignVerify',
  CommandType.ProductBuild: 'ProductBuild',
  CommandType.Notarize: 'Notarize',
  CommandType.ArchiveiOS: 'ArchiveiOS',
  CommandType.ExportiOS: 'ExportiOS',
  CommandType.PublishiOS: 'PublishiOS',
  CommandType.Upload: 'Upload',
  CommandType.Download: 'Download',
  CommandType.Copy: 'Copy',
  CommandType.Rename: 'Rename',
  CommandType.Delete: 'Delete',
  CommandType.FileDiffCheck: 'FileDiffCheck',
  CommandType.FileRead: 'FileRead',
  CommandType.FileWrite: 'FileWrite',
  CommandType.Files: 'Files',
  CommandType.FileInfo: 'FileInfo',
  CommandType.DirectoryCreate: 'DirectoryCreate',
  CommandType.Slack: 'Slack',
  CommandType.SlackFile: 'SlackFile',
  CommandType.SlackBuild: 'SlackBuild',
  CommandType.Mattermost: 'Mattermost',
  CommandType.MattermostBuild: 'MattermostBuild',
  CommandType.StringSub: 'StringSub',
  CommandType.StringReplace: 'StringReplace',
  CommandType.StringReplacePattern: 'StringReplacePattern',
  CommandType.StringIndex: 'StringIndex',
  CommandType.URLInfo: 'URLInfo',
  CommandType.Jira: 'Jira',
  CommandType.Zip: 'Zip',
  CommandType.Shell: 'Shell',
  CommandType.ShellFile: 'ShellFile',
  CommandType.Git: 'Git',
  CommandType.GitCommit: 'GitCommit',
  CommandType.GitPull: 'GitPull',
  CommandType.GitPush: 'GitPush',
  CommandType.GitCheckout: 'GitCheckout',
  CommandType.GitRev: 'GitRev',
  CommandType.GitCount: 'GitCount',
  CommandType.GitReset: 'GitReset',
  CommandType.GitStashPush: 'GitStashPush',
  CommandType.GitStashApply: 'GitStashApply',
  CommandType.GitBranch: 'GitBranch',
  CommandType.GitHub: 'GitHub',
  CommandType.GitHubPullRequestCreate: 'GitHubPullRequestCreate',
  CommandType.GitHubPullRequestList: 'GitHubPullRequestList',
  CommandType.GitHubPullRequestClose: 'GitHubPullRequestClose',
  CommandType.Protobuf: 'Protobuf',
  CommandType.JsonReader: 'JsonReader',
  CommandType.JsonReaderFile: 'JsonReaderFile',
  CommandType.JsonWriterFile: 'JsonWriterFile',
  CommandType.AwsCli: 'AwsCli',
  CommandType.Docker: 'Docker',
  CommandType.Gradle: 'Gradle',
  CommandType.WebRequest: 'WebRequest',
  CommandType.WebFile: 'WebFile',
  CommandType.ProcessPortUse: 'ProcessPortUse',
  CommandType.ProcessRun: 'ProcessRun',
  CommandType.ProcessKill: 'ProcessKill',
  CommandType.SMBAuth: 'SMBAuth',
  CommandType.Delay: 'Delay',
  CommandType.JenkinsParameterModify: 'JenkinsParameterModify',
};
