///app更新
class AppUpdateModel {
  String? applicationType;
  String? platformType;
  String? version;
  String? buildVersion;
  String? downloadLink;
  String? wechatDownloadLink;
  String? introduction;
  String? updateRecord;
  bool? forceUpdate;
  bool? gatedLaunch;
  String? releaseDate;
  bool? updateStatus;
  String? cdnDownloadLink;
  bool? cdnDownloadLinkValidity;

  AppUpdateModel({
    this.applicationType,
    this.platformType,
    this.version,
    this.buildVersion,
    this.downloadLink,
    this.wechatDownloadLink,
    this.introduction,
    this.updateRecord,
    this.forceUpdate,
    this.gatedLaunch,
    this.releaseDate,
    this.updateStatus,
    this.cdnDownloadLink,
    this.cdnDownloadLinkValidity,
  });

  AppUpdateModel.fromJson(json) {
    Map<String, dynamic> map = Map.from(json ?? {});

    applicationType = map['applicationType'];
    platformType = map['platformType'];
    version = map['version'];
    buildVersion = map['buildVersion'];
    downloadLink = map['downloadLink'];
    wechatDownloadLink = map['wechatDownloadLink'];
    introduction = map['introduction'];
    updateRecord = map['updateRecord'];
    forceUpdate = map['forceUpdate'];
    gatedLaunch = map['gatedLaunch'];
    releaseDate = map['releaseDate'];
    updateStatus = map['updateStatus'];
    cdnDownloadLink = map['cdnDownloadLink'];
    cdnDownloadLinkValidity = map['cdnDownloadLinkValidity'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> json = Map<String, dynamic>();

    json['applicationType'] = this.applicationType;
    json['platformType'] = this.platformType;
    json['version'] = this.version;
    json['buildVersion'] = this.buildVersion;
    json['downloadLink'] = this.downloadLink;
    json['wechatDownloadLink'] = this.wechatDownloadLink;
    json['introduction'] = this.introduction;
    json['updateRecord'] = this.updateRecord;
    json['forceUpdate'] = this.forceUpdate;
    json['gatedLaunch'] = this.gatedLaunch;
    json['releaseDate'] = this.releaseDate;
    json['updateStatus'] = this.updateStatus;
    json['cdnDownloadLink'] = this.cdnDownloadLink;
    json['cdnDownloadLinkValidity'] = this.cdnDownloadLinkValidity;

    return json;
  }
}
