@classmethod
def from_dict(cls, params):
    """
        Return an instance constructed using the given dict of params. This
        method is deliberately less flexible than the class `__init__()` method
        and requires all of the `__init__()` args to be given in the dict of
        params.

        :param params: a dict of parameters
        :return: an instance of this class
        """
    return cls(params['name'], params['timestamp'], params['lower'], params
        ['upper'], params['object_count'], params['bytes_used'], params[
        'meta_timestamp'], params['deleted'], params['state'], params[
        'state_timestamp'], params['epoch'])
