diff --git a/lib/dto/set_article_amount_request.g.dart b/lib/dto/set_article_amount_request.g.dart new file mode 100644 index 0000000..91ee5a7 --- /dev/null +++ b/lib/dto/set_article_amount_request.g.dart @@ -0,0 +1,25 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'set_article_amount_request.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +SetArticleAmountRequestDTO _$SetArticleAmountRequestDTOFromJson( + Map json, +) => SetArticleAmountRequestDTO( + articleId: json['article_id'] as String, + deliveryId: json['delivery_id'] as String, + amount: (json['amount'] as num).toInt(), + reason: json['reason'] as String?, +); + +Map _$SetArticleAmountRequestDTOToJson( + SetArticleAmountRequestDTO instance, +) => { + 'delivery_id': instance.deliveryId, + 'amount': instance.amount, + 'article_id': instance.articleId, + 'reason': instance.reason, +}; diff --git a/lib/dto/set_article_amount_response.g.dart b/lib/dto/set_article_amount_response.g.dart new file mode 100644 index 0000000..945e4ea --- /dev/null +++ b/lib/dto/set_article_amount_response.g.dart @@ -0,0 +1,23 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'set_article_amount_response.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +SetArticleAmountResponseDTO _$SetArticleAmountResponseDTOFromJson( + Map json, +) => SetArticleAmountResponseDTO( + succeeded: json['succeeded'] as bool, + message: json['message'] as String, + noteId: json['note_id'] as String?, +); + +Map _$SetArticleAmountResponseDTOToJson( + SetArticleAmountResponseDTO instance, +) => { + 'succeeded': instance.succeeded, + 'message': instance.message, + 'note_id': instance.noteId, +};