staff_info module#

class edgeimpulse_api.models.staff_info.StaffInfo(
*,
isStaff: StrictBool,
hasSudoRights: StrictBool,
companyName: StrictStr | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
company_name: StrictStr | None#
classmethod from_dict(obj: dict) StaffInfo[source]#

Create an instance of StaffInfo from a dict

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

Create an instance of StaffInfo from a JSON string

has_sudo_rights: StrictBool#
is_staff: StrictBool#
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