theme_colors module#

class edgeimpulse_api.models.theme_colors.ThemeColors(
*,
primaryColor: StrictStr | None = None,
primaryColorRgb: List[float] | None = None,
primaryColorGradientEnd: StrictStr | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
classmethod from_dict(
obj: dict,
) ThemeColors[source]#

Create an instance of ThemeColors from a dict

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

Create an instance of ThemeColors from a JSON string

primary_color: StrictStr | None#
primary_color_gradient_end: StrictStr | None#
primary_color_rgb: List[float] | 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