dsp_group_item module#

class edgeimpulse_api.models.dsp_group_item.DSPGroupItem(
*,
name: StrictStr,
value: StrictStr | None = None,
defaultValue: StrictStr,
type: StrictStr,
help: StrictStr | None = None,
param: StrictStr,
selectOptions: List[DSPGroupItemSelectOptionsInner] | None = None,
readonly: StrictBool,
shouldShow: StrictBool,
showIf: DSPGroupItemShowIf | None = None,
invalidText: StrictStr | None = None,
section: StrictStr | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
default_value: StrictStr#
classmethod from_dict(
obj: dict,
) DSPGroupItem[source]#

Create an instance of DSPGroupItem from a dict

classmethod from_json(
json_str: str,
) DSPGroupItem[source]#

Create an instance of DSPGroupItem from a JSON string

help: StrictStr | None#
invalid_text: StrictStr | None#
name: StrictStr#
param: StrictStr#
readonly: StrictBool#
section: StrictStr | None#
classmethod section_validate_enum(v)[source]#
select_options: List[DSPGroupItemSelectOptionsInner] | None#
should_show: StrictBool#
show_if: DSPGroupItemShowIf | None#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias

type: StrictStr#
value: StrictStr | None#