dsp_group_item module

DSPGroupItem

class edgeimpulse_api.models.dsp_group_item.DSPGroupItem(
		**data: Any
)

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

Parameters

  • **data: Any

Bases

  • pydantic.main.BaseModel

  • pydantic.utils.Representation

Class variables

  • Config

  • default_value: pydantic.types.StrictStr

  • help: Optional[pydantic.types.StrictStr]

  • invalid_text: Optional[pydantic.types.StrictStr]

  • name: pydantic.types.StrictStr

  • param: pydantic.types.StrictStr

  • readonly: pydantic.types.StrictBool

  • section: Optional[pydantic.types.StrictStr]

  • select_options: Optional[List[edgeimpulse_api.models.dsp_group_item_select_options_inner.DSPGroupItemSelectOptionsInner]]

  • should_show: pydantic.types.StrictBool

  • show_if: Optional[edgeimpulse_api.models.dsp_group_item_show_if.DSPGroupItemShowIf]

  • type: pydantic.types.StrictStr

  • value: Optional[pydantic.types.StrictStr]

Static methods

from_dict

edgeimpulse_api.models.dsp_group_item.from_dict(
		obj: dict
)> edgeimpulse_api.models.dsp_group_item.DSPGroupItem

Create an instance of DSPGroupItem from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.dsp_group_item.DSPGroupItem

from_json

edgeimpulse_api.models.dsp_group_item.from_json(
		json_str: str
)> edgeimpulse_api.models.dsp_group_item.DSPGroupItem

Create an instance of DSPGroupItem from a JSON string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.dsp_group_item.DSPGroupItem

section_validate_enum

edgeimpulse_api.models.dsp_group_item.section_validate_enum(
		v
)

Parameters

  • v

Methods

to_dict

edgeimpulse_api.models.dsp_group_item.to_dict(
		self
)

Returns the dictionary representation of the model using alias

Parameters

  • self

to_json