internal static string ToSerializedValue(this LicenseStatsModelRobotType value)
        {
            switch (value)
            {
            case LicenseStatsModelRobotType.NonProduction:
                return("NonProduction");

            case LicenseStatsModelRobotType.Attended:
                return("Attended");

            case LicenseStatsModelRobotType.Unattended:
                return("Unattended");

            case LicenseStatsModelRobotType.Studio:
                return("Studio");

            case LicenseStatsModelRobotType.Development:
                return("Development");

            case LicenseStatsModelRobotType.StudioX:
                return("StudioX");

            case LicenseStatsModelRobotType.Headless:
                return("Headless");

            case LicenseStatsModelRobotType.StudioPro:
                return("StudioPro");

            case LicenseStatsModelRobotType.TestAutomation:
                return("TestAutomation");
            }
            return(null);
        }
Example #2
0
        internal static string ToSerializedValue(this LicenseStatsModelRobotType value)
        {
            switch (value)
            {
            case LicenseStatsModelRobotType.NonProduction:
                return("NonProduction");

            case LicenseStatsModelRobotType.Attended:
                return("Attended");

            case LicenseStatsModelRobotType.Unattended:
                return("Unattended");

            case LicenseStatsModelRobotType.Development:
                return("Development");
            }
            return(null);
        }