mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
21 lines
524 B
Dart
21 lines
524 B
Dart
import 'package:PiliPlus/models/space_fav/list.dart';
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'media_list_response.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class MediaListResponse {
|
|
int? count;
|
|
List<FavList>? list;
|
|
@JsonKey(name: 'has_more')
|
|
bool? hasMore;
|
|
|
|
MediaListResponse({this.count, this.list, this.hasMore});
|
|
|
|
factory MediaListResponse.fromJson(Map<String, dynamic> json) {
|
|
return _$MediaListResponseFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$MediaListResponseToJson(this);
|
|
}
|