Mini Kabibi Habibi

Current Path : C:/Program Files/McAfee/WebAdvisor/telemetry/serializers/
Upload File :
Current File : C:/Program Files/McAfee/WebAdvisor/telemetry/serializers/download_scan_ui.js

var Download_Scan_UI = function(){
    this.elements = {};
    this.elements["name"] = "DownloadScanUI";
    this.elements["interaction_type"] = "UNKNOWN";
    this.elements["browser"] = "UNKNOWN";
    this.elements["count"] = "0";
    this.elements["_event_name"] = "Download_Scan_UI";
    this.name = function(val)
    {
        this.elements["name"] = val.toString();
        return this;
    };
    this.interaction_type = function(val)
    {
        this.elements["interaction_type"] = val.toString();
        return this;
    };
    this.browser = function(val)
    {
        this.elements["browser"] = val.toString();
        return this;
    };
    this.count = function(val)
    {
        this.elements["count"] = val.toString();
        return this;
    };
    this.Serialize = function()
    {
        return JSON.stringify(this.elements);
    };
}
//933801CC99C7E6C9750E6A5CCDCCA300221E0003A5ACA178ADB6C7D7C0BBFB84621B9B4260CA8D97D50A08AA053A9F0831ECEE32FF8734460729A6AA3A55626F++