def _list_contents(self, last_obj=None, single_page_return=False):
        """Retrieve a long list of all files in a container.

        :return final_list, list_count, last_obj:
        """
        if self.job_args.get('cdn_containers'):
            if not self.job_args.get('fields'):
                self.job_args['fields'] = [
                    'name',
                    'cdn_enabled',
                    'log_retention',
                    'ttl'
                ]
            url = self.job_args['cdn_storage_url']
        else:
            url = self.job_args['storage_url']

        objects_list = self.job.list_items(
            url=url,
            container=self.job_args['container'],
            last_obj=last_obj,
            spr=single_page_return
        )

        pattern_match = self.job_args.get('pattern_match')
        if pattern_match:
            self.match_filter(
                idx_list=objects_list,
                pattern=pattern_match,
                dict_type=True
            )

        LOG.debug('List of objects: "%s"', objects_list)
        return objects_list
def _list_contents ( self , last_obj = None , single_page_return = False ) : if self . job_args . get ( 'cdn_containers' ) : if not self . job_args . get ( 'fields' ) : self . job_args [ 'fields' ] = [ 'name' , 'cdn_enabled' , 'log_retention' , 'ttl' ] url = self . job_args [ 'cdn_storage_url' ] else : url = self . job_args [ 'storage_url' ] objects_list = self . job . list_items ( url = url , container = self . job_args [ 'container' ] , last_obj = last_obj , spr = single_page_return ) pattern_match = self . job_args . get ( 'pattern_match' ) if pattern_match : self . match_filter ( idx_list = objects_list , pattern = pattern_match , dict_type = True ) LOG . debug ( 'List of objects: "%s"' , objects_list ) return objects_list
Retrieve a long list of all files in a container.

        :return final_list, list_count, last_obj: