// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'classification.dart';

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

ApplicationClassification _$ApplicationClassificationFromJson(
  Map<String, dynamic> json,
) => ApplicationClassification(
  id: (json['id'] as num).toInt(),
  applicationName: json['application_name'] as String,
  categoryId: json['category_id'] as String,
  createdAt: ApplicationClassification._dateTimeFromJson(json['created_at']),
  updatedAt: ApplicationClassification._dateTimeFromJson(json['updated_at']),
);

Map<String, dynamic> _$ApplicationClassificationToJson(
  ApplicationClassification instance,
) => <String, dynamic>{
  'id': instance.id,
  'application_name': instance.applicationName,
  'category_id': instance.categoryId,
  'created_at': ApplicationClassification._dateTimeToJson(instance.createdAt),
  'updated_at': ApplicationClassification._dateTimeToJson(instance.updatedAt),
};

UnclassifiedApplication _$UnclassifiedApplicationFromJson(
  Map<String, dynamic> json,
) => UnclassifiedApplication(
  id: (json['id'] as num).toInt(),
  applicationName: json['application_name'] as String,
  firstSeen: UnclassifiedApplication._dateTimeFromJson(json['first_seen']),
  lastSeen: UnclassifiedApplication._dateTimeFromJson(json['last_seen']),
  occurrenceCount: (json['occurrence_count'] as num).toInt(),
);

Map<String, dynamic> _$UnclassifiedApplicationToJson(
  UnclassifiedApplication instance,
) => <String, dynamic>{
  'id': instance.id,
  'application_name': instance.applicationName,
  'first_seen': UnclassifiedApplication._dateTimeToJson(instance.firstSeen),
  'last_seen': UnclassifiedApplication._dateTimeToJson(instance.lastSeen),
  'occurrence_count': instance.occurrenceCount,
};

ClassificationRequest _$ClassificationRequestFromJson(
  Map<String, dynamic> json,
) => ClassificationRequest(
  applicationName: json['application_name'] as String,
  categoryId: json['category_id'] as String,
);

Map<String, dynamic> _$ClassificationRequestToJson(
  ClassificationRequest instance,
) => <String, dynamic>{
  'application_name': instance.applicationName,
  'category_id': instance.categoryId,
};
