original_docstring: 
      Retrieves list of reference sets from QRadar service.
      possible arguments:
      - ref_name: Retrieves details of the specific reference that corresponds to the reference name given.
      - range: Range of offenses to return (e.g.: 0-20, 3-5, 3-3).
      - filter: Query filter to filter results returned by QRadar service. see
                https://www.ibm.com/support/knowledgecenter/SS42VS_SHR/com.ibm.qradarapi.doc/c_rest_api_filtering.html
                for more details.
      - fields: If used, will filter all fields except for the specified ones.
                Use this parameter to specify which fields you would like to get back in the
                response. Fields that are not explicitly named are excluded.
      Args:
          client (Client): QRadar client to perform the API call.
          args (Dict): Demisto args.
  
      Returns:
          CommandResults.
      
docstring: Retrieves list of reference sets from QRadar service.
  possible arguments:
  ref_name: Retrieves details of the specific reference that corresponds to the reference name given.
  range: Range of offenses to return .
  filter: Query filter to filter results returned by QRadar service.
docstring_tokens: Retrieves list of reference sets from QRadar service . possible arguments : ref_name : Retrieves details of the specific reference that corresponds to the reference name given . range : Range of offenses to return . filter : Query filter to filter results returned by QRadar service .
code: def qradar_reference_sets_list_command(client: Client, args: Dict) -> CommandResults:
      """
      Retrieves list of reference sets from QRadar service.
      possible arguments:
      - ref_name: Retrieves details of the specific reference that corresponds to the reference name given.
      - range: Range of offenses to return (e.g.: 0-20, 3-5, 3-3).
      - filter: Query filter to filter results returned by QRadar service. see
                https://www.ibm.com/support/knowledgecenter/SS42VS_SHR/com.ibm.qradarapi.doc/c_rest_api_filtering.html
                for more details.
      - fields: If used, will filter all fields except for the specified ones.
                Use this parameter to specify which fields you would like to get back in the
                response. Fields that are not explicitly named are excluded.
      Args:
          client (Client): QRadar client to perform the API call.
          args (Dict): Demisto args.
  
      Returns:
          CommandResults.
      """
      ref_name = args.get('ref_name')
      convert_date_value = argToBoolean(args.get('date_value', False))
      range_ = f'''items={args.get('range', DEFAULT_RANGE_VALUE)}'''
      filter_ = args.get('filter')
      fields = args.get('fields')
  
      response = client.reference_sets_list(range_, ref_name, filter_, fields)
      if ref_name:
          outputs = dict(response)
          if convert_date_value and outputs.get('element_type') == 'DATE':
              for data_entry in outputs.get('data', []):
                  data_entry['value'] = get_time_parameter(data_entry.get('value'), iso_format=True)
          outputs['data'] = sanitize_outputs(outputs.get('data', []), REFERENCE_SET_DATA_OLD_NEW_MAP)
      else:
          outputs = response
  
      final_outputs = sanitize_outputs(outputs, REFERENCE_SETS_OLD_NEW_MAP)
      headers = build_headers(['Name', 'ElementType', 'Data', 'TimeToLive', 'TimeoutType'],
                              set(REFERENCE_SETS_OLD_NEW_MAP.values()))
  
      return CommandResults(
          readable_output=tableToMarkdown('Reference Sets List', final_outputs, headers, removeNull=True),
          outputs_prefix='QRadar.Reference',
          outputs_key_field='Name',
          outputs=final_outputs,
          raw_response=response
      )
code_tokens: def qradar_reference_sets_list_command ( client : Client , args : Dict ) -> CommandResults : ref_name = args . get ( 'ref_name' ) convert_date_value = argToBoolean ( args . get ( 'date_value' , False ) ) range_ = f'''items={args.get('range', DEFAULT_RANGE_VALUE)}''' filter_ = args . get ( 'filter' ) fields = args . get ( 'fields' ) response = client . reference_sets_list ( range_ , ref_name , filter_ , fields ) if ref_name : outputs = dict ( response ) if convert_date_value and outputs . get ( 'element_type' ) == 'DATE' : for data_entry in outputs . get ( 'data' , [ ] ) : data_entry [ 'value' ] = get_time_parameter ( data_entry . get ( 'value' ) , iso_format = True ) outputs [ 'data' ] = sanitize_outputs ( outputs . get ( 'data' , [ ] ) , REFERENCE_SET_DATA_OLD_NEW_MAP ) else : outputs = response final_outputs = sanitize_outputs ( outputs , REFERENCE_SETS_OLD_NEW_MAP ) headers = build_headers ( [ 'Name' , 'ElementType' , 'Data' , 'TimeToLive' , 'TimeoutType' ] , set ( REFERENCE_SETS_OLD_NEW_MAP . values ( ) ) ) return CommandResults ( readable_output = tableToMarkdown ( 'Reference Sets List' , final_outputs , headers , removeNull = True ) , outputs_prefix = 'QRadar.Reference' , outputs_key_field = 'Name' , outputs = final_outputs , raw_response = response )
short_docstring: Retrieves list of reference sets from QRadar service.
short_docstring_tokens: Retrieves list of reference sets from QRadar service .
comment: """
      Retrieves list of reference sets from QRadar service.
      possible arguments:
      - ref_name: Retrieves details of the specific reference that corresponds to the reference name given.
      - range: Range of offenses to return (e.g.: 0-20, 3-5, 3-3).
      - filter: Query filter to filter results returned by QRadar service. see
                https://www.ibm.com/support/knowledgecenter/SS42VS_SHR/com.ibm.qradarapi.doc/c_rest_api_filtering.html
                for more details.
      - fields: If used, will filter all fields except for the specified ones.
                Use this parameter to specify which fields you would like to get back in the
                response. Fields that are not explicitly named are excluded.
      Args:
          client (Client): QRadar client to perform the API call.
          args (Dict): Demisto args.
  
      Returns:
          CommandResults.
      """