impulse_dsp_block module#

class edgeimpulse_api.models.impulse_dsp_block.ImpulseDspBlock(
*,
id: ConstrainedIntValue,
type: StrictStr,
name: StrictStr,
axes: List[StrictStr],
title: StrictStr,
valuesPerAxis: StrictInt | None = None,
input: StrictInt | None = None,
primaryVersion: StrictBool,
baseBlockId: StrictInt | None = None,
tunerBaseBlockId: StrictInt | None = None,
tunerTemplateId: StrictInt | None = None,
tunerPrimary: StrictBool | None = None,
clonedFromBlockId: StrictInt | None = None,
mutated: StrictBool | None = None,
enabled: StrictBool | None = None,
db: StrictBool | None = None,
description: StrictStr | None = None,
createdBy: StrictStr | None = None,
createdAt: datetime | None = None,
implementationVersion: StrictInt,
organization: ImpulseDspBlockOrganization | None = None,
customUrl: StrictStr | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
axes: List[StrictStr]#
base_block_id: StrictInt | None#
cloned_from_block_id: StrictInt | None#
created_at: datetime | None#
created_by: StrictStr | None#
custom_url: StrictStr | None#
db: StrictBool | None#
description: StrictStr | None#
enabled: StrictBool | None#
classmethod from_dict(
obj: dict,
) ImpulseDspBlock[source]#

Create an instance of ImpulseDspBlock from a dict

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

Create an instance of ImpulseDspBlock from a JSON string

id: ConstrainedIntValue#
implementation_version: StrictInt#
input: StrictInt | None#
mutated: StrictBool | None#
name: StrictStr#
organization: ImpulseDspBlockOrganization | None#
primary_version: StrictBool#
title: StrictStr#
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

tuner_base_block_id: StrictInt | None#
tuner_primary: StrictBool | None#
tuner_template_id: StrictInt | None#
type: StrictStr#
values_per_axis: StrictInt | None#