69 lines
1.9 KiB
Dart
Executable File
69 lines
1.9 KiB
Dart
Executable File
class AdvancedFeaturesWebEntity {
|
|
int? errorCode;
|
|
String? description;
|
|
String? errorMsg;
|
|
Data? data;
|
|
|
|
AdvancedFeaturesWebEntity(
|
|
{this.errorCode, this.description, this.errorMsg, this.data});
|
|
|
|
AdvancedFeaturesWebEntity.fromJson(Map<String, dynamic> json) {
|
|
errorCode = json['errorCode'];
|
|
description = json['description'];
|
|
errorMsg = json['errorMsg'];
|
|
data = json['data'] != null ? Data.fromJson(json['data']) : null;
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = <String, dynamic>{};
|
|
data['errorCode'] = errorCode;
|
|
data['description'] = description;
|
|
data['errorMsg'] = errorMsg;
|
|
if (this.data != null) {
|
|
data['data'] = this.data!.toJson();
|
|
}
|
|
return data;
|
|
}
|
|
}
|
|
|
|
class Data {
|
|
String? smsBuyUrl;
|
|
String? emailBuyUrl;
|
|
String? vipBuyUrl;
|
|
String? cloudauthBuyUrl;
|
|
String? shopList;
|
|
String? cloudStorage;
|
|
String? valueAddServiceLimitFree;
|
|
|
|
Data(
|
|
{this.smsBuyUrl,
|
|
this.emailBuyUrl,
|
|
this.vipBuyUrl,
|
|
this.cloudauthBuyUrl,
|
|
this.cloudStorage,
|
|
this.valueAddServiceLimitFree,
|
|
this.shopList});
|
|
|
|
Data.fromJson(Map<String, dynamic> json) {
|
|
smsBuyUrl = json['sms_buy_url'];
|
|
emailBuyUrl = json['email_buy_url'];
|
|
vipBuyUrl = json['vip_buy_url'];
|
|
cloudauthBuyUrl = json['cloudauth_buy_url'];
|
|
shopList = json['shopList'];
|
|
cloudStorage = json['cloud_storage'];
|
|
valueAddServiceLimitFree = json['value_add_service_limit_free'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = <String, dynamic>{};
|
|
data['sms_buy_url'] = smsBuyUrl;
|
|
data['email_buy_url'] = emailBuyUrl;
|
|
data['vip_buy_url'] = vipBuyUrl;
|
|
data['cloudauth_buy_url'] = cloudauthBuyUrl;
|
|
data['shopList'] = shopList;
|
|
data['cloud_storage'] = cloudStorage;
|
|
data['value_add_service_limit_free'] = valueAddServiceLimitFree;
|
|
return data;
|
|
}
|
|
}
|