portal_file module#

class edgeimpulse_api.models.portal_file.PortalFile(
*,
name: StrictStr,
addedDate: datetime | None = None,
size: StrictInt | None = None,
ETag: StrictStr | None = None,
path: StrictStr,
type: StrictStr,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
added_date: datetime | None#
e_tag: StrictStr | None#
classmethod from_dict(
obj: dict,
) PortalFile[source]#

Create an instance of PortalFile from a dict

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

Create an instance of PortalFile from a JSON string

name: StrictStr#
path: StrictStr#
size: 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

type: StrictStr#
classmethod type_validate_enum(v)[source]#