@wrap_not_supported<EOL><INDENT>def get_all(self, type_name, base_fields=None, the_filter=None,<EOL>nested_fields=None):<DEDENT>
fields = self.get_fields(type_name, base_fields, nested_fields)<EOL>the_filter = self.dict_to_filter_string(the_filter)<EOL>url = '<STR_LIT>'.format(type_name)<EOL>resp = self.rest_get(url, fields=fields, filter=the_filter)<EOL>ret = resp<EOL>while resp.has_next_page:<EOL><INDENT>resp = self.rest_get(url, fields=fields, filter=the_filter,<EOL>page=resp.next_page)<EOL>ret.entries.extend(resp.entries)<EOL><DEDENT>return ret<EOL>
Get the resource by resource id.

        :param nested_fields: nested resource fields
        :param base_fields: fields of this resource
        :param the_filter: dictionary of filter like `{'name': 'abc'}`
        :param type_name: Resource type. For example, pool, lun, nasServer.
        :return: List of resource class objects