Mini Kabibi Habibi

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

var OptionsDialog = function(){
    this.elements = {};
    this.elements["category"] = "OptionsDialog";
    this.elements["actionType"] = "Impression";
    this.elements["browser"] = "UNKNOWN";
    this.elements["_event_name"] = "OptionsDialog";
    this.category = function(val)
    {
        this.elements["category"] = val.toString();
        return this;
    };
    this.actionType = function(val)
    {
        this.elements["actionType"] = val.toString();
        return this;
    };
    this.browser = function(val)
    {
        this.elements["browser"] = val.toString();
        return this;
    };
    this.Serialize = function()
    {
        return JSON.stringify(this.elements);
    };
}
//7E464F4A9DB43AA16E53A215F6E2CDEF218310B1D2DAE431A6B6C65D1898B8D479580AF74278D2FC73C4DD89100B87B735A531D7065A41B802A828F3A24583AE++