Provides the WazuhBulkResponse class, which allows to parse bulk responses from the wazuh api.

class WazuhBulkResponse(response_data: dict[slice(<class 'str'>, <built-in function any>, None)], affected_map: ~typing.Callable[[any], AffectedT] = <function WazuhBulkResponse.<lambda>>, failed_map: ~typing.Callable[[any], FailedT] = <function WazuhBulkResponse.<lambda>>)#

Bases: Generic

Bulk response object representation.

affected_items: list[AffectedT]#

List of items on which were affected.

failed_items: list[FailedT]#

List of items which were not affected.

total_affected_items: int#

Amount of items which were affected.

total_failed_items: int#

Amount of items that were not affected.