original_docstring: 
      Retrieves list of notes corresponding to the ID of the offense ID given from QRadar service.
      possible arguments:
      - offense_id: The offense ID to retrieve the notes for.
      - note_id: The note ID to its details.
      - range: Range of notes to return for the offense corresponding to the offense ID (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 notes corresponding to the ID of the offense ID given from QRadar service.
  possible arguments:
  offense_id: The offense ID to retrieve the notes for.
  note_id: The note ID to its details.
  range: Range of notes to return for the offense corresponding to the offense ID .
  filter: Query filter to filter results returned by QRadar service.
docstring_tokens: Retrieves list of notes corresponding to the ID of the offense ID given from QRadar service . possible arguments : offense_id : The offense ID to retrieve the notes for . note_id : The note ID to its details . range : Range of notes to return for the offense corresponding to the offense ID . filter : Query filter to filter results returned by QRadar service .
code: def qradar_offense_notes_list_command(client: Client, args: Dict) -> CommandResults:
      """
      Retrieves list of notes corresponding to the ID of the offense ID given from QRadar service.
      possible arguments:
      - offense_id: The offense ID to retrieve the notes for.
      - note_id: The note ID to its details.
      - range: Range of notes to return for the offense corresponding to the offense ID (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.
      """
      offense_id: int = int(args['offense_id'])
      note_id = args.get('note_id')
      range_ = f'''items={args.get('range', DEFAULT_RANGE_VALUE)}'''
      filter_ = args.get('filter')
      fields = args.get('fields')
  
      response = client.offense_notes_list(offense_id, range_, note_id, filter_, fields)
      outputs = sanitize_outputs(response, NOTES_OLD_NEW_MAP)
      headers = build_headers(['ID', 'Text', 'CreatedBy', 'CreateTime'], set(NOTES_OLD_NEW_MAP.values()))
  
      return CommandResults(
          readable_output=tableToMarkdown(f'Offense Notes List For Offense ID {offense_id}', outputs, headers,
                                          removeNull=True),
          outputs_prefix='QRadar.Note',
          outputs_key_field='ID',
          outputs=outputs,
          raw_response=response
      )
code_tokens: def qradar_offense_notes_list_command ( client : Client , args : Dict ) -> CommandResults : offense_id : int = int ( args [ 'offense_id' ] ) note_id = args . get ( 'note_id' ) range_ = f'''items={args.get('range', DEFAULT_RANGE_VALUE)}''' filter_ = args . get ( 'filter' ) fields = args . get ( 'fields' ) response = client . offense_notes_list ( offense_id , range_ , note_id , filter_ , fields ) outputs = sanitize_outputs ( response , NOTES_OLD_NEW_MAP ) headers = build_headers ( [ 'ID' , 'Text' , 'CreatedBy' , 'CreateTime' ] , set ( NOTES_OLD_NEW_MAP . values ( ) ) ) return CommandResults ( readable_output = tableToMarkdown ( f'Offense Notes List For Offense ID {offense_id}' , outputs , headers , removeNull = True ) , outputs_prefix = 'QRadar.Note' , outputs_key_field = 'ID' , outputs = outputs , raw_response = response )
short_docstring: Retrieves list of notes corresponding to the ID of the offense ID given from QRadar service.
short_docstring_tokens: Retrieves list of notes corresponding to the ID of the offense ID given from QRadar service .
comment: """
      Retrieves list of notes corresponding to the ID of the offense ID given from QRadar service.
      possible arguments:
      - offense_id: The offense ID to retrieve the notes for.
      - note_id: The note ID to its details.
      - range: Range of notes to return for the offense corresponding to the offense ID (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.
      """