note module#

class edgeimpulse_api.models.note.Note(
*,
id: StrictInt,
note: StrictStr,
userId: StrictInt | None = None,
parentId: StrictInt | None = None,
created: datetime,
userName: StrictStr | None = None,
userPhoto: StrictStr | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
created: datetime#
classmethod from_dict(obj: dict) Note[source]#

Create an instance of Note from a dict

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

Create an instance of Note from a JSON string

id: StrictInt#
note: StrictStr#
parent_id: StrictInt | 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

user_id: StrictInt | None#
user_name: StrictStr | None#
user_photo: StrictStr | None#