def criteria=(new_criteria)
      raise JSS::InvalidDataError, 'JSS::Criteriable::Criteria instance required' unless new_criteria.is_a?(JSS::Criteriable::Criteria)
      @criteria = new_criteria
      @criteria.container = self
      @need_to_update = true
    end
def criteria=(new_criteria)
      raise JSS::InvalidDataError, 'JSS::Criteriable::Criteria instance required' unless new_criteria.is_a?(JSS::Criteriable::Criteria)
      @criteria = new_criteria
      @criteria.container = self
      @need_to_update = true
    end
Change the criteria, it must be a JSS::Criteriable::Criteria instance

 @param new_criteria[JSS::Criteriable::Criteria] the new criteria

 @return [void]