def METHOD_NAME(data, boxed_type):
    """Deserializes a dict and its elements.
    :param data: dict to deserialize.
    :type data: dict
    :param boxed_type: class literal.
    :return: deserialized dict.
    :rtype: dict
    """
    from cloudharness_model.models.base_model_ import Model
    return Model.from_dict({k: _deserialize(v, boxed_type)
            for k, v in six.iteritems(data)})