            TicketSeverity validateValue = validateValue(String.valueOf(value));
            if( validateValue != null ) {
                return validateValue;
            }
            else {
                for( TicketSeverity severity : values() ) {
                    if( severity.name().equalsIgnoreCase(String.valueOf(value)) ) {
                        return severity;
                    }
                }
            }
        }
        throw new CloudException("Invalid value for TicketSeverity " + value);