mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 09:06:36 +08:00
50
lib/models_new/later/rights.dart
Normal file
50
lib/models_new/later/rights.dart
Normal file
@@ -0,0 +1,50 @@
|
||||
class Rights {
|
||||
int? bp;
|
||||
int? elec;
|
||||
int? download;
|
||||
int? movie;
|
||||
int? pay;
|
||||
int? hd5;
|
||||
int? noReprint;
|
||||
int? autoplay;
|
||||
int? ugcPay;
|
||||
int? isCooperation;
|
||||
int? ugcPayPreview;
|
||||
int? noBackground;
|
||||
int? arcPay;
|
||||
int? payFreeWatch;
|
||||
|
||||
Rights({
|
||||
this.bp,
|
||||
this.elec,
|
||||
this.download,
|
||||
this.movie,
|
||||
this.pay,
|
||||
this.hd5,
|
||||
this.noReprint,
|
||||
this.autoplay,
|
||||
this.ugcPay,
|
||||
this.isCooperation,
|
||||
this.ugcPayPreview,
|
||||
this.noBackground,
|
||||
this.arcPay,
|
||||
this.payFreeWatch,
|
||||
});
|
||||
|
||||
factory Rights.fromJson(Map<String, dynamic> json) => Rights(
|
||||
bp: json['bp'] as int?,
|
||||
elec: json['elec'] as int?,
|
||||
download: json['download'] as int?,
|
||||
movie: json['movie'] as int?,
|
||||
pay: json['pay'] as int?,
|
||||
hd5: json['hd5'] as int?,
|
||||
noReprint: json['no_reprint'] as int?,
|
||||
autoplay: json['autoplay'] as int?,
|
||||
ugcPay: json['ugc_pay'] as int?,
|
||||
isCooperation: json['is_cooperation'] as int?,
|
||||
ugcPayPreview: json['ugc_pay_preview'] as int?,
|
||||
noBackground: json['no_background'] as int?,
|
||||
arcPay: json['arc_pay'] as int?,
|
||||
payFreeWatch: json['pay_free_watch'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user