factory DNSLogsConfigurationResult.fromJson(Map<String, dynamic> json) { return DNSLogsConfigurationResult( status: (json['status'] as String).toDataSourceStatus(), ); }