State
=====

.. currentmodule:: pipeline.domain

.. autoclass:: State
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~State.id
      ~State.intents
      ~State.obs_mode
      ~State.obs_mode_mapping

   .. rubric:: Methods Summary

   .. autosummary::

      ~State.get_obs_mode_for_intent

   .. rubric:: Attributes Documentation

   .. autoattribute:: State.id
   .. autoattribute:: State.intents
   .. autoattribute:: State.obs_mode
   .. autoattribute:: State.obs_mode_mapping

   .. rubric:: Methods Documentation

   .. automethod:: State.get_obs_mode_for_intent
