factory DataRetrievalRule.fromJson(Map<String, dynamic> json) { return DataRetrievalRule( bytesPerHour: json['BytesPerHour'] as int?, strategy: json['Strategy'] as String?, ); }