impulse_learn_block module#

class edgeimpulse_api.models.impulse_learn_block.ImpulseLearnBlock(
*,
id: ConstrainedIntValue,
type: LearnBlockType,
name: StrictStr,
dsp: List[StrictInt],
title: StrictStr,
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,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

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

Create an instance of ImpulseLearnBlock from a dict

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

Create an instance of ImpulseLearnBlock from a JSON string

id: ConstrainedIntValue#
mutated: StrictBool | None#
name: StrictStr#
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: LearnBlockType#