def METHOD_NAME(self, casing: Optional = None) -> dict:
    """
    Returns properties as `dict`
    :return: a dict
    """
    new_dict = {}
    for key, value in self.__dict__.items():
        if value is None:
            # Excludes properties which have `None` value
            continue
        new_dict[casing(key) if casing else key] = value
    return new_dict