theme module#

class edgeimpulse_api.models.theme.Theme(
*,
id: StrictInt,
ownerUserId: StrictInt | None = None,
ownerOrganizationId: StrictInt | None = None,
name: StrictStr,
favicon: ThemeFavicon,
logos: ThemeLogos,
colors: ThemeColors,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
colors: ThemeColors#
favicon: ThemeFavicon#
classmethod from_dict(obj: dict) Theme[source]#

Create an instance of Theme from a dict

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

Create an instance of Theme from a JSON string

id: StrictInt#
logos: ThemeLogos#
name: StrictStr#
owner_organization_id: StrictInt | None#
owner_user_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