# gathered_data

Python API: `depthai_nodes.message.gathered_data`

## Classes

### GatheredData

Contains N messages and reference data that the messages were matched with.

#### Methods

##### init

```python
def __init__(reference_data: TReference, items: list[TGathered]):
```

Initialize gathered items and copy metadata from the reference message.

Parameters

 * `reference_data` (`TReference`): Reference whose timestamps and sequence number are copied.
 * `items` (`list[TGathered]`): Messages gathered for this reference, all of the same runtime type.

##### reference_data.setter

```python
def reference_data.setter(value: TReference):
```

Sets the reference data.

Parameters

 * `value` (`TReference`): Reference data.

#### Attributes

##### items

List of gathered data.

##### reference_data

Returns the reference data.

Returns

 * Reference data.

## Attributes

### TGathered

### TReference
