Esempio n. 1
0
        internal static string ToSerializedValue(this WebhookRobotDtoType value)
        {
            switch (value)
            {
            case WebhookRobotDtoType.NonProduction:
                return("NonProduction");

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

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

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

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

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

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

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

            case WebhookRobotDtoType.TestAutomation:
                return("TestAutomation");
            }
            return(null);
        }
        internal static string ToSerializedValue(this WebhookRobotDtoType value)
        {
            switch (value)
            {
            case WebhookRobotDtoType.NonProduction:
                return("NonProduction");

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

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

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