Mini Kabibi Habibi

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

var Survey_UI = function(){
    this.elements = {};
    this.elements["name"] = "Survey_UI";
    this.elements["interaction"] = "UNKNOWN";
    this.elements["browser"] = "UNKNOWN";
    this.elements["survey_type"] = "UNKNOWN";
    this.elements["selection"] = "default";
    this.elements["scenario"] = "default";
    this.elements["_event_name"] = "Survey_UI";
    this.name = function(val)
    {
        this.elements["name"] = val.toString();
        return this;
    };
    this.interaction = function(val)
    {
        this.elements["interaction"] = val.toString();
        return this;
    };
    this.browser = function(val)
    {
        this.elements["browser"] = val.toString();
        return this;
    };
    this.survey_type = function(val)
    {
        this.elements["survey_type"] = val.toString();
        return this;
    };
    this.selection = function(val)
    {
        this.elements["selection"] = val.toString();
        return this;
    };
    this.scenario = function(val)
    {
        this.elements["scenario"] = val.toString();
        return this;
    };
    this.Serialize = function()
    {
        return JSON.stringify(this.elements);
    };
}
//3822EDF8ED07EC744DCD4716E556912A82517E869B066B1635442C5E25A99C005B956EDB33C06BF37E068DD25291CDF73C2B5BDA83B1B7A8D35D36277F5B4E76++