def language=(language)
      validator = EnumAttributeValidator.new('String', ["afts", "lucene", "cmis"])
      unless validator.valid?(language)
        fail ArgumentError, "invalid value for 'language', must be one of #{validator.allowable_values}."
      end
      @language = language
    end
def language=(language)
      validator = EnumAttributeValidator.new('String', ["afts", "lucene", "cmis"])
      unless validator.valid?(language)
        fail ArgumentError, "invalid value for 'language', must be one of #{validator.allowable_values}."
      end
      @language = language
    end
Custom attribute writer method checking allowed values (enum).
 @param [Object] language Object to be assigned