organization module#

class edgeimpulse_api.models.organization.Organization(
*,
id: StrictInt,
name: StrictStr,
logo: StrictStr | None = None,
headerImg: StrictStr | None = None,
users: List[OrganizationUser],
isDeveloperProfile: StrictBool,
whitelabelId: StrictInt | None,
projects: List[Project] | None = None,
trialId: StrictInt | None,
trialExpiredDate: datetime | None,
trialUpgradedDate: datetime | None,
created: datetime,
contractStartDate: datetime | None = None,
deletedDate: datetime | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
contract_start_date: datetime | None#
created: datetime#
deleted_date: datetime | None#
classmethod from_dict(
obj: dict,
) Organization[source]#

Create an instance of Organization from a dict

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

Create an instance of Organization from a JSON string

header_img: StrictStr | None#
id: StrictInt#
is_developer_profile: StrictBool#
name: StrictStr#
projects: List[Project] | 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

trial_expired_date: datetime | None#
trial_id: StrictInt | None#
trial_upgraded_date: datetime | None#
users: List[OrganizationUser]#
whitelabel_id: StrictInt | None#