# {py:mod}`haniwers.v1.threshold.model`

```{py:module} haniwers.v1.threshold.model
```

```{autodoc2-docstring} haniwers.v1.threshold.model
:allowtitles:
```

## Module Contents

### Classes

````{list-table}
:class: autosummary longtable
:align: left

* - {py:obj}`ThresholdWriteResult <haniwers.v1.threshold.model.ThresholdWriteResult>`
  - ```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdWriteResult
    :summary:
    ```
* - {py:obj}`ThresholdScanResult <haniwers.v1.threshold.model.ThresholdScanResult>`
  - ```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdScanResult
    :summary:
    ```
````

### API

`````{py:class} ThresholdWriteResult
:canonical: haniwers.v1.threshold.model.ThresholdWriteResult

Bases: {py:obj}`typing.NamedTuple`

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdWriteResult
```

````{py:attribute} timestamp
:canonical: haniwers.v1.threshold.model.ThresholdWriteResult.timestamp
:type: str
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdWriteResult.timestamp
```

````

````{py:attribute} id
:canonical: haniwers.v1.threshold.model.ThresholdWriteResult.id
:type: int
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdWriteResult.id
```

````

````{py:attribute} vth
:canonical: haniwers.v1.threshold.model.ThresholdWriteResult.vth
:type: int
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdWriteResult.vth
```

````

````{py:attribute} success
:canonical: haniwers.v1.threshold.model.ThresholdWriteResult.success
:type: bool
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdWriteResult.success
```

````

````{py:attribute} attempts
:canonical: haniwers.v1.threshold.model.ThresholdWriteResult.attempts
:type: int
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdWriteResult.attempts
```

````

`````

`````{py:class} ThresholdScanResult
:canonical: haniwers.v1.threshold.model.ThresholdScanResult

Bases: {py:obj}`typing.NamedTuple`

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdScanResult
```

````{py:attribute} timestamp
:canonical: haniwers.v1.threshold.model.ThresholdScanResult.timestamp
:type: str
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdScanResult.timestamp
```

````

````{py:attribute} event_count
:canonical: haniwers.v1.threshold.model.ThresholdScanResult.event_count
:type: int
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdScanResult.event_count
```

````

````{py:attribute} ch1
:canonical: haniwers.v1.threshold.model.ThresholdScanResult.ch1
:type: int
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdScanResult.ch1
```

````

````{py:attribute} ch2
:canonical: haniwers.v1.threshold.model.ThresholdScanResult.ch2
:type: int
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdScanResult.ch2
```

````

````{py:attribute} ch3
:canonical: haniwers.v1.threshold.model.ThresholdScanResult.ch3
:type: int
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdScanResult.ch3
```

````

````{py:attribute} top
:canonical: haniwers.v1.threshold.model.ThresholdScanResult.top
:type: int
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdScanResult.top
```

````

````{py:attribute} mid
:canonical: haniwers.v1.threshold.model.ThresholdScanResult.mid
:type: int
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdScanResult.mid
```

````

````{py:attribute} btm
:canonical: haniwers.v1.threshold.model.ThresholdScanResult.btm
:type: int
:value: >
   None

```{autodoc2-docstring} haniwers.v1.threshold.model.ThresholdScanResult.btm
```

````

`````
