factory ChannelRetentionSettings.fromJson(Map<String, dynamic> json) { return ChannelRetentionSettings( retentionDays: json['RetentionDays'] as int?, ); }