@staticmethod
def _add_string_param_by_name(req_dict, param_name, param_value, delimiter=''):
    """
        Adds the specified parameter to the dictionary as a string. If the
        param_value is a list, tuple, or set, the elements from the param_value
        are flattened into a string, with each element delimited by the value
        in the delimiter parameter.

        :param req_dict: The dictionary
        :param param_name: The name of the parameter
        :param param_value: The value for the parameter
        :param delimiter: The string to delimit flattened elements with
        """
    if param_value is not None:
        req_dict[param_name] = delimiter.join(param_value) if isinstance(
            param_value, (list, tuple, set)) else str(param_value)
