// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'notification_data.dart';

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

DataSlackSender _$DataSlackSenderFromJson(Map<String, dynamic> json) =>
    DataSlackSender()
      ..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?
      ..token = json['token'] as String
      ..property = json['property']
      ..message = json['message'] as Map<String, dynamic>?
      ..messageJson = json['messageJson'] as String?
      ..idMap = (json['idMap'] as Map<String, dynamic>?)?.map(
        (k, e) => MapEntry(k, e as String),
      );

Map<String, dynamic> _$DataSlackSenderToJson(DataSlackSender instance) =>
    <String, dynamic>{
      'workspace': instance.workspace,
      'passExitCodes': instance.passExitCodes,
      'setResult': instance.setResult,
      'setExitCode': instance.setExitCode,
      'showPrint': instance.showPrint,
      'token': instance.token,
      'property': instance.property,
      'message': instance.message,
      'messageJson': instance.messageJson,
      'idMap': instance.idMap,
    };

DataSlackFile _$DataSlackFileFromJson(Map<String, dynamic> json) =>
    DataSlackFile()
      ..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?
      ..token = json['token'] as String
      ..channel = json['channel'] as String
      ..filePath = json['filePath'] as String
      ..title = json['title'] as String?
      ..initialComment = json['initialComment'] as String?
      ..fileName = json['fileName'] as String?
      ..mimeType = json['mimeType'] as String?;

Map<String, dynamic> _$DataSlackFileToJson(DataSlackFile instance) =>
    <String, dynamic>{
      'workspace': instance.workspace,
      'passExitCodes': instance.passExitCodes,
      'setResult': instance.setResult,
      'setExitCode': instance.setExitCode,
      'showPrint': instance.showPrint,
      'token': instance.token,
      'channel': instance.channel,
      'filePath': instance.filePath,
      'title': instance.title,
      'initialComment': instance.initialComment,
      'fileName': instance.fileName,
      'mimeType': instance.mimeType,
    };

DataSlackBuild _$DataSlackBuildFromJson(Map<String, dynamic> json) =>
    DataSlackBuild()
      ..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?
      ..token = json['token'] as String
      ..property = json['property']
      ..message = json['message'] as Map<String, dynamic>?
      ..messageJson = json['messageJson'] as String?
      ..idMap = (json['idMap'] as Map<String, dynamic>?)?.map(
        (k, e) => MapEntry(k, e as String),
      )
      ..appName = json['appName'] as String
      ..type = $enumDecode(_$SlackBuildTypeEnumMap, json['type'])
      ..color = json['color'] as String
      ..version = json['version'] as String
      ..downloadURL = json['downloadURL'] as String
      ..channel = json['channel'] as String?;

Map<String, dynamic> _$DataSlackBuildToJson(DataSlackBuild instance) =>
    <String, dynamic>{
      'workspace': instance.workspace,
      'passExitCodes': instance.passExitCodes,
      'setResult': instance.setResult,
      'setExitCode': instance.setExitCode,
      'showPrint': instance.showPrint,
      'token': instance.token,
      'property': instance.property,
      'message': instance.message,
      'messageJson': instance.messageJson,
      'idMap': instance.idMap,
      'appName': instance.appName,
      'type': _$SlackBuildTypeEnumMap[instance.type]!,
      'color': instance.color,
      'version': instance.version,
      'downloadURL': instance.downloadURL,
      'channel': instance.channel,
    };

const _$SlackBuildTypeEnumMap = {
  SlackBuildType.android: 'android',
  SlackBuildType.ios: 'ios',
  SlackBuildType.windows: 'windows',
  SlackBuildType.mac: 'mac',
  SlackBuildType.web: 'web',
};

DataMattermostSender _$DataMattermostSenderFromJson(
        Map<String, dynamic> json) =>
    DataMattermostSender()
      ..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?
      ..token = json['token'] as String
      ..url = json['url'] as String
      ..channelId = json['channelId'] as String?
      ..property = json['property']
      ..message = json['message'] as Map<String, dynamic>?
      ..messageJson = json['messageJson'] as String?
      ..idMap = (json['idMap'] as Map<String, dynamic>?)?.map(
        (k, e) => MapEntry(k, e as String),
      );

Map<String, dynamic> _$DataMattermostSenderToJson(
        DataMattermostSender instance) =>
    <String, dynamic>{
      'workspace': instance.workspace,
      'passExitCodes': instance.passExitCodes,
      'setResult': instance.setResult,
      'setExitCode': instance.setExitCode,
      'showPrint': instance.showPrint,
      'token': instance.token,
      'url': instance.url,
      'channelId': instance.channelId,
      'property': instance.property,
      'message': instance.message,
      'messageJson': instance.messageJson,
      'idMap': instance.idMap,
    };

DataMattermostBuild _$DataMattermostBuildFromJson(Map<String, dynamic> json) =>
    DataMattermostBuild()
      ..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?
      ..token = json['token'] as String
      ..url = json['url'] as String
      ..channelId = json['channelId'] as String?
      ..property = json['property']
      ..message = json['message'] as Map<String, dynamic>?
      ..messageJson = json['messageJson'] as String?
      ..idMap = (json['idMap'] as Map<String, dynamic>?)?.map(
        (k, e) => MapEntry(k, e as String),
      )
      ..appName = json['appName'] as String
      ..type = $enumDecode(_$MattermostBuildTypeEnumMap, json['type'])
      ..color = json['color'] as String
      ..version = json['version'] as String
      ..downloadURL = json['downloadURL'] as String;

Map<String, dynamic> _$DataMattermostBuildToJson(
        DataMattermostBuild instance) =>
    <String, dynamic>{
      'workspace': instance.workspace,
      'passExitCodes': instance.passExitCodes,
      'setResult': instance.setResult,
      'setExitCode': instance.setExitCode,
      'showPrint': instance.showPrint,
      'token': instance.token,
      'url': instance.url,
      'channelId': instance.channelId,
      'property': instance.property,
      'message': instance.message,
      'messageJson': instance.messageJson,
      'idMap': instance.idMap,
      'appName': instance.appName,
      'type': _$MattermostBuildTypeEnumMap[instance.type]!,
      'color': instance.color,
      'version': instance.version,
      'downloadURL': instance.downloadURL,
    };

const _$MattermostBuildTypeEnumMap = {
  MattermostBuildType.android: 'android',
  MattermostBuildType.ios: 'ios',
  MattermostBuildType.windows: 'windows',
  MattermostBuildType.mac: 'mac',
  MattermostBuildType.web: 'web',
};
