code: def add_criterion(self, name, priority, and_or, search_type, value):   # pylint: disable=too-many-arguments
          
          criterion = SearchCriteria(name, priority, and_or, search_type, value)
          self.criteria.append(criterion)
docs: Add a search criteria object to a smart group.
  
          Args:
              name: String Criteria type name (e.g. "Application Title")
              priority: Int or Str number priority of criterion.
              and_or: Str, either "and" or "or".
              search_type: String Criteria search type. (e.g. "is", "is
                  not", "member of", etc). Construct a SmartGroup with the
                  criteria of interest in the web interface to determine
                  what range of values are available.
              value: String value to search for/against.