PiWhatIfScenarioDescriptor#

class fews_py_wrapper.models.PiWhatIfScenarioDescriptor(*, id, name=None, whatIfTemplateId=None, singleRunWhatIf=None, properties=<factory>, **extra_data)[source]#

Typed FEWS what-if scenario descriptor.

Parameters:
  • id (str)

  • name (str | None)

  • whatIfTemplateId (str | None)

  • singleRunWhatIf (bool | None)

  • properties (list[dict[str, Any]])

  • extra_data (Any)

model_config = {'extra': 'allow', 'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

id: str#
name: str | None#
what_if_template_id: str | None#
single_run_what_if: bool | None#
properties: list[dict[str, Any]]#