def getParamsOfModel(model):
    """
    Returns list of parameters used in model

    Parameters
    ----------
    model: sklearn.RandomForestClassifier object
        fitted random forest model
    
    Examples
    --------
    >>> base_model = RandomForestClassifier(2, 245, 100)
    >>> params = getParamsOfModel(base_model)

    Returns
    -------
    list
        list of parameters
    """
    params = model.get_params()
    return params