dsp_block module#

class edgeimpulse_api.models.dsp_block.DSPBlock(
*,
type: StrictStr,
title: StrictStr,
author: StrictStr,
description: StrictStr,
name: StrictStr,
recommended: StrictBool | None = None,
experimental: StrictBool,
latestImplementationVersion: StrictInt,
organizationId: StrictInt | None = None,
organizationDspId: StrictInt | None = None,
blockType: BlockType,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
author: StrictStr#
block_type: BlockType#
description: StrictStr#
experimental: StrictBool#
classmethod from_dict(obj: dict) DSPBlock[source]#

Create an instance of DSPBlock from a dict

classmethod from_json(json_str: str) DSPBlock[source]#

Create an instance of DSPBlock from a JSON string

latest_implementation_version: StrictInt#
name: StrictStr#
organization_dsp_id: StrictInt | None#
organization_id: StrictInt | None#
recommended: StrictBool | None#
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

type: StrictStr#