input_block module#

class edgeimpulse_api.models.input_block.InputBlock(
*,
type: StrictStr,
title: StrictStr,
author: StrictStr,
description: StrictStr,
name: StrictStr,
recommended: StrictBool | 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#
classmethod from_dict(
obj: dict,
) InputBlock[source]#

Create an instance of InputBlock from a dict

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

Create an instance of InputBlock from a JSON string

name: StrictStr#
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#
classmethod type_validate_enum(v)[source]#