You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: conditiontype.go
    path of file: ./repos/go-elasticsearch/typedapi/types/enums/conditiontype
    
    the code of the file until where you have to start completion: // Licensed to Elasticsearch B.V. under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. Elasticsearch B.V. licenses this file to you under
// the Apache License, Version 2.0 (the "License"); yo
    
func (c *ConditionType) UnmarshalText(text []byte) error {
	switch strings.ReplaceAll(strings.ToLower(string(text)), "\"", "") {

	case "always":
		*c = Always
	case "never":
		*c = Never
	case "script":
		*c = Script
	case "compare":
		*c = Compare
	case "array_compare":
		*c = Arraycompare
	default:
		*c = ConditionType{string(text)}
	}

	return nil
}