// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'get_device_steps_response_model.dart';

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

_GetDeviceStepsResponseModel _$GetDeviceStepsResponseModelFromJson(
  Map<String, dynamic> json,
) => _GetDeviceStepsResponseModel(
  items: (json['items'] as List<dynamic>)
      .map(
        (e) =>
            GetDeviceStepsItemResponseModel.fromJson(e as Map<String, dynamic>),
      )
      .toList(),
);

Map<String, dynamic> _$GetDeviceStepsResponseModelToJson(
  _GetDeviceStepsResponseModel instance,
) => <String, dynamic>{'items': instance.items};

_GetDeviceStepsItemResponseModel _$GetDeviceStepsItemResponseModelFromJson(
  Map<String, dynamic> json,
) => _GetDeviceStepsItemResponseModel(
  id: json['id'] as String,
  deviceIdentificator: json['deviceIdentificator'] as String,
  steps: (json['steps'] as num).toInt(),
  totalSteps: (json['totalSteps'] as num).toInt(),
  occurredAt: (json['occurredAt'] as num).toInt(),
  createdAt: (json['createdAt'] as num).toInt(),
);

Map<String, dynamic> _$GetDeviceStepsItemResponseModelToJson(
  _GetDeviceStepsItemResponseModel instance,
) => <String, dynamic>{
  'id': instance.id,
  'deviceIdentificator': instance.deviceIdentificator,
  'steps': instance.steps,
  'totalSteps': instance.totalSteps,
  'occurredAt': instance.occurredAt,
  'createdAt': instance.createdAt,
};
